@opusdns/api 0.199.0 → 0.201.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/keys.ts +1334 -165
- package/src/helpers/requests.d.ts +243 -2
- package/src/helpers/responses.d.ts +446 -6
- package/src/helpers/schemas-arrays.d.ts +34 -6
- package/src/helpers/schemas.d.ts +118 -6
- package/src/openapi.yaml +654 -7
- package/src/schema.d.ts +609 -9
|
@@ -34,7 +34,7 @@ import { operations } from '../schema';
|
|
|
34
34
|
|
|
35
35
|
import { DomainDnssecDataCreateArray, OrganizationAttributeUpdateArray } from './schemas-arrays.d';
|
|
36
36
|
|
|
37
|
-
import { ContactCreate, DnsZoneCreate, DnsZoneRecordsPatchOps, DnsZoneRrsetsPatchOps, DnsZoneRrsetsCreate, DomainForwardPatchOps, DomainForwardCreateRequest, DomainForwardSetCreateRequest, DomainForwardSetRequest, DomainCreate, DomainUpdate, DomainRenewRequest, DomainRestoreRequest, DomainWithdrawRequest, DomainTransitRequest, DomainTransferIn, EmailForwardCreate, EmailForwardAliasCreate, EmailForwardAliasUpdate, OrganizationCreate, IpRestrictionCreate, IpRestrictionUpdate, OrganizationUpdate, ParkingSignupRequest, UserCreate, PasswordUpdate, UserUpdate, SpiceDbRelationshipUpdate } from './schemas.d';
|
|
37
|
+
import { ContactCreate, ContactAttributeSetCreate, ContactAttributeSetUpdate, DnsZoneCreate, DnsZoneRecordsPatchOps, DnsZoneRrsetsPatchOps, DnsZoneRrsetsCreate, DomainForwardPatchOps, DomainForwardCreateRequest, DomainForwardSetCreateRequest, DomainForwardSetRequest, DomainCreate, DomainUpdate, DomainRenewRequest, DomainRestoreRequest, DomainWithdrawRequest, DomainTransitRequest, DomainTransferIn, EmailForwardCreate, EmailForwardAliasCreate, EmailForwardAliasUpdate, OrganizationCreate, IpRestrictionCreate, IpRestrictionUpdate, OrganizationUpdate, ParkingSignupRequest, UserCreate, PasswordUpdate, UserUpdate, SpiceDbRelationshipUpdate } from './schemas.d';
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* Request type for GET ArchiveEmailForwardLogsAliasesEmailForwardAliasId endpoint
|
|
@@ -461,6 +461,210 @@ export type POST_Contacts_Request = {
|
|
|
461
461
|
*/
|
|
462
462
|
export type POST_Contacts_Request_Body = POST_Contacts_Request['requestBody'];
|
|
463
463
|
|
|
464
|
+
/**
|
|
465
|
+
* Request type for GET ContactsAttributeSets endpoint
|
|
466
|
+
*
|
|
467
|
+
* List contact attribute sets
|
|
468
|
+
*
|
|
469
|
+
* @remarks
|
|
470
|
+
* This type defines the complete request structure for the GET ContactsAttributeSets endpoint.
|
|
471
|
+
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
472
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
473
|
+
*
|
|
474
|
+
* @example
|
|
475
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
476
|
+
*
|
|
477
|
+
* @path /v1/contacts/attribute-sets
|
|
478
|
+
* @param tld (query) - Filter by TLD (e.g. 'de', '.de', 'DE')
|
|
479
|
+
*
|
|
480
|
+
* @see {@link GET_ContactsAttributeSets_Request_Query} - Query parameters type
|
|
481
|
+
* @see {@link GET_ContactsAttributeSets_Request_Path} - Path parameters type
|
|
482
|
+
* @see {@link GET_ContactsAttributeSets_Request_Body} - Request body type
|
|
483
|
+
*/
|
|
484
|
+
export type GET_ContactsAttributeSets_Request = {
|
|
485
|
+
parameters: {
|
|
486
|
+
query: operations['list_attribute_sets_v1_contacts_attribute_sets_get']['parameters']['query'];
|
|
487
|
+
};
|
|
488
|
+
}
|
|
489
|
+
/**
|
|
490
|
+
* Query parameters for GET /v1/contacts/attribute-sets
|
|
491
|
+
*
|
|
492
|
+
* @remarks
|
|
493
|
+
* This type defines the query parameters for the GET /v1/contacts/attribute-sets endpoint.
|
|
494
|
+
* It provides type safety for all query parameters as defined in the OpenAPI specification.
|
|
495
|
+
*
|
|
496
|
+
* @example
|
|
497
|
+
* Use this type to ensure type safety for query parameters.
|
|
498
|
+
*
|
|
499
|
+
* @path /v1/contacts/attribute-sets
|
|
500
|
+
* @param tld (query) - Filter by TLD (e.g. 'de', '.de', 'DE')
|
|
501
|
+
*/
|
|
502
|
+
export type GET_ContactsAttributeSets_Request_Query = GET_ContactsAttributeSets_Request['parameters']['query'];
|
|
503
|
+
|
|
504
|
+
/**
|
|
505
|
+
* Request type for POST ContactsAttributeSets endpoint
|
|
506
|
+
*
|
|
507
|
+
* Create a contact attribute set
|
|
508
|
+
*
|
|
509
|
+
* @remarks
|
|
510
|
+
* This type defines the complete request structure for the POST ContactsAttributeSets endpoint.
|
|
511
|
+
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
512
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
513
|
+
*
|
|
514
|
+
* @example
|
|
515
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
516
|
+
*
|
|
517
|
+
* @path /v1/contacts/attribute-sets
|
|
518
|
+
*
|
|
519
|
+
* @see {@link POST_ContactsAttributeSets_Request_Query} - Query parameters type
|
|
520
|
+
* @see {@link POST_ContactsAttributeSets_Request_Path} - Path parameters type
|
|
521
|
+
* @see {@link POST_ContactsAttributeSets_Request_Body} - Request body type
|
|
522
|
+
*/
|
|
523
|
+
export type POST_ContactsAttributeSets_Request = {
|
|
524
|
+
requestBody: ContactAttributeSetCreate;
|
|
525
|
+
}
|
|
526
|
+
/**
|
|
527
|
+
* Request body for POST /v1/contacts/attribute-sets
|
|
528
|
+
*
|
|
529
|
+
* @remarks
|
|
530
|
+
* This type defines the request body structure for the POST /v1/contacts/attribute-sets endpoint.
|
|
531
|
+
* It provides type safety for the request body as defined in the OpenAPI specification.
|
|
532
|
+
*
|
|
533
|
+
* @example
|
|
534
|
+
* Use this type to ensure type safety for request body structure.
|
|
535
|
+
*
|
|
536
|
+
* @path /v1/contacts/attribute-sets
|
|
537
|
+
*/
|
|
538
|
+
export type POST_ContactsAttributeSets_Request_Body = POST_ContactsAttributeSets_Request['requestBody'];
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Request type for DELETE ContactsAttributeSetsContactAttributeSetId endpoint
|
|
542
|
+
*
|
|
543
|
+
* Delete a contact attribute set
|
|
544
|
+
*
|
|
545
|
+
* @remarks
|
|
546
|
+
* This type defines the complete request structure for the DELETE ContactsAttributeSetsContactAttributeSetId endpoint.
|
|
547
|
+
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
548
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
549
|
+
*
|
|
550
|
+
* @example
|
|
551
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
552
|
+
*
|
|
553
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
554
|
+
*
|
|
555
|
+
* @see {@link DELETE_ContactsAttributeSetsContactAttributeSetId_Request_Query} - Query parameters type
|
|
556
|
+
* @see {@link DELETE_ContactsAttributeSetsContactAttributeSetId_Request_Path} - Path parameters type
|
|
557
|
+
* @see {@link DELETE_ContactsAttributeSetsContactAttributeSetId_Request_Body} - Request body type
|
|
558
|
+
*/
|
|
559
|
+
export type DELETE_ContactsAttributeSetsContactAttributeSetId_Request = {
|
|
560
|
+
parameters: {
|
|
561
|
+
path: operations['delete_attribute_set_v1_contacts_attribute_sets__contact_attribute_set_id__delete']['parameters']['path'];
|
|
562
|
+
};
|
|
563
|
+
}
|
|
564
|
+
/**
|
|
565
|
+
* Path parameters for DELETE /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
566
|
+
*
|
|
567
|
+
* @remarks
|
|
568
|
+
* This type defines the path parameters for the DELETE /v1/contacts/attribute-sets/{contact_attribute_set_id} endpoint.
|
|
569
|
+
* It provides type safety for all path parameters as defined in the OpenAPI specification.
|
|
570
|
+
*
|
|
571
|
+
* @example
|
|
572
|
+
* Use this type to ensure type safety for path parameters.
|
|
573
|
+
*
|
|
574
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
575
|
+
*/
|
|
576
|
+
export type DELETE_ContactsAttributeSetsContactAttributeSetId_Request_Path = DELETE_ContactsAttributeSetsContactAttributeSetId_Request['parameters']['path'];
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* Request type for GET ContactsAttributeSetsContactAttributeSetId endpoint
|
|
580
|
+
*
|
|
581
|
+
* Retrieve a contact attribute set
|
|
582
|
+
*
|
|
583
|
+
* @remarks
|
|
584
|
+
* This type defines the complete request structure for the GET ContactsAttributeSetsContactAttributeSetId endpoint.
|
|
585
|
+
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
586
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
587
|
+
*
|
|
588
|
+
* @example
|
|
589
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
590
|
+
*
|
|
591
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
592
|
+
*
|
|
593
|
+
* @see {@link GET_ContactsAttributeSetsContactAttributeSetId_Request_Query} - Query parameters type
|
|
594
|
+
* @see {@link GET_ContactsAttributeSetsContactAttributeSetId_Request_Path} - Path parameters type
|
|
595
|
+
* @see {@link GET_ContactsAttributeSetsContactAttributeSetId_Request_Body} - Request body type
|
|
596
|
+
*/
|
|
597
|
+
export type GET_ContactsAttributeSetsContactAttributeSetId_Request = {
|
|
598
|
+
parameters: {
|
|
599
|
+
path: operations['get_attribute_set_v1_contacts_attribute_sets__contact_attribute_set_id__get']['parameters']['path'];
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
/**
|
|
603
|
+
* Path parameters for GET /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
604
|
+
*
|
|
605
|
+
* @remarks
|
|
606
|
+
* This type defines the path parameters for the GET /v1/contacts/attribute-sets/{contact_attribute_set_id} endpoint.
|
|
607
|
+
* It provides type safety for all path parameters as defined in the OpenAPI specification.
|
|
608
|
+
*
|
|
609
|
+
* @example
|
|
610
|
+
* Use this type to ensure type safety for path parameters.
|
|
611
|
+
*
|
|
612
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
613
|
+
*/
|
|
614
|
+
export type GET_ContactsAttributeSetsContactAttributeSetId_Request_Path = GET_ContactsAttributeSetsContactAttributeSetId_Request['parameters']['path'];
|
|
615
|
+
|
|
616
|
+
/**
|
|
617
|
+
* Request type for PATCH ContactsAttributeSetsContactAttributeSetId endpoint
|
|
618
|
+
*
|
|
619
|
+
* Update a contact attribute set
|
|
620
|
+
*
|
|
621
|
+
* @remarks
|
|
622
|
+
* This type defines the complete request structure for the PATCH ContactsAttributeSetsContactAttributeSetId endpoint.
|
|
623
|
+
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
624
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
625
|
+
*
|
|
626
|
+
* @example
|
|
627
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
628
|
+
*
|
|
629
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
630
|
+
*
|
|
631
|
+
* @see {@link PATCH_ContactsAttributeSetsContactAttributeSetId_Request_Query} - Query parameters type
|
|
632
|
+
* @see {@link PATCH_ContactsAttributeSetsContactAttributeSetId_Request_Path} - Path parameters type
|
|
633
|
+
* @see {@link PATCH_ContactsAttributeSetsContactAttributeSetId_Request_Body} - Request body type
|
|
634
|
+
*/
|
|
635
|
+
export type PATCH_ContactsAttributeSetsContactAttributeSetId_Request = {
|
|
636
|
+
parameters: {
|
|
637
|
+
path: operations['update_attribute_set_v1_contacts_attribute_sets__contact_attribute_set_id__patch']['parameters']['path'];
|
|
638
|
+
};
|
|
639
|
+
requestBody: ContactAttributeSetUpdate;
|
|
640
|
+
}
|
|
641
|
+
/**
|
|
642
|
+
* Path parameters for PATCH /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
643
|
+
*
|
|
644
|
+
* @remarks
|
|
645
|
+
* This type defines the path parameters for the PATCH /v1/contacts/attribute-sets/{contact_attribute_set_id} endpoint.
|
|
646
|
+
* It provides type safety for all path parameters as defined in the OpenAPI specification.
|
|
647
|
+
*
|
|
648
|
+
* @example
|
|
649
|
+
* Use this type to ensure type safety for path parameters.
|
|
650
|
+
*
|
|
651
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
652
|
+
*/
|
|
653
|
+
export type PATCH_ContactsAttributeSetsContactAttributeSetId_Request_Path = PATCH_ContactsAttributeSetsContactAttributeSetId_Request['parameters']['path'];
|
|
654
|
+
/**
|
|
655
|
+
* Request body for PATCH /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
656
|
+
*
|
|
657
|
+
* @remarks
|
|
658
|
+
* This type defines the request body structure for the PATCH /v1/contacts/attribute-sets/{contact_attribute_set_id} endpoint.
|
|
659
|
+
* It provides type safety for the request body as defined in the OpenAPI specification.
|
|
660
|
+
*
|
|
661
|
+
* @example
|
|
662
|
+
* Use this type to ensure type safety for request body structure.
|
|
663
|
+
*
|
|
664
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
665
|
+
*/
|
|
666
|
+
export type PATCH_ContactsAttributeSetsContactAttributeSetId_Request_Body = PATCH_ContactsAttributeSetsContactAttributeSetId_Request['requestBody'];
|
|
667
|
+
|
|
464
668
|
/**
|
|
465
669
|
* Request type for DELETE ContactsContactId endpoint
|
|
466
670
|
*
|
|
@@ -504,7 +708,6 @@ export type DELETE_ContactsContactId_Request_Path = DELETE_ContactsContactId_Req
|
|
|
504
708
|
* Request type for GET ContactsContactId endpoint
|
|
505
709
|
*
|
|
506
710
|
* Retrieve a contact
|
|
507
|
-
* Retrieves a contact object
|
|
508
711
|
*
|
|
509
712
|
* @remarks
|
|
510
713
|
* This type defines the complete request structure for the GET ContactsContactId endpoint.
|
|
@@ -539,6 +742,44 @@ export type GET_ContactsContactId_Request = {
|
|
|
539
742
|
*/
|
|
540
743
|
export type GET_ContactsContactId_Request_Path = GET_ContactsContactId_Request['parameters']['path'];
|
|
541
744
|
|
|
745
|
+
/**
|
|
746
|
+
* Request type for PATCH ContactsContactIdLinkContactAttributeSetId endpoint
|
|
747
|
+
*
|
|
748
|
+
* Link a contact to a contact attribute set
|
|
749
|
+
*
|
|
750
|
+
* @remarks
|
|
751
|
+
* This type defines the complete request structure for the PATCH ContactsContactIdLinkContactAttributeSetId endpoint.
|
|
752
|
+
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
753
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
754
|
+
*
|
|
755
|
+
* @example
|
|
756
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
757
|
+
*
|
|
758
|
+
* @path /v1/contacts/{contact_id}/link/{contact_attribute_set_id}
|
|
759
|
+
*
|
|
760
|
+
* @see {@link PATCH_ContactsContactIdLinkContactAttributeSetId_Request_Query} - Query parameters type
|
|
761
|
+
* @see {@link PATCH_ContactsContactIdLinkContactAttributeSetId_Request_Path} - Path parameters type
|
|
762
|
+
* @see {@link PATCH_ContactsContactIdLinkContactAttributeSetId_Request_Body} - Request body type
|
|
763
|
+
*/
|
|
764
|
+
export type PATCH_ContactsContactIdLinkContactAttributeSetId_Request = {
|
|
765
|
+
parameters: {
|
|
766
|
+
path: operations['create_attribute_link_v1_contacts__contact_id__link__contact_attribute_set_id__patch']['parameters']['path'];
|
|
767
|
+
};
|
|
768
|
+
}
|
|
769
|
+
/**
|
|
770
|
+
* Path parameters for PATCH /v1/contacts/{contact_id}/link/{contact_attribute_set_id}
|
|
771
|
+
*
|
|
772
|
+
* @remarks
|
|
773
|
+
* This type defines the path parameters for the PATCH /v1/contacts/{contact_id}/link/{contact_attribute_set_id} endpoint.
|
|
774
|
+
* It provides type safety for all path parameters as defined in the OpenAPI specification.
|
|
775
|
+
*
|
|
776
|
+
* @example
|
|
777
|
+
* Use this type to ensure type safety for path parameters.
|
|
778
|
+
*
|
|
779
|
+
* @path /v1/contacts/{contact_id}/link/{contact_attribute_set_id}
|
|
780
|
+
*/
|
|
781
|
+
export type PATCH_ContactsContactIdLinkContactAttributeSetId_Request_Path = PATCH_ContactsContactIdLinkContactAttributeSetId_Request['parameters']['path'];
|
|
782
|
+
|
|
542
783
|
/**
|
|
543
784
|
* Request type for DELETE ContactsContactIdVerification endpoint
|
|
544
785
|
*
|