@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.
- package/README.md +1 -0
- package/bin/accountSettings.d.ts +62 -0
- package/bin/accountSettings.d.ts.map +1 -0
- package/bin/accountSettings.js +87 -0
- package/bin/accountSettings.js.map +1 -0
- package/bin/apiSecret.d.ts +62 -0
- package/bin/apiSecret.d.ts.map +1 -0
- package/bin/apiSecret.js +92 -0
- package/bin/apiSecret.js.map +1 -0
- package/bin/application.d.ts +136 -0
- package/bin/application.d.ts.map +1 -0
- package/bin/application.js +110 -0
- package/bin/application.js.map +1 -0
- package/bin/config/index.d.ts +2 -0
- package/bin/config/index.d.ts.map +1 -0
- package/bin/config/index.js +21 -0
- package/bin/config/index.js.map +1 -0
- package/bin/config/vars.d.ts +25 -0
- package/bin/config/vars.d.ts.map +1 -0
- package/bin/config/vars.js +67 -0
- package/bin/config/vars.js.map +1 -0
- package/bin/externalAccountApplicationLink.d.ts +58 -0
- package/bin/externalAccountApplicationLink.d.ts.map +1 -0
- package/bin/externalAccountApplicationLink.js +92 -0
- package/bin/externalAccountApplicationLink.js.map +1 -0
- package/bin/getAccountBalance.d.ts +22 -0
- package/bin/getAccountBalance.d.ts.map +1 -0
- package/bin/getAccountBalance.js +48 -0
- package/bin/getAccountBalance.js.map +1 -0
- package/bin/getAccountSettings.d.ts +34 -0
- package/bin/getAccountSettings.d.ts.map +1 -0
- package/bin/getAccountSettings.js +48 -0
- package/bin/getAccountSettings.js.map +1 -0
- package/bin/getApiSecret.d.ts +44 -0
- package/bin/getApiSecret.d.ts.map +1 -0
- package/bin/getApiSecret.js +53 -0
- package/bin/getApiSecret.js.map +1 -0
- package/bin/getApiSecrets.d.ts +33 -0
- package/bin/getApiSecrets.d.ts.map +1 -0
- package/bin/getApiSecrets.js +53 -0
- package/bin/getApiSecrets.js.map +1 -0
- package/bin/getApplication.d.ts +81 -0
- package/bin/getApplication.d.ts.map +1 -0
- package/bin/getApplication.js +55 -0
- package/bin/getApplication.js.map +1 -0
- package/bin/getApplications.d.ts +29 -0
- package/bin/getApplications.d.ts.map +1 -0
- package/bin/getApplications.js +53 -0
- package/bin/getApplications.js.map +1 -0
- package/bin/getAvailableNumbers.d.ts +81 -0
- package/bin/getAvailableNumbers.d.ts.map +1 -0
- package/bin/getAvailableNumbers.js +63 -0
- package/bin/getAvailableNumbers.js.map +1 -0
- package/bin/getExternalAccount.d.ts +56 -0
- package/bin/getExternalAccount.d.ts.map +1 -0
- package/bin/getExternalAccount.js +53 -0
- package/bin/getExternalAccount.js.map +1 -0
- package/bin/getExternalAccountApplicationLink.d.ts +56 -0
- package/bin/getExternalAccountApplicationLink.d.ts.map +1 -0
- package/bin/getExternalAccountApplicationLink.js +55 -0
- package/bin/getExternalAccountApplicationLink.js.map +1 -0
- package/bin/getExternalAccounts.d.ts +29 -0
- package/bin/getExternalAccounts.d.ts.map +1 -0
- package/bin/getExternalAccounts.js +53 -0
- package/bin/getExternalAccounts.js.map +1 -0
- package/bin/getMessengerAccount.d.ts +48 -0
- package/bin/getMessengerAccount.d.ts.map +1 -0
- package/bin/getMessengerAccount.js +51 -0
- package/bin/getMessengerAccount.js.map +1 -0
- package/bin/getNetworkApplicationProfile.d.ts +77 -0
- package/bin/getNetworkApplicationProfile.d.ts.map +1 -0
- package/bin/getNetworkApplicationProfile.js +51 -0
- package/bin/getNetworkApplicationProfile.js.map +1 -0
- package/bin/getNetworkApplicationProfileShare.d.ts +40 -0
- package/bin/getNetworkApplicationProfileShare.d.ts.map +1 -0
- package/bin/getNetworkApplicationProfileShare.js +53 -0
- package/bin/getNetworkApplicationProfileShare.js.map +1 -0
- package/bin/getNetworkApplicationProfileShares.d.ts +28 -0
- package/bin/getNetworkApplicationProfileShares.d.ts.map +1 -0
- package/bin/getNetworkApplicationProfileShares.js +51 -0
- package/bin/getNetworkApplicationProfileShares.js.map +1 -0
- package/bin/getNetworkApplicationProfiles.d.ts +45 -0
- package/bin/getNetworkApplicationProfiles.d.ts.map +1 -0
- package/bin/getNetworkApplicationProfiles.js +57 -0
- package/bin/getNetworkApplicationProfiles.js.map +1 -0
- package/bin/getNetworkBusinessProfile.d.ts +85 -0
- package/bin/getNetworkBusinessProfile.d.ts.map +1 -0
- package/bin/getNetworkBusinessProfile.js +51 -0
- package/bin/getNetworkBusinessProfile.js.map +1 -0
- package/bin/getNetworkBusinessProfiles.d.ts +29 -0
- package/bin/getNetworkBusinessProfiles.d.ts.map +1 -0
- package/bin/getNetworkBusinessProfiles.js +53 -0
- package/bin/getNetworkBusinessProfiles.js.map +1 -0
- package/bin/getNetworkRegistryCatalogue.d.ts +65 -0
- package/bin/getNetworkRegistryCatalogue.d.ts.map +1 -0
- package/bin/getNetworkRegistryCatalogue.js +55 -0
- package/bin/getNetworkRegistryCatalogue.js.map +1 -0
- package/bin/getNetworkTermsAndConditions.d.ts +36 -0
- package/bin/getNetworkTermsAndConditions.d.ts.map +1 -0
- package/bin/getNetworkTermsAndConditions.js +51 -0
- package/bin/getNetworkTermsAndConditions.js.map +1 -0
- package/bin/getNumber.d.ts +72 -0
- package/bin/getNumber.d.ts.map +1 -0
- package/bin/getNumber.js +53 -0
- package/bin/getNumber.js.map +1 -0
- package/bin/getNumberPool.d.ts +44 -0
- package/bin/getNumberPool.d.ts.map +1 -0
- package/bin/getNumberPool.js +51 -0
- package/bin/getNumberPool.js.map +1 -0
- package/bin/getNumberPoolNumber.d.ts +40 -0
- package/bin/getNumberPoolNumber.d.ts.map +1 -0
- package/bin/getNumberPoolNumber.js +53 -0
- package/bin/getNumberPoolNumber.js.map +1 -0
- package/bin/getNumberPoolNumbers.d.ts +28 -0
- package/bin/getNumberPoolNumbers.d.ts.map +1 -0
- package/bin/getNumberPoolNumbers.js +51 -0
- package/bin/getNumberPoolNumbers.js.map +1 -0
- package/bin/getNumberPools.d.ts +19 -0
- package/bin/getNumberPools.d.ts.map +1 -0
- package/bin/getNumberPools.js +48 -0
- package/bin/getNumberPools.js.map +1 -0
- package/bin/getNumbers.d.ts +61 -0
- package/bin/getNumbers.d.ts.map +1 -0
- package/bin/getNumbers.js +61 -0
- package/bin/getNumbers.js.map +1 -0
- package/bin/getPricing.d.ts +53 -0
- package/bin/getPricing.d.ts.map +1 -0
- package/bin/getPricing.js +57 -0
- package/bin/getPricing.js.map +1 -0
- package/bin/getSubAccount.d.ts +56 -0
- package/bin/getSubAccount.d.ts.map +1 -0
- package/bin/getSubAccount.js +51 -0
- package/bin/getSubAccount.js.map +1 -0
- package/bin/getSubAccounts.d.ts +33 -0
- package/bin/getSubAccounts.d.ts.map +1 -0
- package/bin/getSubAccounts.js +53 -0
- package/bin/getSubAccounts.js.map +1 -0
- package/bin/getUser.d.ts +59 -0
- package/bin/getUser.d.ts.map +1 -0
- package/bin/getUser.js +55 -0
- package/bin/getUser.js.map +1 -0
- package/bin/getUsers.d.ts +29 -0
- package/bin/getUsers.d.ts.map +1 -0
- package/bin/getUsers.js +53 -0
- package/bin/getUsers.js.map +1 -0
- package/bin/getVerifyTemplate.d.ts +44 -0
- package/bin/getVerifyTemplate.d.ts.map +1 -0
- package/bin/getVerifyTemplate.js +55 -0
- package/bin/getVerifyTemplate.js.map +1 -0
- package/bin/getVerifyTemplateFragment.d.ts +76 -0
- package/bin/getVerifyTemplateFragment.d.ts.map +1 -0
- package/bin/getVerifyTemplateFragment.js +57 -0
- package/bin/getVerifyTemplateFragment.js.map +1 -0
- package/bin/index.d.ts +148 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +214 -0
- package/bin/index.js.map +1 -0
- package/bin/messengerAccount.d.ts +66 -0
- package/bin/messengerAccount.d.ts.map +1 -0
- package/bin/messengerAccount.js +95 -0
- package/bin/messengerAccount.js.map +1 -0
- package/bin/networkApplicationProfile.d.ts +120 -0
- package/bin/networkApplicationProfile.d.ts.map +1 -0
- package/bin/networkApplicationProfile.js +118 -0
- package/bin/networkApplicationProfile.js.map +1 -0
- package/bin/networkApplicationProfileShare.d.ts +50 -0
- package/bin/networkApplicationProfileShare.d.ts.map +1 -0
- package/bin/networkApplicationProfileShare.js +87 -0
- package/bin/networkApplicationProfileShare.js.map +1 -0
- package/bin/networkBusinessProfile.d.ts +200 -0
- package/bin/networkBusinessProfile.d.ts.map +1 -0
- package/bin/networkBusinessProfile.js +150 -0
- package/bin/networkBusinessProfile.js.map +1 -0
- package/bin/number.d.ts +130 -0
- package/bin/number.d.ts.map +1 -0
- package/bin/number.js +121 -0
- package/bin/number.js.map +1 -0
- package/bin/numberPool.d.ts +70 -0
- package/bin/numberPool.d.ts.map +1 -0
- package/bin/numberPool.js +93 -0
- package/bin/numberPool.js.map +1 -0
- package/bin/numberPoolNumber.d.ts +50 -0
- package/bin/numberPoolNumber.d.ts.map +1 -0
- package/bin/numberPoolNumber.js +87 -0
- package/bin/numberPoolNumber.js.map +1 -0
- package/bin/package.json +38 -0
- package/bin/provider.d.ts +70 -0
- package/bin/provider.d.ts.map +1 -0
- package/bin/provider.js +69 -0
- package/bin/provider.js.map +1 -0
- package/bin/subAccount.d.ts +90 -0
- package/bin/subAccount.d.ts.map +1 -0
- package/bin/subAccount.js +100 -0
- package/bin/subAccount.js.map +1 -0
- package/bin/types/index.d.ts +4 -0
- package/bin/types/index.d.ts.map +1 -0
- package/bin/types/index.js +34 -0
- package/bin/types/index.js.map +1 -0
- package/bin/types/input.d.ts +347 -0
- package/bin/types/input.d.ts.map +1 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +790 -0
- package/bin/types/output.d.ts.map +1 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/user.d.ts +80 -0
- package/bin/user.d.ts.map +1 -0
- package/bin/user.js +87 -0
- package/bin/user.js.map +1 -0
- package/bin/utilities.d.ts +5 -0
- package/bin/utilities.d.ts.map +1 -0
- package/bin/utilities.js +114 -0
- package/bin/utilities.js.map +1 -0
- package/bin/verifyTemplate.d.ts +54 -0
- package/bin/verifyTemplate.d.ts.map +1 -0
- package/bin/verifyTemplate.js +86 -0
- package/bin/verifyTemplate.js.map +1 -0
- package/bin/verifyTemplateFragment.d.ts +78 -0
- package/bin/verifyTemplateFragment.d.ts.map +1 -0
- package/bin/verifyTemplateFragment.js +105 -0
- package/bin/verifyTemplateFragment.js.map +1 -0
- package/package.json +38 -1
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Look up a Vonage application by ID or exact name.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getApplication(args?: GetApplicationArgs, opts?: pulumi.InvokeOptions): Promise<GetApplicationResult>;
|
|
7
|
+
export interface GetApplicationArgs {
|
|
8
|
+
/**
|
|
9
|
+
* Application ID (UUID). Exactly one of applicationId or name must be set.
|
|
10
|
+
*/
|
|
11
|
+
applicationId?: string;
|
|
12
|
+
/**
|
|
13
|
+
* Exact application name. Fails if zero or more than one application matches.
|
|
14
|
+
*/
|
|
15
|
+
name?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface GetApplicationResult {
|
|
18
|
+
/**
|
|
19
|
+
* Application ID.
|
|
20
|
+
*/
|
|
21
|
+
readonly applicationId: string;
|
|
22
|
+
/**
|
|
23
|
+
* Enabled capabilities, sorted: messages, meetings, rtc, vbc, verify, voice.
|
|
24
|
+
*/
|
|
25
|
+
readonly capabilities: string[];
|
|
26
|
+
/**
|
|
27
|
+
* The meetings capability as configured on the application, or unset when it is not enabled.
|
|
28
|
+
*/
|
|
29
|
+
readonly meetings?: outputs.MeetingsCapability;
|
|
30
|
+
/**
|
|
31
|
+
* The messages capability as configured on the application, or unset when it is not enabled.
|
|
32
|
+
*/
|
|
33
|
+
readonly messages?: outputs.MessagesCapability;
|
|
34
|
+
/**
|
|
35
|
+
* Application name.
|
|
36
|
+
*/
|
|
37
|
+
readonly name: string;
|
|
38
|
+
/**
|
|
39
|
+
* The network_apis capability as configured on the application, or unset when it is not enabled.
|
|
40
|
+
*/
|
|
41
|
+
readonly networkApis?: outputs.NetworkApisCapability;
|
|
42
|
+
/**
|
|
43
|
+
* PEM public key registered with the application.
|
|
44
|
+
*/
|
|
45
|
+
readonly publicKey: string;
|
|
46
|
+
/**
|
|
47
|
+
* The rtc capability as configured on the application, or unset when it is not enabled.
|
|
48
|
+
*/
|
|
49
|
+
readonly rtc?: outputs.RtcCapability;
|
|
50
|
+
/**
|
|
51
|
+
* True when the vbc capability is enabled; unset otherwise.
|
|
52
|
+
*/
|
|
53
|
+
readonly vbc?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* The verify capability as configured on the application, or unset when it is not enabled.
|
|
56
|
+
*/
|
|
57
|
+
readonly verify?: outputs.VerifyCapability;
|
|
58
|
+
/**
|
|
59
|
+
* The video capability as configured on the application, or unset when it is not enabled.
|
|
60
|
+
*/
|
|
61
|
+
readonly video?: outputs.VideoCapability;
|
|
62
|
+
/**
|
|
63
|
+
* The voice capability as configured on the application, or unset when it is not enabled.
|
|
64
|
+
*/
|
|
65
|
+
readonly voice?: outputs.VoiceCapability;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Look up a Vonage application by ID or exact name.
|
|
69
|
+
*/
|
|
70
|
+
export declare function getApplicationOutput(args?: GetApplicationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApplicationResult>;
|
|
71
|
+
export interface GetApplicationOutputArgs {
|
|
72
|
+
/**
|
|
73
|
+
* Application ID (UUID). Exactly one of applicationId or name must be set.
|
|
74
|
+
*/
|
|
75
|
+
applicationId?: pulumi.Input<string | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* Exact application name. Fails if zero or more than one application matches.
|
|
78
|
+
*/
|
|
79
|
+
name?: pulumi.Input<string | undefined>;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=getApplication.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getApplication.d.ts","sourceRoot":"","sources":["../getApplication.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAOpH;AAED,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,EAAE,CAAC;IAChC;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC;IAC/C;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,kBAAkB,CAAC;IAC/C;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,OAAO,CAAC,qBAAqB,CAAC;IACrD;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC;IACrC;;OAEG;IACH,QAAQ,CAAC,GAAG,CAAC,EAAE,OAAO,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC;IAC3C;;OAEG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC;IACzC;;OAEG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,OAAO,CAAC,eAAe,CAAC;CAC5C;AACD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,CAAC,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAO5I;AAED,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.getApplicationOutput = exports.getApplication = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Look up a Vonage application by ID or exact name.
|
|
33
|
+
*/
|
|
34
|
+
function getApplication(args, opts) {
|
|
35
|
+
args = args || {};
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
37
|
+
return pulumi.runtime.invoke("vonage:index:getApplication", {
|
|
38
|
+
"applicationId": args.applicationId,
|
|
39
|
+
"name": args.name,
|
|
40
|
+
}, opts);
|
|
41
|
+
}
|
|
42
|
+
exports.getApplication = getApplication;
|
|
43
|
+
/**
|
|
44
|
+
* Look up a Vonage application by ID or exact name.
|
|
45
|
+
*/
|
|
46
|
+
function getApplicationOutput(args, opts) {
|
|
47
|
+
args = args || {};
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invokeOutput("vonage:index:getApplication", {
|
|
50
|
+
"applicationId": args.applicationId,
|
|
51
|
+
"name": args.name,
|
|
52
|
+
}, opts);
|
|
53
|
+
}
|
|
54
|
+
exports.getApplicationOutput = getApplicationOutput;
|
|
55
|
+
//# sourceMappingURL=getApplication.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getApplication.js","sourceRoot":"","sources":["../getApplication.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAA2B;IACjF,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,6BAA6B,EAAE;QACxD,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wCAOC;AA+DD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA+B,EAAE,IAAiC;IACnG,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,6BAA6B,EAAE;QAC9D,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oDAOC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* List the account's Vonage applications, optionally filtered by exact name.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getApplications(args?: GetApplicationsArgs, opts?: pulumi.InvokeOptions): Promise<GetApplicationsResult>;
|
|
7
|
+
export interface GetApplicationsArgs {
|
|
8
|
+
/**
|
|
9
|
+
* Only return applications with exactly this name.
|
|
10
|
+
*/
|
|
11
|
+
name?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetApplicationsResult {
|
|
14
|
+
/**
|
|
15
|
+
* The matching applications.
|
|
16
|
+
*/
|
|
17
|
+
readonly applications: outputs.ApplicationSummary[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* List the account's Vonage applications, optionally filtered by exact name.
|
|
21
|
+
*/
|
|
22
|
+
export declare function getApplicationsOutput(args?: GetApplicationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetApplicationsResult>;
|
|
23
|
+
export interface GetApplicationsOutputArgs {
|
|
24
|
+
/**
|
|
25
|
+
* Only return applications with exactly this name.
|
|
26
|
+
*/
|
|
27
|
+
name?: pulumi.Input<string | undefined>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=getApplications.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getApplications.d.ts","sourceRoot":"","sources":["../getApplications.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,eAAe,CAAC,IAAI,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAMvH;AAED,MAAM,WAAW,mBAAmB;IAChC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,QAAQ,CAAC,YAAY,EAAE,OAAO,CAAC,kBAAkB,EAAE,CAAC;CACvD;AACD;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,IAAI,CAAC,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,CAM/I;AAED,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
|
|
@@ -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.getApplicationsOutput = exports.getApplications = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* List the account's Vonage applications, optionally filtered by exact name.
|
|
33
|
+
*/
|
|
34
|
+
function getApplications(args, opts) {
|
|
35
|
+
args = args || {};
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
37
|
+
return pulumi.runtime.invoke("vonage:index:getApplications", {
|
|
38
|
+
"name": args.name,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getApplications = getApplications;
|
|
42
|
+
/**
|
|
43
|
+
* List the account's Vonage applications, optionally filtered by exact name.
|
|
44
|
+
*/
|
|
45
|
+
function getApplicationsOutput(args, opts) {
|
|
46
|
+
args = args || {};
|
|
47
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
|
+
return pulumi.runtime.invokeOutput("vonage:index:getApplications", {
|
|
49
|
+
"name": args.name,
|
|
50
|
+
}, opts);
|
|
51
|
+
}
|
|
52
|
+
exports.getApplicationsOutput = getApplicationsOutput;
|
|
53
|
+
//# sourceMappingURL=getApplications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getApplications.js","sourceRoot":"","sources":["../getApplications.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,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,8BAA8B,EAAE;QACzD,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAeD;;GAEG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAAiC;IACrG,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,8BAA8B,EAAE;QAC/D,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC"}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Search the numbers available to buy in a country (GET /number/search). Read-only: it never buys a number, and a Number resource still has to.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getAvailableNumbers(args: GetAvailableNumbersArgs, opts?: pulumi.InvokeOptions): Promise<GetAvailableNumbersResult>;
|
|
7
|
+
export interface GetAvailableNumbersArgs {
|
|
8
|
+
/**
|
|
9
|
+
* Two-letter ISO country code, for example US.
|
|
10
|
+
*/
|
|
11
|
+
country: string;
|
|
12
|
+
/**
|
|
13
|
+
* Capabilities the number must have: SMS, VOICE and MMS.
|
|
14
|
+
*/
|
|
15
|
+
features?: string[];
|
|
16
|
+
/**
|
|
17
|
+
* Page number, starting at 1.
|
|
18
|
+
*/
|
|
19
|
+
index?: number;
|
|
20
|
+
/**
|
|
21
|
+
* Digit pattern the number must match.
|
|
22
|
+
*/
|
|
23
|
+
pattern?: string;
|
|
24
|
+
/**
|
|
25
|
+
* How pattern matches: 0 starts with, 1 contains (the default), 2 ends with.
|
|
26
|
+
*/
|
|
27
|
+
searchPattern?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Page size, 1 to 100 (Vonage default 10).
|
|
30
|
+
*/
|
|
31
|
+
size?: number;
|
|
32
|
+
/**
|
|
33
|
+
* Number type: landline, mobile-lvn or landline-toll-free.
|
|
34
|
+
*/
|
|
35
|
+
type?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface GetAvailableNumbersResult {
|
|
38
|
+
/**
|
|
39
|
+
* Total number of matches Vonage reports (all pages).
|
|
40
|
+
*/
|
|
41
|
+
readonly count: number;
|
|
42
|
+
/**
|
|
43
|
+
* The numbers on the requested page.
|
|
44
|
+
*/
|
|
45
|
+
readonly numbers: outputs.AvailableNumber[];
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Search the numbers available to buy in a country (GET /number/search). Read-only: it never buys a number, and a Number resource still has to.
|
|
49
|
+
*/
|
|
50
|
+
export declare function getAvailableNumbersOutput(args: GetAvailableNumbersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAvailableNumbersResult>;
|
|
51
|
+
export interface GetAvailableNumbersOutputArgs {
|
|
52
|
+
/**
|
|
53
|
+
* Two-letter ISO country code, for example US.
|
|
54
|
+
*/
|
|
55
|
+
country: pulumi.Input<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Capabilities the number must have: SMS, VOICE and MMS.
|
|
58
|
+
*/
|
|
59
|
+
features?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
60
|
+
/**
|
|
61
|
+
* Page number, starting at 1.
|
|
62
|
+
*/
|
|
63
|
+
index?: pulumi.Input<number | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* Digit pattern the number must match.
|
|
66
|
+
*/
|
|
67
|
+
pattern?: pulumi.Input<string | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* How pattern matches: 0 starts with, 1 contains (the default), 2 ends with.
|
|
70
|
+
*/
|
|
71
|
+
searchPattern?: pulumi.Input<number | undefined>;
|
|
72
|
+
/**
|
|
73
|
+
* Page size, 1 to 100 (Vonage default 10).
|
|
74
|
+
*/
|
|
75
|
+
size?: pulumi.Input<number | undefined>;
|
|
76
|
+
/**
|
|
77
|
+
* Number type: landline, mobile-lvn or landline-toll-free.
|
|
78
|
+
*/
|
|
79
|
+
type?: pulumi.Input<string | undefined>;
|
|
80
|
+
}
|
|
81
|
+
//# sourceMappingURL=getAvailableNumbers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAvailableNumbers.d.ts","sourceRoot":"","sources":["../getAvailableNumbers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAWlI;AAED,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC,eAAe,EAAE,CAAC;CAC/C;AACD;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAW1J;AAED,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAC5D;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACzC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
|
|
@@ -0,0 +1,63 @@
|
|
|
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.getAvailableNumbersOutput = exports.getAvailableNumbers = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Search the numbers available to buy in a country (GET /number/search). Read-only: it never buys a number, and a Number resource still has to.
|
|
33
|
+
*/
|
|
34
|
+
function getAvailableNumbers(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("vonage:index:getAvailableNumbers", {
|
|
37
|
+
"country": args.country,
|
|
38
|
+
"features": args.features,
|
|
39
|
+
"index": args.index,
|
|
40
|
+
"pattern": args.pattern,
|
|
41
|
+
"searchPattern": args.searchPattern,
|
|
42
|
+
"size": args.size,
|
|
43
|
+
"type": args.type,
|
|
44
|
+
}, opts);
|
|
45
|
+
}
|
|
46
|
+
exports.getAvailableNumbers = getAvailableNumbers;
|
|
47
|
+
/**
|
|
48
|
+
* Search the numbers available to buy in a country (GET /number/search). Read-only: it never buys a number, and a Number resource still has to.
|
|
49
|
+
*/
|
|
50
|
+
function getAvailableNumbersOutput(args, opts) {
|
|
51
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
52
|
+
return pulumi.runtime.invokeOutput("vonage:index:getAvailableNumbers", {
|
|
53
|
+
"country": args.country,
|
|
54
|
+
"features": args.features,
|
|
55
|
+
"index": args.index,
|
|
56
|
+
"pattern": args.pattern,
|
|
57
|
+
"searchPattern": args.searchPattern,
|
|
58
|
+
"size": args.size,
|
|
59
|
+
"type": args.type,
|
|
60
|
+
}, opts);
|
|
61
|
+
}
|
|
62
|
+
exports.getAvailableNumbersOutput = getAvailableNumbersOutput;
|
|
63
|
+
//# sourceMappingURL=getAvailableNumbers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getAvailableNumbers.js","sourceRoot":"","sources":["../getAvailableNumbers.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,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,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,kDAWC;AA2CD;;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,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,8DAWC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Look up a Messenger, Viber Service Message or WhatsApp account registered with Vonage by channel and external ID. Fails if it does not exist.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getExternalAccount(args: GetExternalAccountArgs, opts?: pulumi.InvokeOptions): Promise<GetExternalAccountResult>;
|
|
6
|
+
export interface GetExternalAccountArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The account's channel: messenger, viber_service_msg or whatsapp.
|
|
9
|
+
*/
|
|
10
|
+
channel: string;
|
|
11
|
+
/**
|
|
12
|
+
* The account's external ID: the Facebook Page ID, the Viber Service Message ID or the WhatsApp number.
|
|
13
|
+
*/
|
|
14
|
+
externalId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GetExternalAccountResult {
|
|
17
|
+
/**
|
|
18
|
+
* The Facebook Page access token. Secret. Set only for a Messenger account.
|
|
19
|
+
*/
|
|
20
|
+
readonly accessToken?: string;
|
|
21
|
+
/**
|
|
22
|
+
* The api_key Vonage reports for the account.
|
|
23
|
+
*/
|
|
24
|
+
readonly apiKey: string;
|
|
25
|
+
/**
|
|
26
|
+
* IDs of the linked applications (at most one).
|
|
27
|
+
*/
|
|
28
|
+
readonly applications: string[];
|
|
29
|
+
/**
|
|
30
|
+
* The account's channel.
|
|
31
|
+
*/
|
|
32
|
+
readonly channel: string;
|
|
33
|
+
/**
|
|
34
|
+
* The account's external ID.
|
|
35
|
+
*/
|
|
36
|
+
readonly externalId: string;
|
|
37
|
+
/**
|
|
38
|
+
* The account name (empty when none is set).
|
|
39
|
+
*/
|
|
40
|
+
readonly name: string;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Look up a Messenger, Viber Service Message or WhatsApp account registered with Vonage by channel and external ID. Fails if it does not exist.
|
|
44
|
+
*/
|
|
45
|
+
export declare function getExternalAccountOutput(args: GetExternalAccountOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetExternalAccountResult>;
|
|
46
|
+
export interface GetExternalAccountOutputArgs {
|
|
47
|
+
/**
|
|
48
|
+
* The account's channel: messenger, viber_service_msg or whatsapp.
|
|
49
|
+
*/
|
|
50
|
+
channel: pulumi.Input<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The account's external ID: the Facebook Page ID, the Viber Service Message ID or the WhatsApp number.
|
|
53
|
+
*/
|
|
54
|
+
externalId: pulumi.Input<string>;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=getExternalAccount.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getExternalAccount.d.ts","sourceRoot":"","sources":["../getExternalAccount.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,wBAAwB,CAAC,CAM/H;AAED,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,wBAAwB;IACrC;;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,wBAAwB,CAAC,IAAI,EAAE,4BAA4B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,wBAAwB,CAAC,CAMvJ;AAED,MAAM,WAAW,4BAA4B;IACzC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -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.getExternalAccountOutput = exports.getExternalAccount = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Look up a Messenger, Viber Service Message or WhatsApp account registered with Vonage by channel and external ID. Fails if it does not exist.
|
|
33
|
+
*/
|
|
34
|
+
function getExternalAccount(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("vonage:index:getExternalAccount", {
|
|
37
|
+
"channel": args.channel,
|
|
38
|
+
"externalId": args.externalId,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getExternalAccount = getExternalAccount;
|
|
42
|
+
/**
|
|
43
|
+
* Look up a Messenger, Viber Service Message or WhatsApp account registered with Vonage by channel and external ID. Fails if it does not exist.
|
|
44
|
+
*/
|
|
45
|
+
function getExternalAccountOutput(args, opts) {
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
47
|
+
return pulumi.runtime.invokeOutput("vonage:index:getExternalAccount", {
|
|
48
|
+
"channel": args.channel,
|
|
49
|
+
"externalId": args.externalId,
|
|
50
|
+
}, opts);
|
|
51
|
+
}
|
|
52
|
+
exports.getExternalAccountOutput = getExternalAccountOutput;
|
|
53
|
+
//# sourceMappingURL=getExternalAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getExternalAccount.js","sourceRoot":"","sources":["../getExternalAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,iCAAiC,EAAE;QAC5D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gDAMC;AAuCD;;GAEG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,iCAAiC,EAAE;QAClE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4DAMC"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Check whether an application is linked to an external account. Fails if the account does not exist.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getExternalAccountApplicationLink(args: GetExternalAccountApplicationLinkArgs, opts?: pulumi.InvokeOptions): Promise<GetExternalAccountApplicationLinkResult>;
|
|
6
|
+
export interface GetExternalAccountApplicationLinkArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The application ID to look for.
|
|
9
|
+
*/
|
|
10
|
+
applicationId: string;
|
|
11
|
+
/**
|
|
12
|
+
* The account's channel: messenger, viber_service_msg or whatsapp.
|
|
13
|
+
*/
|
|
14
|
+
channel: string;
|
|
15
|
+
/**
|
|
16
|
+
* The account's external ID.
|
|
17
|
+
*/
|
|
18
|
+
externalId: string;
|
|
19
|
+
}
|
|
20
|
+
export interface GetExternalAccountApplicationLinkResult {
|
|
21
|
+
/**
|
|
22
|
+
* The application ID that was looked for.
|
|
23
|
+
*/
|
|
24
|
+
readonly applicationId: 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
|
+
* Whether the application is linked to the account.
|
|
35
|
+
*/
|
|
36
|
+
readonly linked: boolean;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check whether an application is linked to an external account. Fails if the account does not exist.
|
|
40
|
+
*/
|
|
41
|
+
export declare function getExternalAccountApplicationLinkOutput(args: GetExternalAccountApplicationLinkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetExternalAccountApplicationLinkResult>;
|
|
42
|
+
export interface GetExternalAccountApplicationLinkOutputArgs {
|
|
43
|
+
/**
|
|
44
|
+
* The application ID to look for.
|
|
45
|
+
*/
|
|
46
|
+
applicationId: pulumi.Input<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The account's channel: messenger, viber_service_msg or whatsapp.
|
|
49
|
+
*/
|
|
50
|
+
channel: pulumi.Input<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The account's external ID.
|
|
53
|
+
*/
|
|
54
|
+
externalId: pulumi.Input<string>;
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=getExternalAccountApplicationLink.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getExternalAccountApplicationLink.d.ts","sourceRoot":"","sources":["../getExternalAccountApplicationLink.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,CAO5K;AAED,MAAM,WAAW,qCAAqC;IAClD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,uCAAuC;IACpD;;OAEG;IACH,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAC5B;AACD;;GAEG;AACH,wBAAgB,uCAAuC,CAAC,IAAI,EAAE,2CAA2C,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uCAAuC,CAAC,CAOpM;AAED,MAAM,WAAW,2CAA2C;IACxD;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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.getExternalAccountApplicationLinkOutput = exports.getExternalAccountApplicationLink = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Check whether an application is linked to an external account. Fails if the account does not exist.
|
|
33
|
+
*/
|
|
34
|
+
function getExternalAccountApplicationLink(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("vonage:index:getExternalAccountApplicationLink", {
|
|
37
|
+
"applicationId": args.applicationId,
|
|
38
|
+
"channel": args.channel,
|
|
39
|
+
"externalId": args.externalId,
|
|
40
|
+
}, opts);
|
|
41
|
+
}
|
|
42
|
+
exports.getExternalAccountApplicationLink = getExternalAccountApplicationLink;
|
|
43
|
+
/**
|
|
44
|
+
* Check whether an application is linked to an external account. Fails if the account does not exist.
|
|
45
|
+
*/
|
|
46
|
+
function getExternalAccountApplicationLinkOutput(args, opts) {
|
|
47
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
|
+
return pulumi.runtime.invokeOutput("vonage:index:getExternalAccountApplicationLink", {
|
|
49
|
+
"applicationId": args.applicationId,
|
|
50
|
+
"channel": args.channel,
|
|
51
|
+
"externalId": args.externalId,
|
|
52
|
+
}, opts);
|
|
53
|
+
}
|
|
54
|
+
exports.getExternalAccountApplicationLinkOutput = getExternalAccountApplicationLinkOutput;
|
|
55
|
+
//# sourceMappingURL=getExternalAccountApplicationLink.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getExternalAccountApplicationLink.js","sourceRoot":"","sources":["../getExternalAccountApplicationLink.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,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8EAOC;AAmCD;;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,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0FAOC"}
|