@pushwoosh/rpc-v2-http-api-data 0.1.990 → 0.1.992

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
@@ -6280,6 +6280,512 @@ export const data = {
6280
6280
  }
6281
6281
  }
6282
6282
  },
6283
+ "pushwoosh.rpc_v2.deliverability_checker.DeliverabilityCheckerService": {
6284
+ "type": "S",
6285
+ "key": "deliverabilityChecker",
6286
+ "methods": {
6287
+ "CheckDeliverability": {
6288
+ "request": "pushwoosh.rpc_v2.deliverability_checker.CheckDeliverabilityRequest",
6289
+ "response": "pushwoosh.rpc_v2.deliverability_checker.DeliverabilityReport",
6290
+ "method": "post",
6291
+ "path": "/api/deliverability_checker:check"
6292
+ },
6293
+ "CreateSandboxCheck": {
6294
+ "request": "pushwoosh.rpc_v2.deliverability_checker.CreateSandboxCheckRequest",
6295
+ "response": "pushwoosh.rpc_v2.deliverability_checker.CreateSandboxCheckResponse",
6296
+ "method": "post",
6297
+ "path": "/api/deliverability_checker:sandbox"
6298
+ },
6299
+ "GetSandboxResult": {
6300
+ "request": "pushwoosh.rpc_v2.deliverability_checker.GetSandboxResultRequest",
6301
+ "response": "pushwoosh.rpc_v2.deliverability_checker.GetSandboxResultResponse",
6302
+ "method": "get",
6303
+ "path": "/api/deliverability_checker:sandbox/{message_code}"
6304
+ }
6305
+ }
6306
+ },
6307
+ "pushwoosh.rpc_v2.deliverability_checker.CheckDeliverabilityRequest": {
6308
+ "type": "I",
6309
+ "fields": {
6310
+ "applicationCode": {
6311
+ "type": "string"
6312
+ },
6313
+ "presetCode": {
6314
+ "type": "string"
6315
+ },
6316
+ "testDeviceHwid": {
6317
+ "type": "string"
6318
+ },
6319
+ "overrides": {
6320
+ "type": "pushwoosh.rpc_v2.deliverability_checker.EmailOverrides"
6321
+ }
6322
+ }
6323
+ },
6324
+ "pushwoosh.rpc_v2.deliverability_checker.CreateSandboxCheckRequest": {
6325
+ "type": "I",
6326
+ "fields": {
6327
+ "applicationCode": {
6328
+ "type": "string"
6329
+ },
6330
+ "presetCode": {
6331
+ "type": "string"
6332
+ },
6333
+ "testDeviceHwid": {
6334
+ "type": "string"
6335
+ },
6336
+ "overrides": {
6337
+ "type": "pushwoosh.rpc_v2.deliverability_checker.EmailOverrides"
6338
+ }
6339
+ }
6340
+ },
6341
+ "pushwoosh.rpc_v2.deliverability_checker.EmailOverrides": {
6342
+ "type": "I",
6343
+ "fields": {
6344
+ "from": {
6345
+ "type": "pushwoosh.rpc_v2.deliverability_checker.EmailAddress"
6346
+ },
6347
+ "replyTo": {
6348
+ "type": "pushwoosh.rpc_v2.deliverability_checker.EmailAddress"
6349
+ },
6350
+ "subjects": {
6351
+ "type": "string",
6352
+ "mapKeyType": "string"
6353
+ }
6354
+ }
6355
+ },
6356
+ "pushwoosh.rpc_v2.deliverability_checker.EmailAddress": {
6357
+ "type": "I",
6358
+ "fields": {
6359
+ "name": {
6360
+ "type": "string"
6361
+ },
6362
+ "email": {
6363
+ "type": "string"
6364
+ }
6365
+ }
6366
+ },
6367
+ "pushwoosh.rpc_v2.deliverability_checker.CreateSandboxCheckResponse": {
6368
+ "type": "I",
6369
+ "fields": {
6370
+ "messageCode": {
6371
+ "type": "string"
6372
+ }
6373
+ }
6374
+ },
6375
+ "pushwoosh.rpc_v2.deliverability_checker.GetSandboxResultRequest": {
6376
+ "type": "I",
6377
+ "fields": {
6378
+ "messageCode": {
6379
+ "type": "string"
6380
+ }
6381
+ }
6382
+ },
6383
+ "pushwoosh.rpc_v2.deliverability_checker.GetSandboxResultResponse": {
6384
+ "type": "I",
6385
+ "fields": {
6386
+ "state": {
6387
+ "type": "pushwoosh.rpc_v2.deliverability_checker.SandboxState"
6388
+ },
6389
+ "recipient": {
6390
+ "type": "string"
6391
+ },
6392
+ "delivery": {
6393
+ "type": "pushwoosh.rpc_v2.deliverability_checker.DeliveryResult"
6394
+ },
6395
+ "report": {
6396
+ "type": "pushwoosh.rpc_v2.deliverability_checker.DeliverabilityReport"
6397
+ },
6398
+ "errorMessage": {
6399
+ "type": "string"
6400
+ }
6401
+ }
6402
+ },
6403
+ "pushwoosh.rpc_v2.deliverability_checker.SandboxState": {
6404
+ "type": "E",
6405
+ "values": [
6406
+ "SANDBOX_STATE_UNSPECIFIED",
6407
+ "SANDBOX_PENDING",
6408
+ "SANDBOX_DONE",
6409
+ "SANDBOX_FAILED",
6410
+ "SANDBOX_NOT_FOUND"
6411
+ ]
6412
+ },
6413
+ "pushwoosh.rpc_v2.deliverability_checker.DeliveryResult": {
6414
+ "type": "I",
6415
+ "fields": {
6416
+ "delivered": {
6417
+ "type": "boolean"
6418
+ },
6419
+ "smtpStatus": {
6420
+ "type": "number"
6421
+ },
6422
+ "smtpMessage": {
6423
+ "type": "string"
6424
+ }
6425
+ }
6426
+ },
6427
+ "pushwoosh.rpc_v2.deliverability_checker.DeliverabilityReport": {
6428
+ "type": "I",
6429
+ "fields": {
6430
+ "groups": {
6431
+ "type": "pushwoosh.rpc_v2.deliverability_checker.CheckGroup",
6432
+ "array": true
6433
+ },
6434
+ "summary": {
6435
+ "type": "pushwoosh.rpc_v2.deliverability_checker.Summary"
6436
+ }
6437
+ }
6438
+ },
6439
+ "pushwoosh.rpc_v2.deliverability_checker.Summary": {
6440
+ "type": "I",
6441
+ "fields": {
6442
+ "level": {
6443
+ "type": "pushwoosh.rpc_v2.deliverability_checker.Level"
6444
+ },
6445
+ "errors": {
6446
+ "type": "number"
6447
+ },
6448
+ "warnings": {
6449
+ "type": "number"
6450
+ }
6451
+ }
6452
+ },
6453
+ "pushwoosh.rpc_v2.deliverability_checker.CheckGroup": {
6454
+ "type": "I",
6455
+ "fields": {
6456
+ "groupId": {
6457
+ "type": "pushwoosh.rpc_v2.deliverability_checker.GroupId"
6458
+ },
6459
+ "level": {
6460
+ "type": "pushwoosh.rpc_v2.deliverability_checker.Level"
6461
+ },
6462
+ "checks": {
6463
+ "type": "pushwoosh.rpc_v2.deliverability_checker.Check",
6464
+ "array": true
6465
+ }
6466
+ }
6467
+ },
6468
+ "pushwoosh.rpc_v2.deliverability_checker.GroupId": {
6469
+ "type": "E",
6470
+ "values": [
6471
+ "GROUP_ID_UNSPECIFIED",
6472
+ "GROUP_ID_COMPLIANCE",
6473
+ "GROUP_ID_CONTENT",
6474
+ "GROUP_ID_INBOX"
6475
+ ]
6476
+ },
6477
+ "pushwoosh.rpc_v2.deliverability_checker.Check": {
6478
+ "type": "I",
6479
+ "fields": {
6480
+ "ruleId": {
6481
+ "type": "string"
6482
+ },
6483
+ "level": {
6484
+ "type": "pushwoosh.rpc_v2.deliverability_checker.Level"
6485
+ },
6486
+ "status": {
6487
+ "type": "pushwoosh.rpc_v2.deliverability_checker.CheckStatus"
6488
+ },
6489
+ "message": {
6490
+ "type": "string"
6491
+ },
6492
+ "preliminary": {
6493
+ "type": "boolean"
6494
+ },
6495
+ "size": {
6496
+ "type": "pushwoosh.rpc_v2.deliverability_checker.SizeDetails"
6497
+ },
6498
+ "listUnsubscribe": {
6499
+ "type": "pushwoosh.rpc_v2.deliverability_checker.ListUnsubscribeDetails"
6500
+ },
6501
+ "unsubscribeUrlHealth": {
6502
+ "type": "pushwoosh.rpc_v2.deliverability_checker.UnsubscribeUrlHealthDetails"
6503
+ },
6504
+ "visibleUnsubscribeLink": {
6505
+ "type": "pushwoosh.rpc_v2.deliverability_checker.VisibleUnsubLinkDetails"
6506
+ },
6507
+ "physicalAddress": {
6508
+ "type": "pushwoosh.rpc_v2.deliverability_checker.PhysicalAddressDetails"
6509
+ },
6510
+ "brokenLinks": {
6511
+ "type": "pushwoosh.rpc_v2.deliverability_checker.BrokenLinksDetails"
6512
+ },
6513
+ "safeBrowsing": {
6514
+ "type": "pushwoosh.rpc_v2.deliverability_checker.SafeBrowsingDetails"
6515
+ },
6516
+ "trackerConsistency": {
6517
+ "type": "pushwoosh.rpc_v2.deliverability_checker.TrackerConsistencyDetails"
6518
+ },
6519
+ "spamScore": {
6520
+ "type": "pushwoosh.rpc_v2.deliverability_checker.SpamScoreDetails"
6521
+ },
6522
+ "deliveryResponse": {
6523
+ "type": "pushwoosh.rpc_v2.deliverability_checker.DeliveryResponseDetails"
6524
+ },
6525
+ "dkimSignature": {
6526
+ "type": "pushwoosh.rpc_v2.deliverability_checker.DkimSignatureDetails"
6527
+ },
6528
+ "sendingIpAndPool": {
6529
+ "type": "pushwoosh.rpc_v2.deliverability_checker.SendingIpPoolDetails"
6530
+ }
6531
+ },
6532
+ "oneofs": {
6533
+ "details": {
6534
+ "oneof": [
6535
+ "size",
6536
+ "listUnsubscribe",
6537
+ "unsubscribeUrlHealth",
6538
+ "visibleUnsubscribeLink",
6539
+ "physicalAddress",
6540
+ "brokenLinks",
6541
+ "safeBrowsing",
6542
+ "trackerConsistency",
6543
+ "spamScore",
6544
+ "deliveryResponse",
6545
+ "dkimSignature",
6546
+ "sendingIpAndPool"
6547
+ ]
6548
+ }
6549
+ }
6550
+ },
6551
+ "pushwoosh.rpc_v2.deliverability_checker.SizeDetails": {
6552
+ "type": "I",
6553
+ "fields": {
6554
+ "actualBytes": {
6555
+ "type": "number"
6556
+ },
6557
+ "limitWarning": {
6558
+ "type": "number"
6559
+ },
6560
+ "limitError": {
6561
+ "type": "number"
6562
+ }
6563
+ }
6564
+ },
6565
+ "pushwoosh.rpc_v2.deliverability_checker.ListUnsubscribeDetails": {
6566
+ "type": "I",
6567
+ "fields": {
6568
+ "missingHeader": {
6569
+ "type": "boolean"
6570
+ },
6571
+ "missingHttps": {
6572
+ "type": "boolean"
6573
+ },
6574
+ "missingPostOneClick": {
6575
+ "type": "boolean"
6576
+ }
6577
+ }
6578
+ },
6579
+ "pushwoosh.rpc_v2.deliverability_checker.UnsubscribeUrlHealthDetails": {
6580
+ "type": "I",
6581
+ "fields": {
6582
+ "url": {
6583
+ "type": "string"
6584
+ },
6585
+ "statusCode": {
6586
+ "type": "number"
6587
+ },
6588
+ "timeout": {
6589
+ "type": "boolean"
6590
+ },
6591
+ "reason": {
6592
+ "type": "string"
6593
+ }
6594
+ }
6595
+ },
6596
+ "pushwoosh.rpc_v2.deliverability_checker.VisibleUnsubLinkDetails": {
6597
+ "type": "I",
6598
+ "fields": {
6599
+ "found": {
6600
+ "type": "boolean"
6601
+ }
6602
+ }
6603
+ },
6604
+ "pushwoosh.rpc_v2.deliverability_checker.PhysicalAddressDetails": {
6605
+ "type": "I",
6606
+ "fields": {
6607
+ "found": {
6608
+ "type": "boolean"
6609
+ },
6610
+ "matchedPattern": {
6611
+ "type": "string"
6612
+ }
6613
+ }
6614
+ },
6615
+ "pushwoosh.rpc_v2.deliverability_checker.BrokenLinksDetails": {
6616
+ "type": "I",
6617
+ "fields": {
6618
+ "items": {
6619
+ "type": "pushwoosh.rpc_v2.deliverability_checker.BrokenLinkItem",
6620
+ "array": true
6621
+ },
6622
+ "timeouts": {
6623
+ "type": "number"
6624
+ }
6625
+ }
6626
+ },
6627
+ "pushwoosh.rpc_v2.deliverability_checker.BrokenLinkItem": {
6628
+ "type": "I",
6629
+ "fields": {
6630
+ "url": {
6631
+ "type": "string"
6632
+ },
6633
+ "reason": {
6634
+ "type": "string"
6635
+ },
6636
+ "statusCode": {
6637
+ "type": "number"
6638
+ },
6639
+ "redirects": {
6640
+ "type": "number"
6641
+ }
6642
+ }
6643
+ },
6644
+ "pushwoosh.rpc_v2.deliverability_checker.SafeBrowsingDetails": {
6645
+ "type": "I",
6646
+ "fields": {
6647
+ "items": {
6648
+ "type": "pushwoosh.rpc_v2.deliverability_checker.SafeBrowsingItem",
6649
+ "array": true
6650
+ },
6651
+ "malwareCheckStatus": {
6652
+ "type": "string"
6653
+ }
6654
+ }
6655
+ },
6656
+ "pushwoosh.rpc_v2.deliverability_checker.SafeBrowsingItem": {
6657
+ "type": "I",
6658
+ "fields": {
6659
+ "url": {
6660
+ "type": "string"
6661
+ },
6662
+ "category": {
6663
+ "type": "string"
6664
+ },
6665
+ "source": {
6666
+ "type": "string"
6667
+ }
6668
+ }
6669
+ },
6670
+ "pushwoosh.rpc_v2.deliverability_checker.TrackerConsistencyDetails": {
6671
+ "type": "I",
6672
+ "fields": {
6673
+ "unwrappedCount": {
6674
+ "type": "number"
6675
+ },
6676
+ "totalCount": {
6677
+ "type": "number"
6678
+ },
6679
+ "unwrappedUrls": {
6680
+ "type": "string",
6681
+ "array": true
6682
+ }
6683
+ }
6684
+ },
6685
+ "pushwoosh.rpc_v2.deliverability_checker.SpamScoreDetails": {
6686
+ "type": "I",
6687
+ "fields": {
6688
+ "score": {
6689
+ "type": "number"
6690
+ },
6691
+ "action": {
6692
+ "type": "string"
6693
+ },
6694
+ "breakdown": {
6695
+ "type": "pushwoosh.rpc_v2.deliverability_checker.SpamScoreSymbol",
6696
+ "array": true
6697
+ },
6698
+ "disclaimer": {
6699
+ "type": "string"
6700
+ }
6701
+ }
6702
+ },
6703
+ "pushwoosh.rpc_v2.deliverability_checker.SpamScoreSymbol": {
6704
+ "type": "I",
6705
+ "fields": {
6706
+ "rule": {
6707
+ "type": "string"
6708
+ },
6709
+ "weight": {
6710
+ "type": "number"
6711
+ }
6712
+ }
6713
+ },
6714
+ "pushwoosh.rpc_v2.deliverability_checker.DeliveryResponseDetails": {
6715
+ "type": "I",
6716
+ "fields": {
6717
+ "attempts": {
6718
+ "type": "pushwoosh.rpc_v2.deliverability_checker.DeliveryAttempt",
6719
+ "array": true
6720
+ }
6721
+ }
6722
+ },
6723
+ "pushwoosh.rpc_v2.deliverability_checker.DeliveryAttempt": {
6724
+ "type": "I",
6725
+ "fields": {
6726
+ "recipientDomain": {
6727
+ "type": "string"
6728
+ },
6729
+ "smtpStatus": {
6730
+ "type": "number"
6731
+ },
6732
+ "smtpMessage": {
6733
+ "type": "string"
6734
+ },
6735
+ "level": {
6736
+ "type": "pushwoosh.rpc_v2.deliverability_checker.Level"
6737
+ }
6738
+ }
6739
+ },
6740
+ "pushwoosh.rpc_v2.deliverability_checker.DkimSignatureDetails": {
6741
+ "type": "I",
6742
+ "fields": {
6743
+ "valid": {
6744
+ "type": "boolean"
6745
+ },
6746
+ "domain": {
6747
+ "type": "string"
6748
+ },
6749
+ "selector": {
6750
+ "type": "string"
6751
+ },
6752
+ "algorithm": {
6753
+ "type": "string"
6754
+ },
6755
+ "reason": {
6756
+ "type": "string"
6757
+ }
6758
+ }
6759
+ },
6760
+ "pushwoosh.rpc_v2.deliverability_checker.SendingIpPoolDetails": {
6761
+ "type": "I",
6762
+ "fields": {
6763
+ "ip": {
6764
+ "type": "string"
6765
+ },
6766
+ "poolName": {
6767
+ "type": "string"
6768
+ }
6769
+ }
6770
+ },
6771
+ "pushwoosh.rpc_v2.deliverability_checker.Level": {
6772
+ "type": "E",
6773
+ "values": [
6774
+ "UNSPECIFIED",
6775
+ "INFO",
6776
+ "WARNING",
6777
+ "ERROR"
6778
+ ]
6779
+ },
6780
+ "pushwoosh.rpc_v2.deliverability_checker.CheckStatus": {
6781
+ "type": "E",
6782
+ "values": [
6783
+ "CHECK_STATUS_UNSPECIFIED",
6784
+ "CHECK_STATUS_OK",
6785
+ "CHECK_STATUS_UNAVAILABLE",
6786
+ "CHECK_STATUS_TIMEOUT"
6787
+ ]
6788
+ },
6283
6789
  "pushwoosh.rpc_v2.devices.DevicesService": {
6284
6790
  "type": "S",
6285
6791
  "key": "devices",
@@ -0,0 +1,202 @@
1
+ import { RpcMethod } from './commonTypes';
2
+ export type DeliverabilityCheckerService_CheckDeliverability = RpcMethod<CheckDeliverabilityRequest, DeliverabilityReport>;
3
+ export type DeliverabilityCheckerService_CreateSandboxCheck = RpcMethod<CreateSandboxCheckRequest, CreateSandboxCheckResponse>;
4
+ export type DeliverabilityCheckerService_GetSandboxResult = RpcMethod<GetSandboxResultRequest, GetSandboxResultResponse>;
5
+ export interface DeliverabilityCheckerService {
6
+ CheckDeliverability: DeliverabilityCheckerService_CheckDeliverability;
7
+ CreateSandboxCheck: DeliverabilityCheckerService_CreateSandboxCheck;
8
+ GetSandboxResult: DeliverabilityCheckerService_GetSandboxResult;
9
+ }
10
+ export type CheckDeliverabilityRequest = {
11
+ applicationCode?: string;
12
+ presetCode?: string;
13
+ testDeviceHwid?: string;
14
+ overrides?: EmailOverrides;
15
+ };
16
+ export type CreateSandboxCheckRequest = {
17
+ applicationCode?: string;
18
+ presetCode?: string;
19
+ testDeviceHwid?: string;
20
+ overrides?: EmailOverrides;
21
+ };
22
+ export type EmailOverrides = {
23
+ from: EmailAddress;
24
+ replyTo: EmailAddress;
25
+ subjects: Record<string, string>;
26
+ };
27
+ export type EmailAddress = {
28
+ name: string;
29
+ email: string;
30
+ };
31
+ export type CreateSandboxCheckResponse = {
32
+ messageCode: string;
33
+ };
34
+ export type GetSandboxResultRequest = {
35
+ messageCode?: string;
36
+ };
37
+ export type GetSandboxResultResponse = {
38
+ state: SandboxState;
39
+ recipient: string;
40
+ /** Populated when state == SANDBOX_DONE. */
41
+ delivery: DeliveryResult;
42
+ report: DeliverabilityReport;
43
+ /** Populated when state == SANDBOX_FAILED. */
44
+ errorMessage: string;
45
+ };
46
+ export type SandboxState = 'SANDBOX_STATE_UNSPECIFIED' | 'SANDBOX_PENDING' | 'SANDBOX_DONE' | 'SANDBOX_FAILED' | 'SANDBOX_NOT_FOUND';
47
+ export type DeliveryResult = {
48
+ delivered: boolean;
49
+ smtpStatus: number;
50
+ smtpMessage: string;
51
+ };
52
+ export type DeliverabilityReport = {
53
+ groups: CheckGroup[];
54
+ summary: Summary;
55
+ };
56
+ export type Summary = {
57
+ level: Level;
58
+ errors: number;
59
+ warnings: number;
60
+ };
61
+ export type CheckGroup = {
62
+ groupId: GroupId;
63
+ level: Level;
64
+ checks: Check[];
65
+ };
66
+ export type GroupId = 'GROUP_ID_UNSPECIFIED' | 'GROUP_ID_COMPLIANCE' | 'GROUP_ID_CONTENT' | 'GROUP_ID_INBOX';
67
+ export type Check_details_size = {
68
+ type: 'size';
69
+ data: SizeDetails;
70
+ };
71
+ export type Check_details_listUnsubscribe = {
72
+ type: 'listUnsubscribe';
73
+ data: ListUnsubscribeDetails;
74
+ };
75
+ export type Check_details_unsubscribeUrlHealth = {
76
+ type: 'unsubscribeUrlHealth';
77
+ data: UnsubscribeUrlHealthDetails;
78
+ };
79
+ export type Check_details_visibleUnsubscribeLink = {
80
+ type: 'visibleUnsubscribeLink';
81
+ data: VisibleUnsubLinkDetails;
82
+ };
83
+ export type Check_details_physicalAddress = {
84
+ type: 'physicalAddress';
85
+ data: PhysicalAddressDetails;
86
+ };
87
+ export type Check_details_brokenLinks = {
88
+ type: 'brokenLinks';
89
+ data: BrokenLinksDetails;
90
+ };
91
+ export type Check_details_safeBrowsing = {
92
+ type: 'safeBrowsing';
93
+ data: SafeBrowsingDetails;
94
+ };
95
+ export type Check_details_trackerConsistency = {
96
+ type: 'trackerConsistency';
97
+ data: TrackerConsistencyDetails;
98
+ };
99
+ export type Check_details_spamScore = {
100
+ type: 'spamScore';
101
+ data: SpamScoreDetails;
102
+ };
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 = 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;
116
+ export type Check = {
117
+ ruleId: string;
118
+ level: Level;
119
+ status: CheckStatus;
120
+ message: string;
121
+ preliminary: boolean;
122
+ details: Check_details;
123
+ };
124
+ export type SizeDetails = {
125
+ actualBytes: number;
126
+ limitWarning: number;
127
+ limitError: number;
128
+ };
129
+ export type ListUnsubscribeDetails = {
130
+ missingHeader: boolean;
131
+ missingHttps: boolean;
132
+ missingPostOneClick: boolean;
133
+ };
134
+ export type UnsubscribeUrlHealthDetails = {
135
+ url: string;
136
+ statusCode: number;
137
+ timeout: boolean;
138
+ reason: string;
139
+ };
140
+ export type VisibleUnsubLinkDetails = {
141
+ found: boolean;
142
+ };
143
+ export type PhysicalAddressDetails = {
144
+ found: boolean;
145
+ matchedPattern: string;
146
+ };
147
+ export type BrokenLinksDetails = {
148
+ items: BrokenLinkItem[];
149
+ timeouts: number;
150
+ };
151
+ export type BrokenLinkItem = {
152
+ url: string;
153
+ reason: string;
154
+ statusCode: number;
155
+ redirects: number;
156
+ };
157
+ export type SafeBrowsingDetails = {
158
+ items: SafeBrowsingItem[];
159
+ malwareCheckStatus: string;
160
+ };
161
+ export type SafeBrowsingItem = {
162
+ url: string;
163
+ category: string;
164
+ source: string;
165
+ };
166
+ export type TrackerConsistencyDetails = {
167
+ unwrappedCount: number;
168
+ totalCount: number;
169
+ unwrappedUrls: string[];
170
+ };
171
+ export type SpamScoreDetails = {
172
+ score: number;
173
+ action: string;
174
+ breakdown: SpamScoreSymbol[];
175
+ disclaimer: string;
176
+ };
177
+ export type SpamScoreSymbol = {
178
+ rule: string;
179
+ weight: number;
180
+ };
181
+ export type DeliveryResponseDetails = {
182
+ attempts: DeliveryAttempt[];
183
+ };
184
+ export type DeliveryAttempt = {
185
+ recipientDomain: string;
186
+ smtpStatus: number;
187
+ smtpMessage: string;
188
+ level: Level;
189
+ };
190
+ export type DkimSignatureDetails = {
191
+ valid: boolean;
192
+ domain: string;
193
+ selector: string;
194
+ algorithm: string;
195
+ reason: string;
196
+ };
197
+ export type SendingIpPoolDetails = {
198
+ ip: string;
199
+ poolName: string;
200
+ };
201
+ export type Level = 'UNSPECIFIED' | 'INFO' | 'WARNING' | 'ERROR';
202
+ export type CheckStatus = 'CHECK_STATUS_UNSPECIFIED' | 'CHECK_STATUS_OK' | 'CHECK_STATUS_UNAVAILABLE' | 'CHECK_STATUS_TIMEOUT';
@@ -0,0 +1,3 @@
1
+ /* eslint-disable */
2
+ /* Autogenerated code */
3
+ export {};
package/index.d.ts CHANGED
@@ -20,6 +20,7 @@ import { MessagingService as pushwoosh_channels_messagingApi_v2_MessagingService
20
20
  import { CloudPagesService as pushwoosh_rpc_v2_cloud_pages_CloudPagesService } from './cloud_pages';
21
21
  import { CustomerJourneyService as pushwoosh_rpc_v2_customer_journey_CustomerJourneyService } from './customer_journey';
22
22
  import { DeeplinksService as pushwoosh_rpc_v2_deeplinks_DeeplinksService } from './deeplinks';
23
+ import { DeliverabilityCheckerService as pushwoosh_rpc_v2_deliverability_checker_DeliverabilityCheckerService } from './deliverability_checker';
23
24
  import { DevicesService as pushwoosh_rpc_v2_devices_DevicesService } from './devices';
24
25
  import { EmailCategoriesService as pushwoosh_rpc_v2_email_categories_EmailCategoriesService } from './email_categories';
25
26
  import { EmailTemplatesService as pushwoosh_rpc_v2_accounts_EmailTemplatesService } from './accounts';
@@ -84,6 +85,7 @@ export type API = {
84
85
  cloudPages: pushwoosh_rpc_v2_cloud_pages_CloudPagesService;
85
86
  customerJourney: pushwoosh_rpc_v2_customer_journey_CustomerJourneyService;
86
87
  deeplinks: pushwoosh_rpc_v2_deeplinks_DeeplinksService;
88
+ deliverabilityChecker: pushwoosh_rpc_v2_deliverability_checker_DeliverabilityCheckerService;
87
89
  devices: pushwoosh_rpc_v2_devices_DevicesService;
88
90
  emailCategories: pushwoosh_rpc_v2_email_categories_EmailCategoriesService;
89
91
  emailTemplates: pushwoosh_rpc_v2_accounts_EmailTemplatesService;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.990",
3
+ "version": "0.1.992",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",