@opusdns/api 0.68.0 → 0.70.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/src/schema.d.ts CHANGED
@@ -7,10 +7,10 @@ export interface paths {
7
7
  path?: never;
8
8
  cookie?: never;
9
9
  };
10
- /** List Api Keys */
10
+ /** List all API keys */
11
11
  get: operations["list_api_keys_v1_auth_client_credentials_get"];
12
12
  put?: never;
13
- /** Issue Api Key */
13
+ /** Issue an API key */
14
14
  post: operations["issue_api_key_v1_auth_client_credentials_post"];
15
15
  delete?: never;
16
16
  options?: never;
@@ -28,7 +28,7 @@ export interface paths {
28
28
  get?: never;
29
29
  put?: never;
30
30
  post?: never;
31
- /** Delete Api Key */
31
+ /** Delete an API key */
32
32
  delete: operations["delete_api_key_v1_auth_client_credentials__api_key_id__delete"];
33
33
  options?: never;
34
34
  head?: never;
@@ -94,7 +94,7 @@ export interface paths {
94
94
  cookie?: never;
95
95
  };
96
96
  /**
97
- * Bulk Availability
97
+ * Check domain availability
98
98
  * @description Check the availability of one or more domains.
99
99
  */
100
100
  get: operations["bulk_availability_v1_availability_get"];
@@ -114,7 +114,7 @@ export interface paths {
114
114
  cookie?: never;
115
115
  };
116
116
  /**
117
- * Stream Availability
117
+ * Stream domain availability results
118
118
  * @description Stream domain availability results using Server-Sent Events (SSE) until the `done` event is received.
119
119
  */
120
120
  get: operations["stream_availability_v1_availability_stream_get"];
@@ -134,14 +134,14 @@ export interface paths {
134
134
  cookie?: never;
135
135
  };
136
136
  /**
137
- * Get Contacts
138
- * @description List all contacts
137
+ * List all contacts
138
+ * @description Retrieves a paginated list of all contacts
139
139
  */
140
140
  get: operations["get_contacts_v1_contacts_get"];
141
141
  put?: never;
142
142
  /**
143
- * Create Contact
144
- * @description Create a contact
143
+ * Create a contact
144
+ * @description Create a new contact object to use for domain registration
145
145
  */
146
146
  post: operations["create_contact_v1_contacts_post"];
147
147
  delete?: never;
@@ -157,15 +157,9 @@ export interface paths {
157
157
  path?: never;
158
158
  cookie?: never;
159
159
  };
160
- /**
161
- * Get Verification By Token
162
- * @description Retrieve contact verification
163
- */
160
+ /** Retrieve contact verification by token */
164
161
  get: operations["get_verification_by_token_v1_contacts_verification_get"];
165
- /**
166
- * Update Verification By Token
167
- * @description Complete contact verification
168
- */
162
+ /** Complete contact verification with token */
169
163
  put: operations["update_verification_by_token_v1_contacts_verification_put"];
170
164
  post?: never;
171
165
  delete?: never;
@@ -199,15 +193,15 @@ export interface paths {
199
193
  cookie?: never;
200
194
  };
201
195
  /**
202
- * Get Contact
203
- * @description Retrieve a contact
196
+ * Retrieve a contact
197
+ * @description Retrieves a contact object
204
198
  */
205
199
  get: operations["get_contact_v1_contacts__contact_id__get"];
206
200
  put?: never;
207
201
  post?: never;
208
202
  /**
209
- * Delete Contact
210
- * @description Delete a contact
203
+ * Delete a contact
204
+ * @description Deletes a contact object; only possible if the contact is not in use
211
205
  */
212
206
  delete: operations["delete_contact_v1_contacts__contact_id__delete"];
213
207
  options?: never;
@@ -222,25 +216,13 @@ export interface paths {
222
216
  path?: never;
223
217
  cookie?: never;
224
218
  };
225
- /**
226
- * Get Verification Status
227
- * @description Retrieve contact verification
228
- */
219
+ /** Retrieve contact verification by contact ID */
229
220
  get: operations["get_verification_status_v1_contacts__contact_id__verification_get"];
230
- /**
231
- * Update Verification
232
- * @description Complete contact verification
233
- */
221
+ /** Complete contact verification by contact ID */
234
222
  put: operations["update_verification_v1_contacts__contact_id__verification_put"];
235
- /**
236
- * Start Contact Verification
237
- * @description Start contact verification
238
- */
223
+ /** Start contact verification */
239
224
  post: operations["start_contact_verification_v1_contacts__contact_id__verification_post"];
240
- /**
241
- * Cancel Verification
242
- * @description Delete contact verification
243
- */
225
+ /** Delete contact verification */
244
226
  delete: operations["cancel_verification_v1_contacts__contact_id__verification_delete"];
245
227
  options?: never;
246
228
  head?: never;
@@ -376,7 +358,10 @@ export interface paths {
376
358
  path?: never;
377
359
  cookie?: never;
378
360
  };
379
- /** Suggest */
361
+ /**
362
+ * Suggest domains
363
+ * @description Get a list of domain suggestions based on a search query
364
+ */
380
365
  get: operations["suggest_v1_domain_search_suggest_get"];
381
366
  put?: never;
382
367
  post?: never;
@@ -592,7 +577,7 @@ export interface paths {
592
577
  };
593
578
  get?: never;
594
579
  put?: never;
595
- /** Restore Domain */
580
+ /** Restore an eligible domain (during redemption period) */
596
581
  post: operations["restore_domain_v1_domains__domain_reference__restore_post"];
597
582
  delete?: never;
598
583
  options?: never;
@@ -699,7 +684,10 @@ export interface paths {
699
684
  path?: never;
700
685
  cookie?: never;
701
686
  };
702
- /** Get Events */
687
+ /**
688
+ * Get pending events
689
+ * @description Retrieves a paginated list of pending events for the organization
690
+ */
703
691
  get: operations["get_events_v1_events_get"];
704
692
  put?: never;
705
693
  post?: never;
@@ -716,14 +704,20 @@ export interface paths {
716
704
  path?: never;
717
705
  cookie?: never;
718
706
  };
719
- /** Get Event */
707
+ /**
708
+ * Get event
709
+ * @description Get an event by its ID
710
+ */
720
711
  get: operations["get_event_v1_events__event_id__get"];
721
712
  put?: never;
722
713
  post?: never;
723
714
  delete?: never;
724
715
  options?: never;
725
716
  head?: never;
726
- /** Acknowledge Event */
717
+ /**
718
+ * Acknowledge event
719
+ * @description Acknowledge an event
720
+ */
727
721
  patch: operations["acknowledge_event_v1_events__event_id__patch"];
728
722
  trace?: never;
729
723
  };
@@ -734,10 +728,16 @@ export interface paths {
734
728
  path?: never;
735
729
  cookie?: never;
736
730
  };
737
- /** List Organizations */
731
+ /**
732
+ * List all organizations
733
+ * @description Retrieves a paginated list of organizations under the current organization
734
+ */
738
735
  get: operations["list_organizations_v1_organizations_get"];
739
736
  put?: never;
740
- /** Create Organization */
737
+ /**
738
+ * Create an organization
739
+ * @description Create a new organization under the current organization
740
+ */
741
741
  post: operations["create_organization_v1_organizations_post"];
742
742
  delete?: never;
743
743
  options?: never;
@@ -752,14 +752,20 @@ export interface paths {
752
752
  path?: never;
753
753
  cookie?: never;
754
754
  };
755
- /** Get Attributes */
755
+ /**
756
+ * List organization attributes
757
+ * @description Retrieves a list of organization attributes for the current organization
758
+ */
756
759
  get: operations["get_attributes_v1_organizations_attributes_get"];
757
760
  put?: never;
758
761
  post?: never;
759
762
  delete?: never;
760
763
  options?: never;
761
764
  head?: never;
762
- /** Update Attributes */
765
+ /**
766
+ * Update organization attributes
767
+ * @description Updates one or more organization attributes for the current organization
768
+ */
763
769
  patch: operations["update_attributes_v1_organizations_attributes_patch"];
764
770
  trace?: never;
765
771
  };
@@ -770,14 +776,20 @@ export interface paths {
770
776
  path?: never;
771
777
  cookie?: never;
772
778
  };
773
- /** Get Attributes */
779
+ /**
780
+ * List organization attributes
781
+ * @description Retrieves a list of organization attributes for the specified organization
782
+ */
774
783
  get: operations["get_attributes_v1_organizations_attributes__organization_id__get"];
775
784
  put?: never;
776
785
  post?: never;
777
786
  delete?: never;
778
787
  options?: never;
779
788
  head?: never;
780
- /** Update Attributes */
789
+ /**
790
+ * Update organization attributes
791
+ * @description Updates one or more organization attributes for the specified organization
792
+ */
781
793
  patch: operations["update_attributes_v1_organizations_attributes__organization_id__patch"];
782
794
  trace?: never;
783
795
  };
@@ -789,7 +801,7 @@ export interface paths {
789
801
  cookie?: never;
790
802
  };
791
803
  /**
792
- * List Ip Restrictions
804
+ * List IP restrictions
793
805
  * @description List all IP restrictions for the organization.
794
806
  *
795
807
  * Returns a list of all IP restrictions configured for your organization.
@@ -798,7 +810,7 @@ export interface paths {
798
810
  get: operations["list_ip_restrictions_v1_organizations_ip_restrictions_get"];
799
811
  put?: never;
800
812
  /**
801
- * Create Ip Restriction
813
+ * Create an IP restriction
802
814
  * @description Create a new IP restriction for the organization.
803
815
  *
804
816
  * Accepts either a single IP address or a CIDR network range.
@@ -819,7 +831,7 @@ export interface paths {
819
831
  cookie?: never;
820
832
  };
821
833
  /**
822
- * Get Ip Restriction
834
+ * Get an IP restriction
823
835
  * @description Get a specific IP restriction by ID.
824
836
  *
825
837
  * Returns the details of a specific IP restriction if it exists and belongs to your organization.
@@ -829,7 +841,7 @@ export interface paths {
829
841
  put?: never;
830
842
  post?: never;
831
843
  /**
832
- * Delete Ip Restriction
844
+ * Delete an IP restriction
833
845
  * @description Delete an IP restriction.
834
846
  *
835
847
  * Permanently removes the specified IP restriction from your organization.
@@ -838,7 +850,7 @@ export interface paths {
838
850
  options?: never;
839
851
  head?: never;
840
852
  /**
841
- * Update Ip Restriction
853
+ * Update an IP restriction
842
854
  * @description Update an existing IP restriction.
843
855
  *
844
856
  * You can update the IP network range or the last usage timestamp.
@@ -854,7 +866,10 @@ export interface paths {
854
866
  path?: never;
855
867
  cookie?: never;
856
868
  };
857
- /** List Roles */
869
+ /**
870
+ * List all roles
871
+ * @description Retrieves a list of roles for the current organization
872
+ */
858
873
  get: operations["list_roles_v1_organizations_roles_get"];
859
874
  put?: never;
860
875
  post?: never;
@@ -871,7 +886,10 @@ export interface paths {
871
886
  path?: never;
872
887
  cookie?: never;
873
888
  };
874
- /** List Users */
889
+ /**
890
+ * List all users
891
+ * @description Retrieves a paginated list of users under the current organization
892
+ */
875
893
  get: operations["list_users_v1_organizations_users_get"];
876
894
  put?: never;
877
895
  post?: never;
@@ -888,15 +906,24 @@ export interface paths {
888
906
  path?: never;
889
907
  cookie?: never;
890
908
  };
891
- /** Get Organization */
909
+ /**
910
+ * Get organization details
911
+ * @description Retrieves details for a specific organization
912
+ */
892
913
  get: operations["get_organization_v1_organizations__organization_id__get"];
893
914
  put?: never;
894
915
  post?: never;
895
- /** Delete User */
916
+ /**
917
+ * Delete an organization
918
+ * @description Permanently deletes an organization
919
+ */
896
920
  delete: operations["delete_user_v1_organizations__organization_id__delete"];
897
921
  options?: never;
898
922
  head?: never;
899
- /** Update Organization */
923
+ /**
924
+ * Update an organization
925
+ * @description Updates details for a specific organization
926
+ */
900
927
  patch: operations["update_organization_v1_organizations__organization_id__patch"];
901
928
  trace?: never;
902
929
  };
@@ -909,7 +936,10 @@ export interface paths {
909
936
  };
910
937
  get?: never;
911
938
  put?: never;
912
- /** Get Checkout Session */
939
+ /**
940
+ * Create checkout session
941
+ * @description Create a checkout session for the organization
942
+ */
913
943
  post: operations["get_checkout_session_v1_organizations__organization_id__billing_checkout_sessions_post"];
914
944
  delete?: never;
915
945
  options?: never;
@@ -924,7 +954,10 @@ export interface paths {
924
954
  path?: never;
925
955
  cookie?: never;
926
956
  };
927
- /** List Payment Methods */
957
+ /**
958
+ * List all payment methods
959
+ * @description List all available payment methods for the organization
960
+ */
928
961
  get: operations["list_payment_methods_v1_organizations__organization_id__billing_payment_methods_get"];
929
962
  put?: never;
930
963
  post?: never;
@@ -944,7 +977,10 @@ export interface paths {
944
977
  get?: never;
945
978
  put?: never;
946
979
  post?: never;
947
- /** Delete Payment Method */
980
+ /**
981
+ * Delete a payment method
982
+ * @description Delete a payment method for the organization
983
+ */
948
984
  delete: operations["delete_payment_method_v1_organizations__organization_id__billing_payment_methods__payment_method_id__delete"];
949
985
  options?: never;
950
986
  head?: never;
@@ -964,7 +1000,10 @@ export interface paths {
964
1000
  delete?: never;
965
1001
  options?: never;
966
1002
  head?: never;
967
- /** Update Default Payment Method */
1003
+ /**
1004
+ * Set payment method as default
1005
+ * @description Set the provided payment method as default for the specified organization
1006
+ */
968
1007
  patch: operations["update_default_payment_method_v1_organizations__organization_id__billing_payment_methods__payment_method_id__default_patch"];
969
1008
  trace?: never;
970
1009
  };
@@ -977,7 +1016,10 @@ export interface paths {
977
1016
  };
978
1017
  get?: never;
979
1018
  put?: never;
980
- /** Credit Wallet */
1019
+ /**
1020
+ * Credit wallet
1021
+ * @description Credit the organization's wallet using the provided amount and payment method
1022
+ */
981
1023
  post: operations["credit_wallet_v1_organizations__organization_id__billing_wallet_credits_post"];
982
1024
  delete?: never;
983
1025
  options?: never;
@@ -998,7 +1040,10 @@ export interface paths {
998
1040
  delete?: never;
999
1041
  options?: never;
1000
1042
  head?: never;
1001
- /** Change Plan */
1043
+ /**
1044
+ * Update organization plan
1045
+ * @description Changes the plan for an organization
1046
+ */
1002
1047
  patch: operations["change_plan_v1_organizations__organization_id__plan_patch"];
1003
1048
  trace?: never;
1004
1049
  };
@@ -1009,7 +1054,10 @@ export interface paths {
1009
1054
  path?: never;
1010
1055
  cookie?: never;
1011
1056
  };
1012
- /** Get Current Available Plans */
1057
+ /**
1058
+ * Get plans for an organization
1059
+ * @description Retrieves a list of plans for an organization
1060
+ */
1013
1061
  get: operations["get_current_available_plans_v1_organizations__organization_id__plans_get"];
1014
1062
  put?: never;
1015
1063
  post?: never;
@@ -1026,7 +1074,10 @@ export interface paths {
1026
1074
  path?: never;
1027
1075
  cookie?: never;
1028
1076
  };
1029
- /** Get Pricing Plans */
1077
+ /**
1078
+ * List product prices
1079
+ * @description Retrieves pricing data for a specific product type. If a product action/class are specified, only prices for those are returned, if any.
1080
+ */
1030
1081
  get: operations["get_pricing_plans_v1_organizations__organization_id__pricing_product_type__product_type__get"];
1031
1082
  put?: never;
1032
1083
  post?: never;
@@ -1043,7 +1094,10 @@ export interface paths {
1043
1094
  path?: never;
1044
1095
  cookie?: never;
1045
1096
  };
1046
- /** Get transactions for an organization */
1097
+ /**
1098
+ * List all transactions
1099
+ * @description Retrieves a paginated list of transactions for an organization
1100
+ */
1047
1101
  get: operations["get_transactions_v1_organizations__organization_id__transactions_get"];
1048
1102
  put?: never;
1049
1103
  post?: never;
@@ -1060,7 +1114,10 @@ export interface paths {
1060
1114
  path?: never;
1061
1115
  cookie?: never;
1062
1116
  };
1063
- /** Get a specific transaction for an organization */
1117
+ /**
1118
+ * Get a specific transaction
1119
+ * @description Retrieves details for a specific transaction for an organization
1120
+ */
1064
1121
  get: operations["get_transaction_v1_organizations__organization_id__transactions__transaction_id__get"];
1065
1122
  put?: never;
1066
1123
  post?: never;
@@ -1077,7 +1134,10 @@ export interface paths {
1077
1134
  path?: never;
1078
1135
  cookie?: never;
1079
1136
  };
1080
- /** Get Tld Portfolio */
1137
+ /**
1138
+ * Get the list of TLDs we support
1139
+ * @description Retrieves a list of TLDs we have support for
1140
+ */
1081
1141
  get: operations["get_tld_portfolio_v1_tlds_portfolio_get"];
1082
1142
  put?: never;
1083
1143
  post?: never;
@@ -1094,7 +1154,10 @@ export interface paths {
1094
1154
  path?: never;
1095
1155
  cookie?: never;
1096
1156
  };
1097
- /** Get Tld Spec */
1157
+ /**
1158
+ * Get the TLD specification
1159
+ * @description Retrieves the TLD specification for a given TLD
1160
+ */
1098
1161
  get: operations["get_tld_spec_v1_tlds__tld__get"];
1099
1162
  put?: never;
1100
1163
  post?: never;
@@ -1113,7 +1176,10 @@ export interface paths {
1113
1176
  };
1114
1177
  get?: never;
1115
1178
  put?: never;
1116
- /** Create User */
1179
+ /**
1180
+ * Create a user
1181
+ * @description Create a new user
1182
+ */
1117
1183
  post: operations["create_user_v1_users_post"];
1118
1184
  delete?: never;
1119
1185
  options?: never;
@@ -1128,7 +1194,10 @@ export interface paths {
1128
1194
  path?: never;
1129
1195
  cookie?: never;
1130
1196
  };
1131
- /** Get Current User */
1197
+ /**
1198
+ * Get current user
1199
+ * @description Get the current user
1200
+ */
1132
1201
  get: operations["get_current_user_v1_users_me_get"];
1133
1202
  put?: never;
1134
1203
  post?: never;
@@ -1162,15 +1231,24 @@ export interface paths {
1162
1231
  path?: never;
1163
1232
  cookie?: never;
1164
1233
  };
1165
- /** Get User */
1234
+ /**
1235
+ * Get a user
1236
+ * @description Get a user by ID
1237
+ */
1166
1238
  get: operations["get_user_v1_users__user_id__get"];
1167
1239
  put?: never;
1168
1240
  post?: never;
1169
- /** Delete User */
1241
+ /**
1242
+ * Delete a user
1243
+ * @description Delete a user by ID
1244
+ */
1170
1245
  delete: operations["delete_user_v1_users__user_id__delete"];
1171
1246
  options?: never;
1172
1247
  head?: never;
1173
- /** Update User */
1248
+ /**
1249
+ * Update a user
1250
+ * @description Update a user by ID
1251
+ */
1174
1252
  patch: operations["update_user_v1_users__user_id__patch"];
1175
1253
  trace?: never;
1176
1254
  };
@@ -1181,7 +1259,10 @@ export interface paths {
1181
1259
  path?: never;
1182
1260
  cookie?: never;
1183
1261
  };
1184
- /** Get User Permissions */
1262
+ /**
1263
+ * Get user permissions
1264
+ * @description Get the permissions for a user
1265
+ */
1185
1266
  get: operations["get_user_permissions_v1_users__user_id__permissions_get"];
1186
1267
  put?: never;
1187
1268
  post?: never;
@@ -1198,14 +1279,20 @@ export interface paths {
1198
1279
  path?: never;
1199
1280
  cookie?: never;
1200
1281
  };
1201
- /** List Roles */
1282
+ /**
1283
+ * Get user roles
1284
+ * @description Get the roles for a user
1285
+ */
1202
1286
  get: operations["list_roles_v1_users__user_id__roles_get"];
1203
1287
  put?: never;
1204
1288
  post?: never;
1205
1289
  delete?: never;
1206
1290
  options?: never;
1207
1291
  head?: never;
1208
- /** Update User Relations */
1292
+ /**
1293
+ * Update user roles
1294
+ * @description Update the roles for a user
1295
+ */
1209
1296
  patch: operations["update_user_relations_v1_users__user_id__roles_patch"];
1210
1297
  trace?: never;
1211
1298
  };
@@ -6090,9 +6177,7 @@ export interface operations {
6090
6177
  query: {
6091
6178
  /** @description The primary keyword or phrase for the domain search */
6092
6179
  query: string;
6093
- /** @description
6094
- * Specify one or more TLDs to include in the search.
6095
- * */
6180
+ /** @description The TLDs to include in the search */
6096
6181
  tlds?: string[] | null;
6097
6182
  /** @description The maximum number of domain suggestions to return */
6098
6183
  limit?: number | null;
@@ -6178,6 +6263,8 @@ export interface operations {
6178
6263
  expires_in_90_days?: boolean | null;
6179
6264
  registered_after?: Date | null;
6180
6265
  registered_before?: Date | null;
6266
+ /** @description Filter domains by registry status. Can be specified multiple times (union of all provided values). */
6267
+ statuses?: string[] | null;
6181
6268
  page?: number;
6182
6269
  page_size?: number;
6183
6270
  };