@opusdns/api 0.82.0 → 0.84.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.
@@ -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, DomainCreate, DomainUpdate, DomainRenewRequest, DomainRestoreRequest, DomainTransferIn, EmailForwardAlias, EmailForwardAliasUpdate, OrganizationCreate, IpRestrictionCreate, IpRestrictionUpdate, OrganizationUpdate, UserCreate, PasswordUpdate, UserUpdate, SpiceDbRelationshipUpdate } from './schemas.d';
37
+ import { ContactCreate, DnsZoneCreate, DnsZoneRecordsPatchOps, DnsZoneRrsetsPatchOps, DnsZoneRrsetsCreate, RedirectPatchOps, RedirectSet, DomainCreate, DomainUpdate, DomainRenewRequest, DomainRestoreRequest, DomainTransferIn, EmailForwardAlias, EmailForwardAliasUpdate, OrganizationCreate, IpRestrictionCreate, IpRestrictionUpdate, OrganizationUpdate, UserCreate, PasswordUpdate, UserUpdate, SpiceDbRelationshipUpdate } from './schemas.d';
38
38
 
39
39
  /**
40
40
  * Request type for POST AuthToken endpoint
@@ -1014,6 +1014,338 @@ export type PUT_DnsZoneNameRrsets_Request_Path = PUT_DnsZoneNameRrsets_Request['
1014
1014
  */
1015
1015
  export type PUT_DnsZoneNameRrsets_Request_Body = PUT_DnsZoneNameRrsets_Request['requestBody'];
1016
1016
 
1017
+ /**
1018
+ * Request type for PATCH DomainForwards endpoint
1019
+ *
1020
+ * Patch Redirects
1021
+ *
1022
+ * @remarks
1023
+ * This type defines the complete request structure for the PATCH DomainForwards endpoint.
1024
+ * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
1025
+ * Use this type to ensure type safety when making API requests to this endpoint.
1026
+ *
1027
+ * @example
1028
+ * Use this type to ensure type safety when making API requests to this endpoint.
1029
+ *
1030
+ * @path /v1/domain-forwards
1031
+ *
1032
+ * @see {@link PATCH_DomainForwards_Request_Query} - Query parameters type
1033
+ * @see {@link PATCH_DomainForwards_Request_Path} - Path parameters type
1034
+ * @see {@link PATCH_DomainForwards_Request_Body} - Request body type
1035
+ */
1036
+ export type PATCH_DomainForwards_Request = {
1037
+ requestBody: RedirectPatchOps;
1038
+ }
1039
+ /**
1040
+ * Request body for PATCH /v1/domain-forwards
1041
+ *
1042
+ * @remarks
1043
+ * This type defines the request body structure for the PATCH /v1/domain-forwards endpoint.
1044
+ * It provides type safety for the request body as defined in the OpenAPI specification.
1045
+ *
1046
+ * @example
1047
+ * Use this type to ensure type safety for request body structure.
1048
+ *
1049
+ * @path /v1/domain-forwards
1050
+ */
1051
+ export type PATCH_DomainForwards_Request_Body = PATCH_DomainForwards_Request['requestBody'];
1052
+
1053
+ /**
1054
+ * Request type for DELETE DomainForwardsZoneName endpoint
1055
+ *
1056
+ * Delete Redirects
1057
+ *
1058
+ * @remarks
1059
+ * This type defines the complete request structure for the DELETE DomainForwardsZoneName endpoint.
1060
+ * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
1061
+ * Use this type to ensure type safety when making API requests to this endpoint.
1062
+ *
1063
+ * @example
1064
+ * Use this type to ensure type safety when making API requests to this endpoint.
1065
+ *
1066
+ * @path /v1/domain-forwards/{zone_name}
1067
+ * @param zone_name (path) - DNS zone name (trailing dot optional)
1068
+ *
1069
+ * @see {@link DELETE_DomainForwardsZoneName_Request_Query} - Query parameters type
1070
+ * @see {@link DELETE_DomainForwardsZoneName_Request_Path} - Path parameters type
1071
+ * @see {@link DELETE_DomainForwardsZoneName_Request_Body} - Request body type
1072
+ */
1073
+ export type DELETE_DomainForwardsZoneName_Request = {
1074
+ parameters: {
1075
+ path: operations['delete_redirects_v1_domain_forwards__zone_name__delete']['parameters']['path'];
1076
+ };
1077
+ }
1078
+ /**
1079
+ * Path parameters for DELETE /v1/domain-forwards/{zone_name}
1080
+ *
1081
+ * @remarks
1082
+ * This type defines the path parameters for the DELETE /v1/domain-forwards/{zone_name} endpoint.
1083
+ * It provides type safety for all path parameters as defined in the OpenAPI specification.
1084
+ *
1085
+ * @example
1086
+ * Use this type to ensure type safety for path parameters.
1087
+ *
1088
+ * @path /v1/domain-forwards/{zone_name}
1089
+ * @param zone_name (path) - DNS zone name (trailing dot optional)
1090
+ */
1091
+ export type DELETE_DomainForwardsZoneName_Request_Path = DELETE_DomainForwardsZoneName_Request['parameters']['path'];
1092
+
1093
+ /**
1094
+ * Request type for GET DomainForwardsZoneName endpoint
1095
+ *
1096
+ * Get Redirects
1097
+ *
1098
+ * @remarks
1099
+ * This type defines the complete request structure for the GET DomainForwardsZoneName endpoint.
1100
+ * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
1101
+ * Use this type to ensure type safety when making API requests to this endpoint.
1102
+ *
1103
+ * @example
1104
+ * Use this type to ensure type safety when making API requests to this endpoint.
1105
+ *
1106
+ * @path /v1/domain-forwards/{zone_name}
1107
+ * @param zone_name (path) - DNS zone name (trailing dot optional)
1108
+ *
1109
+ * @see {@link GET_DomainForwardsZoneName_Request_Query} - Query parameters type
1110
+ * @see {@link GET_DomainForwardsZoneName_Request_Path} - Path parameters type
1111
+ * @see {@link GET_DomainForwardsZoneName_Request_Body} - Request body type
1112
+ */
1113
+ export type GET_DomainForwardsZoneName_Request = {
1114
+ parameters: {
1115
+ query: operations['get_redirects_v1_domain_forwards__zone_name__get']['parameters']['query'];
1116
+ path: operations['get_redirects_v1_domain_forwards__zone_name__get']['parameters']['path'];
1117
+ };
1118
+ }
1119
+ /**
1120
+ * Query parameters for GET /v1/domain-forwards/{zone_name}
1121
+ *
1122
+ * @remarks
1123
+ * This type defines the query parameters for the GET /v1/domain-forwards/{zone_name} endpoint.
1124
+ * It provides type safety for all query parameters as defined in the OpenAPI specification.
1125
+ *
1126
+ * @example
1127
+ * Use this type to ensure type safety for query parameters.
1128
+ *
1129
+ * @path /v1/domain-forwards/{zone_name}
1130
+ */
1131
+ export type GET_DomainForwardsZoneName_Request_Query = GET_DomainForwardsZoneName_Request['parameters']['query'];
1132
+ /**
1133
+ * Path parameters for GET /v1/domain-forwards/{zone_name}
1134
+ *
1135
+ * @remarks
1136
+ * This type defines the path parameters for the GET /v1/domain-forwards/{zone_name} endpoint.
1137
+ * It provides type safety for all path parameters as defined in the OpenAPI specification.
1138
+ *
1139
+ * @example
1140
+ * Use this type to ensure type safety for path parameters.
1141
+ *
1142
+ * @path /v1/domain-forwards/{zone_name}
1143
+ * @param zone_name (path) - DNS zone name (trailing dot optional)
1144
+ */
1145
+ export type GET_DomainForwardsZoneName_Request_Path = GET_DomainForwardsZoneName_Request['parameters']['path'];
1146
+
1147
+ /**
1148
+ * Request type for POST DomainForwardsZoneName endpoint
1149
+ *
1150
+ * Create Redirects
1151
+ *
1152
+ * @remarks
1153
+ * This type defines the complete request structure for the POST DomainForwardsZoneName endpoint.
1154
+ * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
1155
+ * Use this type to ensure type safety when making API requests to this endpoint.
1156
+ *
1157
+ * @example
1158
+ * Use this type to ensure type safety when making API requests to this endpoint.
1159
+ *
1160
+ * @path /v1/domain-forwards/{zone_name}
1161
+ * @param zone_name (path) - DNS zone name (trailing dot optional)
1162
+ *
1163
+ * @see {@link POST_DomainForwardsZoneName_Request_Query} - Query parameters type
1164
+ * @see {@link POST_DomainForwardsZoneName_Request_Path} - Path parameters type
1165
+ * @see {@link POST_DomainForwardsZoneName_Request_Body} - Request body type
1166
+ */
1167
+ export type POST_DomainForwardsZoneName_Request = {
1168
+ parameters: {
1169
+ path: operations['create_redirects_v1_domain_forwards__zone_name__post']['parameters']['path'];
1170
+ };
1171
+ requestBody: RedirectSet;
1172
+ }
1173
+ /**
1174
+ * Path parameters for POST /v1/domain-forwards/{zone_name}
1175
+ *
1176
+ * @remarks
1177
+ * This type defines the path parameters for the POST /v1/domain-forwards/{zone_name} endpoint.
1178
+ * It provides type safety for all path parameters as defined in the OpenAPI specification.
1179
+ *
1180
+ * @example
1181
+ * Use this type to ensure type safety for path parameters.
1182
+ *
1183
+ * @path /v1/domain-forwards/{zone_name}
1184
+ * @param zone_name (path) - DNS zone name (trailing dot optional)
1185
+ */
1186
+ export type POST_DomainForwardsZoneName_Request_Path = POST_DomainForwardsZoneName_Request['parameters']['path'];
1187
+ /**
1188
+ * Request body for POST /v1/domain-forwards/{zone_name}
1189
+ *
1190
+ * @remarks
1191
+ * This type defines the request body structure for the POST /v1/domain-forwards/{zone_name} endpoint.
1192
+ * It provides type safety for the request body as defined in the OpenAPI specification.
1193
+ *
1194
+ * @example
1195
+ * Use this type to ensure type safety for request body structure.
1196
+ *
1197
+ * @path /v1/domain-forwards/{zone_name}
1198
+ */
1199
+ export type POST_DomainForwardsZoneName_Request_Body = POST_DomainForwardsZoneName_Request['requestBody'];
1200
+
1201
+ /**
1202
+ * Request type for PUT DomainForwardsZoneName endpoint
1203
+ *
1204
+ * Update Redirects
1205
+ *
1206
+ * @remarks
1207
+ * This type defines the complete request structure for the PUT DomainForwardsZoneName endpoint.
1208
+ * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
1209
+ * Use this type to ensure type safety when making API requests to this endpoint.
1210
+ *
1211
+ * @example
1212
+ * Use this type to ensure type safety when making API requests to this endpoint.
1213
+ *
1214
+ * @path /v1/domain-forwards/{zone_name}
1215
+ * @param zone_name (path) - DNS zone name (trailing dot optional)
1216
+ *
1217
+ * @see {@link PUT_DomainForwardsZoneName_Request_Query} - Query parameters type
1218
+ * @see {@link PUT_DomainForwardsZoneName_Request_Path} - Path parameters type
1219
+ * @see {@link PUT_DomainForwardsZoneName_Request_Body} - Request body type
1220
+ */
1221
+ export type PUT_DomainForwardsZoneName_Request = {
1222
+ parameters: {
1223
+ path: operations['update_redirects_v1_domain_forwards__zone_name__put']['parameters']['path'];
1224
+ };
1225
+ requestBody: RedirectSet;
1226
+ }
1227
+ /**
1228
+ * Path parameters for PUT /v1/domain-forwards/{zone_name}
1229
+ *
1230
+ * @remarks
1231
+ * This type defines the path parameters for the PUT /v1/domain-forwards/{zone_name} endpoint.
1232
+ * It provides type safety for all path parameters as defined in the OpenAPI specification.
1233
+ *
1234
+ * @example
1235
+ * Use this type to ensure type safety for path parameters.
1236
+ *
1237
+ * @path /v1/domain-forwards/{zone_name}
1238
+ * @param zone_name (path) - DNS zone name (trailing dot optional)
1239
+ */
1240
+ export type PUT_DomainForwardsZoneName_Request_Path = PUT_DomainForwardsZoneName_Request['parameters']['path'];
1241
+ /**
1242
+ * Request body for PUT /v1/domain-forwards/{zone_name}
1243
+ *
1244
+ * @remarks
1245
+ * This type defines the request body structure for the PUT /v1/domain-forwards/{zone_name} endpoint.
1246
+ * It provides type safety for the request body as defined in the OpenAPI specification.
1247
+ *
1248
+ * @example
1249
+ * Use this type to ensure type safety for request body structure.
1250
+ *
1251
+ * @path /v1/domain-forwards/{zone_name}
1252
+ */
1253
+ export type PUT_DomainForwardsZoneName_Request_Body = PUT_DomainForwardsZoneName_Request['requestBody'];
1254
+
1255
+ /**
1256
+ * Request type for PATCH DomainForwardsZoneNameDisable endpoint
1257
+ *
1258
+ * Disable Domain Forward
1259
+ *
1260
+ * @remarks
1261
+ * This type defines the complete request structure for the PATCH DomainForwardsZoneNameDisable endpoint.
1262
+ * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
1263
+ * Use this type to ensure type safety when making API requests to this endpoint.
1264
+ *
1265
+ * @example
1266
+ * Use this type to ensure type safety when making API requests to this endpoint.
1267
+ *
1268
+ * @path /v1/domain-forwards/{zone_name}/disable
1269
+ * @param zone_name (path) - DNS zone name (trailing dot optional)
1270
+ *
1271
+ * @see {@link PATCH_DomainForwardsZoneNameDisable_Request_Query} - Query parameters type
1272
+ * @see {@link PATCH_DomainForwardsZoneNameDisable_Request_Path} - Path parameters type
1273
+ * @see {@link PATCH_DomainForwardsZoneNameDisable_Request_Body} - Request body type
1274
+ */
1275
+ export type PATCH_DomainForwardsZoneNameDisable_Request = {
1276
+ parameters: {
1277
+ path: operations['disable_domain_forward_v1_domain_forwards__zone_name__disable_patch']['parameters']['path'];
1278
+ };
1279
+ }
1280
+ /**
1281
+ * Path parameters for PATCH /v1/domain-forwards/{zone_name}/disable
1282
+ *
1283
+ * @remarks
1284
+ * This type defines the path parameters for the PATCH /v1/domain-forwards/{zone_name}/disable endpoint.
1285
+ * It provides type safety for all path parameters as defined in the OpenAPI specification.
1286
+ *
1287
+ * @example
1288
+ * Use this type to ensure type safety for path parameters.
1289
+ *
1290
+ * @path /v1/domain-forwards/{zone_name}/disable
1291
+ * @param zone_name (path) - DNS zone name (trailing dot optional)
1292
+ */
1293
+ export type PATCH_DomainForwardsZoneNameDisable_Request_Path = PATCH_DomainForwardsZoneNameDisable_Request['parameters']['path'];
1294
+
1295
+ /**
1296
+ * Request type for PATCH DomainForwardsZoneNameEnable endpoint
1297
+ *
1298
+ * Enable Domain Forward
1299
+ *
1300
+ * @remarks
1301
+ * This type defines the complete request structure for the PATCH DomainForwardsZoneNameEnable endpoint.
1302
+ * It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
1303
+ * Use this type to ensure type safety when making API requests to this endpoint.
1304
+ *
1305
+ * @example
1306
+ * Use this type to ensure type safety when making API requests to this endpoint.
1307
+ *
1308
+ * @path /v1/domain-forwards/{zone_name}/enable
1309
+ * @param zone_name (path) - DNS zone name (trailing dot optional)
1310
+ *
1311
+ * @see {@link PATCH_DomainForwardsZoneNameEnable_Request_Query} - Query parameters type
1312
+ * @see {@link PATCH_DomainForwardsZoneNameEnable_Request_Path} - Path parameters type
1313
+ * @see {@link PATCH_DomainForwardsZoneNameEnable_Request_Body} - Request body type
1314
+ */
1315
+ export type PATCH_DomainForwardsZoneNameEnable_Request = {
1316
+ parameters: {
1317
+ query: operations['enable_domain_forward_v1_domain_forwards__zone_name__enable_patch']['parameters']['query'];
1318
+ path: operations['enable_domain_forward_v1_domain_forwards__zone_name__enable_patch']['parameters']['path'];
1319
+ };
1320
+ }
1321
+ /**
1322
+ * Query parameters for PATCH /v1/domain-forwards/{zone_name}/enable
1323
+ *
1324
+ * @remarks
1325
+ * This type defines the query parameters for the PATCH /v1/domain-forwards/{zone_name}/enable endpoint.
1326
+ * It provides type safety for all query parameters as defined in the OpenAPI specification.
1327
+ *
1328
+ * @example
1329
+ * Use this type to ensure type safety for query parameters.
1330
+ *
1331
+ * @path /v1/domain-forwards/{zone_name}/enable
1332
+ */
1333
+ export type PATCH_DomainForwardsZoneNameEnable_Request_Query = PATCH_DomainForwardsZoneNameEnable_Request['parameters']['query'];
1334
+ /**
1335
+ * Path parameters for PATCH /v1/domain-forwards/{zone_name}/enable
1336
+ *
1337
+ * @remarks
1338
+ * This type defines the path parameters for the PATCH /v1/domain-forwards/{zone_name}/enable endpoint.
1339
+ * It provides type safety for all path parameters as defined in the OpenAPI specification.
1340
+ *
1341
+ * @example
1342
+ * Use this type to ensure type safety for path parameters.
1343
+ *
1344
+ * @path /v1/domain-forwards/{zone_name}/enable
1345
+ * @param zone_name (path) - DNS zone name (trailing dot optional)
1346
+ */
1347
+ export type PATCH_DomainForwardsZoneNameEnable_Request_Path = PATCH_DomainForwardsZoneNameEnable_Request['parameters']['path'];
1348
+
1017
1349
  /**
1018
1350
  * Request type for GET DomainSearchSuggest endpoint
1019
1351
  *
@@ -2075,9 +2407,23 @@ export type PATCH_EmailForwardsZoneNameDisable_Request_Path = PATCH_EmailForward
2075
2407
  */
2076
2408
  export type PATCH_EmailForwardsZoneNameEnable_Request = {
2077
2409
  parameters: {
2410
+ query: operations['enable_email_forward_v1_email_forwards__zone_name__enable_patch']['parameters']['query'];
2078
2411
  path: operations['enable_email_forward_v1_email_forwards__zone_name__enable_patch']['parameters']['path'];
2079
2412
  };
2080
2413
  }
2414
+ /**
2415
+ * Query parameters for PATCH /v1/email-forwards/{zone_name}/enable
2416
+ *
2417
+ * @remarks
2418
+ * This type defines the query parameters for the PATCH /v1/email-forwards/{zone_name}/enable endpoint.
2419
+ * It provides type safety for all query parameters as defined in the OpenAPI specification.
2420
+ *
2421
+ * @example
2422
+ * Use this type to ensure type safety for query parameters.
2423
+ *
2424
+ * @path /v1/email-forwards/{zone_name}/enable
2425
+ */
2426
+ export type PATCH_EmailForwardsZoneNameEnable_Request_Query = PATCH_EmailForwardsZoneNameEnable_Request['parameters']['query'];
2081
2427
  /**
2082
2428
  * Path parameters for PATCH /v1/email-forwards/{zone_name}/enable
2083
2429
  *