@opusdns/api 0.253.0 → 0.254.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.253.0",
6
+ "version": "0.254.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -5604,6 +5604,22 @@ export type StatusChanges = components['schemas']['StatusChanges'];
5604
5604
  * @see {@link components} - The OpenAPI components schema definition
5605
5605
  */
5606
5606
  export type StatusCodeStatsBucket = components['schemas']['StatusCodeStatsBucket'];
5607
+ /**
5608
+ * StrictMoneyDecimal
5609
+ *
5610
+ * @remarks
5611
+ * Type alias for the `StrictMoneyDecimal` OpenAPI schema.
5612
+ * This type represents strictmoneydecimal data structures used in API requests and responses.
5613
+ *
5614
+ * @example
5615
+ * ```typescript
5616
+ * const response = await api.getStrictMoneyDecimal();
5617
+ * const item: StrictMoneyDecimal = response.results;
5618
+ * ```
5619
+ *
5620
+ * @see {@link components} - The OpenAPI components schema definition
5621
+ */
5622
+ export type StrictMoneyDecimal = components['schemas']['StrictMoneyDecimal'];
5607
5623
  /**
5608
5624
  * SyncOperationType
5609
5625
  *
package/src/openapi.yaml CHANGED
@@ -2543,12 +2543,9 @@ components:
2543
2543
  type: boolean
2544
2544
  expected_price:
2545
2545
  anyOf:
2546
- - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
2547
- type: string
2546
+ - $ref: '#/components/schemas/StrictMoneyDecimal'
2548
2547
  - type: 'null'
2549
2548
  description: Expected price for premium domain confirmation
2550
- examples:
2551
- - '12.50'
2552
2549
  title: Expected Price
2553
2550
  name:
2554
2551
  description: The domain to be created
@@ -2756,12 +2753,9 @@ components:
2756
2753
  type: boolean
2757
2754
  expected_price:
2758
2755
  anyOf:
2759
- - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
2760
- type: string
2756
+ - $ref: '#/components/schemas/StrictMoneyDecimal'
2761
2757
  - type: 'null'
2762
2758
  description: Expected price for premium domain confirmation
2763
- examples:
2764
- - '12.50'
2765
2759
  title: Expected Price
2766
2760
  name:
2767
2761
  description: The domain to be created
@@ -3453,12 +3447,9 @@ components:
3453
3447
  type: string
3454
3448
  expected_price:
3455
3449
  anyOf:
3456
- - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
3457
- type: string
3450
+ - $ref: '#/components/schemas/StrictMoneyDecimal'
3458
3451
  - type: 'null'
3459
3452
  description: Expected price for premium domain confirmation
3460
- examples:
3461
- - '12.50'
3462
3453
  title: Expected Price
3463
3454
  period:
3464
3455
  $ref: '#/components/schemas/DomainPeriod'
@@ -3658,12 +3649,9 @@ components:
3658
3649
  title: Additional Info
3659
3650
  expected_price:
3660
3651
  anyOf:
3661
- - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
3662
- type: string
3652
+ - $ref: '#/components/schemas/StrictMoneyDecimal'
3663
3653
  - type: 'null'
3664
3654
  description: Expected price for premium domain confirmation
3665
- examples:
3666
- - '12.50'
3667
3655
  title: Expected Price
3668
3656
  reason:
3669
3657
  anyOf:
@@ -4118,12 +4106,9 @@ components:
4118
4106
  type: boolean
4119
4107
  expected_price:
4120
4108
  anyOf:
4121
- - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
4122
- type: string
4109
+ - $ref: '#/components/schemas/StrictMoneyDecimal'
4123
4110
  - type: 'null'
4124
4111
  description: Expected price for premium domain confirmation
4125
- examples:
4126
- - '12.50'
4127
4112
  title: Expected Price
4128
4113
  name:
4129
4114
  description: The domain to be created
@@ -4184,12 +4169,9 @@ components:
4184
4169
  type: boolean
4185
4170
  expected_price:
4186
4171
  anyOf:
4187
- - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
4188
- type: string
4172
+ - $ref: '#/components/schemas/StrictMoneyDecimal'
4189
4173
  - type: 'null'
4190
4174
  description: Expected price for premium domain confirmation
4191
- examples:
4192
- - '12.50'
4193
4175
  title: Expected Price
4194
4176
  name:
4195
4177
  description: The domain to be created
@@ -8649,6 +8631,11 @@ components:
8649
8631
  - total
8650
8632
  title: StatusCodeStatsBucket
8651
8633
  type: object
8634
+ StrictMoneyDecimal:
8635
+ examples:
8636
+ - '12.50'
8637
+ pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
8638
+ type: string
8652
8639
  SyncOperationType:
8653
8640
  enum:
8654
8641
  - registration
@@ -9866,7 +9853,7 @@ info:
9866
9853
  \n\n"
9867
9854
  summary: OpusDNS - your gateway to a seamless domain management experience.
9868
9855
  title: OpusDNS API
9869
- version: 2026-04-17-091139
9856
+ version: 2026-04-17-200229
9870
9857
  x-logo:
9871
9858
  altText: OpusDNS API Reference
9872
9859
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -3894,9 +3894,8 @@ export interface components {
3894
3894
  /**
3895
3895
  * Expected Price
3896
3896
  * @description Expected price for premium domain confirmation
3897
- * @example 12.50
3898
3897
  */
3899
- expected_price?: string | null;
3898
+ expected_price?: components["schemas"]["StrictMoneyDecimal"] | null;
3900
3899
  /**
3901
3900
  * Name
3902
3901
  * @description The domain to be created
@@ -4045,9 +4044,8 @@ export interface components {
4045
4044
  /**
4046
4045
  * Expected Price
4047
4046
  * @description Expected price for premium domain confirmation
4048
- * @example 12.50
4049
4047
  */
4050
- expected_price?: string | null;
4048
+ expected_price?: components["schemas"]["StrictMoneyDecimal"] | null;
4051
4049
  /**
4052
4050
  * Name
4053
4051
  * @description The domain to be created
@@ -4460,9 +4458,8 @@ export interface components {
4460
4458
  /**
4461
4459
  * Expected Price
4462
4460
  * @description Expected price for premium domain confirmation
4463
- * @example 12.50
4464
4461
  */
4465
- expected_price?: string | null;
4462
+ expected_price?: components["schemas"]["StrictMoneyDecimal"] | null;
4466
4463
  /** @description How long to extend the domain registration */
4467
4464
  period: components["schemas"]["DomainPeriod"];
4468
4465
  };
@@ -4621,9 +4618,8 @@ export interface components {
4621
4618
  /**
4622
4619
  * Expected Price
4623
4620
  * @description Expected price for premium domain confirmation
4624
- * @example 12.50
4625
4621
  */
4626
- expected_price?: string | null;
4622
+ expected_price?: components["schemas"]["StrictMoneyDecimal"] | null;
4627
4623
  /**
4628
4624
  * Reason
4629
4625
  * @description Reason for restoring the domain
@@ -4922,9 +4918,8 @@ export interface components {
4922
4918
  /**
4923
4919
  * Expected Price
4924
4920
  * @description Expected price for premium domain confirmation
4925
- * @example 12.50
4926
4921
  */
4927
- expected_price?: string | null;
4922
+ expected_price?: components["schemas"]["StrictMoneyDecimal"] | null;
4928
4923
  /**
4929
4924
  * Name
4930
4925
  * @description The domain to be created
@@ -4968,9 +4963,8 @@ export interface components {
4968
4963
  /**
4969
4964
  * Expected Price
4970
4965
  * @description Expected price for premium domain confirmation
4971
- * @example 12.50
4972
4966
  */
4973
- expected_price?: string | null;
4967
+ expected_price?: components["schemas"]["StrictMoneyDecimal"] | null;
4974
4968
  /**
4975
4969
  * Name
4976
4970
  * @description The domain to be created
@@ -7926,6 +7920,8 @@ export interface components {
7926
7920
  /** Total */
7927
7921
  total: number;
7928
7922
  };
7923
+ /** @example 12.50 */
7924
+ StrictMoneyDecimal: string;
7929
7925
  /**
7930
7926
  * SyncOperationType
7931
7927
  * @enum {string}