@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,29 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * List the external (Messenger, Viber Service Message, WhatsApp, RCS) accounts registered with Vonage, following every page.
5
+ */
6
+ export declare function getExternalAccounts(args?: GetExternalAccountsArgs, opts?: pulumi.InvokeOptions): Promise<GetExternalAccountsResult>;
7
+ export interface GetExternalAccountsArgs {
8
+ /**
9
+ * Only list accounts of this channel: messenger, viber_service_msg, whatsapp or rcs. Defaults to every channel.
10
+ */
11
+ channel?: string;
12
+ }
13
+ export interface GetExternalAccountsResult {
14
+ /**
15
+ * Every matching account, across all pages.
16
+ */
17
+ readonly accounts: outputs.ExternalAccountSummary[];
18
+ }
19
+ /**
20
+ * List the external (Messenger, Viber Service Message, WhatsApp, RCS) accounts registered with Vonage, following every page.
21
+ */
22
+ export declare function getExternalAccountsOutput(args?: GetExternalAccountsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetExternalAccountsResult>;
23
+ export interface GetExternalAccountsOutputArgs {
24
+ /**
25
+ * Only list accounts of this channel: messenger, viber_service_msg, whatsapp or rcs. Defaults to every channel.
26
+ */
27
+ channel?: pulumi.Input<string | undefined>;
28
+ }
29
+ //# sourceMappingURL=getExternalAccounts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getExternalAccounts.d.ts","sourceRoot":"","sources":["../getExternalAccounts.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAMnI;AAED,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,sBAAsB,EAAE,CAAC;CACvD;AACD;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,CAAC,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAM3J;AAED,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC9C"}
@@ -0,0 +1,53 @@
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.getExternalAccountsOutput = exports.getExternalAccounts = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * List the external (Messenger, Viber Service Message, WhatsApp, RCS) accounts registered with Vonage, following every page.
33
+ */
34
+ function getExternalAccounts(args, opts) {
35
+ args = args || {};
36
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
37
+ return pulumi.runtime.invoke("vonage:index:getExternalAccounts", {
38
+ "channel": args.channel,
39
+ }, opts);
40
+ }
41
+ exports.getExternalAccounts = getExternalAccounts;
42
+ /**
43
+ * List the external (Messenger, Viber Service Message, WhatsApp, RCS) accounts registered with Vonage, following every page.
44
+ */
45
+ function getExternalAccountsOutput(args, opts) {
46
+ args = args || {};
47
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
48
+ return pulumi.runtime.invokeOutput("vonage:index:getExternalAccounts", {
49
+ "channel": args.channel,
50
+ }, opts);
51
+ }
52
+ exports.getExternalAccountsOutput = getExternalAccountsOutput;
53
+ //# sourceMappingURL=getExternalAccounts.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getExternalAccounts.js","sourceRoot":"","sources":["../getExternalAccounts.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAeD;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAAiC;IAC7G,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE;QACnE,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
@@ -0,0 +1,48 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Look up a Messenger account registered with Vonage by Facebook Page ID, including its page access token (secret). Fails if it does not exist.
4
+ */
5
+ export declare function getMessengerAccount(args: GetMessengerAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetMessengerAccountResult>;
6
+ export interface GetMessengerAccountArgs {
7
+ /**
8
+ * The Facebook Page ID.
9
+ */
10
+ externalId: string;
11
+ }
12
+ export interface GetMessengerAccountResult {
13
+ /**
14
+ * The Facebook Page access token. Secret. Set only for a Messenger account.
15
+ */
16
+ readonly accessToken?: string;
17
+ /**
18
+ * The api_key Vonage reports for the account.
19
+ */
20
+ readonly apiKey: string;
21
+ /**
22
+ * IDs of the linked applications (at most one).
23
+ */
24
+ readonly applications: string[];
25
+ /**
26
+ * The account's channel.
27
+ */
28
+ readonly channel: string;
29
+ /**
30
+ * The account's external ID.
31
+ */
32
+ readonly externalId: string;
33
+ /**
34
+ * The account name (empty when none is set).
35
+ */
36
+ readonly name: string;
37
+ }
38
+ /**
39
+ * Look up a Messenger account registered with Vonage by Facebook Page ID, including its page access token (secret). Fails if it does not exist.
40
+ */
41
+ export declare function getMessengerAccountOutput(args: GetMessengerAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMessengerAccountResult>;
42
+ export interface GetMessengerAccountOutputArgs {
43
+ /**
44
+ * The Facebook Page ID.
45
+ */
46
+ externalId: pulumi.Input<string>;
47
+ }
48
+ //# sourceMappingURL=getMessengerAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMessengerAccount.d.ts","sourceRoot":"","sources":["../getMessengerAccount.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAKlI;AAED,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB;AACD;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAK1J;AAED,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
@@ -0,0 +1,51 @@
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.getMessengerAccountOutput = exports.getMessengerAccount = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Look up a Messenger account registered with Vonage by Facebook Page ID, including its page access token (secret). Fails if it does not exist.
33
+ */
34
+ function getMessengerAccount(args, opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invoke("vonage:index:getMessengerAccount", {
37
+ "externalId": args.externalId,
38
+ }, opts);
39
+ }
40
+ exports.getMessengerAccount = getMessengerAccount;
41
+ /**
42
+ * Look up a Messenger account registered with Vonage by Facebook Page ID, including its page access token (secret). Fails if it does not exist.
43
+ */
44
+ function getMessengerAccountOutput(args, opts) {
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
46
+ return pulumi.runtime.invokeOutput("vonage:index:getMessengerAccount", {
47
+ "externalId": args.externalId,
48
+ }, opts);
49
+ }
50
+ exports.getMessengerAccountOutput = getMessengerAccountOutput;
51
+ //# sourceMappingURL=getMessengerAccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMessengerAccount.js","sourceRoot":"","sources":["../getMessengerAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC;AAmCD;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAAiC;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE;QACnE,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,8DAKC"}
@@ -0,0 +1,77 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * Look up a Network Registry application profile by ID. A deleted profile is reported as not found.
5
+ */
6
+ export declare function getNetworkApplicationProfile(args: GetNetworkApplicationProfileArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkApplicationProfileResult>;
7
+ export interface GetNetworkApplicationProfileArgs {
8
+ /**
9
+ * ID of the application profile.
10
+ */
11
+ profileId: string;
12
+ }
13
+ export interface GetNetworkApplicationProfileResult {
14
+ /**
15
+ * ID of the Vonage account that owns it.
16
+ */
17
+ readonly accountId: string;
18
+ /**
19
+ * ID of the business profile that owns it.
20
+ */
21
+ readonly businessProfileId: string;
22
+ /**
23
+ * Category of the application.
24
+ */
25
+ readonly categoryId: string;
26
+ /**
27
+ * When the profile was created (RFC 3339).
28
+ */
29
+ readonly createdAt: string;
30
+ /**
31
+ * Description of the application's use cases; empty when unset.
32
+ */
33
+ readonly description: string;
34
+ /**
35
+ * Two-letter ISO 3166 codes of the countries the application's infrastructure runs in.
36
+ */
37
+ readonly infrastructureLocations: string[];
38
+ /**
39
+ * Name of the application.
40
+ */
41
+ readonly name: string;
42
+ /**
43
+ * The Network APIs the application uses and the purposes it states for each.
44
+ */
45
+ readonly networkApis: outputs.NetworkApplicationProfileApi[];
46
+ /**
47
+ * URL of the application's privacy policy; empty when unset.
48
+ */
49
+ readonly privacyPolicyUrl: string;
50
+ /**
51
+ * ID of the application profile.
52
+ */
53
+ readonly profileId: string;
54
+ /**
55
+ * Overall approval status: pending, provisioning, accepted, partially-accepted, rejected or failed.
56
+ */
57
+ readonly status: string;
58
+ /**
59
+ * Vonage's note about why the profile was rejected; empty when there is none.
60
+ */
61
+ readonly statusMessage: string;
62
+ /**
63
+ * When the profile was last updated (RFC 3339).
64
+ */
65
+ readonly updatedAt: string;
66
+ }
67
+ /**
68
+ * Look up a Network Registry application profile by ID. A deleted profile is reported as not found.
69
+ */
70
+ export declare function getNetworkApplicationProfileOutput(args: GetNetworkApplicationProfileOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkApplicationProfileResult>;
71
+ export interface GetNetworkApplicationProfileOutputArgs {
72
+ /**
73
+ * ID of the application profile.
74
+ */
75
+ profileId: pulumi.Input<string>;
76
+ }
77
+ //# sourceMappingURL=getNetworkApplicationProfile.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNetworkApplicationProfile.d.ts","sourceRoot":"","sources":["../getNetworkApplicationProfile.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,gCAAgC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,kCAAkC,CAAC,CAK7J;AAED,MAAM,WAAW,gCAAgC;IAC7C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,kCAAkC;IAC/C;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,uBAAuB,EAAE,MAAM,EAAE,CAAC;IAC3C;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC,4BAA4B,EAAE,CAAC;IAC7D;;OAEG;IACH,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;IAClC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC9B;AACD;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,sCAAsC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,kCAAkC,CAAC,CAKrL;AAED,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC"}
@@ -0,0 +1,51 @@
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.getNetworkApplicationProfileOutput = exports.getNetworkApplicationProfile = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Look up a Network Registry application profile by ID. A deleted profile is reported as not found.
33
+ */
34
+ function getNetworkApplicationProfile(args, opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invoke("vonage:index:getNetworkApplicationProfile", {
37
+ "profileId": args.profileId,
38
+ }, opts);
39
+ }
40
+ exports.getNetworkApplicationProfile = getNetworkApplicationProfile;
41
+ /**
42
+ * Look up a Network Registry application profile by ID. A deleted profile is reported as not found.
43
+ */
44
+ function getNetworkApplicationProfileOutput(args, opts) {
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
46
+ return pulumi.runtime.invokeOutput("vonage:index:getNetworkApplicationProfile", {
47
+ "profileId": args.profileId,
48
+ }, opts);
49
+ }
50
+ exports.getNetworkApplicationProfileOutput = getNetworkApplicationProfileOutput;
51
+ //# sourceMappingURL=getNetworkApplicationProfile.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNetworkApplicationProfile.js","sourceRoot":"","sources":["../getNetworkApplicationProfile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,4BAA4B,CAAC,IAAsC,EAAE,IAA2B;IAC5G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,2CAA2C,EAAE;QACtE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oEAKC;AA+DD;;GAEG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAAiC;IAC9H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,2CAA2C,EAAE;QAC5E,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gFAKC"}
@@ -0,0 +1,40 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * Look up whether a Network Registry application profile is shared with an account. The API has no get-one call, so this lists the profile's shares and picks the match; an absent share is reported as not found.
4
+ */
5
+ export declare function getNetworkApplicationProfileShare(args: GetNetworkApplicationProfileShareArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkApplicationProfileShareResult>;
6
+ export interface GetNetworkApplicationProfileShareArgs {
7
+ /**
8
+ * ID (API key) of the Vonage account the profile is shared with.
9
+ */
10
+ accountId: string;
11
+ /**
12
+ * ID of the application profile, which your account must own.
13
+ */
14
+ profileId: string;
15
+ }
16
+ export interface GetNetworkApplicationProfileShareResult {
17
+ /**
18
+ * ID of the Vonage account the profile is shared with.
19
+ */
20
+ readonly accountId: string;
21
+ /**
22
+ * ID of the application profile.
23
+ */
24
+ readonly profileId: string;
25
+ }
26
+ /**
27
+ * Look up whether a Network Registry application profile is shared with an account. The API has no get-one call, so this lists the profile's shares and picks the match; an absent share is reported as not found.
28
+ */
29
+ export declare function getNetworkApplicationProfileShareOutput(args: GetNetworkApplicationProfileShareOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkApplicationProfileShareResult>;
30
+ export interface GetNetworkApplicationProfileShareOutputArgs {
31
+ /**
32
+ * ID (API key) of the Vonage account the profile is shared with.
33
+ */
34
+ accountId: pulumi.Input<string>;
35
+ /**
36
+ * ID of the application profile, which your account must own.
37
+ */
38
+ profileId: pulumi.Input<string>;
39
+ }
40
+ //# sourceMappingURL=getNetworkApplicationProfileShare.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNetworkApplicationProfileShare.d.ts","sourceRoot":"","sources":["../getNetworkApplicationProfileShare.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,qCAAqC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uCAAuC,CAAC,CAM5K;AAED,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;CAC9B;AACD;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,2CAA2C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uCAAuC,CAAC,CAMpM;AAED,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC"}
@@ -0,0 +1,53 @@
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.getNetworkApplicationProfileShareOutput = exports.getNetworkApplicationProfileShare = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * Look up whether a Network Registry application profile is shared with an account. The API has no get-one call, so this lists the profile's shares and picks the match; an absent share is reported as not found.
33
+ */
34
+ function getNetworkApplicationProfileShare(args, opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invoke("vonage:index:getNetworkApplicationProfileShare", {
37
+ "accountId": args.accountId,
38
+ "profileId": args.profileId,
39
+ }, opts);
40
+ }
41
+ exports.getNetworkApplicationProfileShare = getNetworkApplicationProfileShare;
42
+ /**
43
+ * Look up whether a Network Registry application profile is shared with an account. The API has no get-one call, so this lists the profile's shares and picks the match; an absent share is reported as not found.
44
+ */
45
+ function getNetworkApplicationProfileShareOutput(args, opts) {
46
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
47
+ return pulumi.runtime.invokeOutput("vonage:index:getNetworkApplicationProfileShare", {
48
+ "accountId": args.accountId,
49
+ "profileId": args.profileId,
50
+ }, opts);
51
+ }
52
+ exports.getNetworkApplicationProfileShareOutput = getNetworkApplicationProfileShareOutput;
53
+ //# sourceMappingURL=getNetworkApplicationProfileShare.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNetworkApplicationProfileShare.js","sourceRoot":"","sources":["../getNetworkApplicationProfileShare.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,iCAAiC,CAAC,IAA2C,EAAE,IAA2B;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE;QAC3E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8EAMC;AAuBD;;GAEG;AACH,SAAgB,uCAAuC,CAAC,IAAiD,EAAE,IAAiC;IACxI,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gDAAgD,EAAE;QACjF,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0FAMC"}
@@ -0,0 +1,28 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * List the Vonage accounts a Network Registry application profile has been shared with, following every page.
4
+ */
5
+ export declare function getNetworkApplicationProfileShares(args: GetNetworkApplicationProfileSharesArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkApplicationProfileSharesResult>;
6
+ export interface GetNetworkApplicationProfileSharesArgs {
7
+ /**
8
+ * ID of the application profile, which your account must own.
9
+ */
10
+ profileId: string;
11
+ }
12
+ export interface GetNetworkApplicationProfileSharesResult {
13
+ /**
14
+ * IDs of the Vonage accounts the profile is shared with.
15
+ */
16
+ readonly accountIds: string[];
17
+ }
18
+ /**
19
+ * List the Vonage accounts a Network Registry application profile has been shared with, following every page.
20
+ */
21
+ export declare function getNetworkApplicationProfileSharesOutput(args: GetNetworkApplicationProfileSharesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkApplicationProfileSharesResult>;
22
+ export interface GetNetworkApplicationProfileSharesOutputArgs {
23
+ /**
24
+ * ID of the application profile, which your account must own.
25
+ */
26
+ profileId: pulumi.Input<string>;
27
+ }
28
+ //# sourceMappingURL=getNetworkApplicationProfileShares.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNetworkApplicationProfileShares.d.ts","sourceRoot":"","sources":["../getNetworkApplicationProfileShares.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,kCAAkC,CAAC,IAAI,EAAE,sCAAsC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,wCAAwC,CAAC,CAK/K;AAED,MAAM,WAAW,sCAAsC;IACnD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,wCAAwC;IACrD;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC;CACjC;AACD;;GAEG;AACH,wBAAgB,wCAAwC,CAAC,IAAI,EAAE,4CAA4C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,wCAAwC,CAAC,CAKvM;AAED,MAAM,WAAW,4CAA4C;IACzD;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACnC"}
@@ -0,0 +1,51 @@
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.getNetworkApplicationProfileSharesOutput = exports.getNetworkApplicationProfileShares = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * List the Vonage accounts a Network Registry application profile has been shared with, following every page.
33
+ */
34
+ function getNetworkApplicationProfileShares(args, opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invoke("vonage:index:getNetworkApplicationProfileShares", {
37
+ "profileId": args.profileId,
38
+ }, opts);
39
+ }
40
+ exports.getNetworkApplicationProfileShares = getNetworkApplicationProfileShares;
41
+ /**
42
+ * List the Vonage accounts a Network Registry application profile has been shared with, following every page.
43
+ */
44
+ function getNetworkApplicationProfileSharesOutput(args, opts) {
45
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
46
+ return pulumi.runtime.invokeOutput("vonage:index:getNetworkApplicationProfileShares", {
47
+ "profileId": args.profileId,
48
+ }, opts);
49
+ }
50
+ exports.getNetworkApplicationProfileSharesOutput = getNetworkApplicationProfileSharesOutput;
51
+ //# sourceMappingURL=getNetworkApplicationProfileShares.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNetworkApplicationProfileShares.js","sourceRoot":"","sources":["../getNetworkApplicationProfileShares.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iDAAiD,EAAE;QAC5E,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gFAKC;AAeD;;GAEG;AACH,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAAiC;IAC1I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iDAAiD,EAAE;QAClF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,4FAKC"}
@@ -0,0 +1,45 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * List the account's Network Registry application profiles, following every page.
5
+ */
6
+ export declare function getNetworkApplicationProfiles(args?: GetNetworkApplicationProfilesArgs, opts?: pulumi.InvokeOptions): Promise<GetNetworkApplicationProfilesResult>;
7
+ export interface GetNetworkApplicationProfilesArgs {
8
+ /**
9
+ * Only list the profiles of this business profile.
10
+ */
11
+ businessProfileId?: string;
12
+ /**
13
+ * List the profiles other accounts have shared with this one instead of the account's own. Defaults to false.
14
+ */
15
+ shared?: boolean;
16
+ /**
17
+ * Only list profiles with this overall status (pending, provisioning, accepted, partially-accepted, rejected or failed).
18
+ */
19
+ status?: string;
20
+ }
21
+ export interface GetNetworkApplicationProfilesResult {
22
+ /**
23
+ * The application profiles, deleted ones excluded.
24
+ */
25
+ readonly profiles: outputs.GetNetworkApplicationProfileResult[];
26
+ }
27
+ /**
28
+ * List the account's Network Registry application profiles, following every page.
29
+ */
30
+ export declare function getNetworkApplicationProfilesOutput(args?: GetNetworkApplicationProfilesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNetworkApplicationProfilesResult>;
31
+ export interface GetNetworkApplicationProfilesOutputArgs {
32
+ /**
33
+ * Only list the profiles of this business profile.
34
+ */
35
+ businessProfileId?: pulumi.Input<string | undefined>;
36
+ /**
37
+ * List the profiles other accounts have shared with this one instead of the account's own. Defaults to false.
38
+ */
39
+ shared?: pulumi.Input<boolean | undefined>;
40
+ /**
41
+ * Only list profiles with this overall status (pending, provisioning, accepted, partially-accepted, rejected or failed).
42
+ */
43
+ status?: pulumi.Input<string | undefined>;
44
+ }
45
+ //# sourceMappingURL=getNetworkApplicationProfiles.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNetworkApplicationProfiles.d.ts","sourceRoot":"","sources":["../getNetworkApplicationProfiles.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,6BAA6B,CAAC,IAAI,CAAC,EAAE,iCAAiC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,mCAAmC,CAAC,CAQjK;AAED,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,kCAAkC,EAAE,CAAC;CACnE;AACD;;GAEG;AACH,wBAAgB,mCAAmC,CAAC,IAAI,CAAC,EAAE,uCAAuC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,mCAAmC,CAAC,CAQzL;AAED,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C"}
@@ -0,0 +1,57 @@
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.getNetworkApplicationProfilesOutput = exports.getNetworkApplicationProfiles = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * List the account's Network Registry application profiles, following every page.
33
+ */
34
+ function getNetworkApplicationProfiles(args, opts) {
35
+ args = args || {};
36
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
37
+ return pulumi.runtime.invoke("vonage:index:getNetworkApplicationProfiles", {
38
+ "businessProfileId": args.businessProfileId,
39
+ "shared": args.shared,
40
+ "status": args.status,
41
+ }, opts);
42
+ }
43
+ exports.getNetworkApplicationProfiles = getNetworkApplicationProfiles;
44
+ /**
45
+ * List the account's Network Registry application profiles, following every page.
46
+ */
47
+ function getNetworkApplicationProfilesOutput(args, opts) {
48
+ args = args || {};
49
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
50
+ return pulumi.runtime.invokeOutput("vonage:index:getNetworkApplicationProfiles", {
51
+ "businessProfileId": args.businessProfileId,
52
+ "shared": args.shared,
53
+ "status": args.status,
54
+ }, opts);
55
+ }
56
+ exports.getNetworkApplicationProfilesOutput = getNetworkApplicationProfilesOutput;
57
+ //# sourceMappingURL=getNetworkApplicationProfiles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNetworkApplicationProfiles.js","sourceRoot":"","sources":["../getNetworkApplicationProfiles.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,6BAA6B,CAAC,IAAwC,EAAE,IAA2B;IAC/G,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,sEAQC;AAuBD;;GAEG;AACH,SAAgB,mCAAmC,CAAC,IAA8C,EAAE,IAAiC;IACjI,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4CAA4C,EAAE;QAC7E,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kFAQC"}