@opusdns/api 0.113.0 → 0.115.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 +61 -1
- package/src/helpers/keys.ts +668 -0
- package/src/helpers/requests.d.ts +106 -0
- package/src/helpers/responses.d.ts +113 -1
- package/src/helpers/schemas-arrays.d.ts +29 -1
- package/src/helpers/schemas.d.ts +64 -0
- package/src/openapi.yaml +346 -1
- package/src/schema.d.ts +253 -0
package/src/openapi.yaml
CHANGED
|
@@ -2546,6 +2546,150 @@ components:
|
|
|
2546
2546
|
- hostname
|
|
2547
2547
|
title: EmailForwardCreate
|
|
2548
2548
|
type: object
|
|
2549
|
+
EmailForwardLog:
|
|
2550
|
+
properties:
|
|
2551
|
+
created_on:
|
|
2552
|
+
description: Timestamp when email was received by ImprovMX
|
|
2553
|
+
format: date-time
|
|
2554
|
+
title: Created On
|
|
2555
|
+
type: string
|
|
2556
|
+
domain:
|
|
2557
|
+
description: Domain name
|
|
2558
|
+
title: Domain
|
|
2559
|
+
type: string
|
|
2560
|
+
events:
|
|
2561
|
+
description: List of processing events
|
|
2562
|
+
items:
|
|
2563
|
+
$ref: '#/components/schemas/EmailForwardLogEvent'
|
|
2564
|
+
title: Events
|
|
2565
|
+
type: array
|
|
2566
|
+
final_status:
|
|
2567
|
+
description: Final status of the email (QUEUED, DELIVERED, REFUSED, SOFT-BOUNCE,
|
|
2568
|
+
HARD-BOUNCE)
|
|
2569
|
+
title: Final Status
|
|
2570
|
+
type: string
|
|
2571
|
+
forward_email:
|
|
2572
|
+
description: Forward destination email address
|
|
2573
|
+
title: Forward Email
|
|
2574
|
+
type: string
|
|
2575
|
+
forward_name:
|
|
2576
|
+
anyOf:
|
|
2577
|
+
- type: string
|
|
2578
|
+
- type: 'null'
|
|
2579
|
+
description: Forward destination name
|
|
2580
|
+
title: Forward Name
|
|
2581
|
+
hostname:
|
|
2582
|
+
description: Hostname that received the email
|
|
2583
|
+
title: Hostname
|
|
2584
|
+
type: string
|
|
2585
|
+
log_id:
|
|
2586
|
+
description: Unique ID of the log from ImprovMX
|
|
2587
|
+
title: Log Id
|
|
2588
|
+
type: string
|
|
2589
|
+
message_id:
|
|
2590
|
+
description: Email message ID
|
|
2591
|
+
title: Message Id
|
|
2592
|
+
type: string
|
|
2593
|
+
recipient_email:
|
|
2594
|
+
description: Recipient email address (the alias)
|
|
2595
|
+
title: Recipient Email
|
|
2596
|
+
type: string
|
|
2597
|
+
recipient_name:
|
|
2598
|
+
anyOf:
|
|
2599
|
+
- type: string
|
|
2600
|
+
- type: 'null'
|
|
2601
|
+
description: Recipient name
|
|
2602
|
+
title: Recipient Name
|
|
2603
|
+
sender_email:
|
|
2604
|
+
description: Sender email address
|
|
2605
|
+
title: Sender Email
|
|
2606
|
+
type: string
|
|
2607
|
+
sender_name:
|
|
2608
|
+
anyOf:
|
|
2609
|
+
- type: string
|
|
2610
|
+
- type: 'null'
|
|
2611
|
+
description: Sender name
|
|
2612
|
+
title: Sender Name
|
|
2613
|
+
subject:
|
|
2614
|
+
description: Email subject
|
|
2615
|
+
title: Subject
|
|
2616
|
+
type: string
|
|
2617
|
+
synced_on:
|
|
2618
|
+
description: Timestamp when record was synced to ClickHouse
|
|
2619
|
+
format: date-time
|
|
2620
|
+
title: Synced On
|
|
2621
|
+
type: string
|
|
2622
|
+
transport:
|
|
2623
|
+
description: Transport method (mx or smtp)
|
|
2624
|
+
title: Transport
|
|
2625
|
+
type: string
|
|
2626
|
+
required:
|
|
2627
|
+
- log_id
|
|
2628
|
+
- domain
|
|
2629
|
+
- sender_email
|
|
2630
|
+
- recipient_email
|
|
2631
|
+
- forward_email
|
|
2632
|
+
- subject
|
|
2633
|
+
- hostname
|
|
2634
|
+
- message_id
|
|
2635
|
+
- transport
|
|
2636
|
+
- final_status
|
|
2637
|
+
- created_on
|
|
2638
|
+
- synced_on
|
|
2639
|
+
title: EmailForwardLog
|
|
2640
|
+
type: object
|
|
2641
|
+
EmailForwardLogEvent:
|
|
2642
|
+
properties:
|
|
2643
|
+
code:
|
|
2644
|
+
description: Event status code
|
|
2645
|
+
title: Code
|
|
2646
|
+
type: integer
|
|
2647
|
+
created:
|
|
2648
|
+
description: Timestamp when the event occurred
|
|
2649
|
+
format: date-time
|
|
2650
|
+
title: Created
|
|
2651
|
+
type: string
|
|
2652
|
+
id:
|
|
2653
|
+
description: Event ID
|
|
2654
|
+
title: Id
|
|
2655
|
+
type: string
|
|
2656
|
+
local:
|
|
2657
|
+
description: ImprovMX server that processed the event
|
|
2658
|
+
title: Local
|
|
2659
|
+
type: string
|
|
2660
|
+
message:
|
|
2661
|
+
description: Event message
|
|
2662
|
+
title: Message
|
|
2663
|
+
type: string
|
|
2664
|
+
server:
|
|
2665
|
+
description: Server that processed the event
|
|
2666
|
+
title: Server
|
|
2667
|
+
type: string
|
|
2668
|
+
status:
|
|
2669
|
+
description: Event status (QUEUED, DELIVERED, REFUSED, SOFT-BOUNCE, HARD-BOUNCE)
|
|
2670
|
+
title: Status
|
|
2671
|
+
type: string
|
|
2672
|
+
required:
|
|
2673
|
+
- code
|
|
2674
|
+
- created
|
|
2675
|
+
- id
|
|
2676
|
+
- local
|
|
2677
|
+
- message
|
|
2678
|
+
- server
|
|
2679
|
+
- status
|
|
2680
|
+
title: EmailForwardLogEvent
|
|
2681
|
+
type: object
|
|
2682
|
+
EmailForwardLogSortField:
|
|
2683
|
+
enum:
|
|
2684
|
+
- log_id
|
|
2685
|
+
- sender_email
|
|
2686
|
+
- recipient_email
|
|
2687
|
+
- forward_email
|
|
2688
|
+
- final_status
|
|
2689
|
+
- created_on
|
|
2690
|
+
- synced_on
|
|
2691
|
+
title: EmailForwardLogSortField
|
|
2692
|
+
type: string
|
|
2549
2693
|
EmailForwardResponse:
|
|
2550
2694
|
properties:
|
|
2551
2695
|
aliases:
|
|
@@ -4177,6 +4321,20 @@ components:
|
|
|
4177
4321
|
- pagination
|
|
4178
4322
|
title: Pagination[DomainResponse]
|
|
4179
4323
|
type: object
|
|
4324
|
+
Pagination_EmailForwardLog_:
|
|
4325
|
+
properties:
|
|
4326
|
+
pagination:
|
|
4327
|
+
$ref: '#/components/schemas/PaginationMetadata'
|
|
4328
|
+
results:
|
|
4329
|
+
items:
|
|
4330
|
+
$ref: '#/components/schemas/EmailForwardLog'
|
|
4331
|
+
title: Results
|
|
4332
|
+
type: array
|
|
4333
|
+
required:
|
|
4334
|
+
- results
|
|
4335
|
+
- pagination
|
|
4336
|
+
title: Pagination[EmailForwardLog]
|
|
4337
|
+
type: object
|
|
4180
4338
|
Pagination_EmailForwardResponse_:
|
|
4181
4339
|
properties:
|
|
4182
4340
|
pagination:
|
|
@@ -5763,12 +5921,193 @@ info:
|
|
|
5763
5921
|
'
|
|
5764
5922
|
summary: OpusDNS - your gateway to a seamless domain management experience.
|
|
5765
5923
|
title: OpusDNS API
|
|
5766
|
-
version: 2025-12-
|
|
5924
|
+
version: 2025-12-08-100654
|
|
5767
5925
|
x-logo:
|
|
5768
5926
|
altText: OpusDNS API Reference
|
|
5769
5927
|
url: https://d24lr4zqs1tgqh.cloudfront.net/c9505a20-5ae1-406c-b060-d392569caebf.jpg
|
|
5770
5928
|
openapi: 3.1.0
|
|
5771
5929
|
paths:
|
|
5930
|
+
/v1/archive/email-forward-logs/alias/{email_forward_alias_id}:
|
|
5931
|
+
get:
|
|
5932
|
+
description: Retrieves a paginated list of email forward logs for a specific
|
|
5933
|
+
email forward alias. Only returns logs created after the email forward was
|
|
5934
|
+
created.
|
|
5935
|
+
operationId: get_email_forward_logs_by_alias_v1_archive_email_forward_logs_alias__email_forward_alias_id__get
|
|
5936
|
+
parameters:
|
|
5937
|
+
- in: path
|
|
5938
|
+
name: email_forward_alias_id
|
|
5939
|
+
required: true
|
|
5940
|
+
schema:
|
|
5941
|
+
examples:
|
|
5942
|
+
- email_forward_alias_01h45ytscbebyvny4gc8cr8ma2
|
|
5943
|
+
format: typeid
|
|
5944
|
+
pattern: ^email_forward_alias_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
5945
|
+
title: Email Forward Alias Id
|
|
5946
|
+
type: string
|
|
5947
|
+
x-typeid-prefix: email_forward_alias
|
|
5948
|
+
- in: query
|
|
5949
|
+
name: sort_by
|
|
5950
|
+
required: false
|
|
5951
|
+
schema:
|
|
5952
|
+
$ref: '#/components/schemas/EmailForwardLogSortField'
|
|
5953
|
+
default: created_on
|
|
5954
|
+
- in: query
|
|
5955
|
+
name: sort_order
|
|
5956
|
+
required: false
|
|
5957
|
+
schema:
|
|
5958
|
+
$ref: '#/components/schemas/SortOrder'
|
|
5959
|
+
default: desc
|
|
5960
|
+
- in: query
|
|
5961
|
+
name: page_size
|
|
5962
|
+
required: false
|
|
5963
|
+
schema:
|
|
5964
|
+
default: 10
|
|
5965
|
+
maximum: 1000
|
|
5966
|
+
minimum: 1
|
|
5967
|
+
title: Page Size
|
|
5968
|
+
type: integer
|
|
5969
|
+
- in: query
|
|
5970
|
+
name: page
|
|
5971
|
+
required: false
|
|
5972
|
+
schema:
|
|
5973
|
+
default: 1
|
|
5974
|
+
minimum: 1
|
|
5975
|
+
title: Page
|
|
5976
|
+
type: integer
|
|
5977
|
+
- in: query
|
|
5978
|
+
name: final_status
|
|
5979
|
+
required: false
|
|
5980
|
+
schema:
|
|
5981
|
+
anyOf:
|
|
5982
|
+
- type: string
|
|
5983
|
+
- type: 'null'
|
|
5984
|
+
title: Final Status
|
|
5985
|
+
- in: query
|
|
5986
|
+
name: start_time
|
|
5987
|
+
required: false
|
|
5988
|
+
schema:
|
|
5989
|
+
anyOf:
|
|
5990
|
+
- format: date-time
|
|
5991
|
+
type: string
|
|
5992
|
+
- type: 'null'
|
|
5993
|
+
title: Start Time
|
|
5994
|
+
- in: query
|
|
5995
|
+
name: end_time
|
|
5996
|
+
required: false
|
|
5997
|
+
schema:
|
|
5998
|
+
anyOf:
|
|
5999
|
+
- format: date-time
|
|
6000
|
+
type: string
|
|
6001
|
+
- type: 'null'
|
|
6002
|
+
title: End Time
|
|
6003
|
+
responses:
|
|
6004
|
+
'200':
|
|
6005
|
+
content:
|
|
6006
|
+
application/json:
|
|
6007
|
+
schema:
|
|
6008
|
+
$ref: '#/components/schemas/Pagination_EmailForwardLog_'
|
|
6009
|
+
description: Successful Response
|
|
6010
|
+
'422':
|
|
6011
|
+
content:
|
|
6012
|
+
application/problem+json:
|
|
6013
|
+
schema:
|
|
6014
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
6015
|
+
description: Validation Error
|
|
6016
|
+
security:
|
|
6017
|
+
- OAuth2PasswordBearer: []
|
|
6018
|
+
summary: Retrieve email forward logs by alias
|
|
6019
|
+
tags:
|
|
6020
|
+
- archive
|
|
6021
|
+
/v1/archive/email-forward-logs/{email_forward_id}:
|
|
6022
|
+
get:
|
|
6023
|
+
description: Retrieves a paginated list of email forward logs for a specific
|
|
6024
|
+
email forward. Only returns logs created after the email forward was created.
|
|
6025
|
+
operationId: get_email_forward_logs_v1_archive_email_forward_logs__email_forward_id__get
|
|
6026
|
+
parameters:
|
|
6027
|
+
- in: path
|
|
6028
|
+
name: email_forward_id
|
|
6029
|
+
required: true
|
|
6030
|
+
schema:
|
|
6031
|
+
examples:
|
|
6032
|
+
- email_forward_01h45ytscbebyvny4gc8cr8ma2
|
|
6033
|
+
format: typeid
|
|
6034
|
+
pattern: ^email_forward_[0-7][0-9a-hjkmnpq-tv-z]{25}$
|
|
6035
|
+
title: Email Forward Id
|
|
6036
|
+
type: string
|
|
6037
|
+
x-typeid-prefix: email_forward
|
|
6038
|
+
- in: query
|
|
6039
|
+
name: sort_by
|
|
6040
|
+
required: false
|
|
6041
|
+
schema:
|
|
6042
|
+
$ref: '#/components/schemas/EmailForwardLogSortField'
|
|
6043
|
+
default: created_on
|
|
6044
|
+
- in: query
|
|
6045
|
+
name: sort_order
|
|
6046
|
+
required: false
|
|
6047
|
+
schema:
|
|
6048
|
+
$ref: '#/components/schemas/SortOrder'
|
|
6049
|
+
default: desc
|
|
6050
|
+
- in: query
|
|
6051
|
+
name: page_size
|
|
6052
|
+
required: false
|
|
6053
|
+
schema:
|
|
6054
|
+
default: 10
|
|
6055
|
+
maximum: 1000
|
|
6056
|
+
minimum: 1
|
|
6057
|
+
title: Page Size
|
|
6058
|
+
type: integer
|
|
6059
|
+
- in: query
|
|
6060
|
+
name: page
|
|
6061
|
+
required: false
|
|
6062
|
+
schema:
|
|
6063
|
+
default: 1
|
|
6064
|
+
minimum: 1
|
|
6065
|
+
title: Page
|
|
6066
|
+
type: integer
|
|
6067
|
+
- in: query
|
|
6068
|
+
name: final_status
|
|
6069
|
+
required: false
|
|
6070
|
+
schema:
|
|
6071
|
+
anyOf:
|
|
6072
|
+
- type: string
|
|
6073
|
+
- type: 'null'
|
|
6074
|
+
title: Final Status
|
|
6075
|
+
- in: query
|
|
6076
|
+
name: start_time
|
|
6077
|
+
required: false
|
|
6078
|
+
schema:
|
|
6079
|
+
anyOf:
|
|
6080
|
+
- format: date-time
|
|
6081
|
+
type: string
|
|
6082
|
+
- type: 'null'
|
|
6083
|
+
title: Start Time
|
|
6084
|
+
- in: query
|
|
6085
|
+
name: end_time
|
|
6086
|
+
required: false
|
|
6087
|
+
schema:
|
|
6088
|
+
anyOf:
|
|
6089
|
+
- format: date-time
|
|
6090
|
+
type: string
|
|
6091
|
+
- type: 'null'
|
|
6092
|
+
title: End Time
|
|
6093
|
+
responses:
|
|
6094
|
+
'200':
|
|
6095
|
+
content:
|
|
6096
|
+
application/json:
|
|
6097
|
+
schema:
|
|
6098
|
+
$ref: '#/components/schemas/Pagination_EmailForwardLog_'
|
|
6099
|
+
description: Successful Response
|
|
6100
|
+
'422':
|
|
6101
|
+
content:
|
|
6102
|
+
application/problem+json:
|
|
6103
|
+
schema:
|
|
6104
|
+
$ref: '#/components/schemas/HTTPValidationError'
|
|
6105
|
+
description: Validation Error
|
|
6106
|
+
security:
|
|
6107
|
+
- OAuth2PasswordBearer: []
|
|
6108
|
+
summary: Retrieve email forward logs
|
|
6109
|
+
tags:
|
|
6110
|
+
- archive
|
|
5772
6111
|
/v1/archive/object-logs:
|
|
5773
6112
|
get:
|
|
5774
6113
|
description: Retrieve all paginated audit logs with optional filtering and sorting
|
|
@@ -13134,6 +13473,12 @@ tags:
|
|
|
13134
13473
|
'
|
|
13135
13474
|
name: availability
|
|
13136
13475
|
x-displayName: Availability
|
|
13476
|
+
- description: 'Endpoints for submitting and tracking batch command execution (internal
|
|
13477
|
+
preview).
|
|
13478
|
+
|
|
13479
|
+
'
|
|
13480
|
+
name: jobs
|
|
13481
|
+
x-displayName: Jobs
|
|
13137
13482
|
- description: 'Endpoints for creating and managing contacts.
|
|
13138
13483
|
|
|
13139
13484
|
'
|
package/src/schema.d.ts
CHANGED
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
import { TypeId } from "typeid-js";
|
|
2
2
|
export interface paths {
|
|
3
|
+
"/v1/archive/email-forward-logs/alias/{email_forward_alias_id}": {
|
|
4
|
+
parameters: {
|
|
5
|
+
query?: never;
|
|
6
|
+
header?: never;
|
|
7
|
+
path?: never;
|
|
8
|
+
cookie?: never;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Retrieve email forward logs by alias
|
|
12
|
+
* @description Retrieves a paginated list of email forward logs for a specific email forward alias. Only returns logs created after the email forward was created.
|
|
13
|
+
*/
|
|
14
|
+
get: operations["get_email_forward_logs_by_alias_v1_archive_email_forward_logs_alias__email_forward_alias_id__get"];
|
|
15
|
+
put?: never;
|
|
16
|
+
post?: never;
|
|
17
|
+
delete?: never;
|
|
18
|
+
options?: never;
|
|
19
|
+
head?: never;
|
|
20
|
+
patch?: never;
|
|
21
|
+
trace?: never;
|
|
22
|
+
};
|
|
23
|
+
"/v1/archive/email-forward-logs/{email_forward_id}": {
|
|
24
|
+
parameters: {
|
|
25
|
+
query?: never;
|
|
26
|
+
header?: never;
|
|
27
|
+
path?: never;
|
|
28
|
+
cookie?: never;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Retrieve email forward logs
|
|
32
|
+
* @description Retrieves a paginated list of email forward logs for a specific email forward. Only returns logs created after the email forward was created.
|
|
33
|
+
*/
|
|
34
|
+
get: operations["get_email_forward_logs_v1_archive_email_forward_logs__email_forward_id__get"];
|
|
35
|
+
put?: never;
|
|
36
|
+
post?: never;
|
|
37
|
+
delete?: never;
|
|
38
|
+
options?: never;
|
|
39
|
+
head?: never;
|
|
40
|
+
patch?: never;
|
|
41
|
+
trace?: never;
|
|
42
|
+
};
|
|
3
43
|
"/v1/archive/object-logs": {
|
|
4
44
|
parameters: {
|
|
5
45
|
query?: never;
|
|
@@ -3243,6 +3283,135 @@ export interface components {
|
|
|
3243
3283
|
/** Hostname */
|
|
3244
3284
|
hostname: string;
|
|
3245
3285
|
};
|
|
3286
|
+
/** EmailForwardLog */
|
|
3287
|
+
EmailForwardLog: {
|
|
3288
|
+
/**
|
|
3289
|
+
* Created On
|
|
3290
|
+
* Format: date-time
|
|
3291
|
+
* @description Timestamp when email was received by ImprovMX
|
|
3292
|
+
*/
|
|
3293
|
+
created_on: Date;
|
|
3294
|
+
/**
|
|
3295
|
+
* Domain
|
|
3296
|
+
* @description Domain name
|
|
3297
|
+
*/
|
|
3298
|
+
domain: string;
|
|
3299
|
+
/**
|
|
3300
|
+
* Events
|
|
3301
|
+
* @description List of processing events
|
|
3302
|
+
*/
|
|
3303
|
+
events?: components["schemas"]["EmailForwardLogEvent"][];
|
|
3304
|
+
/**
|
|
3305
|
+
* Final Status
|
|
3306
|
+
* @description Final status of the email (QUEUED, DELIVERED, REFUSED, SOFT-BOUNCE, HARD-BOUNCE)
|
|
3307
|
+
*/
|
|
3308
|
+
final_status: string;
|
|
3309
|
+
/**
|
|
3310
|
+
* Forward Email
|
|
3311
|
+
* @description Forward destination email address
|
|
3312
|
+
*/
|
|
3313
|
+
forward_email: string;
|
|
3314
|
+
/**
|
|
3315
|
+
* Forward Name
|
|
3316
|
+
* @description Forward destination name
|
|
3317
|
+
*/
|
|
3318
|
+
forward_name?: string | null;
|
|
3319
|
+
/**
|
|
3320
|
+
* Hostname
|
|
3321
|
+
* @description Hostname that received the email
|
|
3322
|
+
*/
|
|
3323
|
+
hostname: string;
|
|
3324
|
+
/**
|
|
3325
|
+
* Log Id
|
|
3326
|
+
* @description Unique ID of the log from ImprovMX
|
|
3327
|
+
*/
|
|
3328
|
+
log_id: string;
|
|
3329
|
+
/**
|
|
3330
|
+
* Message Id
|
|
3331
|
+
* @description Email message ID
|
|
3332
|
+
*/
|
|
3333
|
+
message_id: string;
|
|
3334
|
+
/**
|
|
3335
|
+
* Recipient Email
|
|
3336
|
+
* @description Recipient email address (the alias)
|
|
3337
|
+
*/
|
|
3338
|
+
recipient_email: string;
|
|
3339
|
+
/**
|
|
3340
|
+
* Recipient Name
|
|
3341
|
+
* @description Recipient name
|
|
3342
|
+
*/
|
|
3343
|
+
recipient_name?: string | null;
|
|
3344
|
+
/**
|
|
3345
|
+
* Sender Email
|
|
3346
|
+
* @description Sender email address
|
|
3347
|
+
*/
|
|
3348
|
+
sender_email: string;
|
|
3349
|
+
/**
|
|
3350
|
+
* Sender Name
|
|
3351
|
+
* @description Sender name
|
|
3352
|
+
*/
|
|
3353
|
+
sender_name?: string | null;
|
|
3354
|
+
/**
|
|
3355
|
+
* Subject
|
|
3356
|
+
* @description Email subject
|
|
3357
|
+
*/
|
|
3358
|
+
subject: string;
|
|
3359
|
+
/**
|
|
3360
|
+
* Synced On
|
|
3361
|
+
* Format: date-time
|
|
3362
|
+
* @description Timestamp when record was synced to ClickHouse
|
|
3363
|
+
*/
|
|
3364
|
+
synced_on: Date;
|
|
3365
|
+
/**
|
|
3366
|
+
* Transport
|
|
3367
|
+
* @description Transport method (mx or smtp)
|
|
3368
|
+
*/
|
|
3369
|
+
transport: string;
|
|
3370
|
+
};
|
|
3371
|
+
/** EmailForwardLogEvent */
|
|
3372
|
+
EmailForwardLogEvent: {
|
|
3373
|
+
/**
|
|
3374
|
+
* Code
|
|
3375
|
+
* @description Event status code
|
|
3376
|
+
*/
|
|
3377
|
+
code: number;
|
|
3378
|
+
/**
|
|
3379
|
+
* Created
|
|
3380
|
+
* Format: date-time
|
|
3381
|
+
* @description Timestamp when the event occurred
|
|
3382
|
+
*/
|
|
3383
|
+
created: Date;
|
|
3384
|
+
/**
|
|
3385
|
+
* Id
|
|
3386
|
+
* @description Event ID
|
|
3387
|
+
*/
|
|
3388
|
+
id: string;
|
|
3389
|
+
/**
|
|
3390
|
+
* Local
|
|
3391
|
+
* @description ImprovMX server that processed the event
|
|
3392
|
+
*/
|
|
3393
|
+
local: string;
|
|
3394
|
+
/**
|
|
3395
|
+
* Message
|
|
3396
|
+
* @description Event message
|
|
3397
|
+
*/
|
|
3398
|
+
message: string;
|
|
3399
|
+
/**
|
|
3400
|
+
* Server
|
|
3401
|
+
* @description Server that processed the event
|
|
3402
|
+
*/
|
|
3403
|
+
server: string;
|
|
3404
|
+
/**
|
|
3405
|
+
* Status
|
|
3406
|
+
* @description Event status (QUEUED, DELIVERED, REFUSED, SOFT-BOUNCE, HARD-BOUNCE)
|
|
3407
|
+
*/
|
|
3408
|
+
status: string;
|
|
3409
|
+
};
|
|
3410
|
+
/**
|
|
3411
|
+
* EmailForwardLogSortField
|
|
3412
|
+
* @enum {string}
|
|
3413
|
+
*/
|
|
3414
|
+
EmailForwardLogSortField: "log_id" | "sender_email" | "recipient_email" | "forward_email" | "final_status" | "created_on" | "synced_on";
|
|
3246
3415
|
/** EmailForwardResponse */
|
|
3247
3416
|
EmailForwardResponse: {
|
|
3248
3417
|
/** Aliases */
|
|
@@ -4314,6 +4483,12 @@ export interface components {
|
|
|
4314
4483
|
/** Results */
|
|
4315
4484
|
results: components["schemas"]["DomainResponse"][];
|
|
4316
4485
|
};
|
|
4486
|
+
/** Pagination[EmailForwardLog] */
|
|
4487
|
+
Pagination_EmailForwardLog_: {
|
|
4488
|
+
pagination: components["schemas"]["PaginationMetadata"];
|
|
4489
|
+
/** Results */
|
|
4490
|
+
results: components["schemas"]["EmailForwardLog"][];
|
|
4491
|
+
};
|
|
4317
4492
|
/** Pagination[EmailForwardResponse] */
|
|
4318
4493
|
Pagination_EmailForwardResponse_: {
|
|
4319
4494
|
pagination: components["schemas"]["PaginationMetadata"];
|
|
@@ -5311,6 +5486,84 @@ export interface components {
|
|
|
5311
5486
|
}
|
|
5312
5487
|
export type $defs = Record<string, never>;
|
|
5313
5488
|
export interface operations {
|
|
5489
|
+
get_email_forward_logs_by_alias_v1_archive_email_forward_logs_alias__email_forward_alias_id__get: {
|
|
5490
|
+
parameters: {
|
|
5491
|
+
query?: {
|
|
5492
|
+
sort_by?: components["schemas"]["EmailForwardLogSortField"];
|
|
5493
|
+
sort_order?: components["schemas"]["SortOrder"];
|
|
5494
|
+
page_size?: number;
|
|
5495
|
+
page?: number;
|
|
5496
|
+
final_status?: string | null;
|
|
5497
|
+
start_time?: Date | null;
|
|
5498
|
+
end_time?: Date | null;
|
|
5499
|
+
};
|
|
5500
|
+
header?: never;
|
|
5501
|
+
path: {
|
|
5502
|
+
email_forward_alias_id: TypeId<"email_forward_alias">;
|
|
5503
|
+
};
|
|
5504
|
+
cookie?: never;
|
|
5505
|
+
};
|
|
5506
|
+
requestBody?: never;
|
|
5507
|
+
responses: {
|
|
5508
|
+
/** @description Successful Response */
|
|
5509
|
+
200: {
|
|
5510
|
+
headers: {
|
|
5511
|
+
[name: string]: unknown;
|
|
5512
|
+
};
|
|
5513
|
+
content: {
|
|
5514
|
+
"application/json": components["schemas"]["Pagination_EmailForwardLog_"];
|
|
5515
|
+
};
|
|
5516
|
+
};
|
|
5517
|
+
/** @description Validation Error */
|
|
5518
|
+
422: {
|
|
5519
|
+
headers: {
|
|
5520
|
+
[name: string]: unknown;
|
|
5521
|
+
};
|
|
5522
|
+
content: {
|
|
5523
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
5524
|
+
};
|
|
5525
|
+
};
|
|
5526
|
+
};
|
|
5527
|
+
};
|
|
5528
|
+
get_email_forward_logs_v1_archive_email_forward_logs__email_forward_id__get: {
|
|
5529
|
+
parameters: {
|
|
5530
|
+
query?: {
|
|
5531
|
+
sort_by?: components["schemas"]["EmailForwardLogSortField"];
|
|
5532
|
+
sort_order?: components["schemas"]["SortOrder"];
|
|
5533
|
+
page_size?: number;
|
|
5534
|
+
page?: number;
|
|
5535
|
+
final_status?: string | null;
|
|
5536
|
+
start_time?: Date | null;
|
|
5537
|
+
end_time?: Date | null;
|
|
5538
|
+
};
|
|
5539
|
+
header?: never;
|
|
5540
|
+
path: {
|
|
5541
|
+
email_forward_id: TypeId<"email_forward">;
|
|
5542
|
+
};
|
|
5543
|
+
cookie?: never;
|
|
5544
|
+
};
|
|
5545
|
+
requestBody?: never;
|
|
5546
|
+
responses: {
|
|
5547
|
+
/** @description Successful Response */
|
|
5548
|
+
200: {
|
|
5549
|
+
headers: {
|
|
5550
|
+
[name: string]: unknown;
|
|
5551
|
+
};
|
|
5552
|
+
content: {
|
|
5553
|
+
"application/json": components["schemas"]["Pagination_EmailForwardLog_"];
|
|
5554
|
+
};
|
|
5555
|
+
};
|
|
5556
|
+
/** @description Validation Error */
|
|
5557
|
+
422: {
|
|
5558
|
+
headers: {
|
|
5559
|
+
[name: string]: unknown;
|
|
5560
|
+
};
|
|
5561
|
+
content: {
|
|
5562
|
+
"application/problem+json": components["schemas"]["HTTPValidationError"];
|
|
5563
|
+
};
|
|
5564
|
+
};
|
|
5565
|
+
};
|
|
5566
|
+
};
|
|
5314
5567
|
get_object_logs_v1_archive_object_logs_get: {
|
|
5315
5568
|
parameters: {
|
|
5316
5569
|
query?: {
|