@opusdns/api 0.253.0 → 0.255.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.255.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -100,6 +100,7 @@ export const ATTRIBUTE_TYPE = {
100
100
  BOOLEAN: "boolean",
101
101
  DATETIME: "datetime",
102
102
  INTEGER: "integer",
103
+ COUNTRY_CODE: "country_code",
103
104
  } as const satisfies Record<string, AttributeType>;
104
105
 
105
106
  /**
@@ -128,7 +129,8 @@ export const ATTRIBUTE_TYPE_VALUES = [
128
129
  'string',
129
130
  'boolean',
130
131
  'datetime',
131
- 'integer'
132
+ 'integer',
133
+ 'country_code'
132
134
  ] as const satisfies [string, ...string[]] | AttributeType[];
133
135
 
134
136
  /**
@@ -3837,6 +3839,9 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE = {
3837
3839
  CIRA_CPR: "CIRA_CPR",
3838
3840
  SIDN_LEGAL_FORM: "SIDN_LEGAL_FORM",
3839
3841
  SIDN_LEGAL_REG_NO: "SIDN_LEGAL_REG_NO",
3842
+ US_NEXUS_CATEGORY: "US_NEXUS_CATEGORY",
3843
+ US_NEXUS_COUNTRY_CODE: "US_NEXUS_COUNTRY_CODE",
3844
+ US_APP_PURPOSE: "US_APP_PURPOSE",
3840
3845
  } as const satisfies Record<string, RegistryHandleAttributeType>;
3841
3846
 
3842
3847
  /**
@@ -3892,7 +3897,10 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES = [
3892
3897
  'NOMINET_TRAD_NAME',
3893
3898
  'CIRA_CPR',
3894
3899
  'SIDN_LEGAL_FORM',
3895
- 'SIDN_LEGAL_REG_NO'
3900
+ 'SIDN_LEGAL_REG_NO',
3901
+ 'US_NEXUS_CATEGORY',
3902
+ 'US_NEXUS_COUNTRY_CODE',
3903
+ 'US_APP_PURPOSE'
3896
3904
  ] as const satisfies [string, ...string[]] | RegistryHandleAttributeType[];
3897
3905
 
3898
3906
  /**
@@ -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
@@ -52,6 +52,7 @@ components:
52
52
  - boolean
53
53
  - datetime
54
54
  - integer
55
+ - country_code
55
56
  title: AttributeType
56
57
  type: string
57
58
  BatchSortField:
@@ -2543,12 +2544,9 @@ components:
2543
2544
  type: boolean
2544
2545
  expected_price:
2545
2546
  anyOf:
2546
- - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
2547
- type: string
2547
+ - $ref: '#/components/schemas/StrictMoneyDecimal'
2548
2548
  - type: 'null'
2549
2549
  description: Expected price for premium domain confirmation
2550
- examples:
2551
- - '12.50'
2552
2550
  title: Expected Price
2553
2551
  name:
2554
2552
  description: The domain to be created
@@ -2756,12 +2754,9 @@ components:
2756
2754
  type: boolean
2757
2755
  expected_price:
2758
2756
  anyOf:
2759
- - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
2760
- type: string
2757
+ - $ref: '#/components/schemas/StrictMoneyDecimal'
2761
2758
  - type: 'null'
2762
2759
  description: Expected price for premium domain confirmation
2763
- examples:
2764
- - '12.50'
2765
2760
  title: Expected Price
2766
2761
  name:
2767
2762
  description: The domain to be created
@@ -3453,12 +3448,9 @@ components:
3453
3448
  type: string
3454
3449
  expected_price:
3455
3450
  anyOf:
3456
- - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
3457
- type: string
3451
+ - $ref: '#/components/schemas/StrictMoneyDecimal'
3458
3452
  - type: 'null'
3459
3453
  description: Expected price for premium domain confirmation
3460
- examples:
3461
- - '12.50'
3462
3454
  title: Expected Price
3463
3455
  period:
3464
3456
  $ref: '#/components/schemas/DomainPeriod'
@@ -3658,12 +3650,9 @@ components:
3658
3650
  title: Additional Info
3659
3651
  expected_price:
3660
3652
  anyOf:
3661
- - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
3662
- type: string
3653
+ - $ref: '#/components/schemas/StrictMoneyDecimal'
3663
3654
  - type: 'null'
3664
3655
  description: Expected price for premium domain confirmation
3665
- examples:
3666
- - '12.50'
3667
3656
  title: Expected Price
3668
3657
  reason:
3669
3658
  anyOf:
@@ -4118,12 +4107,9 @@ components:
4118
4107
  type: boolean
4119
4108
  expected_price:
4120
4109
  anyOf:
4121
- - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
4122
- type: string
4110
+ - $ref: '#/components/schemas/StrictMoneyDecimal'
4123
4111
  - type: 'null'
4124
4112
  description: Expected price for premium domain confirmation
4125
- examples:
4126
- - '12.50'
4127
4113
  title: Expected Price
4128
4114
  name:
4129
4115
  description: The domain to be created
@@ -4184,12 +4170,9 @@ components:
4184
4170
  type: boolean
4185
4171
  expected_price:
4186
4172
  anyOf:
4187
- - pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
4188
- type: string
4173
+ - $ref: '#/components/schemas/StrictMoneyDecimal'
4189
4174
  - type: 'null'
4190
4175
  description: Expected price for premium domain confirmation
4191
- examples:
4192
- - '12.50'
4193
4176
  title: Expected Price
4194
4177
  name:
4195
4178
  description: The domain to be created
@@ -8338,6 +8321,9 @@ components:
8338
8321
  - CIRA_CPR
8339
8322
  - SIDN_LEGAL_FORM
8340
8323
  - SIDN_LEGAL_REG_NO
8324
+ - US_NEXUS_CATEGORY
8325
+ - US_NEXUS_COUNTRY_CODE
8326
+ - US_APP_PURPOSE
8341
8327
  title: RegistryHandleAttributeType
8342
8328
  type: string
8343
8329
  RegistryLockBase:
@@ -8649,6 +8635,11 @@ components:
8649
8635
  - total
8650
8636
  title: StatusCodeStatsBucket
8651
8637
  type: object
8638
+ StrictMoneyDecimal:
8639
+ examples:
8640
+ - '12.50'
8641
+ pattern: ^(?!^[-+.]*$)[+-]?0*(?:\d{0,8}|(?=[\d.]{1,11}0*$)\d{0,8}\.\d{0,2}0*$)
8642
+ type: string
8652
8643
  SyncOperationType:
8653
8644
  enum:
8654
8645
  - registration
@@ -9866,7 +9857,7 @@ info:
9866
9857
  \n\n"
9867
9858
  summary: OpusDNS - your gateway to a seamless domain management experience.
9868
9859
  title: OpusDNS API
9869
- version: 2026-04-17-091139
9860
+ version: 2026-04-20-065304
9870
9861
  x-logo:
9871
9862
  altText: OpusDNS API Reference
9872
9863
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
package/src/schema.d.ts CHANGED
@@ -2144,7 +2144,7 @@ export interface components {
2144
2144
  * AttributeType
2145
2145
  * @enum {string}
2146
2146
  */
2147
- AttributeType: "enum" | "string" | "boolean" | "datetime" | "integer";
2147
+ AttributeType: "enum" | "string" | "boolean" | "datetime" | "integer" | "country_code";
2148
2148
  /**
2149
2149
  * BatchSortField
2150
2150
  * @enum {string}
@@ -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
@@ -7714,7 +7708,7 @@ export interface components {
7714
7708
  * @description Registry handle attribute types for type-safe attribute key access.
7715
7709
  * @enum {string}
7716
7710
  */
7717
- RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "dnsbe:type" | "eurid:type" | "AFNIC_CONTACT_TYPE" | "AFNIC_PP_FIRST_NAME" | "AFNIC_PM_LEGAL_STATUS" | "AFNIC_PM_SIREN" | "AFNIC_PM_VAT" | "AFNIC_PM_TRADEMARK" | "AFNIC_PM_ASSOC_WALDEC" | "AFNIC_PM_ASSOC_PUBL_DATE" | "AFNIC_PM_ASSOC_PUBL_ANNOUNCE" | "AFNIC_PM_ASSOC_PUBL_PAGE" | "AFNIC_PM_ASSOC_DECL" | "AFNIC_PM_DUNS" | "AFNIC_PM_LOCAL" | "AFNIC_ID_STATUS" | "AFNIC_REACHABLE_MEDIA" | "AFNIC_REACHABLE_STATUS" | "AFNIC_RESTRICTED_PUBLICATION" | "ROTLD_CONTACT_TYPE" | "ROTLD_CNP_FISCAL_CODE" | "ROTLD_ID_NUMBER" | "ROTLD_REGISTRATION_NUMBER" | "ROTLD_DOMAIN_NAME" | "NOMINET_CONTACT_TYPE" | "NOMINET_CO_NO" | "NOMINET_TRAD_NAME" | "CIRA_CPR" | "SIDN_LEGAL_FORM" | "SIDN_LEGAL_REG_NO";
7711
+ RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "dnsbe:type" | "eurid:type" | "AFNIC_CONTACT_TYPE" | "AFNIC_PP_FIRST_NAME" | "AFNIC_PM_LEGAL_STATUS" | "AFNIC_PM_SIREN" | "AFNIC_PM_VAT" | "AFNIC_PM_TRADEMARK" | "AFNIC_PM_ASSOC_WALDEC" | "AFNIC_PM_ASSOC_PUBL_DATE" | "AFNIC_PM_ASSOC_PUBL_ANNOUNCE" | "AFNIC_PM_ASSOC_PUBL_PAGE" | "AFNIC_PM_ASSOC_DECL" | "AFNIC_PM_DUNS" | "AFNIC_PM_LOCAL" | "AFNIC_ID_STATUS" | "AFNIC_REACHABLE_MEDIA" | "AFNIC_REACHABLE_STATUS" | "AFNIC_RESTRICTED_PUBLICATION" | "ROTLD_CONTACT_TYPE" | "ROTLD_CNP_FISCAL_CODE" | "ROTLD_ID_NUMBER" | "ROTLD_REGISTRATION_NUMBER" | "ROTLD_DOMAIN_NAME" | "NOMINET_CONTACT_TYPE" | "NOMINET_CO_NO" | "NOMINET_TRAD_NAME" | "CIRA_CPR" | "SIDN_LEGAL_FORM" | "SIDN_LEGAL_REG_NO" | "US_NEXUS_CATEGORY" | "US_NEXUS_COUNTRY_CODE" | "US_APP_PURPOSE";
7718
7712
  /** RegistryLockBase */
7719
7713
  RegistryLockBase: {
7720
7714
  /**
@@ -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}