@pulumi-labs/vonage 0.0.1-dev → 0.2.0

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.
Files changed (223) hide show
  1. package/README.md +1 -0
  2. package/bin/accountSettings.d.ts +62 -0
  3. package/bin/accountSettings.d.ts.map +1 -0
  4. package/bin/accountSettings.js +87 -0
  5. package/bin/accountSettings.js.map +1 -0
  6. package/bin/apiSecret.d.ts +62 -0
  7. package/bin/apiSecret.d.ts.map +1 -0
  8. package/bin/apiSecret.js +92 -0
  9. package/bin/apiSecret.js.map +1 -0
  10. package/bin/application.d.ts +136 -0
  11. package/bin/application.d.ts.map +1 -0
  12. package/bin/application.js +110 -0
  13. package/bin/application.js.map +1 -0
  14. package/bin/config/index.d.ts +2 -0
  15. package/bin/config/index.d.ts.map +1 -0
  16. package/bin/config/index.js +21 -0
  17. package/bin/config/index.js.map +1 -0
  18. package/bin/config/vars.d.ts +25 -0
  19. package/bin/config/vars.d.ts.map +1 -0
  20. package/bin/config/vars.js +67 -0
  21. package/bin/config/vars.js.map +1 -0
  22. package/bin/externalAccountApplicationLink.d.ts +58 -0
  23. package/bin/externalAccountApplicationLink.d.ts.map +1 -0
  24. package/bin/externalAccountApplicationLink.js +92 -0
  25. package/bin/externalAccountApplicationLink.js.map +1 -0
  26. package/bin/getAccountBalance.d.ts +22 -0
  27. package/bin/getAccountBalance.d.ts.map +1 -0
  28. package/bin/getAccountBalance.js +48 -0
  29. package/bin/getAccountBalance.js.map +1 -0
  30. package/bin/getAccountSettings.d.ts +34 -0
  31. package/bin/getAccountSettings.d.ts.map +1 -0
  32. package/bin/getAccountSettings.js +48 -0
  33. package/bin/getAccountSettings.js.map +1 -0
  34. package/bin/getApiSecret.d.ts +44 -0
  35. package/bin/getApiSecret.d.ts.map +1 -0
  36. package/bin/getApiSecret.js +53 -0
  37. package/bin/getApiSecret.js.map +1 -0
  38. package/bin/getApiSecrets.d.ts +33 -0
  39. package/bin/getApiSecrets.d.ts.map +1 -0
  40. package/bin/getApiSecrets.js +53 -0
  41. package/bin/getApiSecrets.js.map +1 -0
  42. package/bin/getApplication.d.ts +81 -0
  43. package/bin/getApplication.d.ts.map +1 -0
  44. package/bin/getApplication.js +55 -0
  45. package/bin/getApplication.js.map +1 -0
  46. package/bin/getApplications.d.ts +29 -0
  47. package/bin/getApplications.d.ts.map +1 -0
  48. package/bin/getApplications.js +53 -0
  49. package/bin/getApplications.js.map +1 -0
  50. package/bin/getAvailableNumbers.d.ts +81 -0
  51. package/bin/getAvailableNumbers.d.ts.map +1 -0
  52. package/bin/getAvailableNumbers.js +63 -0
  53. package/bin/getAvailableNumbers.js.map +1 -0
  54. package/bin/getExternalAccount.d.ts +56 -0
  55. package/bin/getExternalAccount.d.ts.map +1 -0
  56. package/bin/getExternalAccount.js +53 -0
  57. package/bin/getExternalAccount.js.map +1 -0
  58. package/bin/getExternalAccountApplicationLink.d.ts +56 -0
  59. package/bin/getExternalAccountApplicationLink.d.ts.map +1 -0
  60. package/bin/getExternalAccountApplicationLink.js +55 -0
  61. package/bin/getExternalAccountApplicationLink.js.map +1 -0
  62. package/bin/getExternalAccounts.d.ts +29 -0
  63. package/bin/getExternalAccounts.d.ts.map +1 -0
  64. package/bin/getExternalAccounts.js +53 -0
  65. package/bin/getExternalAccounts.js.map +1 -0
  66. package/bin/getMessengerAccount.d.ts +48 -0
  67. package/bin/getMessengerAccount.d.ts.map +1 -0
  68. package/bin/getMessengerAccount.js +51 -0
  69. package/bin/getMessengerAccount.js.map +1 -0
  70. package/bin/getNetworkApplicationProfile.d.ts +77 -0
  71. package/bin/getNetworkApplicationProfile.d.ts.map +1 -0
  72. package/bin/getNetworkApplicationProfile.js +51 -0
  73. package/bin/getNetworkApplicationProfile.js.map +1 -0
  74. package/bin/getNetworkApplicationProfileShare.d.ts +40 -0
  75. package/bin/getNetworkApplicationProfileShare.d.ts.map +1 -0
  76. package/bin/getNetworkApplicationProfileShare.js +53 -0
  77. package/bin/getNetworkApplicationProfileShare.js.map +1 -0
  78. package/bin/getNetworkApplicationProfileShares.d.ts +28 -0
  79. package/bin/getNetworkApplicationProfileShares.d.ts.map +1 -0
  80. package/bin/getNetworkApplicationProfileShares.js +51 -0
  81. package/bin/getNetworkApplicationProfileShares.js.map +1 -0
  82. package/bin/getNetworkApplicationProfiles.d.ts +45 -0
  83. package/bin/getNetworkApplicationProfiles.d.ts.map +1 -0
  84. package/bin/getNetworkApplicationProfiles.js +57 -0
  85. package/bin/getNetworkApplicationProfiles.js.map +1 -0
  86. package/bin/getNetworkBusinessProfile.d.ts +85 -0
  87. package/bin/getNetworkBusinessProfile.d.ts.map +1 -0
  88. package/bin/getNetworkBusinessProfile.js +51 -0
  89. package/bin/getNetworkBusinessProfile.js.map +1 -0
  90. package/bin/getNetworkBusinessProfiles.d.ts +29 -0
  91. package/bin/getNetworkBusinessProfiles.d.ts.map +1 -0
  92. package/bin/getNetworkBusinessProfiles.js +53 -0
  93. package/bin/getNetworkBusinessProfiles.js.map +1 -0
  94. package/bin/getNetworkRegistryCatalogue.d.ts +65 -0
  95. package/bin/getNetworkRegistryCatalogue.d.ts.map +1 -0
  96. package/bin/getNetworkRegistryCatalogue.js +55 -0
  97. package/bin/getNetworkRegistryCatalogue.js.map +1 -0
  98. package/bin/getNetworkTermsAndConditions.d.ts +36 -0
  99. package/bin/getNetworkTermsAndConditions.d.ts.map +1 -0
  100. package/bin/getNetworkTermsAndConditions.js +51 -0
  101. package/bin/getNetworkTermsAndConditions.js.map +1 -0
  102. package/bin/getNumber.d.ts +72 -0
  103. package/bin/getNumber.d.ts.map +1 -0
  104. package/bin/getNumber.js +53 -0
  105. package/bin/getNumber.js.map +1 -0
  106. package/bin/getNumberPool.d.ts +44 -0
  107. package/bin/getNumberPool.d.ts.map +1 -0
  108. package/bin/getNumberPool.js +51 -0
  109. package/bin/getNumberPool.js.map +1 -0
  110. package/bin/getNumberPoolNumber.d.ts +40 -0
  111. package/bin/getNumberPoolNumber.d.ts.map +1 -0
  112. package/bin/getNumberPoolNumber.js +53 -0
  113. package/bin/getNumberPoolNumber.js.map +1 -0
  114. package/bin/getNumberPoolNumbers.d.ts +28 -0
  115. package/bin/getNumberPoolNumbers.d.ts.map +1 -0
  116. package/bin/getNumberPoolNumbers.js +51 -0
  117. package/bin/getNumberPoolNumbers.js.map +1 -0
  118. package/bin/getNumberPools.d.ts +19 -0
  119. package/bin/getNumberPools.d.ts.map +1 -0
  120. package/bin/getNumberPools.js +48 -0
  121. package/bin/getNumberPools.js.map +1 -0
  122. package/bin/getNumbers.d.ts +61 -0
  123. package/bin/getNumbers.d.ts.map +1 -0
  124. package/bin/getNumbers.js +61 -0
  125. package/bin/getNumbers.js.map +1 -0
  126. package/bin/getPricing.d.ts +53 -0
  127. package/bin/getPricing.d.ts.map +1 -0
  128. package/bin/getPricing.js +57 -0
  129. package/bin/getPricing.js.map +1 -0
  130. package/bin/getSubAccount.d.ts +56 -0
  131. package/bin/getSubAccount.d.ts.map +1 -0
  132. package/bin/getSubAccount.js +51 -0
  133. package/bin/getSubAccount.js.map +1 -0
  134. package/bin/getSubAccounts.d.ts +33 -0
  135. package/bin/getSubAccounts.d.ts.map +1 -0
  136. package/bin/getSubAccounts.js +53 -0
  137. package/bin/getSubAccounts.js.map +1 -0
  138. package/bin/getUser.d.ts +59 -0
  139. package/bin/getUser.d.ts.map +1 -0
  140. package/bin/getUser.js +55 -0
  141. package/bin/getUser.js.map +1 -0
  142. package/bin/getUsers.d.ts +29 -0
  143. package/bin/getUsers.d.ts.map +1 -0
  144. package/bin/getUsers.js +53 -0
  145. package/bin/getUsers.js.map +1 -0
  146. package/bin/getVerifyTemplate.d.ts +44 -0
  147. package/bin/getVerifyTemplate.d.ts.map +1 -0
  148. package/bin/getVerifyTemplate.js +55 -0
  149. package/bin/getVerifyTemplate.js.map +1 -0
  150. package/bin/getVerifyTemplateFragment.d.ts +76 -0
  151. package/bin/getVerifyTemplateFragment.d.ts.map +1 -0
  152. package/bin/getVerifyTemplateFragment.js +57 -0
  153. package/bin/getVerifyTemplateFragment.js.map +1 -0
  154. package/bin/index.d.ts +148 -0
  155. package/bin/index.d.ts.map +1 -0
  156. package/bin/index.js +214 -0
  157. package/bin/index.js.map +1 -0
  158. package/bin/messengerAccount.d.ts +66 -0
  159. package/bin/messengerAccount.d.ts.map +1 -0
  160. package/bin/messengerAccount.js +95 -0
  161. package/bin/messengerAccount.js.map +1 -0
  162. package/bin/networkApplicationProfile.d.ts +120 -0
  163. package/bin/networkApplicationProfile.d.ts.map +1 -0
  164. package/bin/networkApplicationProfile.js +118 -0
  165. package/bin/networkApplicationProfile.js.map +1 -0
  166. package/bin/networkApplicationProfileShare.d.ts +50 -0
  167. package/bin/networkApplicationProfileShare.d.ts.map +1 -0
  168. package/bin/networkApplicationProfileShare.js +87 -0
  169. package/bin/networkApplicationProfileShare.js.map +1 -0
  170. package/bin/networkBusinessProfile.d.ts +200 -0
  171. package/bin/networkBusinessProfile.d.ts.map +1 -0
  172. package/bin/networkBusinessProfile.js +150 -0
  173. package/bin/networkBusinessProfile.js.map +1 -0
  174. package/bin/number.d.ts +130 -0
  175. package/bin/number.d.ts.map +1 -0
  176. package/bin/number.js +121 -0
  177. package/bin/number.js.map +1 -0
  178. package/bin/numberPool.d.ts +70 -0
  179. package/bin/numberPool.d.ts.map +1 -0
  180. package/bin/numberPool.js +93 -0
  181. package/bin/numberPool.js.map +1 -0
  182. package/bin/numberPoolNumber.d.ts +50 -0
  183. package/bin/numberPoolNumber.d.ts.map +1 -0
  184. package/bin/numberPoolNumber.js +87 -0
  185. package/bin/numberPoolNumber.js.map +1 -0
  186. package/bin/package.json +38 -0
  187. package/bin/provider.d.ts +70 -0
  188. package/bin/provider.d.ts.map +1 -0
  189. package/bin/provider.js +69 -0
  190. package/bin/provider.js.map +1 -0
  191. package/bin/subAccount.d.ts +90 -0
  192. package/bin/subAccount.d.ts.map +1 -0
  193. package/bin/subAccount.js +100 -0
  194. package/bin/subAccount.js.map +1 -0
  195. package/bin/types/index.d.ts +4 -0
  196. package/bin/types/index.d.ts.map +1 -0
  197. package/bin/types/index.js +34 -0
  198. package/bin/types/index.js.map +1 -0
  199. package/bin/types/input.d.ts +347 -0
  200. package/bin/types/input.d.ts.map +1 -0
  201. package/bin/types/input.js +5 -0
  202. package/bin/types/input.js.map +1 -0
  203. package/bin/types/output.d.ts +790 -0
  204. package/bin/types/output.d.ts.map +1 -0
  205. package/bin/types/output.js +5 -0
  206. package/bin/types/output.js.map +1 -0
  207. package/bin/user.d.ts +80 -0
  208. package/bin/user.d.ts.map +1 -0
  209. package/bin/user.js +87 -0
  210. package/bin/user.js.map +1 -0
  211. package/bin/utilities.d.ts +5 -0
  212. package/bin/utilities.d.ts.map +1 -0
  213. package/bin/utilities.js +114 -0
  214. package/bin/utilities.js.map +1 -0
  215. package/bin/verifyTemplate.d.ts +54 -0
  216. package/bin/verifyTemplate.d.ts.map +1 -0
  217. package/bin/verifyTemplate.js +86 -0
  218. package/bin/verifyTemplate.js.map +1 -0
  219. package/bin/verifyTemplateFragment.d.ts +78 -0
  220. package/bin/verifyTemplateFragment.d.ts.map +1 -0
  221. package/bin/verifyTemplateFragment.js +105 -0
  222. package/bin/verifyTemplateFragment.js.map +1 -0
  223. package/package.json +38 -1
@@ -0,0 +1,790 @@
1
+ import * as outputs from "../types/output";
2
+ export interface ApiSecretSummary {
3
+ /**
4
+ * ISO 8601 creation timestamp.
5
+ */
6
+ createdAt: string;
7
+ /**
8
+ * The secret ID.
9
+ */
10
+ secretId: string;
11
+ }
12
+ export interface ApplicationSummary {
13
+ /**
14
+ * Application ID.
15
+ */
16
+ applicationId: string;
17
+ /**
18
+ * Enabled capabilities, sorted.
19
+ */
20
+ capabilities: string[];
21
+ /**
22
+ * Application name.
23
+ */
24
+ name: string;
25
+ }
26
+ export interface AvailableNumber {
27
+ /**
28
+ * Monthly rental in euros, as Vonage reports it (a decimal string).
29
+ */
30
+ cost: string;
31
+ /**
32
+ * Country code.
33
+ */
34
+ country: string;
35
+ /**
36
+ * Capabilities: SMS, VOICE, MMS.
37
+ */
38
+ features: string[];
39
+ /**
40
+ * The number in international format without a leading plus.
41
+ */
42
+ msisdn: string;
43
+ /**
44
+ * Number type.
45
+ */
46
+ type: string;
47
+ }
48
+ export interface CountryPricing {
49
+ /**
50
+ * Two-letter country code.
51
+ */
52
+ countryCode: string;
53
+ /**
54
+ * The country name for display.
55
+ */
56
+ countryDisplayName: string;
57
+ /**
58
+ * The country name.
59
+ */
60
+ countryName: string;
61
+ /**
62
+ * The currency the account is billed in.
63
+ */
64
+ currency: string;
65
+ /**
66
+ * The default price in this country, as a decimal string.
67
+ */
68
+ defaultPrice: string;
69
+ /**
70
+ * The dialling prefix of the country.
71
+ */
72
+ dialingPrefix: string;
73
+ /**
74
+ * Prices per mobile network in the country.
75
+ */
76
+ networks: outputs.PricingNetwork[];
77
+ }
78
+ export interface ExternalAccountSummary {
79
+ /**
80
+ * The api_key Vonage reports for the account.
81
+ */
82
+ apiKey: string;
83
+ /**
84
+ * IDs of the linked applications (at most one). The page access token is never listed; use getMessengerAccount.
85
+ */
86
+ applications: string[];
87
+ /**
88
+ * The account's channel.
89
+ */
90
+ channel: string;
91
+ /**
92
+ * The account's external ID.
93
+ */
94
+ externalId: string;
95
+ /**
96
+ * The account name (empty when none is set).
97
+ */
98
+ name: string;
99
+ }
100
+ export interface GetNetworkApplicationProfileResult {
101
+ /**
102
+ * ID of the Vonage account that owns it.
103
+ */
104
+ accountId: string;
105
+ /**
106
+ * ID of the business profile that owns it.
107
+ */
108
+ businessProfileId: string;
109
+ /**
110
+ * Category of the application.
111
+ */
112
+ categoryId: string;
113
+ /**
114
+ * When the profile was created (RFC 3339).
115
+ */
116
+ createdAt: string;
117
+ /**
118
+ * Description of the application's use cases; empty when unset.
119
+ */
120
+ description: string;
121
+ /**
122
+ * Two-letter ISO 3166 codes of the countries the application's infrastructure runs in.
123
+ */
124
+ infrastructureLocations: string[];
125
+ /**
126
+ * Name of the application.
127
+ */
128
+ name: string;
129
+ /**
130
+ * The Network APIs the application uses and the purposes it states for each.
131
+ */
132
+ networkApis: outputs.NetworkApplicationProfileApi[];
133
+ /**
134
+ * URL of the application's privacy policy; empty when unset.
135
+ */
136
+ privacyPolicyUrl: string;
137
+ /**
138
+ * ID of the application profile.
139
+ */
140
+ profileId: string;
141
+ /**
142
+ * Overall approval status: pending, provisioning, accepted, partially-accepted, rejected or failed.
143
+ */
144
+ status: string;
145
+ /**
146
+ * Vonage's note about why the profile was rejected; empty when there is none.
147
+ */
148
+ statusMessage: string;
149
+ /**
150
+ * When the profile was last updated (RFC 3339).
151
+ */
152
+ updatedAt: string;
153
+ }
154
+ export interface GetNetworkBusinessProfileResult {
155
+ /**
156
+ * ID of the account that owns the profile.
157
+ */
158
+ accountId: string;
159
+ /**
160
+ * Postal address.
161
+ */
162
+ businessInformation: outputs.NetworkBusinessInformation;
163
+ /**
164
+ * Role of the contact person.
165
+ */
166
+ contactRole: string;
167
+ /**
168
+ * Countries the profile is registered for.
169
+ */
170
+ countries: string[];
171
+ /**
172
+ * Creation time (RFC 3339).
173
+ */
174
+ createdAt: string;
175
+ /**
176
+ * Legal name of the business.
177
+ */
178
+ name: string;
179
+ /**
180
+ * Kind of organisation.
181
+ */
182
+ organisationType: string;
183
+ /**
184
+ * Privacy policy manager email.
185
+ */
186
+ privacyPolicyManagerEmail: string;
187
+ /**
188
+ * Privacy policy URL.
189
+ */
190
+ privacyPolicyUrl: string;
191
+ /**
192
+ * Profile ID.
193
+ */
194
+ profileId: string;
195
+ /**
196
+ * Overall registration status.
197
+ */
198
+ status: string;
199
+ /**
200
+ * Vonage's note about the status, empty when there is none.
201
+ */
202
+ statusMessage: string;
203
+ /**
204
+ * Tax identification number.
205
+ */
206
+ taxNumber: string;
207
+ /**
208
+ * Trading name, empty when unset.
209
+ */
210
+ tradingName: string;
211
+ /**
212
+ * Last update time (RFC 3339).
213
+ */
214
+ updatedAt: string;
215
+ }
216
+ export interface GetNumberPoolResult {
217
+ /**
218
+ * Owning account ID (the API key).
219
+ */
220
+ accountId: string;
221
+ /**
222
+ * Fallback behaviour: Pool, CustomFrom or Reject.
223
+ */
224
+ fallback: string;
225
+ /**
226
+ * Whether a number local to the destination is preferred.
227
+ */
228
+ localizedSenderPreferred: boolean;
229
+ /**
230
+ * Pool ID.
231
+ */
232
+ poolId: string;
233
+ /**
234
+ * Whether the same number is reused for the same recipient.
235
+ */
236
+ predictableSenderPreferred: boolean;
237
+ }
238
+ export interface GetSubAccountResult {
239
+ /**
240
+ * Subaccount API key.
241
+ */
242
+ apiKey: string;
243
+ /**
244
+ * Subaccount balance, unset when it uses the primary balance.
245
+ */
246
+ balance?: number;
247
+ /**
248
+ * ISO 8601 creation timestamp.
249
+ */
250
+ createdAt: string;
251
+ /**
252
+ * Subaccount credit limit, unset when it uses the primary balance.
253
+ */
254
+ creditLimit?: number;
255
+ /**
256
+ * Subaccount name.
257
+ */
258
+ name: string;
259
+ /**
260
+ * API key of the owning primary account.
261
+ */
262
+ primaryAccountApiKey: string;
263
+ /**
264
+ * Whether the subaccount is suspended.
265
+ */
266
+ suspended: boolean;
267
+ /**
268
+ * Whether the subaccount draws on the primary account balance.
269
+ */
270
+ usePrimaryAccountBalance: boolean;
271
+ }
272
+ export interface MeetingsCapability {
273
+ /**
274
+ * Webhook that receives recording status changes (POST only).
275
+ */
276
+ recordingChanged?: outputs.Webhook;
277
+ /**
278
+ * Webhook that receives room changes (POST only).
279
+ */
280
+ roomChanged?: outputs.Webhook;
281
+ /**
282
+ * Webhook that receives session changes (POST only).
283
+ */
284
+ sessionChanged?: outputs.Webhook;
285
+ }
286
+ export interface MessagesCapability {
287
+ /**
288
+ * Whether inbound media URLs require authentication.
289
+ */
290
+ authenticateInboundMedia?: boolean;
291
+ /**
292
+ * Webhook that receives inbound messages (POST only).
293
+ */
294
+ inboundUrl?: outputs.Webhook;
295
+ /**
296
+ * Webhook that receives message status events (POST only).
297
+ */
298
+ statusUrl?: outputs.Webhook;
299
+ /**
300
+ * Messages API version, for example v1 or v0.1.
301
+ */
302
+ version?: string;
303
+ }
304
+ export interface NetworkApisCapability {
305
+ /**
306
+ * The Network APIs application ID.
307
+ */
308
+ networkApplicationId: string;
309
+ /**
310
+ * Redirect URI for the Network APIs OAuth flow.
311
+ */
312
+ redirectUri?: string;
313
+ }
314
+ export interface NetworkApplicationProfileApi {
315
+ /**
316
+ * ID of the Network API, from getNetworkRegistryCatalogue networkApis (for example sim-swap).
317
+ */
318
+ networkApiId: string;
319
+ /**
320
+ * IDs of the purposes the operator needs to validate the request, from getNetworkRegistryCatalogue purposes.
321
+ */
322
+ purposeIds: string[];
323
+ }
324
+ export interface NetworkBusinessInformation {
325
+ /**
326
+ * First line of the street address (at most 500 characters).
327
+ */
328
+ addressStreet1: string;
329
+ /**
330
+ * Second line of the street address.
331
+ */
332
+ addressStreet2?: string;
333
+ /**
334
+ * City.
335
+ */
336
+ city: string;
337
+ /**
338
+ * Two-letter ISO 3166 country code of the address.
339
+ */
340
+ country: string;
341
+ /**
342
+ * Postal or ZIP code.
343
+ */
344
+ postalCode: string;
345
+ /**
346
+ * Province, state or region.
347
+ */
348
+ province?: string;
349
+ }
350
+ export interface NetworkRegistryCountry {
351
+ /**
352
+ * Two-letter ISO 3166 country code.
353
+ */
354
+ code: string;
355
+ /**
356
+ * Country name.
357
+ */
358
+ name: string;
359
+ }
360
+ export interface NetworkRegistryCsp {
361
+ /**
362
+ * Two-letter ISO 3166 country code the CSP operates in.
363
+ */
364
+ country: string;
365
+ /**
366
+ * CSP identifier, for example telefonica_es.
367
+ */
368
+ id: string;
369
+ /**
370
+ * Operator name.
371
+ */
372
+ name: string;
373
+ /**
374
+ * IDs of the Network APIs the CSP supports.
375
+ */
376
+ supportedNetworkApis: string[];
377
+ /**
378
+ * ID of the vetting level the CSP requires, empty when none.
379
+ */
380
+ vettingLevel: string;
381
+ }
382
+ export interface NetworkRegistryEntry {
383
+ /**
384
+ * Identifier to use in the API, for example an organisation type or a category.
385
+ */
386
+ id: string;
387
+ /**
388
+ * Human-readable name.
389
+ */
390
+ name: string;
391
+ }
392
+ export interface NetworkRegistryNetworkApi {
393
+ /**
394
+ * Network API identifier, for example sim-swap.
395
+ */
396
+ id: string;
397
+ /**
398
+ * Network API name.
399
+ */
400
+ name: string;
401
+ /**
402
+ * Callback URLs an application profile must provide to use the API: nv_redirect_url, qod_callback_url or verify_callback_url.
403
+ */
404
+ requires: string[];
405
+ }
406
+ export interface NetworkRegistryPurpose {
407
+ /**
408
+ * Purpose identifier.
409
+ */
410
+ id: string;
411
+ /**
412
+ * Purpose name.
413
+ */
414
+ name: string;
415
+ /**
416
+ * ID of the Network API the purpose belongs to.
417
+ */
418
+ networkApiId: string;
419
+ }
420
+ export interface NetworkRegistryVettingLevel {
421
+ /**
422
+ * What the level checks.
423
+ */
424
+ description: string;
425
+ /**
426
+ * Names of the vettingExtraFields a business profile must provide when the level applies.
427
+ */
428
+ extraFields: string[];
429
+ /**
430
+ * Vetting level identifier.
431
+ */
432
+ id: string;
433
+ /**
434
+ * Vetting level name.
435
+ */
436
+ name: string;
437
+ }
438
+ export interface OwnedNumberSummary {
439
+ /**
440
+ * Linked application ID, empty if none.
441
+ */
442
+ appId: string;
443
+ /**
444
+ * Country code.
445
+ */
446
+ country: string;
447
+ /**
448
+ * Capabilities: SMS, VOICE, MMS.
449
+ */
450
+ features: string[];
451
+ /**
452
+ * Messages routing type.
453
+ */
454
+ messagesCallbackType: string;
455
+ /**
456
+ * Messages routing target.
457
+ */
458
+ messagesCallbackValue: string;
459
+ /**
460
+ * Inbound SMS webhook, empty if none.
461
+ */
462
+ moHttpUrl: string;
463
+ /**
464
+ * The number in international format without a leading plus.
465
+ */
466
+ msisdn: string;
467
+ /**
468
+ * Number type (landline, mobile-lvn, landline-toll-free).
469
+ */
470
+ type: string;
471
+ /**
472
+ * Voice routing type.
473
+ */
474
+ voiceCallbackType: string;
475
+ /**
476
+ * Voice routing target.
477
+ */
478
+ voiceCallbackValue: string;
479
+ }
480
+ export interface PricingNetwork {
481
+ /**
482
+ * The currency of the price.
483
+ */
484
+ currency: string;
485
+ /**
486
+ * The Mobile Country Code of the operator.
487
+ */
488
+ mcc: string;
489
+ /**
490
+ * The Mobile Network Code of the operator.
491
+ */
492
+ mnc: string;
493
+ /**
494
+ * The MCC and MNC combined, a unique reference for the operator.
495
+ */
496
+ networkCode: string;
497
+ /**
498
+ * The name of the operator.
499
+ */
500
+ networkName: string;
501
+ /**
502
+ * The price on this network, as a decimal string in the account currency.
503
+ */
504
+ price: string;
505
+ /**
506
+ * The type of network, such as mobile or landline.
507
+ */
508
+ type: string;
509
+ }
510
+ export interface RtcCapability {
511
+ /**
512
+ * Webhook that receives RTC events.
513
+ */
514
+ eventUrl?: outputs.Webhook;
515
+ /**
516
+ * Whether Vonage signs webhook requests.
517
+ */
518
+ signedCallbacks?: boolean;
519
+ }
520
+ export interface UserChannels {
521
+ /**
522
+ * Facebook Messenger IDs of the user.
523
+ */
524
+ messenger?: outputs.UserMessengerChannel[];
525
+ /**
526
+ * Numbers the user can receive MMS on.
527
+ */
528
+ mms?: outputs.UserNumberChannel[];
529
+ /**
530
+ * Phone numbers (PSTN) the user can be called on.
531
+ */
532
+ pstn?: outputs.UserPstnChannel[];
533
+ /**
534
+ * SIP endpoints of the user.
535
+ */
536
+ sip?: outputs.UserSipChannel[];
537
+ /**
538
+ * Numbers the user can receive SMS on.
539
+ */
540
+ sms?: outputs.UserNumberChannel[];
541
+ /**
542
+ * Vonage Business Cloud extensions of the user.
543
+ */
544
+ vbc?: outputs.UserVbcChannel[];
545
+ /**
546
+ * Viber numbers of the user.
547
+ */
548
+ viber?: outputs.UserNumberChannel[];
549
+ /**
550
+ * WebSocket endpoints of the user.
551
+ */
552
+ websocket?: outputs.UserWebsocketChannel[];
553
+ /**
554
+ * WhatsApp numbers of the user.
555
+ */
556
+ whatsapp?: outputs.UserNumberChannel[];
557
+ }
558
+ export interface UserMessengerChannel {
559
+ /**
560
+ * The Facebook Messenger user ID.
561
+ */
562
+ id: string;
563
+ }
564
+ export interface UserNumberChannel {
565
+ /**
566
+ * The number in E.164 format without the leading plus.
567
+ */
568
+ number: string;
569
+ }
570
+ export interface UserPstnChannel {
571
+ /**
572
+ * The phone number in E.164 format without the leading plus, as an integer (for example 14155550100).
573
+ */
574
+ number: number;
575
+ }
576
+ export interface UserSipChannel {
577
+ /**
578
+ * Password for SIP authentication. The API never returns it, so the value recorded in state is the one last set by this program; a changed password is applied but a password changed outside Pulumi is not detected.
579
+ */
580
+ password?: string;
581
+ /**
582
+ * The SIP URI, starting with sip: or sips:.
583
+ */
584
+ uri: string;
585
+ /**
586
+ * Username for SIP authentication.
587
+ */
588
+ username?: string;
589
+ }
590
+ export interface UserSummary {
591
+ /**
592
+ * Human-friendly name, if set.
593
+ */
594
+ displayName?: string;
595
+ /**
596
+ * Unique name of the user.
597
+ */
598
+ name: string;
599
+ /**
600
+ * User ID (USR-<uuid>).
601
+ */
602
+ userId: string;
603
+ }
604
+ export interface UserVbcChannel {
605
+ /**
606
+ * The Vonage Business Cloud extension.
607
+ */
608
+ extension: string;
609
+ }
610
+ export interface UserWebsocketChannel {
611
+ /**
612
+ * The audio format, for example audio/l16;rate=16000 (sent to Vonage as content-type).
613
+ */
614
+ contentType?: string;
615
+ /**
616
+ * Extra HTTP headers sent when Vonage connects to the WebSocket.
617
+ */
618
+ headers?: {
619
+ [key: string]: string;
620
+ };
621
+ /**
622
+ * The WebSocket URI, starting with ws:// or wss://.
623
+ */
624
+ uri: string;
625
+ }
626
+ export interface VerifyCapability {
627
+ /**
628
+ * Webhook that receives Verify request status events (POST only).
629
+ */
630
+ statusUrl?: outputs.Webhook;
631
+ /**
632
+ * Verify API version, for example v2.
633
+ */
634
+ version?: string;
635
+ }
636
+ export interface VideoCapability {
637
+ /**
638
+ * Recording storage and encryption settings.
639
+ */
640
+ storage?: outputs.VideoStorage;
641
+ /**
642
+ * Webhooks that receive Video API events.
643
+ */
644
+ webhooks?: outputs.VideoWebhooks;
645
+ }
646
+ export interface VideoStorage {
647
+ /**
648
+ * Whether recordings go to the configured cloud storage.
649
+ */
650
+ cloudStorage?: boolean;
651
+ /**
652
+ * Whether video streams use end-to-end encryption.
653
+ */
654
+ endToEndEncryption?: boolean;
655
+ /**
656
+ * Whether recordings are encrypted server side.
657
+ */
658
+ serverSideEncryption?: boolean;
659
+ }
660
+ export interface VideoWebhook {
661
+ /**
662
+ * Whether Vonage calls the webhook (server default true).
663
+ */
664
+ active?: boolean;
665
+ /**
666
+ * The URL Vonage calls.
667
+ */
668
+ address: string;
669
+ }
670
+ export interface VideoWebhooks {
671
+ /**
672
+ * Receives archive (recording) status changes.
673
+ */
674
+ archiveStatus?: outputs.VideoWebhook;
675
+ /**
676
+ * Receives broadcast status changes.
677
+ */
678
+ broadcastStatus?: outputs.VideoWebhook;
679
+ /**
680
+ * Receives live caption status changes.
681
+ */
682
+ captionsStatus?: outputs.VideoWebhook;
683
+ /**
684
+ * Receives an event when a client connects to a session.
685
+ */
686
+ connectionCreated?: outputs.VideoWebhook;
687
+ /**
688
+ * Receives an event when a client disconnects from a session.
689
+ */
690
+ connectionDestroyed?: outputs.VideoWebhook;
691
+ /**
692
+ * Receives Experience Composer render status changes.
693
+ */
694
+ renderStatus?: outputs.VideoWebhook;
695
+ /**
696
+ * Receives an event when a session is created.
697
+ */
698
+ sessionCreated?: outputs.VideoWebhook;
699
+ /**
700
+ * Receives an event when a session is destroyed.
701
+ */
702
+ sessionDestroyed?: outputs.VideoWebhook;
703
+ /**
704
+ * Receives session notifications.
705
+ */
706
+ sessionNotification?: outputs.VideoWebhook;
707
+ /**
708
+ * Receives an event when a SIP call is created.
709
+ */
710
+ sipCallCreated?: outputs.VideoWebhook;
711
+ /**
712
+ * Receives an event when a SIP call is destroyed.
713
+ */
714
+ sipCallDestroyed?: outputs.VideoWebhook;
715
+ /**
716
+ * Receives an event when a SIP call is force-muted.
717
+ */
718
+ sipCallMuteForced?: outputs.VideoWebhook;
719
+ /**
720
+ * Receives an event when a SIP call is updated.
721
+ */
722
+ sipCallUpdated?: outputs.VideoWebhook;
723
+ /**
724
+ * Receives an event when a stream is created.
725
+ */
726
+ streamCreated?: outputs.VideoWebhook;
727
+ /**
728
+ * Receives an event when a stream is destroyed.
729
+ */
730
+ streamDestroyed?: outputs.VideoWebhook;
731
+ }
732
+ export interface VoiceCapability {
733
+ /**
734
+ * Webhook Vonage calls to fetch the NCCO that controls an inbound or answered call.
735
+ */
736
+ answerUrl?: outputs.VoiceWebhook;
737
+ /**
738
+ * Hours a named conversation stays active after creation (1-9000).
739
+ */
740
+ conversationsTtl?: number;
741
+ /**
742
+ * Webhook that receives call state events.
743
+ */
744
+ eventUrl?: outputs.VoiceWebhook;
745
+ /**
746
+ * Webhook used if answerUrl is offline or returns an HTTP error.
747
+ */
748
+ fallbackAnswerUrl?: outputs.VoiceWebhook;
749
+ /**
750
+ * Days call legs persist (1-31).
751
+ */
752
+ legPersistenceTime?: number;
753
+ /**
754
+ * Region that handles inbound, programmable SIP and SIP Connect calls: na-east, na-west, eu-east, eu-west, apac-sng or apac-australia.
755
+ */
756
+ region?: string;
757
+ /**
758
+ * Whether Vonage signs webhook requests (server default true).
759
+ */
760
+ signedCallbacks?: boolean;
761
+ }
762
+ export interface VoiceWebhook {
763
+ /**
764
+ * The URL Vonage calls.
765
+ */
766
+ address: string;
767
+ /**
768
+ * Milliseconds Vonage waits to connect to the webhook (300-1000).
769
+ */
770
+ connectTimeout?: number;
771
+ /**
772
+ * HTTP method Vonage uses: GET or POST.
773
+ */
774
+ httpMethod?: string;
775
+ /**
776
+ * Milliseconds Vonage waits for the webhook response to be read (1000-10000).
777
+ */
778
+ socketTimeout?: number;
779
+ }
780
+ export interface Webhook {
781
+ /**
782
+ * The URL Vonage calls.
783
+ */
784
+ address: string;
785
+ /**
786
+ * HTTP method Vonage uses: GET or POST. Messages, verify and meetings webhooks only accept POST.
787
+ */
788
+ httpMethod?: string;
789
+ }
790
+ //# sourceMappingURL=output.d.ts.map