@opusdns/api 1.38.0 → 1.40.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 +1 -1
- package/src/helpers/constants.ts +4 -0
- package/src/helpers/keys.ts +0 -7
- package/src/helpers/requests.d.ts +0 -6
- package/src/helpers/responses.d.ts +0 -5
- package/src/helpers/schemas.d.ts +0 -1
- package/src/openapi.yaml +10 -56
- package/src/schema.d.ts +1 -73
package/package.json
CHANGED
package/src/helpers/constants.ts
CHANGED
|
@@ -1493,6 +1493,8 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE = {
|
|
|
1493
1493
|
DNS_LU_CONTACT_ROLE: "DNS_LU_CONTACT_ROLE",
|
|
1494
1494
|
SK_NIC_LEGAL_FORM: "SK_NIC_LEGAL_FORM",
|
|
1495
1495
|
SK_NIC_IDENT_VALUE: "SK_NIC_IDENT_VALUE",
|
|
1496
|
+
NIC_LV_REG_NR: "NIC_LV_REG_NR",
|
|
1497
|
+
NIC_LV_VAT_NR: "NIC_LV_VAT_NR",
|
|
1496
1498
|
} as const satisfies Record<string, RegistryHandleAttributeType>;
|
|
1497
1499
|
|
|
1498
1500
|
export const REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES = [
|
|
@@ -1542,6 +1544,8 @@ export const REGISTRY_HANDLE_ATTRIBUTE_TYPE_VALUES = [
|
|
|
1542
1544
|
'DNS_LU_CONTACT_ROLE',
|
|
1543
1545
|
'SK_NIC_LEGAL_FORM',
|
|
1544
1546
|
'SK_NIC_IDENT_VALUE',
|
|
1547
|
+
'NIC_LV_REG_NR',
|
|
1548
|
+
'NIC_LV_VAT_NR',
|
|
1545
1549
|
] as const satisfies ReadonlyArray<RegistryHandleAttributeType>;
|
|
1546
1550
|
|
|
1547
1551
|
export const RENEWAL_MODE = {
|
package/src/helpers/keys.ts
CHANGED
|
@@ -318,7 +318,6 @@ import type {
|
|
|
318
318
|
ParkingSignupStatus,
|
|
319
319
|
ParkingStatistics,
|
|
320
320
|
ParkingTotalMetrics,
|
|
321
|
-
PasswordUpdate,
|
|
322
321
|
Period,
|
|
323
322
|
PlatformStatsBucket,
|
|
324
323
|
PremiumDomainsBase,
|
|
@@ -4370,12 +4369,6 @@ export const KEYS_PARKING_TOTAL_METRICS = [
|
|
|
4370
4369
|
KEY_PARKING_TOTAL_METRICS_TOTAL_METRICS,
|
|
4371
4370
|
] as const satisfies (keyof ParkingTotalMetrics)[];
|
|
4372
4371
|
|
|
4373
|
-
export const KEY_PASSWORD_UPDATE_NEW_PASSWORD = 'new_password' satisfies keyof PasswordUpdate;
|
|
4374
|
-
|
|
4375
|
-
export const KEYS_PASSWORD_UPDATE = [
|
|
4376
|
-
KEY_PASSWORD_UPDATE_NEW_PASSWORD,
|
|
4377
|
-
] as const satisfies (keyof PasswordUpdate)[];
|
|
4378
|
-
|
|
4379
4372
|
export const KEY_PERIOD_UNIT = 'unit' satisfies keyof Period;
|
|
4380
4373
|
export const KEY_PERIOD_VALUE = 'value' satisfies keyof Period;
|
|
4381
4374
|
|
|
@@ -43,7 +43,6 @@ import type {
|
|
|
43
43
|
OrganizationCreate,
|
|
44
44
|
OrganizationUpdate,
|
|
45
45
|
ParkingSignupRequest,
|
|
46
|
-
PasswordUpdate,
|
|
47
46
|
PublicAuthRequestForm,
|
|
48
47
|
PublicRoleAssignmentRequest,
|
|
49
48
|
TagCreate,
|
|
@@ -1027,11 +1026,6 @@ export type GET_UsersMe_Request = {
|
|
|
1027
1026
|
};
|
|
1028
1027
|
export type GET_UsersMe_Request_Query = GET_UsersMe_Request['parameters']['query'];
|
|
1029
1028
|
|
|
1030
|
-
export type PATCH_UsersMePasswordReset_Request = {
|
|
1031
|
-
requestBody: PasswordUpdate;
|
|
1032
|
-
};
|
|
1033
|
-
export type PATCH_UsersMePasswordReset_Request_Body = PATCH_UsersMePasswordReset_Request['requestBody'];
|
|
1034
|
-
|
|
1035
1029
|
export type GET_VanityNameserverSets_Request = {
|
|
1036
1030
|
parameters: operations['list_vanity_nameserver_sets_v1_vanity_nameserver_sets_get']['parameters'];
|
|
1037
1031
|
};
|
|
@@ -962,11 +962,6 @@ export type PATCH_UsersByUserId_Response = PATCH_UsersByUserId_Response_200 | PA
|
|
|
962
962
|
export type PATCH_UsersByUserId_Response_200 = UserPublicWithAttributes;
|
|
963
963
|
export type PATCH_UsersByUserId_Response_422 = HTTPValidationError;
|
|
964
964
|
|
|
965
|
-
export type PATCH_UsersMePasswordReset_Response = PATCH_UsersMePasswordReset_Response_401 | PATCH_UsersMePasswordReset_Response_422;
|
|
966
|
-
|
|
967
|
-
export type PATCH_UsersMePasswordReset_Response_401 = Problem;
|
|
968
|
-
export type PATCH_UsersMePasswordReset_Response_422 = HTTPValidationError;
|
|
969
|
-
|
|
970
965
|
export type PATCH_VanityNameserverSetsBySetIdDefault_Response = PATCH_VanityNameserverSetsBySetIdDefault_Response_200 | PATCH_VanityNameserverSetsBySetIdDefault_Response_422;
|
|
971
966
|
|
|
972
967
|
export type PATCH_VanityNameserverSetsBySetIdDefault_Response_200 = SetVanityNameserverSetDefaultRes;
|
package/src/helpers/schemas.d.ts
CHANGED
|
@@ -414,7 +414,6 @@ export type ParkingSignupStatus = components['schemas']['ParkingSignupStatusResp
|
|
|
414
414
|
export type ParkingSortField = components['schemas']['ParkingSortField'];
|
|
415
415
|
export type ParkingStatistics = components['schemas']['ParkingStatistics'];
|
|
416
416
|
export type ParkingTotalMetrics = components['schemas']['ParkingTotalMetricsResponse'];
|
|
417
|
-
export type PasswordUpdate = components['schemas']['PasswordUpdate'];
|
|
418
417
|
export type PatchOp = components['schemas']['PatchOp'];
|
|
419
418
|
export type Period = components['schemas']['Period'];
|
|
420
419
|
export type PeriodList = components['schemas']['PeriodList'];
|
package/src/openapi.yaml
CHANGED
|
@@ -3667,7 +3667,7 @@ components:
|
|
|
3667
3667
|
title: Attributes
|
|
3668
3668
|
auth_code:
|
|
3669
3669
|
anyOf:
|
|
3670
|
-
- maxLength:
|
|
3670
|
+
- maxLength: 255
|
|
3671
3671
|
minLength: 6
|
|
3672
3672
|
type: string
|
|
3673
3673
|
- type: 'null'
|
|
@@ -3762,7 +3762,7 @@ components:
|
|
|
3762
3762
|
title: Attributes
|
|
3763
3763
|
auth_code:
|
|
3764
3764
|
anyOf:
|
|
3765
|
-
- maxLength:
|
|
3765
|
+
- maxLength: 255
|
|
3766
3766
|
minLength: 6
|
|
3767
3767
|
type: string
|
|
3768
3768
|
- type: 'null'
|
|
@@ -3844,7 +3844,7 @@ components:
|
|
|
3844
3844
|
title: Attributes
|
|
3845
3845
|
auth_code:
|
|
3846
3846
|
anyOf:
|
|
3847
|
-
- maxLength:
|
|
3847
|
+
- maxLength: 255
|
|
3848
3848
|
minLength: 6
|
|
3849
3849
|
type: string
|
|
3850
3850
|
- type: 'null'
|
|
@@ -3916,7 +3916,7 @@ components:
|
|
|
3916
3916
|
title: Attributes
|
|
3917
3917
|
auth_code:
|
|
3918
3918
|
anyOf:
|
|
3919
|
-
- maxLength:
|
|
3919
|
+
- maxLength: 255
|
|
3920
3920
|
minLength: 6
|
|
3921
3921
|
type: string
|
|
3922
3922
|
- type: 'null'
|
|
@@ -5631,7 +5631,7 @@ components:
|
|
|
5631
5631
|
title: Attributes
|
|
5632
5632
|
auth_code:
|
|
5633
5633
|
anyOf:
|
|
5634
|
-
- maxLength:
|
|
5634
|
+
- maxLength: 255
|
|
5635
5635
|
minLength: 6
|
|
5636
5636
|
type: string
|
|
5637
5637
|
- type: 'null'
|
|
@@ -5778,7 +5778,7 @@ components:
|
|
|
5778
5778
|
title: Attributes
|
|
5779
5779
|
auth_code:
|
|
5780
5780
|
anyOf:
|
|
5781
|
-
- maxLength:
|
|
5781
|
+
- maxLength: 255
|
|
5782
5782
|
minLength: 6
|
|
5783
5783
|
type: string
|
|
5784
5784
|
- type: 'null'
|
|
@@ -5842,7 +5842,7 @@ components:
|
|
|
5842
5842
|
title: Attributes
|
|
5843
5843
|
auth_code:
|
|
5844
5844
|
anyOf:
|
|
5845
|
-
- maxLength:
|
|
5845
|
+
- maxLength: 255
|
|
5846
5846
|
minLength: 6
|
|
5847
5847
|
type: string
|
|
5848
5848
|
- type: 'null'
|
|
@@ -10759,17 +10759,6 @@ components:
|
|
|
10759
10759
|
- total_metrics
|
|
10760
10760
|
title: ParkingTotalMetricsResponse
|
|
10761
10761
|
type: object
|
|
10762
|
-
PasswordUpdate:
|
|
10763
|
-
properties:
|
|
10764
|
-
new_password:
|
|
10765
|
-
examples:
|
|
10766
|
-
- correcthorsebatterystaple
|
|
10767
|
-
title: New Password
|
|
10768
|
-
type: string
|
|
10769
|
-
required:
|
|
10770
|
-
- new_password
|
|
10771
|
-
title: PasswordUpdate
|
|
10772
|
-
type: object
|
|
10773
10762
|
PatchOp:
|
|
10774
10763
|
enum:
|
|
10775
10764
|
- upsert
|
|
@@ -11515,6 +11504,8 @@ components:
|
|
|
11515
11504
|
- DNS_LU_CONTACT_ROLE
|
|
11516
11505
|
- SK_NIC_LEGAL_FORM
|
|
11517
11506
|
- SK_NIC_IDENT_VALUE
|
|
11507
|
+
- NIC_LV_REG_NR
|
|
11508
|
+
- NIC_LV_VAT_NR
|
|
11518
11509
|
title: RegistryHandleAttributeType
|
|
11519
11510
|
type: string
|
|
11520
11511
|
RegistryLockBase:
|
|
@@ -13935,7 +13926,7 @@ info:
|
|
|
13935
13926
|
\n\n"
|
|
13936
13927
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
13937
13928
|
title: OpusDNS API
|
|
13938
|
-
version: 2026-06-
|
|
13929
|
+
version: 2026-06-29-123437
|
|
13939
13930
|
x-logo:
|
|
13940
13931
|
altText: OpusDNS API Reference
|
|
13941
13932
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -28761,43 +28752,6 @@ paths:
|
|
|
28761
28752
|
- user
|
|
28762
28753
|
x-required-permissions:
|
|
28763
28754
|
- users:read
|
|
28764
|
-
/v1/users/me/password-reset:
|
|
28765
|
-
patch:
|
|
28766
|
-
operationId: change_password_v1_users_me_password_reset_patch
|
|
28767
|
-
requestBody:
|
|
28768
|
-
content:
|
|
28769
|
-
application/json:
|
|
28770
|
-
schema:
|
|
28771
|
-
$ref: '#/components/schemas/PasswordUpdate'
|
|
28772
|
-
required: true
|
|
28773
|
-
responses:
|
|
28774
|
-
'204':
|
|
28775
|
-
description: Successful Response
|
|
28776
|
-
'401':
|
|
28777
|
-
content:
|
|
28778
|
-
application/problem+json:
|
|
28779
|
-
example:
|
|
28780
|
-
code: ERROR_AUTHENTICATION
|
|
28781
|
-
detail: Additional error context.
|
|
28782
|
-
status: 401
|
|
28783
|
-
title: Authentication Error
|
|
28784
|
-
type: authentication
|
|
28785
|
-
schema:
|
|
28786
|
-
$ref: '#/components/schemas/Problem'
|
|
28787
|
-
description: Unauthorized
|
|
28788
|
-
'422':
|
|
28789
|
-
content:
|
|
28790
|
-
application/problem+json:
|
|
28791
|
-
schema:
|
|
28792
|
-
$ref: '#/components/schemas/HTTPValidationError'
|
|
28793
|
-
description: Validation Error
|
|
28794
|
-
security:
|
|
28795
|
-
- OAuth2PasswordBearer: []
|
|
28796
|
-
summary: Change Password
|
|
28797
|
-
tags:
|
|
28798
|
-
- user
|
|
28799
|
-
x-required-permissions:
|
|
28800
|
-
- users:manage
|
|
28801
28755
|
/v1/users/{user_id}:
|
|
28802
28756
|
delete:
|
|
28803
28757
|
description: Delete a user by ID
|
package/src/schema.d.ts
CHANGED
|
@@ -2508,23 +2508,6 @@ export interface paths {
|
|
|
2508
2508
|
patch?: never;
|
|
2509
2509
|
trace?: never;
|
|
2510
2510
|
};
|
|
2511
|
-
"/v1/users/me/password-reset": {
|
|
2512
|
-
parameters: {
|
|
2513
|
-
query?: never;
|
|
2514
|
-
header?: never;
|
|
2515
|
-
path?: never;
|
|
2516
|
-
cookie?: never;
|
|
2517
|
-
};
|
|
2518
|
-
get?: never;
|
|
2519
|
-
put?: never;
|
|
2520
|
-
post?: never;
|
|
2521
|
-
delete?: never;
|
|
2522
|
-
options?: never;
|
|
2523
|
-
head?: never;
|
|
2524
|
-
/** Change Password */
|
|
2525
|
-
patch: operations["change_password_v1_users_me_password_reset_patch"];
|
|
2526
|
-
trace?: never;
|
|
2527
|
-
};
|
|
2528
2511
|
"/v1/users/{user_id}": {
|
|
2529
2512
|
parameters: {
|
|
2530
2513
|
query?: never;
|
|
@@ -9861,14 +9844,6 @@ export interface components {
|
|
|
9861
9844
|
/** @description Aggregated metrics for all parking entries */
|
|
9862
9845
|
total_metrics: components["schemas"]["ParkingStatistics"];
|
|
9863
9846
|
};
|
|
9864
|
-
/** PasswordUpdate */
|
|
9865
|
-
PasswordUpdate: {
|
|
9866
|
-
/**
|
|
9867
|
-
* New Password
|
|
9868
|
-
* @example correcthorsebatterystaple
|
|
9869
|
-
*/
|
|
9870
|
-
new_password: string;
|
|
9871
|
-
};
|
|
9872
9847
|
/**
|
|
9873
9848
|
* PatchOp
|
|
9874
9849
|
* @enum {string}
|
|
@@ -10300,7 +10275,7 @@ export interface components {
|
|
|
10300
10275
|
* @description Registry handle attribute types for type-safe attribute key access.
|
|
10301
10276
|
* @enum {string}
|
|
10302
10277
|
*/
|
|
10303
|
-
RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "DE_GENERAL_REQUEST_URI_TEMPLATE" | "DE_ABUSE_URI_TEMPLATE" | "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" | "NIC_IT_ENTITY_TYPE" | "NIC_IT_REG_CODE" | "CZ_NIC_IDENT_TYPE" | "CZ_NIC_IDENT_VALUE" | "CZ_NIC_VAT" | "CZ_NIC_NOTIFY_EMAIL" | "DNS_LU_CONTACT_ROLE" | "SK_NIC_LEGAL_FORM" | "SK_NIC_IDENT_VALUE";
|
|
10278
|
+
RegistryHandleAttributeType: "at-ext-contact:type" | "DE_CONTACT_TYPE" | "DE_GENERAL_REQUEST_URI_TEMPLATE" | "DE_ABUSE_URI_TEMPLATE" | "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" | "NIC_IT_ENTITY_TYPE" | "NIC_IT_REG_CODE" | "CZ_NIC_IDENT_TYPE" | "CZ_NIC_IDENT_VALUE" | "CZ_NIC_VAT" | "CZ_NIC_NOTIFY_EMAIL" | "DNS_LU_CONTACT_ROLE" | "SK_NIC_LEGAL_FORM" | "SK_NIC_IDENT_VALUE" | "NIC_LV_REG_NR" | "NIC_LV_VAT_NR";
|
|
10304
10279
|
/** RegistryLockBase */
|
|
10305
10280
|
RegistryLockBase: {
|
|
10306
10281
|
/**
|
|
@@ -23240,53 +23215,6 @@ export interface operations {
|
|
|
23240
23215
|
};
|
|
23241
23216
|
};
|
|
23242
23217
|
};
|
|
23243
|
-
change_password_v1_users_me_password_reset_patch: {
|
|
23244
|
-
parameters: {
|
|
23245
|
-
query?: never;
|
|
23246
|
-
header?: never;
|
|
23247
|
-
path?: never;
|
|
23248
|
-
cookie?: never;
|
|
23249
|
-
};
|
|
23250
|
-
requestBody: {
|
|
23251
|
-
content: {
|
|
23252
|
-
"application/json": components["schemas"]["PasswordUpdate"];
|
|
23253
|
-
};
|
|
23254
|
-
};
|
|
23255
|
-
responses: {
|
|
23256
|
-
/** @description Successful Response */
|
|
23257
|
-
204: {
|
|
23258
|
-
headers: {
|
|
23259
|
-
[name: string]: unknown;
|
|
23260
|
-
};
|
|
23261
|
-
content?: never;
|
|
23262
|
-
};
|
|
23263
|
-
/** @description Unauthorized */
|
|
23264
|
-
401: {
|
|
23265
|
-
headers: {
|
|
23266
|
-
[name: string]: unknown;
|
|
23267
|
-
};
|
|
23268
|
-
content: {
|
|
23269
|
-
/** @example {
|
|
23270
|
-
* "code": "ERROR_AUTHENTICATION",
|
|
23271
|
-
* "detail": "Additional error context.",
|
|
23272
|
-
* "status": 401,
|
|
23273
|
-
* "title": "Authentication Error",
|
|
23274
|
-
* "type": "authentication"
|
|
23275
|
-
* } */
|
|
23276
|
-
"application/problem+json": components["schemas"]["Problem"];
|
|
23277
|
-
};
|
|
23278
|
-
};
|
|
23279
|
-
/** @description Validation Error */
|
|
23280
|
-
422: {
|
|
23281
|
-
headers: {
|
|
23282
|
-
[name: string]: unknown;
|
|
23283
|
-
};
|
|
23284
|
-
content: {
|
|
23285
|
-
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
23286
|
-
};
|
|
23287
|
-
};
|
|
23288
|
-
};
|
|
23289
|
-
};
|
|
23290
23218
|
get_user_v1_users__user_id__get: {
|
|
23291
23219
|
parameters: {
|
|
23292
23220
|
query?: {
|