@pushwoosh/rpc-v2-http-api-data 0.1.996 → 0.1.997
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/applications_configurations.d.ts +73 -1
- package/data.js +133 -1
- package/package.json +1 -1
|
@@ -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
|
|
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
|
}
|