@pushwoosh/rpc-v2-http-api-data 0.1.996 → 0.1.998

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.
@@ -115,6 +115,74 @@ export type GoogleWalletConfiguration = {
115
115
  googleWalletServiceAccount: string;
116
116
  googleWalletIssuerId: string;
117
117
  };
118
+ export type SmsConfiguration_provider_twilio = {
119
+ type: 'twilio';
120
+ data: SmsTwilioConfiguration;
121
+ };
122
+ export type SmsConfiguration_provider_amazon = {
123
+ type: 'amazon';
124
+ data: SmsAmazonConfiguration;
125
+ };
126
+ export type SmsConfiguration_provider_smsGlobal = {
127
+ type: 'smsGlobal';
128
+ data: SmsGlobalConfiguration;
129
+ };
130
+ export type SmsConfiguration_provider_smsala = {
131
+ type: 'smsala';
132
+ data: SmsAlaConfiguration;
133
+ };
134
+ export type SmsConfiguration_provider_capitolemobile = {
135
+ type: 'capitolemobile';
136
+ data: SmsCapitoleMobileConfiguration;
137
+ };
138
+ export type SmsConfiguration_provider_mobipace = {
139
+ type: 'mobipace';
140
+ data: SmsMobipaceConfiguration;
141
+ };
142
+ export type SmsConfiguration_provider = SmsConfiguration_provider_twilio | SmsConfiguration_provider_amazon | SmsConfiguration_provider_smsGlobal | SmsConfiguration_provider_smsala | SmsConfiguration_provider_capitolemobile | SmsConfiguration_provider_mobipace;
143
+ /**
144
+ * SmsConfiguration carries per-application SMS provider credentials. Exactly
145
+ * one provider must be set; the chosen oneof field selects which gateway
146
+ * channels/sender routes to (via the sms_provider application property).
147
+ * Secret fields (auth tokens, passwords, API keys) are write-only: leave them
148
+ * empty to keep the currently stored value unchanged.
149
+ */
150
+ export type SmsConfiguration = {
151
+ provider: SmsConfiguration_provider;
152
+ };
153
+ export type SmsTwilioConfiguration = {
154
+ twilioSmsFromNumber: string;
155
+ twilioSid: string;
156
+ twilioAuthToken: string;
157
+ twilioSmsFromAlphanumeric: string;
158
+ twilioSmsMessagingServiceSid: string;
159
+ };
160
+ export type SmsAmazonConfiguration = {
161
+ amazonSmsKey: string;
162
+ amazonSmsSecret: string;
163
+ amazonSmsRegion: string;
164
+ amazonSmsSenderId: string;
165
+ };
166
+ export type SmsGlobalConfiguration = {
167
+ smsGlobalApiKey: string;
168
+ smsGlobalSecretKey: string;
169
+ smsGlobalPhoneNumber: string;
170
+ };
171
+ export type SmsAlaConfiguration = {
172
+ smsalaApiId: string;
173
+ smsalaSenderId: string;
174
+ };
175
+ export type SmsCapitoleMobileConfiguration = {
176
+ capitolemobileUsername: string;
177
+ capitolemobilePassword: string;
178
+ capitolemobileSenderId: string;
179
+ capitolemobileRoute: string;
180
+ };
181
+ export type SmsMobipaceConfiguration = {
182
+ mobipaceUsername: string;
183
+ mobipacePassword: string;
184
+ mobipaceSenderId: string;
185
+ };
118
186
  export type ConfigurationRequest_kind_androidConfiguration = {
119
187
  type: 'androidConfiguration';
120
188
  data: AndroidConfiguration;
@@ -195,7 +263,11 @@ export type ConfigurationRequest_kind_googleWalletConfiguration = {
195
263
  type: 'googleWalletConfiguration';
196
264
  data: GoogleWalletConfiguration;
197
265
  };
198
- export type ConfigurationRequest_kind = ConfigurationRequest_kind_androidConfiguration | ConfigurationRequest_kind_chromeConfiguration | ConfigurationRequest_kind_emailConfiguration | ConfigurationRequest_kind_huaweiConfiguration | ConfigurationRequest_kind_safariConfiguration | ConfigurationRequest_kind_windowsConfiguration | ConfigurationRequest_kind_amazonConfiguration | ConfigurationRequest_kind_osxConfiguration | ConfigurationRequest_kind_osxTokenConfiguration | ConfigurationRequest_kind_iosConfiguration | ConfigurationRequest_kind_iosTokenConfiguration | ConfigurationRequest_kind_iosVoipConfiguration | ConfigurationRequest_kind_iosPasskitConfiguration | ConfigurationRequest_kind_firefoxConfiguration | ConfigurationRequest_kind_baiduConfiguration | ConfigurationRequest_kind_lineConfiguration | ConfigurationRequest_kind_webConfiguration | ConfigurationRequest_kind_kakaoConfiguration | ConfigurationRequest_kind_telegramConfiguration | ConfigurationRequest_kind_googleWalletConfiguration;
266
+ export type ConfigurationRequest_kind_smsConfiguration = {
267
+ type: 'smsConfiguration';
268
+ data: SmsConfiguration;
269
+ };
270
+ export type ConfigurationRequest_kind = ConfigurationRequest_kind_androidConfiguration | ConfigurationRequest_kind_chromeConfiguration | ConfigurationRequest_kind_emailConfiguration | ConfigurationRequest_kind_huaweiConfiguration | ConfigurationRequest_kind_safariConfiguration | ConfigurationRequest_kind_windowsConfiguration | ConfigurationRequest_kind_amazonConfiguration | ConfigurationRequest_kind_osxConfiguration | ConfigurationRequest_kind_osxTokenConfiguration | ConfigurationRequest_kind_iosConfiguration | ConfigurationRequest_kind_iosTokenConfiguration | ConfigurationRequest_kind_iosVoipConfiguration | ConfigurationRequest_kind_iosPasskitConfiguration | ConfigurationRequest_kind_firefoxConfiguration | ConfigurationRequest_kind_baiduConfiguration | ConfigurationRequest_kind_lineConfiguration | ConfigurationRequest_kind_webConfiguration | ConfigurationRequest_kind_kakaoConfiguration | ConfigurationRequest_kind_telegramConfiguration | ConfigurationRequest_kind_googleWalletConfiguration | ConfigurationRequest_kind_smsConfiguration;
199
271
  export type ConfigurationRequest = {
200
272
  code?: string;
201
273
  kind: ConfigurationRequest_kind;
package/data.js CHANGED
@@ -3716,6 +3716,134 @@ export const data = {
3716
3716
  }
3717
3717
  }
3718
3718
  },
3719
+ "pushwoosh.rpc_v2.applications_configurations.SmsConfiguration": {
3720
+ "type": "I",
3721
+ "fields": {
3722
+ "twilio": {
3723
+ "type": "pushwoosh.rpc_v2.applications_configurations.SmsTwilioConfiguration"
3724
+ },
3725
+ "amazon": {
3726
+ "type": "pushwoosh.rpc_v2.applications_configurations.SmsAmazonConfiguration"
3727
+ },
3728
+ "smsGlobal": {
3729
+ "type": "pushwoosh.rpc_v2.applications_configurations.SmsGlobalConfiguration"
3730
+ },
3731
+ "smsala": {
3732
+ "type": "pushwoosh.rpc_v2.applications_configurations.SmsAlaConfiguration"
3733
+ },
3734
+ "capitolemobile": {
3735
+ "type": "pushwoosh.rpc_v2.applications_configurations.SmsCapitoleMobileConfiguration"
3736
+ },
3737
+ "mobipace": {
3738
+ "type": "pushwoosh.rpc_v2.applications_configurations.SmsMobipaceConfiguration"
3739
+ }
3740
+ },
3741
+ "oneofs": {
3742
+ "provider": {
3743
+ "oneof": [
3744
+ "twilio",
3745
+ "amazon",
3746
+ "smsGlobal",
3747
+ "smsala",
3748
+ "capitolemobile",
3749
+ "mobipace"
3750
+ ]
3751
+ }
3752
+ }
3753
+ },
3754
+ "pushwoosh.rpc_v2.applications_configurations.SmsTwilioConfiguration": {
3755
+ "type": "I",
3756
+ "fields": {
3757
+ "twilioSmsFromNumber": {
3758
+ "type": "string"
3759
+ },
3760
+ "twilioSid": {
3761
+ "type": "string"
3762
+ },
3763
+ "twilioAuthToken": {
3764
+ "type": "string"
3765
+ },
3766
+ "twilioSmsFromAlphanumeric": {
3767
+ "type": "string"
3768
+ },
3769
+ "twilioSmsMessagingServiceSid": {
3770
+ "type": "string"
3771
+ }
3772
+ }
3773
+ },
3774
+ "pushwoosh.rpc_v2.applications_configurations.SmsAmazonConfiguration": {
3775
+ "type": "I",
3776
+ "fields": {
3777
+ "amazonSmsKey": {
3778
+ "type": "string"
3779
+ },
3780
+ "amazonSmsSecret": {
3781
+ "type": "string"
3782
+ },
3783
+ "amazonSmsRegion": {
3784
+ "type": "string"
3785
+ },
3786
+ "amazonSmsSenderId": {
3787
+ "type": "string"
3788
+ }
3789
+ }
3790
+ },
3791
+ "pushwoosh.rpc_v2.applications_configurations.SmsGlobalConfiguration": {
3792
+ "type": "I",
3793
+ "fields": {
3794
+ "smsGlobalApiKey": {
3795
+ "type": "string"
3796
+ },
3797
+ "smsGlobalSecretKey": {
3798
+ "type": "string"
3799
+ },
3800
+ "smsGlobalPhoneNumber": {
3801
+ "type": "string"
3802
+ }
3803
+ }
3804
+ },
3805
+ "pushwoosh.rpc_v2.applications_configurations.SmsAlaConfiguration": {
3806
+ "type": "I",
3807
+ "fields": {
3808
+ "smsalaApiId": {
3809
+ "type": "string"
3810
+ },
3811
+ "smsalaSenderId": {
3812
+ "type": "string"
3813
+ }
3814
+ }
3815
+ },
3816
+ "pushwoosh.rpc_v2.applications_configurations.SmsCapitoleMobileConfiguration": {
3817
+ "type": "I",
3818
+ "fields": {
3819
+ "capitolemobileUsername": {
3820
+ "type": "string"
3821
+ },
3822
+ "capitolemobilePassword": {
3823
+ "type": "string"
3824
+ },
3825
+ "capitolemobileSenderId": {
3826
+ "type": "string"
3827
+ },
3828
+ "capitolemobileRoute": {
3829
+ "type": "string"
3830
+ }
3831
+ }
3832
+ },
3833
+ "pushwoosh.rpc_v2.applications_configurations.SmsMobipaceConfiguration": {
3834
+ "type": "I",
3835
+ "fields": {
3836
+ "mobipaceUsername": {
3837
+ "type": "string"
3838
+ },
3839
+ "mobipacePassword": {
3840
+ "type": "string"
3841
+ },
3842
+ "mobipaceSenderId": {
3843
+ "type": "string"
3844
+ }
3845
+ }
3846
+ },
3719
3847
  "pushwoosh.rpc_v2.applications_configurations.ConfigurationRequest": {
3720
3848
  "type": "I",
3721
3849
  "fields": {
@@ -3781,6 +3909,9 @@ export const data = {
3781
3909
  },
3782
3910
  "googleWalletConfiguration": {
3783
3911
  "type": "pushwoosh.rpc_v2.applications_configurations.GoogleWalletConfiguration"
3912
+ },
3913
+ "smsConfiguration": {
3914
+ "type": "pushwoosh.rpc_v2.applications_configurations.SmsConfiguration"
3784
3915
  }
3785
3916
  },
3786
3917
  "oneofs": {
@@ -3805,7 +3936,8 @@ export const data = {
3805
3936
  "webConfiguration",
3806
3937
  "kakaoConfiguration",
3807
3938
  "telegramConfiguration",
3808
- "googleWalletConfiguration"
3939
+ "googleWalletConfiguration",
3940
+ "smsConfiguration"
3809
3941
  ]
3810
3942
  }
3811
3943
  }
@@ -6527,6 +6659,15 @@ export const data = {
6527
6659
  },
6528
6660
  "sendingIpAndPool": {
6529
6661
  "type": "pushwoosh.rpc_v2.deliverability_checker.SendingIpPoolDetails"
6662
+ },
6663
+ "spf": {
6664
+ "type": "pushwoosh.rpc_v2.deliverability_checker.SpfDetails"
6665
+ },
6666
+ "dmarc": {
6667
+ "type": "pushwoosh.rpc_v2.deliverability_checker.DmarcDetails"
6668
+ },
6669
+ "subjectLine": {
6670
+ "type": "pushwoosh.rpc_v2.deliverability_checker.SubjectLineDetails"
6530
6671
  }
6531
6672
  },
6532
6673
  "oneofs": {
@@ -6543,7 +6684,10 @@ export const data = {
6543
6684
  "spamScore",
6544
6685
  "deliveryResponse",
6545
6686
  "dkimSignature",
6546
- "sendingIpAndPool"
6687
+ "sendingIpAndPool",
6688
+ "spf",
6689
+ "dmarc",
6690
+ "subjectLine"
6547
6691
  ]
6548
6692
  }
6549
6693
  }
@@ -6768,6 +6912,53 @@ export const data = {
6768
6912
  }
6769
6913
  }
6770
6914
  },
6915
+ "pushwoosh.rpc_v2.deliverability_checker.SpfDetails": {
6916
+ "type": "I",
6917
+ "fields": {
6918
+ "result": {
6919
+ "type": "string"
6920
+ },
6921
+ "fromDomain": {
6922
+ "type": "string"
6923
+ },
6924
+ "ip": {
6925
+ "type": "string"
6926
+ },
6927
+ "reason": {
6928
+ "type": "string"
6929
+ }
6930
+ }
6931
+ },
6932
+ "pushwoosh.rpc_v2.deliverability_checker.DmarcDetails": {
6933
+ "type": "I",
6934
+ "fields": {
6935
+ "result": {
6936
+ "type": "string"
6937
+ },
6938
+ "fromDomain": {
6939
+ "type": "string"
6940
+ },
6941
+ "policy": {
6942
+ "type": "string"
6943
+ },
6944
+ "reason": {
6945
+ "type": "string"
6946
+ }
6947
+ }
6948
+ },
6949
+ "pushwoosh.rpc_v2.deliverability_checker.SubjectLineDetails": {
6950
+ "type": "I",
6951
+ "fields": {
6952
+ "filledLocales": {
6953
+ "type": "string",
6954
+ "array": true
6955
+ },
6956
+ "emptyLocales": {
6957
+ "type": "string",
6958
+ "array": true
6959
+ }
6960
+ }
6961
+ },
6771
6962
  "pushwoosh.rpc_v2.deliverability_checker.Level": {
6772
6963
  "type": "E",
6773
6964
  "values": [
@@ -112,7 +112,19 @@ export type Check_details_sendingIpAndPool = {
112
112
  type: 'sendingIpAndPool';
113
113
  data: SendingIpPoolDetails;
114
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;
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
+ export type Check_details_subjectLine = {
124
+ type: 'subjectLine';
125
+ data: SubjectLineDetails;
126
+ };
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;
116
128
  export type Check = {
117
129
  ruleId: string;
118
130
  level: Level;
@@ -198,5 +210,21 @@ export type SendingIpPoolDetails = {
198
210
  ip: string;
199
211
  poolName: string;
200
212
  };
213
+ export type SpfDetails = {
214
+ result: string;
215
+ fromDomain: string;
216
+ ip: string;
217
+ reason: string;
218
+ };
219
+ export type DmarcDetails = {
220
+ result: string;
221
+ fromDomain: string;
222
+ policy: string;
223
+ reason: string;
224
+ };
225
+ export type SubjectLineDetails = {
226
+ filledLocales: string[];
227
+ emptyLocales: string[];
228
+ };
201
229
  export type Level = 'UNSPECIFIED' | 'INFO' | 'WARNING' | 'ERROR';
202
230
  export type CheckStatus = 'CHECK_STATUS_UNSPECIFIED' | 'CHECK_STATUS_OK' | 'CHECK_STATUS_UNAVAILABLE' | 'CHECK_STATUS_TIMEOUT';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pushwoosh/rpc-v2-http-api-data",
3
- "version": "0.1.996",
3
+ "version": "0.1.998",
4
4
  "description": "RPC V2 HTTP API Types and Data",
5
5
  "main": "index.js",
6
6
  "module": "index.js",