@pushwoosh/rpc-v2-http-api-data 0.2.8 → 0.2.10

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 CHANGED
@@ -6485,12 +6485,6 @@ export const data = {
6485
6485
  "type": "S",
6486
6486
  "key": "deliverabilityChecker",
6487
6487
  "methods": {
6488
- "CheckDeliverability": {
6489
- "request": "pushwoosh.rpc_v2.deliverability_checker.CheckDeliverabilityRequest",
6490
- "response": "pushwoosh.rpc_v2.deliverability_checker.DeliverabilityReport",
6491
- "method": "post",
6492
- "path": "/api/deliverability_checker:check"
6493
- },
6494
6488
  "CreateSandboxCheck": {
6495
6489
  "request": "pushwoosh.rpc_v2.deliverability_checker.CreateSandboxCheckRequest",
6496
6490
  "response": "pushwoosh.rpc_v2.deliverability_checker.CreateSandboxCheckResponse",
@@ -6505,23 +6499,6 @@ export const data = {
6505
6499
  }
6506
6500
  }
6507
6501
  },
6508
- "pushwoosh.rpc_v2.deliverability_checker.CheckDeliverabilityRequest": {
6509
- "type": "I",
6510
- "fields": {
6511
- "applicationCode": {
6512
- "type": "string"
6513
- },
6514
- "presetCode": {
6515
- "type": "string"
6516
- },
6517
- "testDeviceHwid": {
6518
- "type": "string"
6519
- },
6520
- "overrides": {
6521
- "type": "pushwoosh.rpc_v2.deliverability_checker.EmailOverrides"
6522
- }
6523
- }
6524
- },
6525
6502
  "pushwoosh.rpc_v2.deliverability_checker.CreateSandboxCheckRequest": {
6526
6503
  "type": "I",
6527
6504
  "fields": {
@@ -6671,8 +6648,7 @@ export const data = {
6671
6648
  "values": [
6672
6649
  "GROUP_ID_UNSPECIFIED",
6673
6650
  "GROUP_ID_COMPLIANCE",
6674
- "GROUP_ID_CONTENT",
6675
- "GROUP_ID_INBOX"
6651
+ "GROUP_ID_CONTENT"
6676
6652
  ]
6677
6653
  },
6678
6654
  "pushwoosh.rpc_v2.deliverability_checker.Check": {
@@ -6690,9 +6666,6 @@ export const data = {
6690
6666
  "message": {
6691
6667
  "type": "string"
6692
6668
  },
6693
- "preliminary": {
6694
- "type": "boolean"
6695
- },
6696
6669
  "errorCount": {
6697
6670
  "type": "number"
6698
6671
  },
@@ -6726,21 +6699,6 @@ export const data = {
6726
6699
  "spamScore": {
6727
6700
  "type": "pushwoosh.rpc_v2.deliverability_checker.SpamScoreDetails"
6728
6701
  },
6729
- "deliveryResponse": {
6730
- "type": "pushwoosh.rpc_v2.deliverability_checker.DeliveryResponseDetails"
6731
- },
6732
- "dkimSignature": {
6733
- "type": "pushwoosh.rpc_v2.deliverability_checker.DkimSignatureDetails"
6734
- },
6735
- "sendingIpAndPool": {
6736
- "type": "pushwoosh.rpc_v2.deliverability_checker.SendingIpPoolDetails"
6737
- },
6738
- "spf": {
6739
- "type": "pushwoosh.rpc_v2.deliverability_checker.SpfDetails"
6740
- },
6741
- "dmarc": {
6742
- "type": "pushwoosh.rpc_v2.deliverability_checker.DmarcDetails"
6743
- },
6744
6702
  "subjectLine": {
6745
6703
  "type": "pushwoosh.rpc_v2.deliverability_checker.SubjectLineDetails"
6746
6704
  }
@@ -6757,11 +6715,6 @@ export const data = {
6757
6715
  "safeBrowsing",
6758
6716
  "trackerConsistency",
6759
6717
  "spamScore",
6760
- "deliveryResponse",
6761
- "dkimSignature",
6762
- "sendingIpAndPool",
6763
- "spf",
6764
- "dmarc",
6765
6718
  "subjectLine"
6766
6719
  ]
6767
6720
  }
@@ -6936,97 +6889,6 @@ export const data = {
6936
6889
  }
6937
6890
  }
6938
6891
  },
6939
- "pushwoosh.rpc_v2.deliverability_checker.DeliveryResponseDetails": {
6940
- "type": "I",
6941
- "fields": {
6942
- "attempts": {
6943
- "type": "pushwoosh.rpc_v2.deliverability_checker.DeliveryAttempt",
6944
- "array": true
6945
- }
6946
- }
6947
- },
6948
- "pushwoosh.rpc_v2.deliverability_checker.DeliveryAttempt": {
6949
- "type": "I",
6950
- "fields": {
6951
- "recipientDomain": {
6952
- "type": "string"
6953
- },
6954
- "smtpStatus": {
6955
- "type": "number"
6956
- },
6957
- "smtpMessage": {
6958
- "type": "string"
6959
- },
6960
- "level": {
6961
- "type": "pushwoosh.rpc_v2.deliverability_checker.Level"
6962
- }
6963
- }
6964
- },
6965
- "pushwoosh.rpc_v2.deliverability_checker.DkimSignatureDetails": {
6966
- "type": "I",
6967
- "fields": {
6968
- "valid": {
6969
- "type": "boolean"
6970
- },
6971
- "domain": {
6972
- "type": "string"
6973
- },
6974
- "selector": {
6975
- "type": "string"
6976
- },
6977
- "algorithm": {
6978
- "type": "string"
6979
- },
6980
- "reason": {
6981
- "type": "string"
6982
- }
6983
- }
6984
- },
6985
- "pushwoosh.rpc_v2.deliverability_checker.SendingIpPoolDetails": {
6986
- "type": "I",
6987
- "fields": {
6988
- "ip": {
6989
- "type": "string"
6990
- },
6991
- "poolName": {
6992
- "type": "string"
6993
- }
6994
- }
6995
- },
6996
- "pushwoosh.rpc_v2.deliverability_checker.SpfDetails": {
6997
- "type": "I",
6998
- "fields": {
6999
- "result": {
7000
- "type": "string"
7001
- },
7002
- "fromDomain": {
7003
- "type": "string"
7004
- },
7005
- "ip": {
7006
- "type": "string"
7007
- },
7008
- "reason": {
7009
- "type": "string"
7010
- }
7011
- }
7012
- },
7013
- "pushwoosh.rpc_v2.deliverability_checker.DmarcDetails": {
7014
- "type": "I",
7015
- "fields": {
7016
- "result": {
7017
- "type": "string"
7018
- },
7019
- "fromDomain": {
7020
- "type": "string"
7021
- },
7022
- "policy": {
7023
- "type": "string"
7024
- },
7025
- "reason": {
7026
- "type": "string"
7027
- }
7028
- }
7029
- },
7030
6892
  "pushwoosh.rpc_v2.deliverability_checker.SubjectLineDetails": {
7031
6893
  "type": "I",
7032
6894
  "fields": {
@@ -1,18 +1,10 @@
1
1
  import { RpcMethod } from './commonTypes';
2
- export type DeliverabilityCheckerService_CheckDeliverability = RpcMethod<CheckDeliverabilityRequest, DeliverabilityReport>;
3
2
  export type DeliverabilityCheckerService_CreateSandboxCheck = RpcMethod<CreateSandboxCheckRequest, CreateSandboxCheckResponse>;
4
3
  export type DeliverabilityCheckerService_GetSandboxResult = RpcMethod<GetSandboxResultRequest, GetSandboxResultResponse>;
5
4
  export interface DeliverabilityCheckerService {
6
- CheckDeliverability: DeliverabilityCheckerService_CheckDeliverability;
7
5
  CreateSandboxCheck: DeliverabilityCheckerService_CreateSandboxCheck;
8
6
  GetSandboxResult: DeliverabilityCheckerService_GetSandboxResult;
9
7
  }
10
- export type CheckDeliverabilityRequest = {
11
- applicationCode?: string;
12
- presetCode?: string;
13
- testDeviceHwid?: string;
14
- overrides?: EmailOverrides;
15
- };
16
8
  export type CreateSandboxCheckRequest = {
17
9
  applicationCode?: string;
18
10
  presetCode?: string;
@@ -63,7 +55,7 @@ export type CheckGroup = {
63
55
  level: Level;
64
56
  checks: Check[];
65
57
  };
66
- export type GroupId = 'GROUP_ID_UNSPECIFIED' | 'GROUP_ID_COMPLIANCE' | 'GROUP_ID_CONTENT' | 'GROUP_ID_INBOX';
58
+ export type GroupId = 'GROUP_ID_UNSPECIFIED' | 'GROUP_ID_COMPLIANCE' | 'GROUP_ID_CONTENT';
67
59
  export type Check_details_size = {
68
60
  type: 'size';
69
61
  data: SizeDetails;
@@ -100,37 +92,16 @@ export type Check_details_spamScore = {
100
92
  type: 'spamScore';
101
93
  data: SpamScoreDetails;
102
94
  };
103
- export type Check_details_deliveryResponse = {
104
- type: 'deliveryResponse';
105
- data: DeliveryResponseDetails;
106
- };
107
- export type Check_details_dkimSignature = {
108
- type: 'dkimSignature';
109
- data: DkimSignatureDetails;
110
- };
111
- export type Check_details_sendingIpAndPool = {
112
- type: 'sendingIpAndPool';
113
- data: SendingIpPoolDetails;
114
- };
115
- export type Check_details_spf = {
116
- type: 'spf';
117
- data: SpfDetails;
118
- };
119
- export type Check_details_dmarc = {
120
- type: 'dmarc';
121
- data: DmarcDetails;
122
- };
123
95
  export type Check_details_subjectLine = {
124
96
  type: 'subjectLine';
125
97
  data: SubjectLineDetails;
126
98
  };
127
- export type Check_details = Check_details_size | Check_details_listUnsubscribe | Check_details_unsubscribeUrlHealth | Check_details_visibleUnsubscribeLink | Check_details_physicalAddress | Check_details_brokenLinks | Check_details_safeBrowsing | Check_details_trackerConsistency | Check_details_spamScore | Check_details_deliveryResponse | Check_details_dkimSignature | Check_details_sendingIpAndPool | Check_details_spf | Check_details_dmarc | Check_details_subjectLine;
99
+ export type Check_details = Check_details_size | Check_details_listUnsubscribe | Check_details_unsubscribeUrlHealth | Check_details_visibleUnsubscribeLink | Check_details_physicalAddress | Check_details_brokenLinks | Check_details_safeBrowsing | Check_details_trackerConsistency | Check_details_spamScore | Check_details_subjectLine;
128
100
  export type Check = {
129
101
  ruleId: string;
130
102
  level: Level;
131
103
  status: CheckStatus;
132
104
  message: string;
133
- preliminary: boolean;
134
105
  errorCount: number;
135
106
  warningCount: number;
136
107
  details: Check_details;
@@ -194,38 +165,6 @@ export type SpamScoreSymbol = {
194
165
  rule: string;
195
166
  weight: number;
196
167
  };
197
- export type DeliveryResponseDetails = {
198
- attempts: DeliveryAttempt[];
199
- };
200
- export type DeliveryAttempt = {
201
- recipientDomain: string;
202
- smtpStatus: number;
203
- smtpMessage: string;
204
- level: Level;
205
- };
206
- export type DkimSignatureDetails = {
207
- valid: boolean;
208
- domain: string;
209
- selector: string;
210
- algorithm: string;
211
- reason: string;
212
- };
213
- export type SendingIpPoolDetails = {
214
- ip: string;
215
- poolName: string;
216
- };
217
- export type SpfDetails = {
218
- result: string;
219
- fromDomain: string;
220
- ip: string;
221
- reason: string;
222
- };
223
- export type DmarcDetails = {
224
- result: string;
225
- fromDomain: string;
226
- policy: string;
227
- reason: string;
228
- };
229
168
  export type SubjectLineDetails = {
230
169
  filledLocales: string[];
231
170
  emptyLocales: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",