@opusdns/api 0.16.0 → 0.17.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/requests.d.ts +36 -36
- package/src/helpers/responses.d.ts +72 -72
- package/src/openapi.yaml +6 -6
- package/src/schema.d.ts +8 -8
package/package.json
CHANGED
|
@@ -2181,118 +2181,118 @@ export type PATCH_EmailForwardsZoneNameEnable_Request = {
|
|
|
2181
2181
|
export type PATCH_EmailForwardsZoneNameEnable_Request_Path = PATCH_EmailForwardsZoneNameEnable_Request['parameters']['path'];
|
|
2182
2182
|
|
|
2183
2183
|
/**
|
|
2184
|
-
* Request type for GET
|
|
2184
|
+
* Request type for GET Events endpoint
|
|
2185
2185
|
*
|
|
2186
2186
|
* Get Events
|
|
2187
2187
|
*
|
|
2188
2188
|
* @remarks
|
|
2189
|
-
* This type defines the complete request structure for the GET
|
|
2189
|
+
* This type defines the complete request structure for the GET Events endpoint.
|
|
2190
2190
|
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
2191
2191
|
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
2192
2192
|
*
|
|
2193
2193
|
* @example
|
|
2194
2194
|
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
2195
2195
|
*
|
|
2196
|
-
* @path /v1/
|
|
2196
|
+
* @path /v1/events
|
|
2197
2197
|
*
|
|
2198
|
-
* @see {@link
|
|
2199
|
-
* @see {@link
|
|
2200
|
-
* @see {@link
|
|
2198
|
+
* @see {@link GET_Events_Request_Query} - Query parameters type
|
|
2199
|
+
* @see {@link GET_Events_Request_Path} - Path parameters type
|
|
2200
|
+
* @see {@link GET_Events_Request_Body} - Request body type
|
|
2201
2201
|
*/
|
|
2202
|
-
export type
|
|
2202
|
+
export type GET_Events_Request = {
|
|
2203
2203
|
parameters: {
|
|
2204
|
-
query: operations['
|
|
2204
|
+
query: operations['get_events_v1_events_get']['parameters']['query'];
|
|
2205
2205
|
};
|
|
2206
2206
|
}
|
|
2207
2207
|
/**
|
|
2208
|
-
* Query parameters for GET /v1/
|
|
2208
|
+
* Query parameters for GET /v1/events
|
|
2209
2209
|
*
|
|
2210
2210
|
* @remarks
|
|
2211
|
-
* This type defines the query parameters for the GET /v1/
|
|
2211
|
+
* This type defines the query parameters for the GET /v1/events endpoint.
|
|
2212
2212
|
* It provides type safety for all query parameters as defined in the OpenAPI specification.
|
|
2213
2213
|
*
|
|
2214
2214
|
* @example
|
|
2215
2215
|
* Use this type to ensure type safety for query parameters.
|
|
2216
2216
|
*
|
|
2217
|
-
* @path /v1/
|
|
2217
|
+
* @path /v1/events
|
|
2218
2218
|
*/
|
|
2219
|
-
export type
|
|
2219
|
+
export type GET_Events_Request_Query = GET_Events_Request['parameters']['query'];
|
|
2220
2220
|
|
|
2221
2221
|
/**
|
|
2222
|
-
* Request type for GET
|
|
2222
|
+
* Request type for GET EventsEventId endpoint
|
|
2223
2223
|
*
|
|
2224
2224
|
* Get Event
|
|
2225
2225
|
*
|
|
2226
2226
|
* @remarks
|
|
2227
|
-
* This type defines the complete request structure for the GET
|
|
2227
|
+
* This type defines the complete request structure for the GET EventsEventId endpoint.
|
|
2228
2228
|
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
2229
2229
|
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
2230
2230
|
*
|
|
2231
2231
|
* @example
|
|
2232
2232
|
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
2233
2233
|
*
|
|
2234
|
-
* @path /v1/
|
|
2234
|
+
* @path /v1/events/{event_id}
|
|
2235
2235
|
*
|
|
2236
|
-
* @see {@link
|
|
2237
|
-
* @see {@link
|
|
2238
|
-
* @see {@link
|
|
2236
|
+
* @see {@link GET_EventsEventId_Request_Query} - Query parameters type
|
|
2237
|
+
* @see {@link GET_EventsEventId_Request_Path} - Path parameters type
|
|
2238
|
+
* @see {@link GET_EventsEventId_Request_Body} - Request body type
|
|
2239
2239
|
*/
|
|
2240
|
-
export type
|
|
2240
|
+
export type GET_EventsEventId_Request = {
|
|
2241
2241
|
parameters: {
|
|
2242
|
-
path: operations['
|
|
2242
|
+
path: operations['get_event_v1_events__event_id__get']['parameters']['path'];
|
|
2243
2243
|
};
|
|
2244
2244
|
}
|
|
2245
2245
|
/**
|
|
2246
|
-
* Path parameters for GET /v1/
|
|
2246
|
+
* Path parameters for GET /v1/events/{event_id}
|
|
2247
2247
|
*
|
|
2248
2248
|
* @remarks
|
|
2249
|
-
* This type defines the path parameters for the GET /v1/
|
|
2249
|
+
* This type defines the path parameters for the GET /v1/events/{event_id} endpoint.
|
|
2250
2250
|
* It provides type safety for all path parameters as defined in the OpenAPI specification.
|
|
2251
2251
|
*
|
|
2252
2252
|
* @example
|
|
2253
2253
|
* Use this type to ensure type safety for path parameters.
|
|
2254
2254
|
*
|
|
2255
|
-
* @path /v1/
|
|
2255
|
+
* @path /v1/events/{event_id}
|
|
2256
2256
|
*/
|
|
2257
|
-
export type
|
|
2257
|
+
export type GET_EventsEventId_Request_Path = GET_EventsEventId_Request['parameters']['path'];
|
|
2258
2258
|
|
|
2259
2259
|
/**
|
|
2260
|
-
* Request type for PATCH
|
|
2260
|
+
* Request type for PATCH EventsEventId endpoint
|
|
2261
2261
|
*
|
|
2262
2262
|
* Acknowledge Event
|
|
2263
2263
|
*
|
|
2264
2264
|
* @remarks
|
|
2265
|
-
* This type defines the complete request structure for the PATCH
|
|
2265
|
+
* This type defines the complete request structure for the PATCH EventsEventId endpoint.
|
|
2266
2266
|
* It includes all parameters (query, path) and request body types as defined in the OpenAPI specification.
|
|
2267
2267
|
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
2268
2268
|
*
|
|
2269
2269
|
* @example
|
|
2270
2270
|
* Use this type to ensure type safety when making API requests to this endpoint.
|
|
2271
2271
|
*
|
|
2272
|
-
* @path /v1/
|
|
2272
|
+
* @path /v1/events/{event_id}
|
|
2273
2273
|
*
|
|
2274
|
-
* @see {@link
|
|
2275
|
-
* @see {@link
|
|
2276
|
-
* @see {@link
|
|
2274
|
+
* @see {@link PATCH_EventsEventId_Request_Query} - Query parameters type
|
|
2275
|
+
* @see {@link PATCH_EventsEventId_Request_Path} - Path parameters type
|
|
2276
|
+
* @see {@link PATCH_EventsEventId_Request_Body} - Request body type
|
|
2277
2277
|
*/
|
|
2278
|
-
export type
|
|
2278
|
+
export type PATCH_EventsEventId_Request = {
|
|
2279
2279
|
parameters: {
|
|
2280
|
-
path: operations['
|
|
2280
|
+
path: operations['acknowledge_event_v1_events__event_id__patch']['parameters']['path'];
|
|
2281
2281
|
};
|
|
2282
2282
|
}
|
|
2283
2283
|
/**
|
|
2284
|
-
* Path parameters for PATCH /v1/
|
|
2284
|
+
* Path parameters for PATCH /v1/events/{event_id}
|
|
2285
2285
|
*
|
|
2286
2286
|
* @remarks
|
|
2287
|
-
* This type defines the path parameters for the PATCH /v1/
|
|
2287
|
+
* This type defines the path parameters for the PATCH /v1/events/{event_id} endpoint.
|
|
2288
2288
|
* It provides type safety for all path parameters as defined in the OpenAPI specification.
|
|
2289
2289
|
*
|
|
2290
2290
|
* @example
|
|
2291
2291
|
* Use this type to ensure type safety for path parameters.
|
|
2292
2292
|
*
|
|
2293
|
-
* @path /v1/
|
|
2293
|
+
* @path /v1/events/{event_id}
|
|
2294
2294
|
*/
|
|
2295
|
-
export type
|
|
2295
|
+
export type PATCH_EventsEventId_Request_Path = PATCH_EventsEventId_Request['parameters']['path'];
|
|
2296
2296
|
|
|
2297
2297
|
/**
|
|
2298
2298
|
* Request type for GET Notifications endpoint
|
|
@@ -3374,241 +3374,241 @@ export type PATCH_EmailForwardsByZoneNameEnable_Response = PATCH_EmailForwardsBy
|
|
|
3374
3374
|
export type PATCH_EmailForwardsByZoneNameEnable_Response_422 = HTTPValidationError
|
|
3375
3375
|
|
|
3376
3376
|
/**
|
|
3377
|
-
* Response types for GET
|
|
3377
|
+
* Response types for GET Events endpoint
|
|
3378
3378
|
*
|
|
3379
3379
|
* Get Events
|
|
3380
3380
|
*
|
|
3381
3381
|
* @remarks
|
|
3382
|
-
* This type defines all possible response structures for the GET
|
|
3382
|
+
* This type defines all possible response structures for the GET Events endpoint.
|
|
3383
3383
|
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
3384
3384
|
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
3385
3385
|
*
|
|
3386
3386
|
|
|
3387
3387
|
*
|
|
3388
|
-
* @path /v1/
|
|
3388
|
+
* @path /v1/events
|
|
3389
3389
|
*
|
|
3390
|
-
* @see {@link
|
|
3391
|
-
* @see {@link
|
|
3392
|
-
* @see {@link
|
|
3390
|
+
* @see {@link GET_Events_Response_200} - 200 response type
|
|
3391
|
+
* @see {@link GET_Events_Response_401} - 401 response type
|
|
3392
|
+
* @see {@link GET_Events_Response_422} - 422 response type
|
|
3393
3393
|
*
|
|
3394
3394
|
|
|
3395
3395
|
*/
|
|
3396
|
-
export type
|
|
3396
|
+
export type GET_Events_Response = GET_Events_Response_200 | GET_Events_Response_401 | GET_Events_Response_422;
|
|
3397
3397
|
|
|
3398
3398
|
/**
|
|
3399
|
-
* 200 response for GET
|
|
3399
|
+
* 200 response for GET Events endpoint
|
|
3400
3400
|
*
|
|
3401
3401
|
* @remarks
|
|
3402
3402
|
* This type defines the response structure for the 200 status code
|
|
3403
|
-
* of the GET
|
|
3403
|
+
* of the GET Events endpoint.
|
|
3404
3404
|
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
3405
3405
|
*
|
|
3406
3406
|
|
|
3407
3407
|
*
|
|
3408
|
-
* @path /v1/
|
|
3408
|
+
* @path /v1/events
|
|
3409
3409
|
*
|
|
3410
|
-
* @see {@link
|
|
3410
|
+
* @see {@link GET_Events_Response} - The main response type definition
|
|
3411
3411
|
* @see {@link Pagination_Event} - The actual schema type definition
|
|
3412
3412
|
*/
|
|
3413
|
-
export type
|
|
3413
|
+
export type GET_Events_Response_200 = Pagination_Event
|
|
3414
3414
|
|
|
3415
3415
|
/**
|
|
3416
|
-
* 401 response for GET
|
|
3416
|
+
* 401 response for GET Events endpoint
|
|
3417
3417
|
*
|
|
3418
3418
|
* @remarks
|
|
3419
3419
|
* This type defines the response structure for the 401 status code
|
|
3420
|
-
* of the GET
|
|
3420
|
+
* of the GET Events endpoint.
|
|
3421
3421
|
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
3422
3422
|
*
|
|
3423
3423
|
|
|
3424
3424
|
*
|
|
3425
|
-
* @path /v1/
|
|
3425
|
+
* @path /v1/events
|
|
3426
3426
|
*
|
|
3427
|
-
* @see {@link
|
|
3427
|
+
* @see {@link GET_Events_Response} - The main response type definition
|
|
3428
3428
|
* @see {@link Problem} - The actual schema type definition
|
|
3429
3429
|
*/
|
|
3430
|
-
export type
|
|
3430
|
+
export type GET_Events_Response_401 = Problem
|
|
3431
3431
|
|
|
3432
3432
|
/**
|
|
3433
|
-
* 422 response for GET
|
|
3433
|
+
* 422 response for GET Events endpoint
|
|
3434
3434
|
*
|
|
3435
3435
|
* @remarks
|
|
3436
3436
|
* This type defines the response structure for the 422 status code
|
|
3437
|
-
* of the GET
|
|
3437
|
+
* of the GET Events endpoint.
|
|
3438
3438
|
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
3439
3439
|
*
|
|
3440
3440
|
|
|
3441
3441
|
*
|
|
3442
|
-
* @path /v1/
|
|
3442
|
+
* @path /v1/events
|
|
3443
3443
|
*
|
|
3444
|
-
* @see {@link
|
|
3444
|
+
* @see {@link GET_Events_Response} - The main response type definition
|
|
3445
3445
|
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
3446
3446
|
*/
|
|
3447
|
-
export type
|
|
3447
|
+
export type GET_Events_Response_422 = HTTPValidationError
|
|
3448
3448
|
|
|
3449
3449
|
/**
|
|
3450
|
-
* Response types for GET
|
|
3450
|
+
* Response types for GET EventsByEventId endpoint
|
|
3451
3451
|
*
|
|
3452
3452
|
* Get Event
|
|
3453
3453
|
*
|
|
3454
3454
|
* @remarks
|
|
3455
|
-
* This type defines all possible response structures for the GET
|
|
3455
|
+
* This type defines all possible response structures for the GET EventsByEventId endpoint.
|
|
3456
3456
|
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
3457
3457
|
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
3458
3458
|
*
|
|
3459
3459
|
|
|
3460
3460
|
*
|
|
3461
|
-
* @path /v1/
|
|
3461
|
+
* @path /v1/events/{event_id}
|
|
3462
3462
|
*
|
|
3463
|
-
* @see {@link
|
|
3464
|
-
* @see {@link
|
|
3465
|
-
* @see {@link
|
|
3466
|
-
* @see {@link
|
|
3463
|
+
* @see {@link GET_EventsByEventId_Response_200} - 200 response type
|
|
3464
|
+
* @see {@link GET_EventsByEventId_Response_401} - 401 response type
|
|
3465
|
+
* @see {@link GET_EventsByEventId_Response_404} - 404 response type
|
|
3466
|
+
* @see {@link GET_EventsByEventId_Response_422} - 422 response type
|
|
3467
3467
|
*
|
|
3468
3468
|
|
|
3469
3469
|
*/
|
|
3470
|
-
export type
|
|
3470
|
+
export type GET_EventsByEventId_Response = GET_EventsByEventId_Response_200 | GET_EventsByEventId_Response_401 | GET_EventsByEventId_Response_404 | GET_EventsByEventId_Response_422;
|
|
3471
3471
|
|
|
3472
3472
|
/**
|
|
3473
|
-
* 200 response for GET
|
|
3473
|
+
* 200 response for GET EventsByEventId endpoint
|
|
3474
3474
|
*
|
|
3475
3475
|
* @remarks
|
|
3476
3476
|
* This type defines the response structure for the 200 status code
|
|
3477
|
-
* of the GET
|
|
3477
|
+
* of the GET EventsByEventId endpoint.
|
|
3478
3478
|
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
3479
3479
|
*
|
|
3480
3480
|
|
|
3481
3481
|
*
|
|
3482
|
-
* @path /v1/
|
|
3482
|
+
* @path /v1/events/{event_id}
|
|
3483
3483
|
*
|
|
3484
|
-
* @see {@link
|
|
3484
|
+
* @see {@link GET_EventsByEventId_Response} - The main response type definition
|
|
3485
3485
|
* @see {@link EventSchema} - The actual schema type definition
|
|
3486
3486
|
*/
|
|
3487
|
-
export type
|
|
3487
|
+
export type GET_EventsByEventId_Response_200 = EventSchema
|
|
3488
3488
|
|
|
3489
3489
|
/**
|
|
3490
|
-
* 401 response for GET
|
|
3490
|
+
* 401 response for GET EventsByEventId endpoint
|
|
3491
3491
|
*
|
|
3492
3492
|
* @remarks
|
|
3493
3493
|
* This type defines the response structure for the 401 status code
|
|
3494
|
-
* of the GET
|
|
3494
|
+
* of the GET EventsByEventId endpoint.
|
|
3495
3495
|
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
3496
3496
|
*
|
|
3497
3497
|
|
|
3498
3498
|
*
|
|
3499
|
-
* @path /v1/
|
|
3499
|
+
* @path /v1/events/{event_id}
|
|
3500
3500
|
*
|
|
3501
|
-
* @see {@link
|
|
3501
|
+
* @see {@link GET_EventsByEventId_Response} - The main response type definition
|
|
3502
3502
|
* @see {@link Problem} - The actual schema type definition
|
|
3503
3503
|
*/
|
|
3504
|
-
export type
|
|
3504
|
+
export type GET_EventsByEventId_Response_401 = Problem
|
|
3505
3505
|
|
|
3506
3506
|
/**
|
|
3507
|
-
* 404 response for GET
|
|
3507
|
+
* 404 response for GET EventsByEventId endpoint
|
|
3508
3508
|
*
|
|
3509
3509
|
* @remarks
|
|
3510
3510
|
* This type defines the response structure for the 404 status code
|
|
3511
|
-
* of the GET
|
|
3511
|
+
* of the GET EventsByEventId endpoint.
|
|
3512
3512
|
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
3513
3513
|
*
|
|
3514
3514
|
|
|
3515
3515
|
*
|
|
3516
|
-
* @path /v1/
|
|
3516
|
+
* @path /v1/events/{event_id}
|
|
3517
3517
|
*
|
|
3518
|
-
* @see {@link
|
|
3518
|
+
* @see {@link GET_EventsByEventId_Response} - The main response type definition
|
|
3519
3519
|
* @see {@link Problem} - The actual schema type definition
|
|
3520
3520
|
*/
|
|
3521
|
-
export type
|
|
3521
|
+
export type GET_EventsByEventId_Response_404 = Problem
|
|
3522
3522
|
|
|
3523
3523
|
/**
|
|
3524
|
-
* 422 response for GET
|
|
3524
|
+
* 422 response for GET EventsByEventId endpoint
|
|
3525
3525
|
*
|
|
3526
3526
|
* @remarks
|
|
3527
3527
|
* This type defines the response structure for the 422 status code
|
|
3528
|
-
* of the GET
|
|
3528
|
+
* of the GET EventsByEventId endpoint.
|
|
3529
3529
|
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
3530
3530
|
*
|
|
3531
3531
|
|
|
3532
3532
|
*
|
|
3533
|
-
* @path /v1/
|
|
3533
|
+
* @path /v1/events/{event_id}
|
|
3534
3534
|
*
|
|
3535
|
-
* @see {@link
|
|
3535
|
+
* @see {@link GET_EventsByEventId_Response} - The main response type definition
|
|
3536
3536
|
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
3537
3537
|
*/
|
|
3538
|
-
export type
|
|
3538
|
+
export type GET_EventsByEventId_Response_422 = HTTPValidationError
|
|
3539
3539
|
|
|
3540
3540
|
/**
|
|
3541
|
-
* Response types for PATCH
|
|
3541
|
+
* Response types for PATCH EventsByEventId endpoint
|
|
3542
3542
|
*
|
|
3543
3543
|
* Acknowledge Event
|
|
3544
3544
|
*
|
|
3545
3545
|
* @remarks
|
|
3546
|
-
* This type defines all possible response structures for the PATCH
|
|
3546
|
+
* This type defines all possible response structures for the PATCH EventsByEventId endpoint.
|
|
3547
3547
|
* Each response code maps to a specific response type as defined in the OpenAPI specification.
|
|
3548
3548
|
* Use this type to ensure type safety when handling API responses from this endpoint.
|
|
3549
3549
|
*
|
|
3550
3550
|
|
|
3551
3551
|
*
|
|
3552
|
-
* @path /v1/
|
|
3552
|
+
* @path /v1/events/{event_id}
|
|
3553
3553
|
*
|
|
3554
|
-
* @see {@link
|
|
3555
|
-
* @see {@link
|
|
3556
|
-
* @see {@link
|
|
3554
|
+
* @see {@link PATCH_EventsByEventId_Response_401} - 401 response type
|
|
3555
|
+
* @see {@link PATCH_EventsByEventId_Response_404} - 404 response type
|
|
3556
|
+
* @see {@link PATCH_EventsByEventId_Response_422} - 422 response type
|
|
3557
3557
|
*
|
|
3558
3558
|
|
|
3559
3559
|
*/
|
|
3560
|
-
export type
|
|
3560
|
+
export type PATCH_EventsByEventId_Response = PATCH_EventsByEventId_Response_401 | PATCH_EventsByEventId_Response_404 | PATCH_EventsByEventId_Response_422;
|
|
3561
3561
|
|
|
3562
3562
|
/**
|
|
3563
|
-
* 401 response for PATCH
|
|
3563
|
+
* 401 response for PATCH EventsByEventId endpoint
|
|
3564
3564
|
*
|
|
3565
3565
|
* @remarks
|
|
3566
3566
|
* This type defines the response structure for the 401 status code
|
|
3567
|
-
* of the PATCH
|
|
3567
|
+
* of the PATCH EventsByEventId endpoint.
|
|
3568
3568
|
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
3569
3569
|
*
|
|
3570
3570
|
|
|
3571
3571
|
*
|
|
3572
|
-
* @path /v1/
|
|
3572
|
+
* @path /v1/events/{event_id}
|
|
3573
3573
|
*
|
|
3574
|
-
* @see {@link
|
|
3574
|
+
* @see {@link PATCH_EventsByEventId_Response} - The main response type definition
|
|
3575
3575
|
* @see {@link Problem} - The actual schema type definition
|
|
3576
3576
|
*/
|
|
3577
|
-
export type
|
|
3577
|
+
export type PATCH_EventsByEventId_Response_401 = Problem
|
|
3578
3578
|
|
|
3579
3579
|
/**
|
|
3580
|
-
* 404 response for PATCH
|
|
3580
|
+
* 404 response for PATCH EventsByEventId endpoint
|
|
3581
3581
|
*
|
|
3582
3582
|
* @remarks
|
|
3583
3583
|
* This type defines the response structure for the 404 status code
|
|
3584
|
-
* of the PATCH
|
|
3584
|
+
* of the PATCH EventsByEventId endpoint.
|
|
3585
3585
|
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
3586
3586
|
*
|
|
3587
3587
|
|
|
3588
3588
|
*
|
|
3589
|
-
* @path /v1/
|
|
3589
|
+
* @path /v1/events/{event_id}
|
|
3590
3590
|
*
|
|
3591
|
-
* @see {@link
|
|
3591
|
+
* @see {@link PATCH_EventsByEventId_Response} - The main response type definition
|
|
3592
3592
|
* @see {@link Problem} - The actual schema type definition
|
|
3593
3593
|
*/
|
|
3594
|
-
export type
|
|
3594
|
+
export type PATCH_EventsByEventId_Response_404 = Problem
|
|
3595
3595
|
|
|
3596
3596
|
/**
|
|
3597
|
-
* 422 response for PATCH
|
|
3597
|
+
* 422 response for PATCH EventsByEventId endpoint
|
|
3598
3598
|
*
|
|
3599
3599
|
* @remarks
|
|
3600
3600
|
* This type defines the response structure for the 422 status code
|
|
3601
|
-
* of the PATCH
|
|
3601
|
+
* of the PATCH EventsByEventId endpoint.
|
|
3602
3602
|
* It provides type safety for handling this specific response as defined in the OpenAPI specification.
|
|
3603
3603
|
*
|
|
3604
3604
|
|
|
3605
3605
|
*
|
|
3606
|
-
* @path /v1/
|
|
3606
|
+
* @path /v1/events/{event_id}
|
|
3607
3607
|
*
|
|
3608
|
-
* @see {@link
|
|
3608
|
+
* @see {@link PATCH_EventsByEventId_Response} - The main response type definition
|
|
3609
3609
|
* @see {@link HTTPValidationError} - The actual schema type definition
|
|
3610
3610
|
*/
|
|
3611
|
-
export type
|
|
3611
|
+
export type PATCH_EventsByEventId_Response_422 = HTTPValidationError
|
|
3612
3612
|
|
|
3613
3613
|
/**
|
|
3614
3614
|
* Response types for GET Notifications endpoint
|
package/src/openapi.yaml
CHANGED
|
@@ -4819,7 +4819,7 @@ info:
|
|
|
4819
4819
|
'
|
|
4820
4820
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
4821
4821
|
title: OpusDNS API
|
|
4822
|
-
version: 2025-08-
|
|
4822
|
+
version: 2025-08-07-211955
|
|
4823
4823
|
x-logo:
|
|
4824
4824
|
altText: OpusDNS API Reference
|
|
4825
4825
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
@@ -7529,9 +7529,9 @@ paths:
|
|
|
7529
7529
|
summary: Enable Email Forward
|
|
7530
7530
|
tags:
|
|
7531
7531
|
- email_forward
|
|
7532
|
-
/v1/
|
|
7532
|
+
/v1/events:
|
|
7533
7533
|
get:
|
|
7534
|
-
operationId:
|
|
7534
|
+
operationId: get_events_v1_events_get
|
|
7535
7535
|
parameters:
|
|
7536
7536
|
- in: query
|
|
7537
7537
|
name: page
|
|
@@ -7580,9 +7580,9 @@ paths:
|
|
|
7580
7580
|
summary: Get Events
|
|
7581
7581
|
tags:
|
|
7582
7582
|
- event
|
|
7583
|
-
/v1/
|
|
7583
|
+
/v1/events/{event_id}:
|
|
7584
7584
|
get:
|
|
7585
|
-
operationId:
|
|
7585
|
+
operationId: get_event_v1_events__event_id__get
|
|
7586
7586
|
parameters:
|
|
7587
7587
|
- in: path
|
|
7588
7588
|
name: event_id
|
|
@@ -7639,7 +7639,7 @@ paths:
|
|
|
7639
7639
|
tags:
|
|
7640
7640
|
- event
|
|
7641
7641
|
patch:
|
|
7642
|
-
operationId:
|
|
7642
|
+
operationId: acknowledge_event_v1_events__event_id__patch
|
|
7643
7643
|
parameters:
|
|
7644
7644
|
- in: path
|
|
7645
7645
|
name: event_id
|
package/src/schema.d.ts
CHANGED
|
@@ -658,7 +658,7 @@ export interface paths {
|
|
|
658
658
|
patch: operations["enable_email_forward_v1_email_forwards__zone_name__enable_patch"];
|
|
659
659
|
trace?: never;
|
|
660
660
|
};
|
|
661
|
-
"/v1/
|
|
661
|
+
"/v1/events": {
|
|
662
662
|
parameters: {
|
|
663
663
|
query?: never;
|
|
664
664
|
header?: never;
|
|
@@ -666,7 +666,7 @@ export interface paths {
|
|
|
666
666
|
cookie?: never;
|
|
667
667
|
};
|
|
668
668
|
/** Get Events */
|
|
669
|
-
get: operations["
|
|
669
|
+
get: operations["get_events_v1_events_get"];
|
|
670
670
|
put?: never;
|
|
671
671
|
post?: never;
|
|
672
672
|
delete?: never;
|
|
@@ -675,7 +675,7 @@ export interface paths {
|
|
|
675
675
|
patch?: never;
|
|
676
676
|
trace?: never;
|
|
677
677
|
};
|
|
678
|
-
"/v1/
|
|
678
|
+
"/v1/events/{event_id}": {
|
|
679
679
|
parameters: {
|
|
680
680
|
query?: never;
|
|
681
681
|
header?: never;
|
|
@@ -683,14 +683,14 @@ export interface paths {
|
|
|
683
683
|
cookie?: never;
|
|
684
684
|
};
|
|
685
685
|
/** Get Event */
|
|
686
|
-
get: operations["
|
|
686
|
+
get: operations["get_event_v1_events__event_id__get"];
|
|
687
687
|
put?: never;
|
|
688
688
|
post?: never;
|
|
689
689
|
delete?: never;
|
|
690
690
|
options?: never;
|
|
691
691
|
head?: never;
|
|
692
692
|
/** Acknowledge Event */
|
|
693
|
-
patch: operations["
|
|
693
|
+
patch: operations["acknowledge_event_v1_events__event_id__patch"];
|
|
694
694
|
trace?: never;
|
|
695
695
|
};
|
|
696
696
|
"/v1/notifications": {
|
|
@@ -6659,7 +6659,7 @@ export interface operations {
|
|
|
6659
6659
|
};
|
|
6660
6660
|
};
|
|
6661
6661
|
};
|
|
6662
|
-
|
|
6662
|
+
get_events_v1_events_get: {
|
|
6663
6663
|
parameters: {
|
|
6664
6664
|
query?: {
|
|
6665
6665
|
page?: number;
|
|
@@ -6707,7 +6707,7 @@ export interface operations {
|
|
|
6707
6707
|
};
|
|
6708
6708
|
};
|
|
6709
6709
|
};
|
|
6710
|
-
|
|
6710
|
+
get_event_v1_events__event_id__get: {
|
|
6711
6711
|
parameters: {
|
|
6712
6712
|
query?: never;
|
|
6713
6713
|
header?: never;
|
|
@@ -6771,7 +6771,7 @@ export interface operations {
|
|
|
6771
6771
|
};
|
|
6772
6772
|
};
|
|
6773
6773
|
};
|
|
6774
|
-
|
|
6774
|
+
acknowledge_event_v1_events__event_id__patch: {
|
|
6775
6775
|
parameters: {
|
|
6776
6776
|
query?: never;
|
|
6777
6777
|
header?: never;
|