@opusdns/api 1.39.0 → 1.41.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.39.0",
6
+ "version": "1.41.0",
7
7
  "description": "TypeScript types for the OpusDNS OpenAPI specification",
8
8
  "main": "./src/index.ts",
9
9
  "module": "./src/index.ts",
@@ -32,7 +32,6 @@ import type {
32
32
  ContactCreateWorkerResult,
33
33
  ContactHandle,
34
34
  Contact,
35
- ContactSchema,
36
35
  ContactVerificationApi,
37
36
  ContactVerificationEmail,
38
37
  ContactVerification,
@@ -318,7 +317,6 @@ import type {
318
317
  ParkingSignupStatus,
319
318
  ParkingStatistics,
320
319
  ParkingTotalMetrics,
321
- PasswordUpdate,
322
320
  Period,
323
321
  PlatformStatsBucket,
324
322
  PremiumDomainsBase,
@@ -882,42 +880,6 @@ export const KEYS_CONTACT = [
882
880
  KEY_CONTACT_TITLE,
883
881
  ] as const satisfies (keyof Contact)[];
884
882
 
885
- export const KEY_CONTACT_SCHEMA_CITY = 'city' satisfies keyof ContactSchema;
886
- export const KEY_CONTACT_SCHEMA_CONTACT_ID = 'contact_id' satisfies keyof ContactSchema;
887
- export const KEY_CONTACT_SCHEMA_COUNTRY = 'country' satisfies keyof ContactSchema;
888
- export const KEY_CONTACT_SCHEMA_CREATED_ON = 'created_on' satisfies keyof ContactSchema;
889
- export const KEY_CONTACT_SCHEMA_DISCLOSE = 'disclose' satisfies keyof ContactSchema;
890
- export const KEY_CONTACT_SCHEMA_EMAIL = 'email' satisfies keyof ContactSchema;
891
- export const KEY_CONTACT_SCHEMA_FAX = 'fax' satisfies keyof ContactSchema;
892
- export const KEY_CONTACT_SCHEMA_FIRST_NAME = 'first_name' satisfies keyof ContactSchema;
893
- export const KEY_CONTACT_SCHEMA_LAST_NAME = 'last_name' satisfies keyof ContactSchema;
894
- export const KEY_CONTACT_SCHEMA_ORG = 'org' satisfies keyof ContactSchema;
895
- export const KEY_CONTACT_SCHEMA_ORGANIZATION_ID = 'organization_id' satisfies keyof ContactSchema;
896
- export const KEY_CONTACT_SCHEMA_PHONE = 'phone' satisfies keyof ContactSchema;
897
- export const KEY_CONTACT_SCHEMA_POSTAL_CODE = 'postal_code' satisfies keyof ContactSchema;
898
- export const KEY_CONTACT_SCHEMA_STATE = 'state' satisfies keyof ContactSchema;
899
- export const KEY_CONTACT_SCHEMA_STREET = 'street' satisfies keyof ContactSchema;
900
- export const KEY_CONTACT_SCHEMA_TITLE = 'title' satisfies keyof ContactSchema;
901
-
902
- export const KEYS_CONTACT_SCHEMA = [
903
- KEY_CONTACT_SCHEMA_CITY,
904
- KEY_CONTACT_SCHEMA_CONTACT_ID,
905
- KEY_CONTACT_SCHEMA_COUNTRY,
906
- KEY_CONTACT_SCHEMA_CREATED_ON,
907
- KEY_CONTACT_SCHEMA_DISCLOSE,
908
- KEY_CONTACT_SCHEMA_EMAIL,
909
- KEY_CONTACT_SCHEMA_FAX,
910
- KEY_CONTACT_SCHEMA_FIRST_NAME,
911
- KEY_CONTACT_SCHEMA_LAST_NAME,
912
- KEY_CONTACT_SCHEMA_ORG,
913
- KEY_CONTACT_SCHEMA_ORGANIZATION_ID,
914
- KEY_CONTACT_SCHEMA_PHONE,
915
- KEY_CONTACT_SCHEMA_POSTAL_CODE,
916
- KEY_CONTACT_SCHEMA_STATE,
917
- KEY_CONTACT_SCHEMA_STREET,
918
- KEY_CONTACT_SCHEMA_TITLE,
919
- ] as const satisfies (keyof ContactSchema)[];
920
-
921
883
  export const KEY_CONTACT_VERIFICATION_API_CANCELED_ON = 'canceled_on' satisfies keyof ContactVerificationApi;
922
884
  export const KEY_CONTACT_VERIFICATION_API_CONTACT_ID = 'contact_id' satisfies keyof ContactVerificationApi;
923
885
  export const KEY_CONTACT_VERIFICATION_API_CONTACT_VERIFICATION_ID = 'contact_verification_id' satisfies keyof ContactVerificationApi;
@@ -4370,12 +4332,6 @@ export const KEYS_PARKING_TOTAL_METRICS = [
4370
4332
  KEY_PARKING_TOTAL_METRICS_TOTAL_METRICS,
4371
4333
  ] as const satisfies (keyof ParkingTotalMetrics)[];
4372
4334
 
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
4335
  export const KEY_PERIOD_UNIT = 'unit' satisfies keyof Period;
4380
4336
  export const KEY_PERIOD_VALUE = 'value' satisfies keyof Period;
4381
4337
 
@@ -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
  };
@@ -6,7 +6,6 @@ import type {
6
6
  ContactAttestRes,
7
7
  ContactAttributeLink,
8
8
  ContactAttributeSet,
9
- ContactSchema,
10
9
  ContactVerification,
11
10
  ContextList,
12
11
  Conversation,
@@ -962,11 +961,6 @@ export type PATCH_UsersByUserId_Response = PATCH_UsersByUserId_Response_200 | PA
962
961
  export type PATCH_UsersByUserId_Response_200 = UserPublicWithAttributes;
963
962
  export type PATCH_UsersByUserId_Response_422 = HTTPValidationError;
964
963
 
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
964
  export type PATCH_VanityNameserverSetsBySetIdDefault_Response = PATCH_VanityNameserverSetsBySetIdDefault_Response_200 | PATCH_VanityNameserverSetsBySetIdDefault_Response_422;
971
965
 
972
966
  export type PATCH_VanityNameserverSetsBySetIdDefault_Response_200 = SetVanityNameserverSetDefaultRes;
@@ -1014,7 +1008,7 @@ export type POST_AvailabilityStream_Response_422 = HTTPValidationError;
1014
1008
 
1015
1009
  export type POST_Contacts_Response = POST_Contacts_Response_201 | POST_Contacts_Response_422;
1016
1010
 
1017
- export type POST_Contacts_Response_201 = ContactSchema;
1011
+ export type POST_Contacts_Response_201 = Contact;
1018
1012
  export type POST_Contacts_Response_422 = HTTPValidationError;
1019
1013
 
1020
1014
  export type POST_ContactsAttributeSets_Response = POST_ContactsAttributeSets_Response_201 | POST_ContactsAttributeSets_Response_409 | POST_ContactsAttributeSets_Response_422;
@@ -47,7 +47,6 @@ export type ContactHandle = components['schemas']['ContactHandle'];
47
47
  export type ContactIdList = components['schemas']['ContactIdList'];
48
48
  export type ContactIncludeField = components['schemas']['ContactIncludeField'];
49
49
  export type Contact = components['schemas']['ContactResponse'];
50
- export type ContactSchema = components['schemas']['ContactSchema'];
51
50
  export type ContactSortField = components['schemas']['ContactSortField'];
52
51
  export type ContactType = components['schemas']['ContactType'];
53
52
  export type ContactVerificationApi = components['schemas']['ContactVerificationApiResponse'];
@@ -414,7 +413,6 @@ export type ParkingSignupStatus = components['schemas']['ParkingSignupStatusResp
414
413
  export type ParkingSortField = components['schemas']['ParkingSortField'];
415
414
  export type ParkingStatistics = components['schemas']['ParkingStatistics'];
416
415
  export type ParkingTotalMetrics = components['schemas']['ParkingTotalMetricsResponse'];
417
- export type PasswordUpdate = components['schemas']['PasswordUpdate'];
418
416
  export type PatchOp = components['schemas']['PatchOp'];
419
417
  export type Period = components['schemas']['Period'];
420
418
  export type PeriodList = components['schemas']['PeriodList'];
package/src/openapi.yaml CHANGED
@@ -828,7 +828,7 @@ components:
828
828
  title: Disclose
829
829
  type: boolean
830
830
  email:
831
- description: The email of the contact
831
+ description: Contact email address (as submitted)
832
832
  format: email
833
833
  title: Email
834
834
  type: string
@@ -1130,7 +1130,7 @@ components:
1130
1130
  title: Disclose
1131
1131
  type: boolean
1132
1132
  email:
1133
- description: The email of the contact
1133
+ description: Contact email address (as submitted)
1134
1134
  format: email
1135
1135
  title: Email
1136
1136
  type: string
@@ -1324,7 +1324,7 @@ components:
1324
1324
  title: Disclose
1325
1325
  type: boolean
1326
1326
  email:
1327
- description: The email of the contact
1327
+ description: Contact email address (as submitted)
1328
1328
  format: email
1329
1329
  title: Email
1330
1330
  type: string
@@ -1429,127 +1429,6 @@ components:
1429
1429
  - disclose
1430
1430
  title: ContactResponse
1431
1431
  type: object
1432
- ContactSchema:
1433
- properties:
1434
- city:
1435
- description: The city of the contact
1436
- maxLength: 255
1437
- minLength: 1
1438
- title: City
1439
- type: string
1440
- contact_id:
1441
- examples:
1442
- - contact_01h45ytscbebyvny4gc8cr8ma2
1443
- format: typeid
1444
- pattern: ^contact_[0-7][0-9a-hjkmnpq-tv-z]{25}$
1445
- title: Contact Id
1446
- type: string
1447
- x-typeid-prefix: contact
1448
- country:
1449
- description: The country of the contact
1450
- pattern: ^\w{2}$
1451
- title: Country
1452
- type: string
1453
- created_on:
1454
- description: The date/time the entry was created on
1455
- format: date-time
1456
- title: Created On
1457
- type: string
1458
- disclose:
1459
- description: Whether the contact details should be disclosed. The Disclose
1460
- function may not work with all TLDs. Some registries still display the
1461
- data in Whois if, for example, the organization field is filled in.
1462
- title: Disclose
1463
- type: boolean
1464
- email:
1465
- description: The email of the contact
1466
- format: email
1467
- title: Email
1468
- type: string
1469
- fax:
1470
- anyOf:
1471
- - format: phone
1472
- type: string
1473
- - type: 'null'
1474
- description: The contacts's fax number
1475
- title: Fax
1476
- first_name:
1477
- description: The first name of the contact
1478
- maxLength: 255
1479
- minLength: 1
1480
- title: First Name
1481
- type: string
1482
- last_name:
1483
- description: The last name of the contact
1484
- maxLength: 255
1485
- minLength: 1
1486
- title: Last Name
1487
- type: string
1488
- org:
1489
- anyOf:
1490
- - maxLength: 255
1491
- minLength: 1
1492
- type: string
1493
- - type: 'null'
1494
- description: The organization of the contact
1495
- title: Org
1496
- organization_id:
1497
- default: None
1498
- description: The organization that owns the domain
1499
- examples:
1500
- - organization_01h45ytscbebyvny4gc8cr8ma2
1501
- format: typeid
1502
- pattern: ^organization_[0-7][0-9a-hjkmnpq-tv-z]{25}$
1503
- title: Organization Id
1504
- type: string
1505
- x-typeid-prefix: organization
1506
- phone:
1507
- description: The contact's phone number
1508
- examples:
1509
- - '+1.2125552368'
1510
- format: phone
1511
- title: Phone
1512
- type: string
1513
- postal_code:
1514
- description: The postal code of the contact
1515
- maxLength: 255
1516
- minLength: 1
1517
- title: Postal Code
1518
- type: string
1519
- state:
1520
- anyOf:
1521
- - maxLength: 255
1522
- minLength: 1
1523
- type: string
1524
- - type: 'null'
1525
- description: The state of the contact
1526
- title: State
1527
- street:
1528
- description: The address of the contact
1529
- maxLength: 255
1530
- minLength: 1
1531
- title: Street
1532
- type: string
1533
- title:
1534
- anyOf:
1535
- - maxLength: 255
1536
- minLength: 1
1537
- type: string
1538
- - type: 'null'
1539
- description: The title of the contact
1540
- title: Title
1541
- required:
1542
- - first_name
1543
- - last_name
1544
- - email
1545
- - phone
1546
- - street
1547
- - city
1548
- - postal_code
1549
- - country
1550
- - disclose
1551
- title: ContactSchema
1552
- type: object
1553
1432
  ContactSortField:
1554
1433
  enum:
1555
1434
  - first_name
@@ -10759,17 +10638,6 @@ components:
10759
10638
  - total_metrics
10760
10639
  title: ParkingTotalMetricsResponse
10761
10640
  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
10641
  PatchOp:
10774
10642
  enum:
10775
10643
  - upsert
@@ -13937,7 +13805,7 @@ info:
13937
13805
  \n\n"
13938
13806
  summary: OpusDNS - your gateway to a seamless domain management experience.
13939
13807
  title: OpusDNS API
13940
- version: 2026-06-25-204413
13808
+ version: 2026-06-29-142706
13941
13809
  x-logo:
13942
13810
  altText: OpusDNS API Reference
13943
13811
  url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
@@ -16244,7 +16112,7 @@ paths:
16244
16112
  content:
16245
16113
  application/json:
16246
16114
  schema:
16247
- $ref: '#/components/schemas/ContactSchema'
16115
+ $ref: '#/components/schemas/ContactResponse'
16248
16116
  description: Successful Response
16249
16117
  '422':
16250
16118
  content:
@@ -25126,6 +24994,7 @@ paths:
25126
24994
  country: US
25127
24995
  disclose: false
25128
24996
  email: john.doe@example.com
24997
+ email_ace: john.doe@example.com
25129
24998
  first_name: John
25130
24999
  last_name: Doe
25131
25000
  phone: +1 212-555-1234
@@ -28763,43 +28632,6 @@ paths:
28763
28632
  - user
28764
28633
  x-required-permissions:
28765
28634
  - users:read
28766
- /v1/users/me/password-reset:
28767
- patch:
28768
- operationId: change_password_v1_users_me_password_reset_patch
28769
- requestBody:
28770
- content:
28771
- application/json:
28772
- schema:
28773
- $ref: '#/components/schemas/PasswordUpdate'
28774
- required: true
28775
- responses:
28776
- '204':
28777
- description: Successful Response
28778
- '401':
28779
- content:
28780
- application/problem+json:
28781
- example:
28782
- code: ERROR_AUTHENTICATION
28783
- detail: Additional error context.
28784
- status: 401
28785
- title: Authentication Error
28786
- type: authentication
28787
- schema:
28788
- $ref: '#/components/schemas/Problem'
28789
- description: Unauthorized
28790
- '422':
28791
- content:
28792
- application/problem+json:
28793
- schema:
28794
- $ref: '#/components/schemas/HTTPValidationError'
28795
- description: Validation Error
28796
- security:
28797
- - OAuth2PasswordBearer: []
28798
- summary: Change Password
28799
- tags:
28800
- - user
28801
- x-required-permissions:
28802
- - users:manage
28803
28635
  /v1/users/{user_id}:
28804
28636
  delete:
28805
28637
  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;
@@ -3317,7 +3300,7 @@ export interface components {
3317
3300
  /**
3318
3301
  * Email
3319
3302
  * Format: email
3320
- * @description The email of the contact
3303
+ * @description Contact email address (as submitted)
3321
3304
  */
3322
3305
  email: string;
3323
3306
  /**
@@ -3538,7 +3521,7 @@ export interface components {
3538
3521
  /**
3539
3522
  * Email
3540
3523
  * Format: email
3541
- * @description The email of the contact
3524
+ * @description Contact email address (as submitted)
3542
3525
  */
3543
3526
  email: string;
3544
3527
  /**
@@ -3673,7 +3656,7 @@ export interface components {
3673
3656
  /**
3674
3657
  * Email
3675
3658
  * Format: email
3676
- * @description The email of the contact
3659
+ * @description Contact email address (as submitted)
3677
3660
  */
3678
3661
  email: string;
3679
3662
  /**
@@ -3742,97 +3725,6 @@ export interface components {
3742
3725
  */
3743
3726
  title?: string | null;
3744
3727
  };
3745
- /** ContactSchema */
3746
- ContactSchema: {
3747
- /**
3748
- * City
3749
- * @description The city of the contact
3750
- */
3751
- city: string;
3752
- /**
3753
- * Contact Id
3754
- * Format: typeid
3755
- * @example contact_01h45ytscbebyvny4gc8cr8ma2
3756
- */
3757
- contact_id?: TypeId<"contact">;
3758
- /**
3759
- * Country
3760
- * @description The country of the contact
3761
- */
3762
- country: string;
3763
- /**
3764
- * Created On
3765
- * Format: date-time
3766
- * @description The date/time the entry was created on
3767
- */
3768
- created_on?: Date;
3769
- /**
3770
- * Disclose
3771
- * @description Whether the contact details should be disclosed. The Disclose function may not work with all TLDs. Some registries still display the data in Whois if, for example, the organization field is filled in.
3772
- */
3773
- disclose: boolean;
3774
- /**
3775
- * Email
3776
- * Format: email
3777
- * @description The email of the contact
3778
- */
3779
- email: string;
3780
- /**
3781
- * Fax
3782
- * @description The contacts's fax number
3783
- */
3784
- fax?: string | null;
3785
- /**
3786
- * First Name
3787
- * @description The first name of the contact
3788
- */
3789
- first_name: string;
3790
- /**
3791
- * Last Name
3792
- * @description The last name of the contact
3793
- */
3794
- last_name: string;
3795
- /**
3796
- * Org
3797
- * @description The organization of the contact
3798
- */
3799
- org?: string | null;
3800
- /**
3801
- * Organization Id
3802
- * Format: typeid
3803
- * @description The organization that owns the domain
3804
- * @default None
3805
- * @example organization_01h45ytscbebyvny4gc8cr8ma2
3806
- */
3807
- organization_id: TypeId<"organization">;
3808
- /**
3809
- * Phone
3810
- * Format: phone
3811
- * @description The contact's phone number
3812
- * @example +1.2125552368
3813
- */
3814
- phone: string;
3815
- /**
3816
- * Postal Code
3817
- * @description The postal code of the contact
3818
- */
3819
- postal_code: string;
3820
- /**
3821
- * State
3822
- * @description The state of the contact
3823
- */
3824
- state?: string | null;
3825
- /**
3826
- * Street
3827
- * @description The address of the contact
3828
- */
3829
- street: string;
3830
- /**
3831
- * Title
3832
- * @description The title of the contact
3833
- */
3834
- title?: string | null;
3835
- };
3836
3728
  /**
3837
3729
  * ContactSortField
3838
3730
  * @enum {string}
@@ -9861,14 +9753,6 @@ export interface components {
9861
9753
  /** @description Aggregated metrics for all parking entries */
9862
9754
  total_metrics: components["schemas"]["ParkingStatistics"];
9863
9755
  };
9864
- /** PasswordUpdate */
9865
- PasswordUpdate: {
9866
- /**
9867
- * New Password
9868
- * @example correcthorsebatterystaple
9869
- */
9870
- new_password: string;
9871
- };
9872
9756
  /**
9873
9757
  * PatchOp
9874
9758
  * @enum {string}
@@ -13739,7 +13623,7 @@ export interface operations {
13739
13623
  [name: string]: unknown;
13740
13624
  };
13741
13625
  content: {
13742
- "application/json": components["schemas"]["ContactSchema"];
13626
+ "application/json": components["schemas"]["ContactResponse"];
13743
13627
  };
13744
13628
  };
13745
13629
  /** @description Validation Error */
@@ -23240,53 +23124,6 @@ export interface operations {
23240
23124
  };
23241
23125
  };
23242
23126
  };
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
23127
  get_user_v1_users__user_id__get: {
23291
23128
  parameters: {
23292
23129
  query?: {