@opusdns/api 0.240.0 → 0.242.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.240.0",
6
+ "version": "0.242.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -10699,6 +10699,31 @@ export const KEY_DOMAIN_CREATE_CONTACTS: keyof DomainCreate = 'contacts';
10699
10699
  * @see {@link KEYS_DOMAIN_CREATE} - Array of all keys for this type
10700
10700
  */
10701
10701
  export const KEY_DOMAIN_CREATE_CREATE_ZONE: keyof DomainCreate = 'create_zone';
10702
+ /**
10703
+ * Expected Price
10704
+ *
10705
+ * Expected price for premium domain confirmation
10706
+ *
10707
+ *
10708
+ *
10709
+ * @remarks
10710
+ * This key constant provides type-safe access to the `expected_price` property of DomainCreate objects.
10711
+ * Use this constant when you need to access properties dynamically or ensure type safety.
10712
+ *
10713
+ * @example
10714
+ * ```typescript
10715
+ * // Direct property access
10716
+ * const value = domaincreate[KEY_DOMAIN_CREATE_EXPECTED_PRICE];
10717
+ *
10718
+ * // Dynamic property access
10719
+ * const propertyName = KEY_DOMAIN_CREATE_EXPECTED_PRICE;
10720
+ * const value = domaincreate[propertyName];
10721
+ * ```
10722
+ *
10723
+ * @see {@link DomainCreate} - The TypeScript type definition
10724
+ * @see {@link KEYS_DOMAIN_CREATE} - Array of all keys for this type
10725
+ */
10726
+ export const KEY_DOMAIN_CREATE_EXPECTED_PRICE: keyof DomainCreate = 'expected_price';
10702
10727
  /**
10703
10728
  * Name
10704
10729
  *
@@ -10825,6 +10850,7 @@ export const KEYS_DOMAIN_CREATE = [
10825
10850
  KEY_DOMAIN_CREATE_AUTH_CODE,
10826
10851
  KEY_DOMAIN_CREATE_CONTACTS,
10827
10852
  KEY_DOMAIN_CREATE_CREATE_ZONE,
10853
+ KEY_DOMAIN_CREATE_EXPECTED_PRICE,
10828
10854
  KEY_DOMAIN_CREATE_NAME,
10829
10855
  KEY_DOMAIN_CREATE_NAMESERVERS,
10830
10856
  KEY_DOMAIN_CREATE_PERIOD,
@@ -11630,6 +11656,31 @@ export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_CONTACTS: keyof DomainCreatePayloadD
11630
11656
  * @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
11631
11657
  */
11632
11658
  export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_CREATE_ZONE: keyof DomainCreatePayloadData = 'create_zone';
11659
+ /**
11660
+ * Expected Price
11661
+ *
11662
+ * Expected price for premium domain confirmation
11663
+ *
11664
+ *
11665
+ *
11666
+ * @remarks
11667
+ * This key constant provides type-safe access to the `expected_price` property of DomainCreatePayloadData objects.
11668
+ * Use this constant when you need to access properties dynamically or ensure type safety.
11669
+ *
11670
+ * @example
11671
+ * ```typescript
11672
+ * // Direct property access
11673
+ * const value = domaincreatepayloaddata[KEY_DOMAIN_CREATE_PAYLOAD_DATA_EXPECTED_PRICE];
11674
+ *
11675
+ * // Dynamic property access
11676
+ * const propertyName = KEY_DOMAIN_CREATE_PAYLOAD_DATA_EXPECTED_PRICE;
11677
+ * const value = domaincreatepayloaddata[propertyName];
11678
+ * ```
11679
+ *
11680
+ * @see {@link DomainCreatePayloadData} - The TypeScript type definition
11681
+ * @see {@link KEYS_DOMAIN_CREATE_PAYLOAD_DATA} - Array of all keys for this type
11682
+ */
11683
+ export const KEY_DOMAIN_CREATE_PAYLOAD_DATA_EXPECTED_PRICE: keyof DomainCreatePayloadData = 'expected_price';
11633
11684
  /**
11634
11685
  * Name
11635
11686
  *
@@ -11756,6 +11807,7 @@ export const KEYS_DOMAIN_CREATE_PAYLOAD_DATA = [
11756
11807
  KEY_DOMAIN_CREATE_PAYLOAD_DATA_AUTH_CODE,
11757
11808
  KEY_DOMAIN_CREATE_PAYLOAD_DATA_CONTACTS,
11758
11809
  KEY_DOMAIN_CREATE_PAYLOAD_DATA_CREATE_ZONE,
11810
+ KEY_DOMAIN_CREATE_PAYLOAD_DATA_EXPECTED_PRICE,
11759
11811
  KEY_DOMAIN_CREATE_PAYLOAD_DATA_NAME,
11760
11812
  KEY_DOMAIN_CREATE_PAYLOAD_DATA_NAMESERVERS,
11761
11813
  KEY_DOMAIN_CREATE_PAYLOAD_DATA_PERIOD,
@@ -14640,6 +14692,31 @@ export const KEYS_DOMAIN_PERIOD = [
14640
14692
  * @see {@link KEYS_DOMAIN_RENEW_REQUEST} - Array of all keys for this type
14641
14693
  */
14642
14694
  export const KEY_DOMAIN_RENEW_REQUEST_CURRENT_EXPIRY_DATE: keyof DomainRenewRequest = 'current_expiry_date';
14695
+ /**
14696
+ * Expected Price
14697
+ *
14698
+ * Expected price for premium domain confirmation
14699
+ *
14700
+ *
14701
+ *
14702
+ * @remarks
14703
+ * This key constant provides type-safe access to the `expected_price` property of DomainRenewRequest objects.
14704
+ * Use this constant when you need to access properties dynamically or ensure type safety.
14705
+ *
14706
+ * @example
14707
+ * ```typescript
14708
+ * // Direct property access
14709
+ * const value = domainrenewrequest[KEY_DOMAIN_RENEW_REQUEST_EXPECTED_PRICE];
14710
+ *
14711
+ * // Dynamic property access
14712
+ * const propertyName = KEY_DOMAIN_RENEW_REQUEST_EXPECTED_PRICE;
14713
+ * const value = domainrenewrequest[propertyName];
14714
+ * ```
14715
+ *
14716
+ * @see {@link DomainRenewRequest} - The TypeScript type definition
14717
+ * @see {@link KEYS_DOMAIN_RENEW_REQUEST} - Array of all keys for this type
14718
+ */
14719
+ export const KEY_DOMAIN_RENEW_REQUEST_EXPECTED_PRICE: keyof DomainRenewRequest = 'expected_price';
14643
14720
  /**
14644
14721
  * period property
14645
14722
  *
@@ -14688,6 +14765,7 @@ export const KEY_DOMAIN_RENEW_REQUEST_PERIOD: keyof DomainRenewRequest = 'period
14688
14765
  */
14689
14766
  export const KEYS_DOMAIN_RENEW_REQUEST = [
14690
14767
  KEY_DOMAIN_RENEW_REQUEST_CURRENT_EXPIRY_DATE,
14768
+ KEY_DOMAIN_RENEW_REQUEST_EXPECTED_PRICE,
14691
14769
  KEY_DOMAIN_RENEW_REQUEST_PERIOD,
14692
14770
  ] as const satisfies (keyof DomainRenewRequest)[];
14693
14771
 
@@ -15429,6 +15507,31 @@ export const KEYS_DOMAIN = [
15429
15507
  * @see {@link KEYS_DOMAIN_RESTORE_REQUEST} - Array of all keys for this type
15430
15508
  */
15431
15509
  export const KEY_DOMAIN_RESTORE_REQUEST_ADDITIONAL_INFO: keyof DomainRestoreRequest = 'additional_info';
15510
+ /**
15511
+ * Expected Price
15512
+ *
15513
+ * Expected price for premium domain confirmation
15514
+ *
15515
+ *
15516
+ *
15517
+ * @remarks
15518
+ * This key constant provides type-safe access to the `expected_price` property of DomainRestoreRequest objects.
15519
+ * Use this constant when you need to access properties dynamically or ensure type safety.
15520
+ *
15521
+ * @example
15522
+ * ```typescript
15523
+ * // Direct property access
15524
+ * const value = domainrestorerequest[KEY_DOMAIN_RESTORE_REQUEST_EXPECTED_PRICE];
15525
+ *
15526
+ * // Dynamic property access
15527
+ * const propertyName = KEY_DOMAIN_RESTORE_REQUEST_EXPECTED_PRICE;
15528
+ * const value = domainrestorerequest[propertyName];
15529
+ * ```
15530
+ *
15531
+ * @see {@link DomainRestoreRequest} - The TypeScript type definition
15532
+ * @see {@link KEYS_DOMAIN_RESTORE_REQUEST} - Array of all keys for this type
15533
+ */
15534
+ export const KEY_DOMAIN_RESTORE_REQUEST_EXPECTED_PRICE: keyof DomainRestoreRequest = 'expected_price';
15432
15535
  /**
15433
15536
  * Reason
15434
15537
  *
@@ -15477,6 +15580,7 @@ export const KEY_DOMAIN_RESTORE_REQUEST_REASON: keyof DomainRestoreRequest = 're
15477
15580
  */
15478
15581
  export const KEYS_DOMAIN_RESTORE_REQUEST = [
15479
15582
  KEY_DOMAIN_RESTORE_REQUEST_ADDITIONAL_INFO,
15583
+ KEY_DOMAIN_RESTORE_REQUEST_EXPECTED_PRICE,
15480
15584
  KEY_DOMAIN_RESTORE_REQUEST_REASON,
15481
15585
  ] as const satisfies (keyof DomainRestoreRequest)[];
15482
15586
 
@@ -17178,6 +17282,31 @@ export const KEY_DOMAIN_TRANSFER_IN_CONTACTS: keyof DomainTransferIn = 'contacts
17178
17282
  * @see {@link KEYS_DOMAIN_TRANSFER_IN} - Array of all keys for this type
17179
17283
  */
17180
17284
  export const KEY_DOMAIN_TRANSFER_IN_CREATE_ZONE: keyof DomainTransferIn = 'create_zone';
17285
+ /**
17286
+ * Expected Price
17287
+ *
17288
+ * Expected price for premium domain confirmation
17289
+ *
17290
+ *
17291
+ *
17292
+ * @remarks
17293
+ * This key constant provides type-safe access to the `expected_price` property of DomainTransferIn objects.
17294
+ * Use this constant when you need to access properties dynamically or ensure type safety.
17295
+ *
17296
+ * @example
17297
+ * ```typescript
17298
+ * // Direct property access
17299
+ * const value = domaintransferin[KEY_DOMAIN_TRANSFER_IN_EXPECTED_PRICE];
17300
+ *
17301
+ * // Dynamic property access
17302
+ * const propertyName = KEY_DOMAIN_TRANSFER_IN_EXPECTED_PRICE;
17303
+ * const value = domaintransferin[propertyName];
17304
+ * ```
17305
+ *
17306
+ * @see {@link DomainTransferIn} - The TypeScript type definition
17307
+ * @see {@link KEYS_DOMAIN_TRANSFER_IN} - Array of all keys for this type
17308
+ */
17309
+ export const KEY_DOMAIN_TRANSFER_IN_EXPECTED_PRICE: keyof DomainTransferIn = 'expected_price';
17181
17310
  /**
17182
17311
  * Name
17183
17312
  *
@@ -17305,6 +17434,7 @@ export const KEYS_DOMAIN_TRANSFER_IN = [
17305
17434
  KEY_DOMAIN_TRANSFER_IN_AUTH_CODE,
17306
17435
  KEY_DOMAIN_TRANSFER_IN_CONTACTS,
17307
17436
  KEY_DOMAIN_TRANSFER_IN_CREATE_ZONE,
17437
+ KEY_DOMAIN_TRANSFER_IN_EXPECTED_PRICE,
17308
17438
  KEY_DOMAIN_TRANSFER_IN_NAME,
17309
17439
  KEY_DOMAIN_TRANSFER_IN_NAMESERVERS,
17310
17440
  KEY_DOMAIN_TRANSFER_IN_PERIOD,
@@ -17413,6 +17543,31 @@ export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CONTACTS: keyof DomainTransferPayl
17413
17543
  * @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
17414
17544
  */
17415
17545
  export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CREATE_ZONE: keyof DomainTransferPayloadData = 'create_zone';
17546
+ /**
17547
+ * Expected Price
17548
+ *
17549
+ * Expected price for premium domain confirmation
17550
+ *
17551
+ *
17552
+ *
17553
+ * @remarks
17554
+ * This key constant provides type-safe access to the `expected_price` property of DomainTransferPayloadData objects.
17555
+ * Use this constant when you need to access properties dynamically or ensure type safety.
17556
+ *
17557
+ * @example
17558
+ * ```typescript
17559
+ * // Direct property access
17560
+ * const value = domaintransferpayloaddata[KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_EXPECTED_PRICE];
17561
+ *
17562
+ * // Dynamic property access
17563
+ * const propertyName = KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_EXPECTED_PRICE;
17564
+ * const value = domaintransferpayloaddata[propertyName];
17565
+ * ```
17566
+ *
17567
+ * @see {@link DomainTransferPayloadData} - The TypeScript type definition
17568
+ * @see {@link KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA} - Array of all keys for this type
17569
+ */
17570
+ export const KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_EXPECTED_PRICE: keyof DomainTransferPayloadData = 'expected_price';
17416
17571
  /**
17417
17572
  * Name
17418
17573
  *
@@ -17540,6 +17695,7 @@ export const KEYS_DOMAIN_TRANSFER_PAYLOAD_DATA = [
17540
17695
  KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_AUTH_CODE,
17541
17696
  KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CONTACTS,
17542
17697
  KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_CREATE_ZONE,
17698
+ KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_EXPECTED_PRICE,
17543
17699
  KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAME,
17544
17700
  KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_NAMESERVERS,
17545
17701
  KEY_DOMAIN_TRANSFER_PAYLOAD_DATA_PERIOD,
package/src/openapi.yaml CHANGED
@@ -2522,6 +2522,15 @@ components:
2522
2522
  description: Create a zone for the domain on OpusDNS nameserver infrastructure
2523
2523
  title: Create Zone
2524
2524
  type: boolean
2525
+ expected_price:
2526
+ anyOf:
2527
+ - minimum: 0.0
2528
+ type: number
2529
+ - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
2530
+ type: string
2531
+ - type: 'null'
2532
+ description: Expected price for premium domain confirmation
2533
+ title: Expected Price
2525
2534
  name:
2526
2535
  description: The domain to be created
2527
2536
  title: Name
@@ -2726,6 +2735,13 @@ components:
2726
2735
  description: Create a zone for the domain on OpusDNS nameserver infrastructure
2727
2736
  title: Create Zone
2728
2737
  type: boolean
2738
+ expected_price:
2739
+ anyOf:
2740
+ - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
2741
+ type: string
2742
+ - type: 'null'
2743
+ description: Expected price for premium domain confirmation
2744
+ title: Expected Price
2729
2745
  name:
2730
2746
  description: The domain to be created
2731
2747
  title: Name
@@ -3409,6 +3425,15 @@ components:
3409
3425
  format: date-time
3410
3426
  title: Current Expiry Date
3411
3427
  type: string
3428
+ expected_price:
3429
+ anyOf:
3430
+ - minimum: 0.0
3431
+ type: number
3432
+ - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
3433
+ type: string
3434
+ - type: 'null'
3435
+ description: Expected price for premium domain confirmation
3436
+ title: Expected Price
3412
3437
  period:
3413
3438
  $ref: '#/components/schemas/DomainPeriod'
3414
3439
  description: How long to extend the domain registration
@@ -3596,6 +3621,15 @@ components:
3596
3621
  - type: 'null'
3597
3622
  description: Additional information to include in the restore operation
3598
3623
  title: Additional Info
3624
+ expected_price:
3625
+ anyOf:
3626
+ - minimum: 0.0
3627
+ type: number
3628
+ - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
3629
+ type: string
3630
+ - type: 'null'
3631
+ description: Expected price for premium domain confirmation
3632
+ title: Expected Price
3599
3633
  reason:
3600
3634
  anyOf:
3601
3635
  - type: string
@@ -4022,6 +4056,15 @@ components:
4022
4056
  description: Create a zone for the domain on OpusDNS nameserver infrastructure
4023
4057
  title: Create Zone
4024
4058
  type: boolean
4059
+ expected_price:
4060
+ anyOf:
4061
+ - minimum: 0.0
4062
+ type: number
4063
+ - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
4064
+ type: string
4065
+ - type: 'null'
4066
+ description: Expected price for premium domain confirmation
4067
+ title: Expected Price
4025
4068
  name:
4026
4069
  description: The domain to be created
4027
4070
  title: Name
@@ -4079,6 +4122,13 @@ components:
4079
4122
  description: Create a zone for the domain on OpusDNS nameserver infrastructure
4080
4123
  title: Create Zone
4081
4124
  type: boolean
4125
+ expected_price:
4126
+ anyOf:
4127
+ - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
4128
+ type: string
4129
+ - type: 'null'
4130
+ description: Expected price for premium domain confirmation
4131
+ title: Expected Price
4082
4132
  name:
4083
4133
  description: The domain to be created
4084
4134
  title: Name
@@ -9702,7 +9752,7 @@ info:
9702
9752
  \n\n"
9703
9753
  summary: OpusDNS - your gateway to a seamless domain management experience.
9704
9754
  title: OpusDNS API
9705
- version: 2026-04-09-170030
9755
+ version: 2026-04-10-133524
9706
9756
  x-logo:
9707
9757
  altText: OpusDNS API Reference
9708
9758
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -3880,6 +3880,11 @@ export interface components {
3880
3880
  * @default false
3881
3881
  */
3882
3882
  create_zone: boolean;
3883
+ /**
3884
+ * Expected Price
3885
+ * @description Expected price for premium domain confirmation
3886
+ */
3887
+ expected_price?: number | string | null;
3883
3888
  /**
3884
3889
  * Name
3885
3890
  * @description The domain to be created
@@ -4025,6 +4030,11 @@ export interface components {
4025
4030
  * @default false
4026
4031
  */
4027
4032
  create_zone: boolean;
4033
+ /**
4034
+ * Expected Price
4035
+ * @description Expected price for premium domain confirmation
4036
+ */
4037
+ expected_price?: string | null;
4028
4038
  /**
4029
4039
  * Name
4030
4040
  * @description The domain to be created
@@ -4429,6 +4439,11 @@ export interface components {
4429
4439
  * @description Current expiration date of the domain for validation
4430
4440
  */
4431
4441
  current_expiry_date: Date;
4442
+ /**
4443
+ * Expected Price
4444
+ * @description Expected price for premium domain confirmation
4445
+ */
4446
+ expected_price?: number | string | null;
4432
4447
  /** @description How long to extend the domain registration */
4433
4448
  period: components["schemas"]["DomainPeriod"];
4434
4449
  };
@@ -4579,6 +4594,11 @@ export interface components {
4579
4594
  * @description Additional information to include in the restore operation
4580
4595
  */
4581
4596
  additional_info?: string | null;
4597
+ /**
4598
+ * Expected Price
4599
+ * @description Expected price for premium domain confirmation
4600
+ */
4601
+ expected_price?: number | string | null;
4582
4602
  /**
4583
4603
  * Reason
4584
4604
  * @description Reason for restoring the domain
@@ -4857,6 +4877,11 @@ export interface components {
4857
4877
  * @default false
4858
4878
  */
4859
4879
  create_zone: boolean;
4880
+ /**
4881
+ * Expected Price
4882
+ * @description Expected price for premium domain confirmation
4883
+ */
4884
+ expected_price?: number | string | null;
4860
4885
  /**
4861
4886
  * Name
4862
4887
  * @description The domain to be created
@@ -4897,6 +4922,11 @@ export interface components {
4897
4922
  * @default false
4898
4923
  */
4899
4924
  create_zone: boolean;
4925
+ /**
4926
+ * Expected Price
4927
+ * @description Expected price for premium domain confirmation
4928
+ */
4929
+ expected_price?: string | null;
4900
4930
  /**
4901
4931
  * Name
4902
4932
  * @description The domain to be created