@opusdns/api 0.198.0 → 0.200.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 +55 -1
- package/src/helpers/keys.ts +1596 -271
- package/src/helpers/requests.d.ts +241 -2
- package/src/helpers/responses.d.ts +408 -4
- package/src/helpers/schemas-arrays.d.ts +44 -30
- package/src/helpers/schemas.d.ts +160 -16
- package/src/openapi.yaml +684 -27
- package/src/schema.d.ts +622 -23
|
@@ -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, ContactAttributeLinkCreate, 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,246 @@ 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 POST ContactsAttributeLinks endpoint
|
|
466
|
+
*
|
|
467
|
+
* Link a contact to a contact attribute set
|
|
468
|
+
*
|
|
469
|
+
* @remarks
|
|
470
|
+
* This type defines the complete request structure for the POST ContactsAttributeLinks 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-links
|
|
478
|
+
*
|
|
479
|
+
* @see {@link POST_ContactsAttributeLinks_Request_Query} - Query parameters type
|
|
480
|
+
* @see {@link POST_ContactsAttributeLinks_Request_Path} - Path parameters type
|
|
481
|
+
* @see {@link POST_ContactsAttributeLinks_Request_Body} - Request body type
|
|
482
|
+
*/
|
|
483
|
+
export type POST_ContactsAttributeLinks_Request = {
|
|
484
|
+
requestBody: ContactAttributeLinkCreate;
|
|
485
|
+
}
|
|
486
|
+
/**
|
|
487
|
+
* Request body for POST /v1/contacts/attribute-links
|
|
488
|
+
*
|
|
489
|
+
* @remarks
|
|
490
|
+
* This type defines the request body structure for the POST /v1/contacts/attribute-links endpoint.
|
|
491
|
+
* It provides type safety for the request body as defined in the OpenAPI specification.
|
|
492
|
+
*
|
|
493
|
+
* @example
|
|
494
|
+
* Use this type to ensure type safety for request body structure.
|
|
495
|
+
*
|
|
496
|
+
* @path /v1/contacts/attribute-links
|
|
497
|
+
*/
|
|
498
|
+
export type POST_ContactsAttributeLinks_Request_Body = POST_ContactsAttributeLinks_Request['requestBody'];
|
|
499
|
+
|
|
500
|
+
/**
|
|
501
|
+
* Request type for GET ContactsAttributeSets endpoint
|
|
502
|
+
*
|
|
503
|
+
* List contact attribute sets
|
|
504
|
+
*
|
|
505
|
+
* @remarks
|
|
506
|
+
* This type defines the complete request structure for the GET ContactsAttributeSets endpoint.
|
|
507
|
+
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
508
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
509
|
+
*
|
|
510
|
+
* @example
|
|
511
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
512
|
+
*
|
|
513
|
+
* @path /v1/contacts/attribute-sets
|
|
514
|
+
* @param tld (query) - Filter by TLD (e.g. 'de', '.de', 'DE')
|
|
515
|
+
*
|
|
516
|
+
* @see {@link GET_ContactsAttributeSets_Request_Query} - Query parameters type
|
|
517
|
+
* @see {@link GET_ContactsAttributeSets_Request_Path} - Path parameters type
|
|
518
|
+
* @see {@link GET_ContactsAttributeSets_Request_Body} - Request body type
|
|
519
|
+
*/
|
|
520
|
+
export type GET_ContactsAttributeSets_Request = {
|
|
521
|
+
parameters: {
|
|
522
|
+
query: operations['list_attribute_sets_v1_contacts_attribute_sets_get']['parameters']['query'];
|
|
523
|
+
};
|
|
524
|
+
}
|
|
525
|
+
/**
|
|
526
|
+
* Query parameters for GET /v1/contacts/attribute-sets
|
|
527
|
+
*
|
|
528
|
+
* @remarks
|
|
529
|
+
* This type defines the query parameters for the GET /v1/contacts/attribute-sets endpoint.
|
|
530
|
+
* It provides type safety for all query parameters as defined in the OpenAPI specification.
|
|
531
|
+
*
|
|
532
|
+
* @example
|
|
533
|
+
* Use this type to ensure type safety for query parameters.
|
|
534
|
+
*
|
|
535
|
+
* @path /v1/contacts/attribute-sets
|
|
536
|
+
* @param tld (query) - Filter by TLD (e.g. 'de', '.de', 'DE')
|
|
537
|
+
*/
|
|
538
|
+
export type GET_ContactsAttributeSets_Request_Query = GET_ContactsAttributeSets_Request['parameters']['query'];
|
|
539
|
+
|
|
540
|
+
/**
|
|
541
|
+
* Request type for POST ContactsAttributeSets endpoint
|
|
542
|
+
*
|
|
543
|
+
* Create a contact attribute set
|
|
544
|
+
*
|
|
545
|
+
* @remarks
|
|
546
|
+
* This type defines the complete request structure for the POST ContactsAttributeSets 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
|
|
554
|
+
*
|
|
555
|
+
* @see {@link POST_ContactsAttributeSets_Request_Query} - Query parameters type
|
|
556
|
+
* @see {@link POST_ContactsAttributeSets_Request_Path} - Path parameters type
|
|
557
|
+
* @see {@link POST_ContactsAttributeSets_Request_Body} - Request body type
|
|
558
|
+
*/
|
|
559
|
+
export type POST_ContactsAttributeSets_Request = {
|
|
560
|
+
requestBody: ContactAttributeSetCreate;
|
|
561
|
+
}
|
|
562
|
+
/**
|
|
563
|
+
* Request body for POST /v1/contacts/attribute-sets
|
|
564
|
+
*
|
|
565
|
+
* @remarks
|
|
566
|
+
* This type defines the request body structure for the POST /v1/contacts/attribute-sets endpoint.
|
|
567
|
+
* It provides type safety for the request body as defined in the OpenAPI specification.
|
|
568
|
+
*
|
|
569
|
+
* @example
|
|
570
|
+
* Use this type to ensure type safety for request body structure.
|
|
571
|
+
*
|
|
572
|
+
* @path /v1/contacts/attribute-sets
|
|
573
|
+
*/
|
|
574
|
+
export type POST_ContactsAttributeSets_Request_Body = POST_ContactsAttributeSets_Request['requestBody'];
|
|
575
|
+
|
|
576
|
+
/**
|
|
577
|
+
* Request type for DELETE ContactsAttributeSetsContactAttributeSetId endpoint
|
|
578
|
+
*
|
|
579
|
+
* Delete a contact attribute set
|
|
580
|
+
*
|
|
581
|
+
* @remarks
|
|
582
|
+
* This type defines the complete request structure for the DELETE ContactsAttributeSetsContactAttributeSetId endpoint.
|
|
583
|
+
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
584
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
585
|
+
*
|
|
586
|
+
* @example
|
|
587
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
588
|
+
*
|
|
589
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
590
|
+
*
|
|
591
|
+
* @see {@link DELETE_ContactsAttributeSetsContactAttributeSetId_Request_Query} - Query parameters type
|
|
592
|
+
* @see {@link DELETE_ContactsAttributeSetsContactAttributeSetId_Request_Path} - Path parameters type
|
|
593
|
+
* @see {@link DELETE_ContactsAttributeSetsContactAttributeSetId_Request_Body} - Request body type
|
|
594
|
+
*/
|
|
595
|
+
export type DELETE_ContactsAttributeSetsContactAttributeSetId_Request = {
|
|
596
|
+
parameters: {
|
|
597
|
+
path: operations['delete_attribute_set_v1_contacts_attribute_sets__contact_attribute_set_id__delete']['parameters']['path'];
|
|
598
|
+
};
|
|
599
|
+
}
|
|
600
|
+
/**
|
|
601
|
+
* Path parameters for DELETE /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
602
|
+
*
|
|
603
|
+
* @remarks
|
|
604
|
+
* This type defines the path parameters for the DELETE /v1/contacts/attribute-sets/{contact_attribute_set_id} endpoint.
|
|
605
|
+
* It provides type safety for all path parameters as defined in the OpenAPI specification.
|
|
606
|
+
*
|
|
607
|
+
* @example
|
|
608
|
+
* Use this type to ensure type safety for path parameters.
|
|
609
|
+
*
|
|
610
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
611
|
+
*/
|
|
612
|
+
export type DELETE_ContactsAttributeSetsContactAttributeSetId_Request_Path = DELETE_ContactsAttributeSetsContactAttributeSetId_Request['parameters']['path'];
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* Request type for GET ContactsAttributeSetsContactAttributeSetId endpoint
|
|
616
|
+
*
|
|
617
|
+
* Retrieve a contact attribute set
|
|
618
|
+
*
|
|
619
|
+
* @remarks
|
|
620
|
+
* This type defines the complete request structure for the GET ContactsAttributeSetsContactAttributeSetId endpoint.
|
|
621
|
+
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
622
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
623
|
+
*
|
|
624
|
+
* @example
|
|
625
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
626
|
+
*
|
|
627
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
628
|
+
*
|
|
629
|
+
* @see {@link GET_ContactsAttributeSetsContactAttributeSetId_Request_Query} - Query parameters type
|
|
630
|
+
* @see {@link GET_ContactsAttributeSetsContactAttributeSetId_Request_Path} - Path parameters type
|
|
631
|
+
* @see {@link GET_ContactsAttributeSetsContactAttributeSetId_Request_Body} - Request body type
|
|
632
|
+
*/
|
|
633
|
+
export type GET_ContactsAttributeSetsContactAttributeSetId_Request = {
|
|
634
|
+
parameters: {
|
|
635
|
+
path: operations['get_attribute_set_v1_contacts_attribute_sets__contact_attribute_set_id__get']['parameters']['path'];
|
|
636
|
+
};
|
|
637
|
+
}
|
|
638
|
+
/**
|
|
639
|
+
* Path parameters for GET /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
640
|
+
*
|
|
641
|
+
* @remarks
|
|
642
|
+
* This type defines the path parameters for the GET /v1/contacts/attribute-sets/{contact_attribute_set_id} endpoint.
|
|
643
|
+
* It provides type safety for all path parameters as defined in the OpenAPI specification.
|
|
644
|
+
*
|
|
645
|
+
* @example
|
|
646
|
+
* Use this type to ensure type safety for path parameters.
|
|
647
|
+
*
|
|
648
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
649
|
+
*/
|
|
650
|
+
export type GET_ContactsAttributeSetsContactAttributeSetId_Request_Path = GET_ContactsAttributeSetsContactAttributeSetId_Request['parameters']['path'];
|
|
651
|
+
|
|
652
|
+
/**
|
|
653
|
+
* Request type for PATCH ContactsAttributeSetsContactAttributeSetId endpoint
|
|
654
|
+
*
|
|
655
|
+
* Update a contact attribute set
|
|
656
|
+
*
|
|
657
|
+
* @remarks
|
|
658
|
+
* This type defines the complete request structure for the PATCH ContactsAttributeSetsContactAttributeSetId endpoint.
|
|
659
|
+
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
660
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
661
|
+
*
|
|
662
|
+
* @example
|
|
663
|
+
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
664
|
+
*
|
|
665
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
666
|
+
*
|
|
667
|
+
* @see {@link PATCH_ContactsAttributeSetsContactAttributeSetId_Request_Query} - Query parameters type
|
|
668
|
+
* @see {@link PATCH_ContactsAttributeSetsContactAttributeSetId_Request_Path} - Path parameters type
|
|
669
|
+
* @see {@link PATCH_ContactsAttributeSetsContactAttributeSetId_Request_Body} - Request body type
|
|
670
|
+
*/
|
|
671
|
+
export type PATCH_ContactsAttributeSetsContactAttributeSetId_Request = {
|
|
672
|
+
parameters: {
|
|
673
|
+
path: operations['update_attribute_set_v1_contacts_attribute_sets__contact_attribute_set_id__patch']['parameters']['path'];
|
|
674
|
+
};
|
|
675
|
+
requestBody: ContactAttributeSetUpdate;
|
|
676
|
+
}
|
|
677
|
+
/**
|
|
678
|
+
* Path parameters for PATCH /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
679
|
+
*
|
|
680
|
+
* @remarks
|
|
681
|
+
* This type defines the path parameters for the PATCH /v1/contacts/attribute-sets/{contact_attribute_set_id} endpoint.
|
|
682
|
+
* It provides type safety for all path parameters as defined in the OpenAPI specification.
|
|
683
|
+
*
|
|
684
|
+
* @example
|
|
685
|
+
* Use this type to ensure type safety for path parameters.
|
|
686
|
+
*
|
|
687
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
688
|
+
*/
|
|
689
|
+
export type PATCH_ContactsAttributeSetsContactAttributeSetId_Request_Path = PATCH_ContactsAttributeSetsContactAttributeSetId_Request['parameters']['path'];
|
|
690
|
+
/**
|
|
691
|
+
* Request body for PATCH /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
692
|
+
*
|
|
693
|
+
* @remarks
|
|
694
|
+
* This type defines the request body structure for the PATCH /v1/contacts/attribute-sets/{contact_attribute_set_id} endpoint.
|
|
695
|
+
* It provides type safety for the request body as defined in the OpenAPI specification.
|
|
696
|
+
*
|
|
697
|
+
* @example
|
|
698
|
+
* Use this type to ensure type safety for request body structure.
|
|
699
|
+
*
|
|
700
|
+
* @path /v1/contacts/attribute-sets/{contact_attribute_set_id}
|
|
701
|
+
*/
|
|
702
|
+
export type PATCH_ContactsAttributeSetsContactAttributeSetId_Request_Body = PATCH_ContactsAttributeSetsContactAttributeSetId_Request['requestBody'];
|
|
703
|
+
|
|
464
704
|
/**
|
|
465
705
|
* Request type for DELETE ContactsContactId endpoint
|
|
466
706
|
*
|
|
@@ -504,7 +744,6 @@ export type DELETE_ContactsContactId_Request_Path = DELETE_ContactsContactId_Req
|
|
|
504
744
|
* Request type for GET ContactsContactId endpoint
|
|
505
745
|
*
|
|
506
746
|
* Retrieve a contact
|
|
507
|
-
* Retrieves a contact object
|
|
508
747
|
*
|
|
509
748
|
* @remarks
|
|
510
749
|
* This type defines the complete request structure for the GET ContactsContactId endpoint.
|