@opusdns/api 1.83.0 → 1.85.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": "^1.2.0"
4
4
  },
5
5
  "name": "@opusdns/api",
6
- "version": "1.83.0",
6
+ "version": "1.85.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -434,6 +434,7 @@ import type {
434
434
  RequestAuthcode,
435
435
  RequestAuthcode2,
436
436
  RequestAuthcode3,
437
+ RequestAuthcode4,
437
438
  DomainAvailabilityList,
438
439
  DomainAvailabilityCheck,
439
440
  } from './schemas';
@@ -3813,6 +3814,7 @@ export const KEYS_LOGO = [
3813
3814
  ] as const satisfies (keyof Logo)[];
3814
3815
 
3815
3816
  export const KEY_MAIL_TEMPLATE_BLOCKS = 'blocks' satisfies keyof MailTemplate;
3817
+ export const KEY_MAIL_TEMPLATE_LABEL = 'label' satisfies keyof MailTemplate;
3816
3818
  export const KEY_MAIL_TEMPLATE_LOCALES = 'locales' satisfies keyof MailTemplate;
3817
3819
  export const KEY_MAIL_TEMPLATE_SUBJECT = 'subject' satisfies keyof MailTemplate;
3818
3820
  export const KEY_MAIL_TEMPLATE_VARIABLES = 'variables' satisfies keyof MailTemplate;
@@ -3820,6 +3822,7 @@ export const KEY_MAIL_TEMPLATE_VERSION = 'version' satisfies keyof MailTemplate;
3820
3822
 
3821
3823
  export const KEYS_MAIL_TEMPLATE = [
3822
3824
  KEY_MAIL_TEMPLATE_BLOCKS,
3825
+ KEY_MAIL_TEMPLATE_LABEL,
3823
3826
  KEY_MAIL_TEMPLATE_LOCALES,
3824
3827
  KEY_MAIL_TEMPLATE_SUBJECT,
3825
3828
  KEY_MAIL_TEMPLATE_VARIABLES,
@@ -5848,17 +5851,15 @@ export const KEYS_REQUEST_AUTHCODE = [
5848
5851
  KEY_REQUEST_AUTHCODE_SUCCESS,
5849
5852
  ] as const satisfies (keyof RequestAuthcode)[];
5850
5853
 
5851
- export const KEY_REQUEST_AUTHCODE2_AUTH_CODE = 'auth_code' satisfies keyof RequestAuthcode2;
5852
- export const KEY_REQUEST_AUTHCODE2_AUTH_CODE_EXPIRES_ON = 'auth_code_expires_on' satisfies keyof RequestAuthcode2;
5853
5854
  export const KEY_REQUEST_AUTHCODE2_DETAIL = 'detail' satisfies keyof RequestAuthcode2;
5854
5855
  export const KEY_REQUEST_AUTHCODE2_NAME = 'name' satisfies keyof RequestAuthcode2;
5856
+ export const KEY_REQUEST_AUTHCODE2_RECIPIENTS = 'recipients' satisfies keyof RequestAuthcode2;
5855
5857
  export const KEY_REQUEST_AUTHCODE2_SUCCESS = 'success' satisfies keyof RequestAuthcode2;
5856
5858
 
5857
5859
  export const KEYS_REQUEST_AUTHCODE2 = [
5858
- KEY_REQUEST_AUTHCODE2_AUTH_CODE,
5859
- KEY_REQUEST_AUTHCODE2_AUTH_CODE_EXPIRES_ON,
5860
5860
  KEY_REQUEST_AUTHCODE2_DETAIL,
5861
5861
  KEY_REQUEST_AUTHCODE2_NAME,
5862
+ KEY_REQUEST_AUTHCODE2_RECIPIENTS,
5862
5863
  KEY_REQUEST_AUTHCODE2_SUCCESS,
5863
5864
  ] as const satisfies (keyof RequestAuthcode2)[];
5864
5865
 
@@ -5876,6 +5877,20 @@ export const KEYS_REQUEST_AUTHCODE3 = [
5876
5877
  KEY_REQUEST_AUTHCODE3_SUCCESS,
5877
5878
  ] as const satisfies (keyof RequestAuthcode3)[];
5878
5879
 
5880
+ export const KEY_REQUEST_AUTHCODE4_AUTH_CODE = 'auth_code' satisfies keyof RequestAuthcode4;
5881
+ export const KEY_REQUEST_AUTHCODE4_AUTH_CODE_EXPIRES_ON = 'auth_code_expires_on' satisfies keyof RequestAuthcode4;
5882
+ export const KEY_REQUEST_AUTHCODE4_DETAIL = 'detail' satisfies keyof RequestAuthcode4;
5883
+ export const KEY_REQUEST_AUTHCODE4_NAME = 'name' satisfies keyof RequestAuthcode4;
5884
+ export const KEY_REQUEST_AUTHCODE4_SUCCESS = 'success' satisfies keyof RequestAuthcode4;
5885
+
5886
+ export const KEYS_REQUEST_AUTHCODE4 = [
5887
+ KEY_REQUEST_AUTHCODE4_AUTH_CODE,
5888
+ KEY_REQUEST_AUTHCODE4_AUTH_CODE_EXPIRES_ON,
5889
+ KEY_REQUEST_AUTHCODE4_DETAIL,
5890
+ KEY_REQUEST_AUTHCODE4_NAME,
5891
+ KEY_REQUEST_AUTHCODE4_SUCCESS,
5892
+ ] as const satisfies (keyof RequestAuthcode4)[];
5893
+
5879
5894
  export const KEY_DOMAIN_AVAILABILITY_LIST_META = 'meta' satisfies keyof DomainAvailabilityList;
5880
5895
  export const KEY_DOMAIN_AVAILABILITY_LIST_RESULTS = 'results' satisfies keyof DomainAvailabilityList;
5881
5896
 
@@ -584,6 +584,11 @@ export type POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Request =
584
584
  };
585
585
  export type POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Request_Path = POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Request['parameters']['path'];
586
586
 
587
+ export type POST_DomainsTldSpecificCzByDomainReferenceAuthCodeRequest_Request = {
588
+ parameters: operations['request_auth_code_v1_domains_tld_specific_cz__domain_reference__auth_code_request_post']['parameters'];
589
+ };
590
+ export type POST_DomainsTldSpecificCzByDomainReferenceAuthCodeRequest_Request_Path = POST_DomainsTldSpecificCzByDomainReferenceAuthCodeRequest_Request['parameters']['path'];
591
+
587
592
  export type POST_DomainsTldSpecificDeByDomainReferenceTransit_Request = {
588
593
  parameters: operations['transit_domain_v1_domains_tld_specific_de__domain_reference__transit_post']['parameters'];
589
594
  requestBody: DomainTransitRequest;
@@ -99,6 +99,7 @@ import type {
99
99
  RequestAuthcode,
100
100
  RequestAuthcode2,
101
101
  RequestAuthcode3,
102
+ RequestAuthcode4,
102
103
  SetVanityNameserverSetDefaultRes,
103
104
  Tag,
104
105
  TldResponseShort,
@@ -1165,6 +1166,13 @@ export type POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_4
1165
1166
  export type POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_404 = Problem;
1166
1167
  export type POST_DomainsTldSpecificBeByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
1167
1168
 
1169
+ export type POST_DomainsTldSpecificCzByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificCzByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificCzByDomainReferenceAuthCodeRequest_Response_400 | POST_DomainsTldSpecificCzByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificCzByDomainReferenceAuthCodeRequest_Response_422;
1170
+
1171
+ export type POST_DomainsTldSpecificCzByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode2;
1172
+ export type POST_DomainsTldSpecificCzByDomainReferenceAuthCodeRequest_Response_400 = Problem;
1173
+ export type POST_DomainsTldSpecificCzByDomainReferenceAuthCodeRequest_Response_404 = Problem;
1174
+ export type POST_DomainsTldSpecificCzByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
1175
+
1168
1176
  export type POST_DomainsTldSpecificDeByDomainReferenceTransit_Response = POST_DomainsTldSpecificDeByDomainReferenceTransit_Response_200 | POST_DomainsTldSpecificDeByDomainReferenceTransit_Response_404 | POST_DomainsTldSpecificDeByDomainReferenceTransit_Response_422;
1169
1177
 
1170
1178
  export type POST_DomainsTldSpecificDeByDomainReferenceTransit_Response_200 = DomainTransit;
@@ -1173,14 +1181,14 @@ export type POST_DomainsTldSpecificDeByDomainReferenceTransit_Response_422 = HTT
1173
1181
 
1174
1182
  export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_400 | POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_422;
1175
1183
 
1176
- export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode2;
1184
+ export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode3;
1177
1185
  export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_400 = Problem;
1178
1186
  export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_404 = Problem;
1179
1187
  export type POST_DomainsTldSpecificEuByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
1180
1188
 
1181
1189
  export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response = POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_200 | POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_400 | POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_404 | POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_422;
1182
1190
 
1183
- export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode3;
1191
+ export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_200 = RequestAuthcode4;
1184
1192
  export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_400 = Problem;
1185
1193
  export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_404 = Problem;
1186
1194
  export type POST_DomainsTldSpecificLtByDomainReferenceAuthCodeRequest_Response_422 = HTTPValidationError;
@@ -576,7 +576,8 @@ export type ZoneVanitySetUpdate = components['schemas']['ZoneVanitySetUpdate'];
576
576
  export type ZonesContext = components['schemas']['ZonesContext'];
577
577
  export type ZonesContextCreate = components['schemas']['ZonesContextCreate'];
578
578
  export type RequestAuthcode = components['schemas']['api__domain__tld_specific__be__models__RequestAuthcodeResponse'];
579
- export type RequestAuthcode2 = components['schemas']['api__domain__tld_specific__eu__models__RequestAuthcodeResponse'];
580
- export type RequestAuthcode3 = components['schemas']['api__domain__tld_specific__lt__models__RequestAuthcodeResponse'];
579
+ export type RequestAuthcode2 = components['schemas']['api__domain__tld_specific__cz__models__RequestAuthcodeResponse'];
580
+ export type RequestAuthcode3 = components['schemas']['api__domain__tld_specific__eu__models__RequestAuthcodeResponse'];
581
+ export type RequestAuthcode4 = components['schemas']['api__domain__tld_specific__lt__models__RequestAuthcodeResponse'];
581
582
  export type DomainAvailabilityList = components['schemas']['common__models__availability__datasource__DomainAvailabilityResponse'];
582
583
  export type DomainAvailabilityCheck = components['schemas']['common__models__domain__domain__DomainAvailabilityResponse'];
package/src/openapi.yaml CHANGED
@@ -8890,6 +8890,11 @@ components:
8890
8890
  description: Org-editable content blocks
8891
8891
  title: Blocks
8892
8892
  type: object
8893
+ label:
8894
+ default: ''
8895
+ description: Human-readable template name for display
8896
+ title: Label
8897
+ type: string
8893
8898
  locales:
8894
8899
  description: Supported locales, first is the fallback
8895
8900
  items:
@@ -14646,6 +14651,34 @@ components:
14646
14651
  - success
14647
14652
  title: RequestAuthcodeResponse
14648
14653
  type: object
14654
+ api__domain__tld_specific__cz__models__RequestAuthcodeResponse:
14655
+ properties:
14656
+ detail:
14657
+ anyOf:
14658
+ - type: string
14659
+ - type: 'null'
14660
+ description: Additional information about the result in case of failure
14661
+ title: Detail
14662
+ name:
14663
+ description: The domain name that had the auth code requested
14664
+ title: Name
14665
+ type: string
14666
+ recipients:
14667
+ description: Masked email addresses CZ.NIC sent the auth code to, when the
14668
+ registry discloses them
14669
+ items:
14670
+ type: string
14671
+ title: Recipients
14672
+ type: array
14673
+ success:
14674
+ description: Whether the request had a successful result from CZ.NIC
14675
+ title: Success
14676
+ type: boolean
14677
+ required:
14678
+ - name
14679
+ - success
14680
+ title: RequestAuthcodeResponse
14681
+ type: object
14649
14682
  api__domain__tld_specific__eu__models__RequestAuthcodeResponse:
14650
14683
  properties:
14651
14684
  auth_code:
@@ -14849,7 +14882,7 @@ info:
14849
14882
  \n\n"
14850
14883
  summary: OpusDNS - your gateway to a seamless domain management experience.
14851
14884
  title: OpusDNS API
14852
- version: 2026-07-27-141029
14885
+ version: 2026-07-28-150643
14853
14886
  x-logo:
14854
14887
  altText: OpusDNS API Reference
14855
14888
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -23184,6 +23217,73 @@ paths:
23184
23217
  - domain_tld_specific
23185
23218
  x-required-permissions:
23186
23219
  - domains:manage
23220
+ /v1/domains/tld-specific/cz/{domain_reference}/auth_code/request:
23221
+ post:
23222
+ operationId: request_auth_code_v1_domains_tld_specific_cz__domain_reference__auth_code_request_post
23223
+ parameters:
23224
+ - in: path
23225
+ name: domain_reference
23226
+ required: true
23227
+ schema:
23228
+ anyOf:
23229
+ - examples:
23230
+ - domain_01h45ytscbebyvny4gc8cr8ma2
23231
+ format: typeid
23232
+ pattern: ^domain_[0-7][0-9a-hjkmnpq-tv-z]{25}$
23233
+ type: string
23234
+ x-typeid-prefix: domain
23235
+ - type: string
23236
+ title: Domain Reference
23237
+ - $ref: '#/components/parameters/DatetimeFormatHeader'
23238
+ responses:
23239
+ '200':
23240
+ content:
23241
+ application/json:
23242
+ schema:
23243
+ $ref: '#/components/schemas/api__domain__tld_specific__cz__models__RequestAuthcodeResponse'
23244
+ description: Successful Response
23245
+ '400':
23246
+ content:
23247
+ application/problem+json:
23248
+ example:
23249
+ code: ERROR_DOMAIN_TRANSFER
23250
+ detail: There was an error transferring the domain
23251
+ domain_name: Additional error context.
23252
+ reason: An unspecified error occurred
23253
+ status: 400
23254
+ title: Domain Transfer Error
23255
+ type: domain-transfer
23256
+ schema:
23257
+ $ref: '#/components/schemas/Problem'
23258
+ description: Bad Request
23259
+ '404':
23260
+ content:
23261
+ application/problem+json:
23262
+ example:
23263
+ code: ERROR_DOMAIN_NOT_FOUND
23264
+ detail: Domain not found
23265
+ domain_name: Additional error context.
23266
+ status: 404
23267
+ title: Domain Management Error
23268
+ type: domain-not-found
23269
+ schema:
23270
+ $ref: '#/components/schemas/Problem'
23271
+ description: Not Found
23272
+ '422':
23273
+ content:
23274
+ application/problem+json:
23275
+ schema:
23276
+ $ref: '#/components/schemas/HTTPValidationError'
23277
+ description: Validation Error
23278
+ security:
23279
+ - OAuth2PasswordBearer: []
23280
+ - APIKeyHeader: []
23281
+ summary: Requests your auth code directly from CZ.NIC (registry)
23282
+ tags:
23283
+ - domain
23284
+ - domain_tld_specific
23285
+ x-required-permissions:
23286
+ - domains:manage
23187
23287
  /v1/domains/tld-specific/de/{domain_reference}/transit:
23188
23288
  post:
23189
23289
  operationId: transit_domain_v1_domains_tld_specific_de__domain_reference__transit_post
package/src/schema.d.ts CHANGED
@@ -1202,6 +1202,23 @@ export interface paths {
1202
1202
  patch?: never;
1203
1203
  trace?: never;
1204
1204
  };
1205
+ "/v1/domains/tld-specific/cz/{domain_reference}/auth_code/request": {
1206
+ parameters: {
1207
+ query?: never;
1208
+ header?: never;
1209
+ path?: never;
1210
+ cookie?: never;
1211
+ };
1212
+ get?: never;
1213
+ put?: never;
1214
+ /** Requests your auth code directly from CZ.NIC (registry) */
1215
+ post: operations["request_auth_code_v1_domains_tld_specific_cz__domain_reference__auth_code_request_post"];
1216
+ delete?: never;
1217
+ options?: never;
1218
+ head?: never;
1219
+ patch?: never;
1220
+ trace?: never;
1221
+ };
1205
1222
  "/v1/domains/tld-specific/de/{domain_reference}/transit": {
1206
1223
  parameters: {
1207
1224
  query?: never;
@@ -8741,6 +8758,12 @@ export interface components {
8741
8758
  blocks?: {
8742
8759
  [key: string]: components["schemas"]["MailTemplateBlock"];
8743
8760
  };
8761
+ /**
8762
+ * Label
8763
+ * @description Human-readable template name for display
8764
+ * @default
8765
+ */
8766
+ label: string;
8744
8767
  /**
8745
8768
  * Locales
8746
8769
  * @description Supported locales, first is the fallback
@@ -12569,6 +12592,29 @@ export interface components {
12569
12592
  success: boolean;
12570
12593
  };
12571
12594
  /** RequestAuthcodeResponse */
12595
+ api__domain__tld_specific__cz__models__RequestAuthcodeResponse: {
12596
+ /**
12597
+ * Detail
12598
+ * @description Additional information about the result in case of failure
12599
+ */
12600
+ detail?: string | null;
12601
+ /**
12602
+ * Name
12603
+ * @description The domain name that had the auth code requested
12604
+ */
12605
+ name: string;
12606
+ /**
12607
+ * Recipients
12608
+ * @description Masked email addresses CZ.NIC sent the auth code to, when the registry discloses them
12609
+ */
12610
+ recipients?: string[];
12611
+ /**
12612
+ * Success
12613
+ * @description Whether the request had a successful result from CZ.NIC
12614
+ */
12615
+ success: boolean;
12616
+ };
12617
+ /** RequestAuthcodeResponse */
12572
12618
  api__domain__tld_specific__eu__models__RequestAuthcodeResponse: {
12573
12619
  /**
12574
12620
  * Auth Code
@@ -18988,6 +19034,78 @@ export interface operations {
18988
19034
  };
18989
19035
  };
18990
19036
  };
19037
+ request_auth_code_v1_domains_tld_specific_cz__domain_reference__auth_code_request_post: {
19038
+ parameters: {
19039
+ query?: never;
19040
+ header?: {
19041
+ /**
19042
+ * @description Opt in to RFC 3339 datetime serialization. When set to `rfc3339`, response datetimes are normalized to UTC and serialized with a `Z` suffix. This is opt-in until the announced default cutover date, after which RFC 3339 becomes the default and this header is accepted as a no-op. Any other value or omission uses the current default serialization.
19043
+ * @example rfc3339
19044
+ */
19045
+ "X-Datetime-Format"?: components["parameters"]["DatetimeFormatHeader"];
19046
+ };
19047
+ path: {
19048
+ domain_reference: TypeId<"domain"> | string;
19049
+ };
19050
+ cookie?: never;
19051
+ };
19052
+ requestBody?: never;
19053
+ responses: {
19054
+ /** @description Successful Response */
19055
+ 200: {
19056
+ headers: {
19057
+ [name: string]: unknown;
19058
+ };
19059
+ content: {
19060
+ "application/json": components["schemas"]["api__domain__tld_specific__cz__models__RequestAuthcodeResponse"];
19061
+ };
19062
+ };
19063
+ /** @description Bad Request */
19064
+ 400: {
19065
+ headers: {
19066
+ [name: string]: unknown;
19067
+ };
19068
+ content: {
19069
+ /** @example {
19070
+ * "code": "ERROR_DOMAIN_TRANSFER",
19071
+ * "detail": "There was an error transferring the domain",
19072
+ * "domain_name": "Additional error context.",
19073
+ * "reason": "An unspecified error occurred",
19074
+ * "status": 400,
19075
+ * "title": "Domain Transfer Error",
19076
+ * "type": "domain-transfer"
19077
+ * } */
19078
+ "application/problem+json": components["schemas"]["Problem"];
19079
+ };
19080
+ };
19081
+ /** @description Not Found */
19082
+ 404: {
19083
+ headers: {
19084
+ [name: string]: unknown;
19085
+ };
19086
+ content: {
19087
+ /** @example {
19088
+ * "code": "ERROR_DOMAIN_NOT_FOUND",
19089
+ * "detail": "Domain not found",
19090
+ * "domain_name": "Additional error context.",
19091
+ * "status": 404,
19092
+ * "title": "Domain Management Error",
19093
+ * "type": "domain-not-found"
19094
+ * } */
19095
+ "application/problem+json": components["schemas"]["Problem"];
19096
+ };
19097
+ };
19098
+ /** @description Validation Error */
19099
+ 422: {
19100
+ headers: {
19101
+ [name: string]: unknown;
19102
+ };
19103
+ content: {
19104
+ "application/problem+json": components["schemas"]["HTTPValidationError"];
19105
+ };
19106
+ };
19107
+ };
19108
+ };
18991
19109
  transit_domain_v1_domains_tld_specific_de__domain_reference__transit_post: {
18992
19110
  parameters: {
18993
19111
  query?: never;