@opusdns/api 0.237.0 → 0.238.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.237.0",
6
+ "version": "0.238.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -374,11 +374,10 @@ Specify one or more domains to check for availability.
374
374
  * @see {@link GET_Availability_Response_200} - 200 response type
375
375
  * @see {@link GET_Availability_Response_401} - 401 response type
376
376
  * @see {@link GET_Availability_Response_422} - 422 response type
377
- * @see {@link GET_Availability_Response_500} - 500 response type
378
377
  *
379
378
 
380
379
  */
381
- export type GET_Availability_Response = GET_Availability_Response_200 | GET_Availability_Response_401 | GET_Availability_Response_422 | GET_Availability_Response_500;
380
+ export type GET_Availability_Response = GET_Availability_Response_200 | GET_Availability_Response_401 | GET_Availability_Response_422;
382
381
 
383
382
  /**
384
383
  * 200 response for GET Availability endpoint
@@ -440,26 +439,6 @@ Specify one or more domains to check for availability.
440
439
  */
441
440
  export type GET_Availability_Response_422 = HTTPValidationError
442
441
 
443
- /**
444
- * 500 response for GET Availability endpoint
445
- *
446
- * @remarks
447
- * This type defines the response structure for the 500 status code
448
- * of the GET Availability endpoint.
449
- * It provides type safety for handling this specific response as defined in the OpenAPI specification.
450
- *
451
-
452
- *
453
- * @path /v1/availability
454
- * @param domains (query) -
455
- Specify one or more domains to check for availability.
456
-
457
- *
458
- * @see {@link GET_Availability_Response} - The main response type definition
459
- * @see {@link Problem} - The actual schema type definition
460
- */
461
- export type GET_Availability_Response_500 = Problem
462
-
463
442
  /**
464
443
  * Response types for GET AvailabilityStream endpoint
465
444
  *
@@ -480,11 +459,10 @@ Specify one or more domains to check for availability.
480
459
  *
481
460
  * @see {@link GET_AvailabilityStream_Response_401} - 401 response type
482
461
  * @see {@link GET_AvailabilityStream_Response_422} - 422 response type
483
- * @see {@link GET_AvailabilityStream_Response_500} - 500 response type
484
462
  *
485
463
 
486
464
  */
487
- export type GET_AvailabilityStream_Response = GET_AvailabilityStream_Response_401 | GET_AvailabilityStream_Response_422 | GET_AvailabilityStream_Response_500;
465
+ export type GET_AvailabilityStream_Response = GET_AvailabilityStream_Response_401 | GET_AvailabilityStream_Response_422;
488
466
 
489
467
  /**
490
468
  * 401 response for GET AvailabilityStream endpoint
@@ -526,26 +504,6 @@ Specify one or more domains to check for availability.
526
504
  */
527
505
  export type GET_AvailabilityStream_Response_422 = HTTPValidationError
528
506
 
529
- /**
530
- * 500 response for GET AvailabilityStream endpoint
531
- *
532
- * @remarks
533
- * This type defines the response structure for the 500 status code
534
- * of the GET AvailabilityStream endpoint.
535
- * It provides type safety for handling this specific response as defined in the OpenAPI specification.
536
- *
537
-
538
- *
539
- * @path /v1/availability/stream
540
- * @param domains (query) -
541
- Specify one or more domains to check for availability.
542
-
543
- *
544
- * @see {@link GET_AvailabilityStream_Response} - The main response type definition
545
- * @see {@link Problem} - The actual schema type definition
546
- */
547
- export type GET_AvailabilityStream_Response_500 = Problem
548
-
549
507
  /**
550
508
  * Response types for POST AvailabilityStream endpoint
551
509
  *
@@ -563,11 +521,10 @@ export type GET_AvailabilityStream_Response_500 = Problem
563
521
  *
564
522
  * @see {@link POST_AvailabilityStream_Response_401} - 401 response type
565
523
  * @see {@link POST_AvailabilityStream_Response_422} - 422 response type
566
- * @see {@link POST_AvailabilityStream_Response_500} - 500 response type
567
524
  *
568
525
 
569
526
  */
570
- export type POST_AvailabilityStream_Response = POST_AvailabilityStream_Response_401 | POST_AvailabilityStream_Response_422 | POST_AvailabilityStream_Response_500;
527
+ export type POST_AvailabilityStream_Response = POST_AvailabilityStream_Response_401 | POST_AvailabilityStream_Response_422;
571
528
 
572
529
  /**
573
530
  * 401 response for POST AvailabilityStream endpoint
@@ -603,23 +560,6 @@ export type POST_AvailabilityStream_Response_401 = Problem
603
560
  */
604
561
  export type POST_AvailabilityStream_Response_422 = HTTPValidationError
605
562
 
606
- /**
607
- * 500 response for POST AvailabilityStream endpoint
608
- *
609
- * @remarks
610
- * This type defines the response structure for the 500 status code
611
- * of the POST AvailabilityStream endpoint.
612
- * It provides type safety for handling this specific response as defined in the OpenAPI specification.
613
- *
614
-
615
- *
616
- * @path /v1/availability/stream
617
- *
618
- * @see {@link POST_AvailabilityStream_Response} - The main response type definition
619
- * @see {@link Problem} - The actual schema type definition
620
- */
621
- export type POST_AvailabilityStream_Response_500 = Problem
622
-
623
563
  /**
624
564
  * Response types for GET Contacts endpoint
625
565
  *
package/src/openapi.yaml CHANGED
@@ -9653,7 +9653,7 @@ info:
9653
9653
  \n\n"
9654
9654
  summary: OpusDNS - your gateway to a seamless domain management experience.
9655
9655
  title: OpusDNS API
9656
- version: 2026-04-07-204206
9656
+ version: 2026-04-08-115618
9657
9657
  x-logo:
9658
9658
  altText: OpusDNS API Reference
9659
9659
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -10332,7 +10332,7 @@ paths:
10332
10332
  '
10333
10333
  items:
10334
10334
  type: string
10335
- maxItems: 1000
10335
+ maxItems: 50
10336
10336
  title: Domains
10337
10337
  type: array
10338
10338
  responses:
@@ -10360,18 +10360,6 @@ paths:
10360
10360
  schema:
10361
10361
  $ref: '#/components/schemas/HTTPValidationError'
10362
10362
  description: Validation Error
10363
- '500':
10364
- content:
10365
- application/problem+json:
10366
- example:
10367
- code: ERROR_AVAILABILITY_PROVIDER
10368
- detail: Additional error context.
10369
- status: 500
10370
- title: Availability Error
10371
- type: availability-internal
10372
- schema:
10373
- $ref: '#/components/schemas/Problem'
10374
- description: Internal Server Error
10375
10363
  security:
10376
10364
  - OAuth2PasswordBearer: []
10377
10365
  - APIKeyHeader: []
@@ -10380,6 +10368,7 @@ paths:
10380
10368
  - availability
10381
10369
  /v1/availability/stream:
10382
10370
  get:
10371
+ deprecated: true
10383
10372
  description: Stream domain availability results using Server-Sent Events (SSE)
10384
10373
  until the `done` event is received.
10385
10374
  operationId: stream_availability_v1_availability_stream_get
@@ -10443,18 +10432,6 @@ paths:
10443
10432
  schema:
10444
10433
  $ref: '#/components/schemas/HTTPValidationError'
10445
10434
  description: Validation Error
10446
- '500':
10447
- content:
10448
- application/problem+json:
10449
- example:
10450
- code: ERROR_AVAILABILITY_PROVIDER
10451
- detail: Additional error context.
10452
- status: 500
10453
- title: Availability Error
10454
- type: availability-internal
10455
- schema:
10456
- $ref: '#/components/schemas/Problem'
10457
- description: Internal Server Error
10458
10435
  security:
10459
10436
  - OAuth2PasswordBearer: []
10460
10437
  - APIKeyHeader: []
@@ -10505,18 +10482,6 @@ paths:
10505
10482
  schema:
10506
10483
  $ref: '#/components/schemas/HTTPValidationError'
10507
10484
  description: Validation Error
10508
- '500':
10509
- content:
10510
- application/problem+json:
10511
- example:
10512
- code: ERROR_AVAILABILITY_PROVIDER
10513
- detail: Additional error context.
10514
- status: 500
10515
- title: Availability Error
10516
- type: availability-internal
10517
- schema:
10518
- $ref: '#/components/schemas/Problem'
10519
- description: Internal Server Error
10520
10485
  security:
10521
10486
  - OAuth2PasswordBearer: []
10522
10487
  - APIKeyHeader: []
package/src/schema.d.ts CHANGED
@@ -146,6 +146,7 @@ export interface paths {
146
146
  };
147
147
  /**
148
148
  * Stream domain availability results
149
+ * @deprecated
149
150
  * @description Stream domain availability results using Server-Sent Events (SSE) until the `done` event is received.
150
151
  */
151
152
  get: operations["stream_availability_v1_availability_stream_get"];
@@ -8901,22 +8902,6 @@ export interface operations {
8901
8902
  "application/problem+json": components["schemas"]["HTTPValidationError"];
8902
8903
  };
8903
8904
  };
8904
- /** @description Internal Server Error */
8905
- 500: {
8906
- headers: {
8907
- [name: string]: unknown;
8908
- };
8909
- content: {
8910
- /** @example {
8911
- * "code": "ERROR_AVAILABILITY_PROVIDER",
8912
- * "detail": "Additional error context.",
8913
- * "status": 500,
8914
- * "title": "Availability Error",
8915
- * "type": "availability-internal"
8916
- * } */
8917
- "application/problem+json": components["schemas"]["Problem"];
8918
- };
8919
- };
8920
8905
  };
8921
8906
  };
8922
8907
  stream_availability_v1_availability_stream_get: {
@@ -8967,22 +8952,6 @@ export interface operations {
8967
8952
  "application/problem+json": components["schemas"]["HTTPValidationError"];
8968
8953
  };
8969
8954
  };
8970
- /** @description Internal Server Error */
8971
- 500: {
8972
- headers: {
8973
- [name: string]: unknown;
8974
- };
8975
- content: {
8976
- /** @example {
8977
- * "code": "ERROR_AVAILABILITY_PROVIDER",
8978
- * "detail": "Additional error context.",
8979
- * "status": 500,
8980
- * "title": "Availability Error",
8981
- * "type": "availability-internal"
8982
- * } */
8983
- "application/problem+json": components["schemas"]["Problem"];
8984
- };
8985
- };
8986
8955
  };
8987
8956
  };
8988
8957
  stream_availability_post_v1_availability_stream_post: {
@@ -9032,22 +9001,6 @@ export interface operations {
9032
9001
  "application/problem+json": components["schemas"]["HTTPValidationError"];
9033
9002
  };
9034
9003
  };
9035
- /** @description Internal Server Error */
9036
- 500: {
9037
- headers: {
9038
- [name: string]: unknown;
9039
- };
9040
- content: {
9041
- /** @example {
9042
- * "code": "ERROR_AVAILABILITY_PROVIDER",
9043
- * "detail": "Additional error context.",
9044
- * "status": 500,
9045
- * "title": "Availability Error",
9046
- * "type": "availability-internal"
9047
- * } */
9048
- "application/problem+json": components["schemas"]["Problem"];
9049
- };
9050
- };
9051
9004
  };
9052
9005
  };
9053
9006
  get_contacts_v1_contacts_get: {