@maxim_mazurok/gapi.client.gmailpostmastertools-v1beta1 0.0.20260312 → 0.1.20260312
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/index.d.ts +37 -13
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -33,11 +33,25 @@ declare namespace gapi.client {
|
|
|
33
33
|
namespace gmailpostmastertools {
|
|
34
34
|
interface DeliveryError {
|
|
35
35
|
/** The class of delivery error. */
|
|
36
|
-
errorClass?:
|
|
36
|
+
errorClass?:
|
|
37
|
+
| 'DELIVERY_ERROR_CLASS_UNSPECIFIED'
|
|
38
|
+
| 'PERMANENT_ERROR'
|
|
39
|
+
| 'TEMPORARY_ERROR';
|
|
37
40
|
/** The ratio of messages where the error occurred vs all authenticated traffic. */
|
|
38
41
|
errorRatio?: number;
|
|
39
42
|
/** The type of delivery error. */
|
|
40
|
-
errorType?:
|
|
43
|
+
errorType?:
|
|
44
|
+
| 'DELIVERY_ERROR_TYPE_UNSPECIFIED'
|
|
45
|
+
| 'RATE_LIMIT_EXCEEDED'
|
|
46
|
+
| 'SUSPECTED_SPAM'
|
|
47
|
+
| 'CONTENT_SPAMMY'
|
|
48
|
+
| 'BAD_ATTACHMENT'
|
|
49
|
+
| 'BAD_DMARC_POLICY'
|
|
50
|
+
| 'LOW_IP_REPUTATION'
|
|
51
|
+
| 'LOW_DOMAIN_REPUTATION'
|
|
52
|
+
| 'IP_IN_RBL'
|
|
53
|
+
| 'DOMAIN_IN_RBL'
|
|
54
|
+
| 'BAD_PTR_RECORD';
|
|
41
55
|
}
|
|
42
56
|
interface Domain {
|
|
43
57
|
/** Timestamp when the user registered this domain. Assigned by the server. */
|
|
@@ -45,7 +59,7 @@ declare namespace gapi.client {
|
|
|
45
59
|
/** The resource name of the Domain. Domain names have the form `domains/{domain_name}`, where domain_name is the fully qualified domain name (i.e., mymail.mydomain.com). */
|
|
46
60
|
name?: string;
|
|
47
61
|
/** User’s permission for this domain. Assigned by the server. */
|
|
48
|
-
permission?:
|
|
62
|
+
permission?: 'PERMISSION_UNSPECIFIED' | 'OWNER' | 'READER' | 'NONE';
|
|
49
63
|
}
|
|
50
64
|
interface FeedbackLoop {
|
|
51
65
|
/** Feedback loop identifier that uniquely identifies individual campaigns. */
|
|
@@ -59,7 +73,12 @@ declare namespace gapi.client {
|
|
|
59
73
|
/** Total number of unique IPs in this reputation category. This metric only pertains to traffic that passed [SPF](http://www.openspf.org/) or [DKIM](http://www.dkim.org/). Deprecated to be complied with ApiLinter for Quantities. Use ip_count instead. */
|
|
60
74
|
numIps?: string;
|
|
61
75
|
/** The reputation category this IP reputation represents. */
|
|
62
|
-
reputation?:
|
|
76
|
+
reputation?:
|
|
77
|
+
| 'REPUTATION_CATEGORY_UNSPECIFIED'
|
|
78
|
+
| 'HIGH'
|
|
79
|
+
| 'MEDIUM'
|
|
80
|
+
| 'LOW'
|
|
81
|
+
| 'BAD';
|
|
63
82
|
/** A sample of IPs in this reputation category. */
|
|
64
83
|
sampleIps?: string[];
|
|
65
84
|
}
|
|
@@ -83,7 +102,12 @@ declare namespace gapi.client {
|
|
|
83
102
|
/** The ratio of mail that passed [DMARC](https://dmarc.org/) alignment checks vs all mail received from the domain that successfully authenticated with either of [SPF](http://www.openspf.org/) or [DKIM](http://www.dkim.org/). */
|
|
84
103
|
dmarcSuccessRatio?: number;
|
|
85
104
|
/** Reputation of the domain. */
|
|
86
|
-
domainReputation?:
|
|
105
|
+
domainReputation?:
|
|
106
|
+
| 'REPUTATION_CATEGORY_UNSPECIFIED'
|
|
107
|
+
| 'HIGH'
|
|
108
|
+
| 'MEDIUM'
|
|
109
|
+
| 'LOW'
|
|
110
|
+
| 'BAD';
|
|
87
111
|
/** The ratio of incoming mail (to Gmail), that passed secure transport (TLS) vs all mail received from that domain. This metric only pertains to traffic that passed [SPF](http://www.openspf.org/) or [DKIM](http://www.dkim.org/). */
|
|
88
112
|
inboundEncryptionRatio?: number;
|
|
89
113
|
/** Reputation information pertaining to the IP addresses of the email servers for the domain. There is exactly one entry for each reputation category except REPUTATION_CATEGORY_UNSPECIFIED. */
|
|
@@ -107,11 +131,11 @@ declare namespace gapi.client {
|
|
|
107
131
|
/** Get traffic statistics for a domain on a specific date. Returns PERMISSION_DENIED if user does not have permission to access TrafficStats for the domain. */
|
|
108
132
|
get(request?: {
|
|
109
133
|
/** V1 error format. */
|
|
110
|
-
'$.xgafv'?:
|
|
134
|
+
'$.xgafv'?: '1' | '2';
|
|
111
135
|
/** OAuth access token. */
|
|
112
136
|
access_token?: string;
|
|
113
137
|
/** Data format for response. */
|
|
114
|
-
alt?:
|
|
138
|
+
alt?: 'json' | 'media' | 'proto';
|
|
115
139
|
/** JSONP */
|
|
116
140
|
callback?: string;
|
|
117
141
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -134,11 +158,11 @@ declare namespace gapi.client {
|
|
|
134
158
|
/** List traffic statistics for all available days. Returns PERMISSION_DENIED if user does not have permission to access TrafficStats for the domain. */
|
|
135
159
|
list(request?: {
|
|
136
160
|
/** V1 error format. */
|
|
137
|
-
'$.xgafv'?:
|
|
161
|
+
'$.xgafv'?: '1' | '2';
|
|
138
162
|
/** OAuth access token. */
|
|
139
163
|
access_token?: string;
|
|
140
164
|
/** Data format for response. */
|
|
141
|
-
alt?:
|
|
165
|
+
alt?: 'json' | 'media' | 'proto';
|
|
142
166
|
/** JSONP */
|
|
143
167
|
callback?: string;
|
|
144
168
|
/** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
|
|
@@ -179,11 +203,11 @@ declare namespace gapi.client {
|
|
|
179
203
|
/** Gets a specific domain registered by the client. Returns NOT_FOUND if the domain does not exist. */
|
|
180
204
|
get(request?: {
|
|
181
205
|
/** V1 error format. */
|
|
182
|
-
'$.xgafv'?:
|
|
206
|
+
'$.xgafv'?: '1' | '2';
|
|
183
207
|
/** OAuth access token. */
|
|
184
208
|
access_token?: string;
|
|
185
209
|
/** Data format for response. */
|
|
186
|
-
alt?:
|
|
210
|
+
alt?: 'json' | 'media' | 'proto';
|
|
187
211
|
/** JSONP */
|
|
188
212
|
callback?: string;
|
|
189
213
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -206,11 +230,11 @@ declare namespace gapi.client {
|
|
|
206
230
|
/** Lists the domains that have been registered by the client. The order of domains in the response is unspecified and non-deterministic. Newly created domains will not necessarily be added to the end of this list. */
|
|
207
231
|
list(request?: {
|
|
208
232
|
/** V1 error format. */
|
|
209
|
-
'$.xgafv'?:
|
|
233
|
+
'$.xgafv'?: '1' | '2';
|
|
210
234
|
/** OAuth access token. */
|
|
211
235
|
access_token?: string;
|
|
212
236
|
/** Data format for response. */
|
|
213
|
-
alt?:
|
|
237
|
+
alt?: 'json' | 'media' | 'proto';
|
|
214
238
|
/** JSONP */
|
|
215
239
|
callback?: string;
|
|
216
240
|
/** Selector specifying which fields to include in a partial response. */
|
package/package.json
CHANGED