@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
package/README.md ADDED
@@ -0,0 +1 @@
1
+ Experimental: manage Vonage (formerly Nexmo) applications, numbers, subaccounts, API secrets, Verify v2 templates and Network Registry business profiles as infrastructure with Pulumi.
@@ -0,0 +1,62 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * The default SMS webhooks of the Vonage account (POST /account/settings). A singleton: there is exactly one per account, so create adopts it, import ID is the account API key, and destroy clears only the URLs this resource manages. Vonage requests each URL and rejects it unless it answers 200.
4
+ */
5
+ export declare class AccountSettings extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing AccountSettings resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): AccountSettings;
15
+ /**
16
+ * Returns true if the given object is an instance of AccountSettings. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is AccountSettings;
20
+ /**
21
+ * Default webhook URL for SMS delivery receipts (dr = delivery receipt). Vonage requests the URL and only saves it when it answers 200. When unset the resource does not manage it, and removing it from a program that managed it clears the URL on the account.
22
+ */
23
+ readonly drCallBackUrl: pulumi.Output<string | undefined>;
24
+ /**
25
+ * Maximum API calls per second Vonage allows the account. Read-only.
26
+ */
27
+ readonly maxCallsPerSecond: pulumi.Output<number | undefined>;
28
+ /**
29
+ * Maximum inbound SMS requests per second Vonage allows the account. Read-only.
30
+ */
31
+ readonly maxInboundRequest: pulumi.Output<number | undefined>;
32
+ /**
33
+ * Maximum outbound SMS requests per second Vonage allows the account. Read-only.
34
+ */
35
+ readonly maxOutboundRequest: pulumi.Output<number | undefined>;
36
+ /**
37
+ * Default webhook URL for inbound SMS (mo = mobile originated). Vonage requests the URL and only saves it when it answers 200. When unset the resource does not manage it, and removing it from a program that managed it clears the URL on the account.
38
+ */
39
+ readonly moCallBackUrl: pulumi.Output<string | undefined>;
40
+ /**
41
+ * Create a AccountSettings resource with the given unique name, arguments, and options.
42
+ *
43
+ * @param name The _unique_ name of the resource.
44
+ * @param args The arguments to use to populate this resource's properties.
45
+ * @param opts A bag of options that control this resource's behavior.
46
+ */
47
+ constructor(name: string, args?: AccountSettingsArgs, opts?: pulumi.CustomResourceOptions);
48
+ }
49
+ /**
50
+ * The set of arguments for constructing a AccountSettings resource.
51
+ */
52
+ export interface AccountSettingsArgs {
53
+ /**
54
+ * Default webhook URL for SMS delivery receipts (dr = delivery receipt). Vonage requests the URL and only saves it when it answers 200. When unset the resource does not manage it, and removing it from a program that managed it clears the URL on the account.
55
+ */
56
+ drCallBackUrl?: pulumi.Input<string | undefined>;
57
+ /**
58
+ * Default webhook URL for inbound SMS (mo = mobile originated). Vonage requests the URL and only saves it when it answers 200. When unset the resource does not manage it, and removing it from a program that managed it clears the URL on the account.
59
+ */
60
+ moCallBackUrl?: pulumi.Input<string | undefined>;
61
+ }
62
+ //# sourceMappingURL=accountSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountSettings.d.ts","sourceRoot":"","sources":["../accountSettings.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,eAAe;IAOlH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,eAAe;IAO1D;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,SAAgC,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrF;;OAEG;IACH,SAAgC,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrF;;OAEG;IACH,SAAgC,kBAAkB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtF;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEzE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAmB5F;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACpD"}
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.AccountSettings = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * The default SMS webhooks of the Vonage account (POST /account/settings). A singleton: there is exactly one per account, so create adopts it, import ID is the account API key, and destroy clears only the URLs this resource manages. Vonage requests each URL and rejects it unless it answers 200.
33
+ */
34
+ class AccountSettings extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing AccountSettings resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, opts) {
44
+ return new AccountSettings(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'vonage:index:AccountSettings';
48
+ /**
49
+ * Returns true if the given object is an instance of AccountSettings. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === AccountSettings.__pulumiType;
57
+ }
58
+ /**
59
+ * Create a AccountSettings resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name, args, opts) {
66
+ let resourceInputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ resourceInputs["drCallBackUrl"] = args?.drCallBackUrl;
70
+ resourceInputs["moCallBackUrl"] = args?.moCallBackUrl;
71
+ resourceInputs["maxCallsPerSecond"] = undefined /*out*/;
72
+ resourceInputs["maxInboundRequest"] = undefined /*out*/;
73
+ resourceInputs["maxOutboundRequest"] = undefined /*out*/;
74
+ }
75
+ else {
76
+ resourceInputs["drCallBackUrl"] = undefined /*out*/;
77
+ resourceInputs["maxCallsPerSecond"] = undefined /*out*/;
78
+ resourceInputs["maxInboundRequest"] = undefined /*out*/;
79
+ resourceInputs["maxOutboundRequest"] = undefined /*out*/;
80
+ resourceInputs["moCallBackUrl"] = undefined /*out*/;
81
+ }
82
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
83
+ super(AccountSettings.__pulumiType, name, resourceInputs, opts);
84
+ }
85
+ }
86
+ exports.AccountSettings = AccountSettings;
87
+ //# sourceMappingURL=accountSettings.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountSettings.js","sourceRoot":"","sources":["../accountSettings.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,8BAA8B,CAAC;IAErE;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAuBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA0B,EAAE,IAAmC;QACrF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,EAAE,aAAa,CAAC;YACtD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC5D;aAAM;YACH,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACxD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAzEL,0CA0EC"}
@@ -0,0 +1,62 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * An API secret for a Vonage account or subaccount. An account can have at most two secrets; Vonage refuses to revoke the last remaining one.
4
+ */
5
+ export declare class ApiSecret extends pulumi.CustomResource {
6
+ /**
7
+ * Get an existing ApiSecret resource's state with the given name, ID, and optional extra
8
+ * properties used to qualify the lookup.
9
+ *
10
+ * @param name The _unique_ name of the resulting resource.
11
+ * @param id The _unique_ provider ID of the resource to lookup.
12
+ * @param opts Optional settings to control the behavior of the CustomResource.
13
+ */
14
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ApiSecret;
15
+ /**
16
+ * Returns true if the given object is an instance of ApiSecret. This is designed to work even
17
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
18
+ */
19
+ static isInstance(obj: any): obj is ApiSecret;
20
+ /**
21
+ * API key of the account that owns the secret. Defaults to the provider's account; set it to a subaccount's apiKey to rotate that subaccount's secrets. Changing it replaces the resource.
22
+ */
23
+ readonly accountKey: pulumi.Output<string | undefined>;
24
+ /**
25
+ * ISO 8601 creation timestamp.
26
+ */
27
+ readonly createdAt: pulumi.Output<string>;
28
+ /**
29
+ * The account API key that owns the secret.
30
+ */
31
+ readonly ownerKey: pulumi.Output<string>;
32
+ /**
33
+ * The secret value (8-25 characters with at least one lowercase letter, one uppercase letter and one digit). Vonage never returns it again, so it is kept in state as a secret. Changing it replaces the resource: when the account already holds two secrets the old one is revoked first, otherwise the new one is created first.
34
+ */
35
+ readonly secret: pulumi.Output<string>;
36
+ /**
37
+ * The Vonage-assigned secret ID.
38
+ */
39
+ readonly secretId: pulumi.Output<string>;
40
+ /**
41
+ * Create a ApiSecret resource with the given unique name, arguments, and options.
42
+ *
43
+ * @param name The _unique_ name of the resource.
44
+ * @param args The arguments to use to populate this resource's properties.
45
+ * @param opts A bag of options that control this resource's behavior.
46
+ */
47
+ constructor(name: string, args: ApiSecretArgs, opts?: pulumi.CustomResourceOptions);
48
+ }
49
+ /**
50
+ * The set of arguments for constructing a ApiSecret resource.
51
+ */
52
+ export interface ApiSecretArgs {
53
+ /**
54
+ * API key of the account that owns the secret. Defaults to the provider's account; set it to a subaccount's apiKey to rotate that subaccount's secrets. Changing it replaces the resource.
55
+ */
56
+ accountKey?: pulumi.Input<string | undefined>;
57
+ /**
58
+ * The secret value (8-25 characters with at least one lowercase letter, one uppercase letter and one digit). Vonage never returns it again, so it is kept in state as a secret. Changing it replaces the resource: when the account already holds two secrets the old one is revoked first, otherwise the new one is created first.
59
+ */
60
+ secret: pulumi.Input<string>;
61
+ }
62
+ //# sourceMappingURL=apiSecret.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiSecret.d.ts","sourceRoot":"","sources":["../apiSecret.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,qBAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,SAAS;IAO5G;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,SAAS;IAOpD;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtE;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAgC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAChE;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACtD;;OAEG;IACH,SAAgC,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAEhE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAwBrF;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.ApiSecret = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * An API secret for a Vonage account or subaccount. An account can have at most two secrets; Vonage refuses to revoke the last remaining one.
33
+ */
34
+ class ApiSecret extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing ApiSecret resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, opts) {
44
+ return new ApiSecret(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'vonage:index:ApiSecret';
48
+ /**
49
+ * Returns true if the given object is an instance of ApiSecret. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === ApiSecret.__pulumiType;
57
+ }
58
+ /**
59
+ * Create a ApiSecret resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name, args, opts) {
66
+ let resourceInputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if (args?.secret === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'secret'");
71
+ }
72
+ resourceInputs["accountKey"] = args?.accountKey;
73
+ resourceInputs["secret"] = args?.secret ? pulumi.secret(args.secret) : undefined;
74
+ resourceInputs["createdAt"] = undefined /*out*/;
75
+ resourceInputs["ownerKey"] = undefined /*out*/;
76
+ resourceInputs["secretId"] = undefined /*out*/;
77
+ }
78
+ else {
79
+ resourceInputs["accountKey"] = undefined /*out*/;
80
+ resourceInputs["createdAt"] = undefined /*out*/;
81
+ resourceInputs["ownerKey"] = undefined /*out*/;
82
+ resourceInputs["secret"] = undefined /*out*/;
83
+ resourceInputs["secretId"] = undefined /*out*/;
84
+ }
85
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
86
+ const secretOpts = { additionalSecretOutputs: ["secret"] };
87
+ opts = pulumi.mergeOptions(opts, secretOpts);
88
+ super(ApiSecret.__pulumiType, name, resourceInputs, opts);
89
+ }
90
+ }
91
+ exports.ApiSecret = ApiSecret;
92
+ //# sourceMappingURL=apiSecret.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"apiSecret.js","sourceRoot":"","sources":["../apiSecret.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,SAAU,SAAQ,MAAM,CAAC,cAAc;IAChD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,SAAS,C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Ac,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC/C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AA9EL,8BA+EC"}
@@ -0,0 +1,136 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * A Vonage application (Application API v2): capabilities, webhooks and signing keys. Update replaces the whole configuration, so every capability you want must be declared in the program; video and networkApis you do not declare are preserved as they are on the server, and removing a block you declared earlier disables that capability.
6
+ */
7
+ export declare class Application extends pulumi.CustomResource {
8
+ /**
9
+ * Get an existing Application resource's state with the given name, ID, and optional extra
10
+ * properties used to qualify the lookup.
11
+ *
12
+ * @param name The _unique_ name of the resulting resource.
13
+ * @param id The _unique_ provider ID of the resource to lookup.
14
+ * @param opts Optional settings to control the behavior of the CustomResource.
15
+ */
16
+ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Application;
17
+ /**
18
+ * Returns true if the given object is an instance of Application. This is designed to work even
19
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
20
+ */
21
+ static isInstance(obj: any): obj is Application;
22
+ /**
23
+ * The Vonage application ID (UUID). Use it as app_id for numbers and as the JWT application_id claim.
24
+ */
25
+ readonly applicationId: pulumi.Output<string>;
26
+ /**
27
+ * The PEM public key registered with the application.
28
+ */
29
+ readonly applicationPublicKey: pulumi.Output<string>;
30
+ /**
31
+ * Whether Vonage may use traffic to improve its AI models (privacy.improve_ai).
32
+ */
33
+ readonly improveAi: pulumi.Output<boolean | undefined>;
34
+ /**
35
+ * Meetings capability. Omit to leave meetings disabled.
36
+ */
37
+ readonly meetings: pulumi.Output<outputs.MeetingsCapability | undefined>;
38
+ /**
39
+ * Messages capability. Omit to leave messages disabled.
40
+ */
41
+ readonly messages: pulumi.Output<outputs.MessagesCapability | undefined>;
42
+ /**
43
+ * Application name (shown in the Vonage dashboard).
44
+ */
45
+ readonly name: pulumi.Output<string>;
46
+ /**
47
+ * Network APIs capability (SIM Swap, Number Verification). Omit to leave it as it is on the server.
48
+ */
49
+ readonly networkApis: pulumi.Output<outputs.NetworkApisCapability | undefined>;
50
+ /**
51
+ * The PEM private key generated by Vonage. Vonage returns it exactly once, on creation, and never again; it is stored as a secret in Pulumi state. Unset when publicKey was supplied.
52
+ */
53
+ readonly privateKey: pulumi.Output<string | undefined>;
54
+ /**
55
+ * Optional PEM public key. When omitted Vonage generates a key pair on creation and the private key is returned once as privateKey. When set, no private key is generated.
56
+ */
57
+ readonly publicKey: pulumi.Output<string | undefined>;
58
+ /**
59
+ * RTC capability. Omit to leave RTC disabled.
60
+ */
61
+ readonly rtc: pulumi.Output<outputs.RtcCapability | undefined>;
62
+ /**
63
+ * Set true to enable the (empty) vbc capability for zero-rated VBC calls.
64
+ */
65
+ readonly vbc: pulumi.Output<boolean | undefined>;
66
+ /**
67
+ * Verify v2 capability. Omit to leave verify disabled.
68
+ */
69
+ readonly verify: pulumi.Output<outputs.VerifyCapability | undefined>;
70
+ /**
71
+ * Video API capability: webhooks and recording storage. Omit to leave video as it is on the server; an existing video capability configured outside Pulumi is preserved until you declare the block.
72
+ */
73
+ readonly video: pulumi.Output<outputs.VideoCapability | undefined>;
74
+ /**
75
+ * Voice capability. Omit to leave voice disabled.
76
+ */
77
+ readonly voice: pulumi.Output<outputs.VoiceCapability | undefined>;
78
+ /**
79
+ * Create a Application resource with the given unique name, arguments, and options.
80
+ *
81
+ * @param name The _unique_ name of the resource.
82
+ * @param args The arguments to use to populate this resource's properties.
83
+ * @param opts A bag of options that control this resource's behavior.
84
+ */
85
+ constructor(name: string, args: ApplicationArgs, opts?: pulumi.CustomResourceOptions);
86
+ }
87
+ /**
88
+ * The set of arguments for constructing a Application resource.
89
+ */
90
+ export interface ApplicationArgs {
91
+ /**
92
+ * Whether Vonage may use traffic to improve its AI models (privacy.improve_ai).
93
+ */
94
+ improveAi?: pulumi.Input<boolean | undefined>;
95
+ /**
96
+ * Meetings capability. Omit to leave meetings disabled.
97
+ */
98
+ meetings?: pulumi.Input<inputs.MeetingsCapabilityArgs | undefined>;
99
+ /**
100
+ * Messages capability. Omit to leave messages disabled.
101
+ */
102
+ messages?: pulumi.Input<inputs.MessagesCapabilityArgs | undefined>;
103
+ /**
104
+ * Application name (shown in the Vonage dashboard).
105
+ */
106
+ name: pulumi.Input<string>;
107
+ /**
108
+ * Network APIs capability (SIM Swap, Number Verification). Omit to leave it as it is on the server.
109
+ */
110
+ networkApis?: pulumi.Input<inputs.NetworkApisCapabilityArgs | undefined>;
111
+ /**
112
+ * Optional PEM public key. When omitted Vonage generates a key pair on creation and the private key is returned once as privateKey. When set, no private key is generated.
113
+ */
114
+ publicKey?: pulumi.Input<string | undefined>;
115
+ /**
116
+ * RTC capability. Omit to leave RTC disabled.
117
+ */
118
+ rtc?: pulumi.Input<inputs.RtcCapabilityArgs | undefined>;
119
+ /**
120
+ * Set true to enable the (empty) vbc capability for zero-rated VBC calls.
121
+ */
122
+ vbc?: pulumi.Input<boolean | undefined>;
123
+ /**
124
+ * Verify v2 capability. Omit to leave verify disabled.
125
+ */
126
+ verify?: pulumi.Input<inputs.VerifyCapabilityArgs | undefined>;
127
+ /**
128
+ * Video API capability: webhooks and recording storage. Omit to leave video as it is on the server; an existing video capability configured outside Pulumi is preserved until you declare the block.
129
+ */
130
+ video?: pulumi.Input<inputs.VideoCapabilityArgs | undefined>;
131
+ /**
132
+ * Voice capability. Omit to leave voice disabled.
133
+ */
134
+ voice?: pulumi.Input<inputs.VoiceCapabilityArgs | undefined>;
135
+ }
136
+ //# sourceMappingURL=application.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application.d.ts","sourceRoot":"","sources":["../application.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,qBAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,WAAW;IAO9G;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,WAAW;IAOtD;;OAEG;IACH,SAAgC,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACrE;;OAEG;IACH,SAAgC,oBAAoB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5E;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACtE;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IACxF;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IACxF;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,C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AAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACnE;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,yBAAyB,GAAG,SAAS,CAAC,CAAC;IACzE;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IACzD;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,oBAAoB,GAAG,SAAS,CAAC,CAAC;IAC/D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;IAC7D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,mBAAmB,GAAG,SAAS,CAAC,CAAC;CAChE"}
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.Application = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * A Vonage application (Application API v2): capabilities, webhooks and signing keys. Update replaces the whole configuration, so every capability you want must be declared in the program; video and networkApis you do not declare are preserved as they are on the server, and removing a block you declared earlier disables that capability.
33
+ */
34
+ class Application extends pulumi.CustomResource {
35
+ /**
36
+ * Get an existing Application resource's state with the given name, ID, and optional extra
37
+ * properties used to qualify the lookup.
38
+ *
39
+ * @param name The _unique_ name of the resulting resource.
40
+ * @param id The _unique_ provider ID of the resource to lookup.
41
+ * @param opts Optional settings to control the behavior of the CustomResource.
42
+ */
43
+ static get(name, id, opts) {
44
+ return new Application(name, undefined, { ...opts, id: id });
45
+ }
46
+ /** @internal */
47
+ static __pulumiType = 'vonage:index:Application';
48
+ /**
49
+ * Returns true if the given object is an instance of Application. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === Application.__pulumiType;
57
+ }
58
+ /**
59
+ * Create a Application resource with the given unique name, arguments, and options.
60
+ *
61
+ * @param name The _unique_ name of the resource.
62
+ * @param args The arguments to use to populate this resource's properties.
63
+ * @param opts A bag of options that control this resource's behavior.
64
+ */
65
+ constructor(name, args, opts) {
66
+ let resourceInputs = {};
67
+ opts = opts || {};
68
+ if (!opts.id) {
69
+ if (args?.name === undefined && !opts.urn) {
70
+ throw new Error("Missing required property 'name'");
71
+ }
72
+ resourceInputs["improveAi"] = args?.improveAi;
73
+ resourceInputs["meetings"] = args?.meetings;
74
+ resourceInputs["messages"] = args?.messages;
75
+ resourceInputs["name"] = args?.name;
76
+ resourceInputs["networkApis"] = args?.networkApis;
77
+ resourceInputs["publicKey"] = args?.publicKey;
78
+ resourceInputs["rtc"] = args?.rtc;
79
+ resourceInputs["vbc"] = args?.vbc;
80
+ resourceInputs["verify"] = args?.verify;
81
+ resourceInputs["video"] = args?.video;
82
+ resourceInputs["voice"] = args?.voice;
83
+ resourceInputs["applicationId"] = undefined /*out*/;
84
+ resourceInputs["applicationPublicKey"] = undefined /*out*/;
85
+ resourceInputs["privateKey"] = undefined /*out*/;
86
+ }
87
+ else {
88
+ resourceInputs["applicationId"] = undefined /*out*/;
89
+ resourceInputs["applicationPublicKey"] = undefined /*out*/;
90
+ resourceInputs["improveAi"] = undefined /*out*/;
91
+ resourceInputs["meetings"] = undefined /*out*/;
92
+ resourceInputs["messages"] = undefined /*out*/;
93
+ resourceInputs["name"] = undefined /*out*/;
94
+ resourceInputs["networkApis"] = undefined /*out*/;
95
+ resourceInputs["privateKey"] = undefined /*out*/;
96
+ resourceInputs["publicKey"] = undefined /*out*/;
97
+ resourceInputs["rtc"] = undefined /*out*/;
98
+ resourceInputs["vbc"] = undefined /*out*/;
99
+ resourceInputs["verify"] = undefined /*out*/;
100
+ resourceInputs["video"] = undefined /*out*/;
101
+ resourceInputs["voice"] = undefined /*out*/;
102
+ }
103
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
104
+ const secretOpts = { additionalSecretOutputs: ["privateKey"] };
105
+ opts = pulumi.mergeOptions(opts, secretOpts);
106
+ super(Application.__pulumiType, name, resourceInputs, opts);
107
+ }
108
+ }
109
+ exports.Application = Application;
110
+ //# sourceMappingURL=application.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"application.js","sourceRoot":"","sources":["../application.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,WAAW,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,0BAA0B,CAAC;IAEjE;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA2DD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAqB,EAAE,IAAmC;QAChF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,EAAE,SAAS,CAAC;YAC9C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EA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,OAAO,CAAC;YAChD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AApIL,kCAqIC"}
@@ -0,0 +1,2 @@
1
+ export * from "./vars";
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":"AAIA,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
17
+ };
18
+ Object.defineProperty(exports, "__esModule", { value: true });
19
+ // Export members:
20
+ __exportStar(require("./vars"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../config/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;AAEjF,kBAAkB;AAClB,yCAAuB"}