@pushwoosh/rpc-v2-http-api-data 0.2.448 → 0.2.449
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/data.js +81 -0
- package/emails_configurations.d.ts +43 -1
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -14578,6 +14578,18 @@ export const data = {
|
|
|
14578
14578
|
"method": "get",
|
|
14579
14579
|
"path": "/api/emails_configurations/domains:diagnose"
|
|
14580
14580
|
},
|
|
14581
|
+
"ConnectPostmaster": {
|
|
14582
|
+
"request": "pushwoosh.rpc_v2.emails_configurations.ConnectPostmasterRequest",
|
|
14583
|
+
"response": "pushwoosh.rpc_v2.emails_configurations.ConnectPostmasterResponse",
|
|
14584
|
+
"method": "post",
|
|
14585
|
+
"path": "/api/emails_configurations/domains:connect_postmaster"
|
|
14586
|
+
},
|
|
14587
|
+
"DisconnectPostmaster": {
|
|
14588
|
+
"request": "pushwoosh.rpc_v2.emails_configurations.DisconnectPostmasterRequest",
|
|
14589
|
+
"response": "pushwoosh.rpc_v2.emails_configurations.DisconnectPostmasterResponse",
|
|
14590
|
+
"method": "post",
|
|
14591
|
+
"path": "/api/emails_configurations/domains:disconnect_postmaster"
|
|
14592
|
+
},
|
|
14581
14593
|
"RestartDomainVerification": {
|
|
14582
14594
|
"request": "pushwoosh.rpc_v2.emails_configurations.RestartDomainVerificationRequest",
|
|
14583
14595
|
"response": "pushwoosh.rpc_v2.emails_configurations.RestartDomainVerificationResponse",
|
|
@@ -14586,6 +14598,35 @@ export const data = {
|
|
|
14586
14598
|
}
|
|
14587
14599
|
}
|
|
14588
14600
|
},
|
|
14601
|
+
"pushwoosh.rpc_v2.emails_configurations.Domain.PostmasterCompliance": {
|
|
14602
|
+
"type": "I",
|
|
14603
|
+
"fields": {
|
|
14604
|
+
"requirement": {
|
|
14605
|
+
"type": "string"
|
|
14606
|
+
},
|
|
14607
|
+
"status": {
|
|
14608
|
+
"type": "string"
|
|
14609
|
+
}
|
|
14610
|
+
}
|
|
14611
|
+
},
|
|
14612
|
+
"pushwoosh.rpc_v2.emails_configurations.Domain.Postmaster": {
|
|
14613
|
+
"type": "I",
|
|
14614
|
+
"fields": {
|
|
14615
|
+
"status": {
|
|
14616
|
+
"type": "string"
|
|
14617
|
+
},
|
|
14618
|
+
"verificationRecord": {
|
|
14619
|
+
"type": "string"
|
|
14620
|
+
},
|
|
14621
|
+
"statusChangedAt": {
|
|
14622
|
+
"type": "string"
|
|
14623
|
+
},
|
|
14624
|
+
"compliance": {
|
|
14625
|
+
"type": "pushwoosh.rpc_v2.emails_configurations.Domain.PostmasterCompliance",
|
|
14626
|
+
"array": true
|
|
14627
|
+
}
|
|
14628
|
+
}
|
|
14629
|
+
},
|
|
14589
14630
|
"pushwoosh.rpc_v2.emails_configurations.Domain.CName": {
|
|
14590
14631
|
"type": "I",
|
|
14591
14632
|
"fields": {
|
|
@@ -14626,6 +14667,9 @@ export const data = {
|
|
|
14626
14667
|
"cnamesYandex": {
|
|
14627
14668
|
"type": "pushwoosh.rpc_v2.emails_configurations.Domain.CName",
|
|
14628
14669
|
"array": true
|
|
14670
|
+
},
|
|
14671
|
+
"postmaster": {
|
|
14672
|
+
"type": "pushwoosh.rpc_v2.emails_configurations.Domain.Postmaster"
|
|
14629
14673
|
}
|
|
14630
14674
|
}
|
|
14631
14675
|
},
|
|
@@ -14658,6 +14702,9 @@ export const data = {
|
|
|
14658
14702
|
"emailDomains": {
|
|
14659
14703
|
"type": "pushwoosh.rpc_v2.emails_configurations.Domain",
|
|
14660
14704
|
"array": true
|
|
14705
|
+
},
|
|
14706
|
+
"postmasterAvailable": {
|
|
14707
|
+
"type": "boolean"
|
|
14661
14708
|
}
|
|
14662
14709
|
}
|
|
14663
14710
|
},
|
|
@@ -14848,6 +14895,40 @@ export const data = {
|
|
|
14848
14895
|
"type": "I",
|
|
14849
14896
|
"fields": {}
|
|
14850
14897
|
},
|
|
14898
|
+
"pushwoosh.rpc_v2.emails_configurations.ConnectPostmasterRequest": {
|
|
14899
|
+
"type": "I",
|
|
14900
|
+
"fields": {
|
|
14901
|
+
"application": {
|
|
14902
|
+
"type": "string"
|
|
14903
|
+
},
|
|
14904
|
+
"domain": {
|
|
14905
|
+
"type": "string"
|
|
14906
|
+
}
|
|
14907
|
+
}
|
|
14908
|
+
},
|
|
14909
|
+
"pushwoosh.rpc_v2.emails_configurations.ConnectPostmasterResponse": {
|
|
14910
|
+
"type": "I",
|
|
14911
|
+
"fields": {
|
|
14912
|
+
"postmaster": {
|
|
14913
|
+
"type": "pushwoosh.rpc_v2.emails_configurations.Domain.Postmaster"
|
|
14914
|
+
}
|
|
14915
|
+
}
|
|
14916
|
+
},
|
|
14917
|
+
"pushwoosh.rpc_v2.emails_configurations.DisconnectPostmasterRequest": {
|
|
14918
|
+
"type": "I",
|
|
14919
|
+
"fields": {
|
|
14920
|
+
"application": {
|
|
14921
|
+
"type": "string"
|
|
14922
|
+
},
|
|
14923
|
+
"domain": {
|
|
14924
|
+
"type": "string"
|
|
14925
|
+
}
|
|
14926
|
+
}
|
|
14927
|
+
},
|
|
14928
|
+
"pushwoosh.rpc_v2.emails_configurations.DisconnectPostmasterResponse": {
|
|
14929
|
+
"type": "I",
|
|
14930
|
+
"fields": {}
|
|
14931
|
+
},
|
|
14851
14932
|
"pushwoosh.rpc.errors.v3.I18NOptions": {
|
|
14852
14933
|
"type": "I",
|
|
14853
14934
|
"fields": {
|
|
@@ -8,6 +8,8 @@ export type EmailsConfigurationsService_UpsertCustomTrackingDomain = RpcMethod<U
|
|
|
8
8
|
export type EmailsConfigurationsService_DeleteCustomTrackingDomain = RpcMethod<DeleteCustomTrackingDomainRequest, DeleteCustomTrackingDomainResponse>;
|
|
9
9
|
export type EmailsConfigurationsService_VerifyCustomTrackingDomain = RpcMethod<VerifyCustomTrackingDomainRequest, VerifyCustomTrackingDomainResponse>;
|
|
10
10
|
export type EmailsConfigurationsService_DiagnoseDomain = RpcMethod<DiagnoseDomainRequest, DiagnoseDomainResponse>;
|
|
11
|
+
export type EmailsConfigurationsService_ConnectPostmaster = RpcMethod<ConnectPostmasterRequest, ConnectPostmasterResponse>;
|
|
12
|
+
export type EmailsConfigurationsService_DisconnectPostmaster = RpcMethod<DisconnectPostmasterRequest, DisconnectPostmasterResponse>;
|
|
11
13
|
export type EmailsConfigurationsService_RestartDomainVerification = RpcMethod<RestartDomainVerificationRequest, RestartDomainVerificationResponse>;
|
|
12
14
|
export interface EmailsConfigurationsService {
|
|
13
15
|
/** Lists the sender email domains configured for an application's account (format XXXXX-XXXXX) with their DKIM/SPF/DMARC statuses and the DNS CNAME records to add. Use to show email sender-domain setup; covers both Amazon SES and SMTP-service domains. */
|
|
@@ -28,9 +30,30 @@ export interface EmailsConfigurationsService {
|
|
|
28
30
|
VerifyCustomTrackingDomain: EmailsConfigurationsService_VerifyCustomTrackingDomain;
|
|
29
31
|
/** Checks live DNS for every record a sender email domain needs (DKIM CNAMEs, SPF, DMARC) and explains what is missing or mistyped, e.g. a record created with the domain appended twice. Read-only; use when a domain stays unverified. */
|
|
30
32
|
DiagnoseDomain: EmailsConfigurationsService_DiagnoseDomain;
|
|
33
|
+
/** Connects a sender email domain to Gmail Postmaster and returns the TXT record the customer publishes at the domain apex. Verification then runs on its own (hourly for 72 hours, then daily for 30 days) and on update_email_domain_statuses; once verified, Gmail spam rate and delivery errors of the whole domain appear on Home → Email. Calling it again after a failed verification restarts it. */
|
|
34
|
+
ConnectPostmaster: EmailsConfigurationsService_ConnectPostmaster;
|
|
35
|
+
/** Disconnects a sender email domain from Gmail Postmaster; its Gmail stats stop being collected. The customer can remove the TXT record afterwards. */
|
|
36
|
+
DisconnectPostmaster: EmailsConfigurationsService_DisconnectPostmaster;
|
|
31
37
|
/** Restarts Amazon SES DKIM verification for a sender email domain that SES gave up on (it stops checking 72 hours after the domain is added). DNS records stay the same; the SMTP selector is not touched. */
|
|
32
38
|
RestartDomainVerification: EmailsConfigurationsService_RestartDomainVerification;
|
|
33
39
|
}
|
|
40
|
+
export type Domain_PostmasterCompliance = {
|
|
41
|
+
/** dmarc_alignment, one_click_unsubscribe or honor_unsubscribe: the Gmail requirements our DNS checks do not cover. */
|
|
42
|
+
requirement: string;
|
|
43
|
+
/** compliant or needs_work. */
|
|
44
|
+
status: string;
|
|
45
|
+
};
|
|
46
|
+
/** Gmail Postmaster connection of the domain. */
|
|
47
|
+
export type Domain_Postmaster = {
|
|
48
|
+
/** not_connected, pending, verified or failed (gave up after 30 days without the TXT record). */
|
|
49
|
+
status: string;
|
|
50
|
+
/** TXT record value for the domain apex, google-site-verification=...; empty when not connected. */
|
|
51
|
+
verificationRecord: string;
|
|
52
|
+
/** RFC 3339 time the status last changed. */
|
|
53
|
+
statusChangedAt: string;
|
|
54
|
+
/** Filled once the domain is verified and Gmail has assessed it. */
|
|
55
|
+
compliance: Domain_PostmasterCompliance[];
|
|
56
|
+
};
|
|
34
57
|
export type Domain_CName = {
|
|
35
58
|
name: string;
|
|
36
59
|
value: string;
|
|
@@ -44,6 +67,7 @@ export type Domain = {
|
|
|
44
67
|
cnamesAmazon: Domain_CName[];
|
|
45
68
|
cnames: Domain_CName[];
|
|
46
69
|
cnamesYandex: Domain_CName[];
|
|
70
|
+
postmaster: Domain_Postmaster;
|
|
47
71
|
};
|
|
48
72
|
export type AddDomainRequest = {
|
|
49
73
|
/** Sender email domain to register (e.g. mail.example.com). */
|
|
@@ -58,6 +82,8 @@ export type GetDomainsRequest = {
|
|
|
58
82
|
};
|
|
59
83
|
export type GetDomainsResponse = {
|
|
60
84
|
emailDomains: Domain[];
|
|
85
|
+
/** Whether Gmail Postmaster can be connected in this installation. */
|
|
86
|
+
postmasterAvailable: boolean;
|
|
61
87
|
};
|
|
62
88
|
export type UpdateDomainStatusesRequest = {
|
|
63
89
|
/** Application code (format XXXXX-XXXXX). */
|
|
@@ -137,7 +163,7 @@ export type DnsRecordCheck = {
|
|
|
137
163
|
diagnosis: RecordDiagnosis;
|
|
138
164
|
/** Whether the provider the sender routes through needs this record to verify the domain. */
|
|
139
165
|
required: boolean;
|
|
140
|
-
/** dkim, spf or
|
|
166
|
+
/** dkim, spf, dmarc or postmaster. */
|
|
141
167
|
purpose: string;
|
|
142
168
|
/** amazon, smtp or yandex; empty for SPF and DMARC. */
|
|
143
169
|
provider: string;
|
|
@@ -156,3 +182,19 @@ export type RestartDomainVerificationRequest = {
|
|
|
156
182
|
domain?: string;
|
|
157
183
|
};
|
|
158
184
|
export type RestartDomainVerificationResponse = {};
|
|
185
|
+
export type ConnectPostmasterRequest = {
|
|
186
|
+
/** Application code (format XXXXX-XXXXX). */
|
|
187
|
+
application?: string;
|
|
188
|
+
/** Sender email domain of the account. */
|
|
189
|
+
domain?: string;
|
|
190
|
+
};
|
|
191
|
+
export type ConnectPostmasterResponse = {
|
|
192
|
+
postmaster: Domain_Postmaster;
|
|
193
|
+
};
|
|
194
|
+
export type DisconnectPostmasterRequest = {
|
|
195
|
+
/** Application code (format XXXXX-XXXXX). */
|
|
196
|
+
application?: string;
|
|
197
|
+
/** Sender email domain of the account. */
|
|
198
|
+
domain?: string;
|
|
199
|
+
};
|
|
200
|
+
export type DisconnectPostmasterResponse = {};
|