@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,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.getSubAccountOutput = exports.getSubAccount = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Look up a subaccount of the provider's primary account by API key. Fails if it does not exist.
|
|
33
|
+
*/
|
|
34
|
+
function getSubAccount(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("vonage:index:getSubAccount", {
|
|
37
|
+
"subAccountApiKey": args.subAccountApiKey,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getSubAccount = getSubAccount;
|
|
41
|
+
/**
|
|
42
|
+
* Look up a subaccount of the provider's primary account by API key. Fails if it does not exist.
|
|
43
|
+
*/
|
|
44
|
+
function getSubAccountOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("vonage:index:getSubAccount", {
|
|
47
|
+
"subAccountApiKey": args.subAccountApiKey,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getSubAccountOutput = getSubAccountOutput;
|
|
51
|
+
//# sourceMappingURL=getSubAccount.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSubAccount.js","sourceRoot":"","sources":["../getSubAccount.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAuB,EAAE,IAA2B;IAC9E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4BAA4B,EAAE;QACvD,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AA2CD;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAAiC;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4BAA4B,EAAE;QAC7D,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* List the subaccounts of the provider's primary account, optionally filtered by exact name.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getSubAccounts(args?: GetSubAccountsArgs, opts?: pulumi.InvokeOptions): Promise<GetSubAccountsResult>;
|
|
7
|
+
export interface GetSubAccountsArgs {
|
|
8
|
+
/**
|
|
9
|
+
* Only subaccounts with exactly this name.
|
|
10
|
+
*/
|
|
11
|
+
name?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetSubAccountsResult {
|
|
14
|
+
/**
|
|
15
|
+
* API key of the primary account (the provider's own key).
|
|
16
|
+
*/
|
|
17
|
+
readonly primaryAccountApiKey: string;
|
|
18
|
+
/**
|
|
19
|
+
* The matching subaccounts.
|
|
20
|
+
*/
|
|
21
|
+
readonly subAccounts: outputs.GetSubAccountResult[];
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* List the subaccounts of the provider's primary account, optionally filtered by exact name.
|
|
25
|
+
*/
|
|
26
|
+
export declare function getSubAccountsOutput(args?: GetSubAccountsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSubAccountsResult>;
|
|
27
|
+
export interface GetSubAccountsOutputArgs {
|
|
28
|
+
/**
|
|
29
|
+
* Only subaccounts with exactly this name.
|
|
30
|
+
*/
|
|
31
|
+
name?: pulumi.Input<string | undefined>;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=getSubAccounts.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSubAccounts.d.ts","sourceRoot":"","sources":["../getSubAccounts.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,CAMpH;AAED,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC,mBAAmB,EAAE,CAAC;CACvD;AACD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,CAAC,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAM5I;AAED,MAAM,WAAW,wBAAwB;IACrC;;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.getSubAccountsOutput = exports.getSubAccounts = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* List the subaccounts of the provider's primary account, optionally filtered by exact name.
|
|
33
|
+
*/
|
|
34
|
+
function getSubAccounts(args, opts) {
|
|
35
|
+
args = args || {};
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
37
|
+
return pulumi.runtime.invoke("vonage:index:getSubAccounts", {
|
|
38
|
+
"name": args.name,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getSubAccounts = getSubAccounts;
|
|
42
|
+
/**
|
|
43
|
+
* List the subaccounts of the provider's primary account, optionally filtered by exact name.
|
|
44
|
+
*/
|
|
45
|
+
function getSubAccountsOutput(args, opts) {
|
|
46
|
+
args = args || {};
|
|
47
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
|
+
return pulumi.runtime.invokeOutput("vonage:index:getSubAccounts", {
|
|
49
|
+
"name": args.name,
|
|
50
|
+
}, opts);
|
|
51
|
+
}
|
|
52
|
+
exports.getSubAccountsOutput = getSubAccountsOutput;
|
|
53
|
+
//# sourceMappingURL=getSubAccounts.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getSubAccounts.js","sourceRoot":"","sources":["../getSubAccounts.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,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC;AAmBD;;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,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,oDAMC"}
|
package/bin/getUser.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Look up a user of the configured application by ID or exact name. Needs applicationId and privateKey. Fails if the user does not exist.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getUser(args?: GetUserArgs, opts?: pulumi.InvokeOptions): Promise<GetUserResult>;
|
|
7
|
+
export interface GetUserArgs {
|
|
8
|
+
/**
|
|
9
|
+
* Exact name of the user. Exactly one of userId and name is required.
|
|
10
|
+
*/
|
|
11
|
+
name?: string;
|
|
12
|
+
/**
|
|
13
|
+
* ID of the user (USR-<uuid>). Exactly one of userId and name is required.
|
|
14
|
+
*/
|
|
15
|
+
userId?: string;
|
|
16
|
+
}
|
|
17
|
+
export interface GetUserResult {
|
|
18
|
+
/**
|
|
19
|
+
* The user's channels, if any (SIP passwords are not returned by the API).
|
|
20
|
+
*/
|
|
21
|
+
readonly channels?: outputs.UserChannels;
|
|
22
|
+
/**
|
|
23
|
+
* The user's custom data object, if any.
|
|
24
|
+
*/
|
|
25
|
+
readonly customData?: {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Human-friendly name, if set.
|
|
30
|
+
*/
|
|
31
|
+
readonly displayName?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Image URL, if set.
|
|
34
|
+
*/
|
|
35
|
+
readonly imageUrl?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Unique name of the user.
|
|
38
|
+
*/
|
|
39
|
+
readonly name: string;
|
|
40
|
+
/**
|
|
41
|
+
* User ID (USR-<uuid>).
|
|
42
|
+
*/
|
|
43
|
+
readonly userId: string;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Look up a user of the configured application by ID or exact name. Needs applicationId and privateKey. Fails if the user does not exist.
|
|
47
|
+
*/
|
|
48
|
+
export declare function getUserOutput(args?: GetUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUserResult>;
|
|
49
|
+
export interface GetUserOutputArgs {
|
|
50
|
+
/**
|
|
51
|
+
* Exact name of the user. Exactly one of userId and name is required.
|
|
52
|
+
*/
|
|
53
|
+
name?: pulumi.Input<string | undefined>;
|
|
54
|
+
/**
|
|
55
|
+
* ID of the user (USR-<uuid>). Exactly one of userId and name is required.
|
|
56
|
+
*/
|
|
57
|
+
userId?: pulumi.Input<string | undefined>;
|
|
58
|
+
}
|
|
59
|
+
//# sourceMappingURL=getUser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUser.d.ts","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,OAAO,CAAC,IAAI,CAAC,EAAE,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC,CAO/F;AAED,MAAM,WAAW,WAAW;IACxB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,aAAa;IAC1B;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC;IACzC;;OAEG;IACH,QAAQ,CAAC,UAAU,CAAC,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC;IAC3C;;OAEG;IACH,QAAQ,CAAC,WAAW,CAAC,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,QAAQ,CAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAC3B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B;AACD;;GAEG;AACH,wBAAgB,aAAa,CAAC,IAAI,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,CAOvH;AAED,MAAM,WAAW,iBAAiB;IAC9B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C"}
|
package/bin/getUser.js
ADDED
|
@@ -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.getUserOutput = exports.getUser = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Look up a user of the configured application by ID or exact name. Needs applicationId and privateKey. Fails if the user does not exist.
|
|
33
|
+
*/
|
|
34
|
+
function getUser(args, opts) {
|
|
35
|
+
args = args || {};
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
37
|
+
return pulumi.runtime.invoke("vonage:index:getUser", {
|
|
38
|
+
"name": args.name,
|
|
39
|
+
"userId": args.userId,
|
|
40
|
+
}, opts);
|
|
41
|
+
}
|
|
42
|
+
exports.getUser = getUser;
|
|
43
|
+
/**
|
|
44
|
+
* Look up a user of the configured application by ID or exact name. Needs applicationId and privateKey. Fails if the user does not exist.
|
|
45
|
+
*/
|
|
46
|
+
function getUserOutput(args, opts) {
|
|
47
|
+
args = args || {};
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invokeOutput("vonage:index:getUser", {
|
|
50
|
+
"name": args.name,
|
|
51
|
+
"userId": args.userId,
|
|
52
|
+
}, opts);
|
|
53
|
+
}
|
|
54
|
+
exports.getUserOutput = getUserOutput;
|
|
55
|
+
//# sourceMappingURL=getUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUser.js","sourceRoot":"","sources":["../getUser.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,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,sBAAsB,EAAE;QACjD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0BAOC;AAuCD;;GAEG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE,IAAiC;IACrF,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,sBAAsB,EAAE;QACvD,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,sCAOC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* List the users of the configured application, following every page. Needs applicationId and privateKey.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getUsers(args?: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
|
|
7
|
+
export interface GetUsersArgs {
|
|
8
|
+
/**
|
|
9
|
+
* Only return the user with exactly this name.
|
|
10
|
+
*/
|
|
11
|
+
name?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface GetUsersResult {
|
|
14
|
+
/**
|
|
15
|
+
* The users of the application. Use getUser for channels and custom data.
|
|
16
|
+
*/
|
|
17
|
+
readonly users: outputs.UserSummary[];
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* List the users of the configured application, following every page. Needs applicationId and privateKey.
|
|
21
|
+
*/
|
|
22
|
+
export declare function getUsersOutput(args?: GetUsersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetUsersResult>;
|
|
23
|
+
export interface GetUsersOutputArgs {
|
|
24
|
+
/**
|
|
25
|
+
* Only return the user with exactly this name.
|
|
26
|
+
*/
|
|
27
|
+
name?: pulumi.Input<string | undefined>;
|
|
28
|
+
}
|
|
29
|
+
//# sourceMappingURL=getUsers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUsers.d.ts","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,QAAQ,CAAC,IAAI,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,cAAc,CAAC,CAMlG;AAED,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,WAAW,EAAE,CAAC;CACzC;AACD;;GAEG;AACH,wBAAgB,cAAc,CAAC,IAAI,CAAC,EAAE,kBAAkB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,CAM1H;AAED,MAAM,WAAW,kBAAkB;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC3C"}
|
package/bin/getUsers.js
ADDED
|
@@ -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.getUsersOutput = exports.getUsers = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* List the users of the configured application, following every page. Needs applicationId and privateKey.
|
|
33
|
+
*/
|
|
34
|
+
function getUsers(args, opts) {
|
|
35
|
+
args = args || {};
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
37
|
+
return pulumi.runtime.invoke("vonage:index:getUsers", {
|
|
38
|
+
"name": args.name,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getUsers = getUsers;
|
|
42
|
+
/**
|
|
43
|
+
* List the users of the configured application, following every page. Needs applicationId and privateKey.
|
|
44
|
+
*/
|
|
45
|
+
function getUsersOutput(args, opts) {
|
|
46
|
+
args = args || {};
|
|
47
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
48
|
+
return pulumi.runtime.invokeOutput("vonage:index:getUsers", {
|
|
49
|
+
"name": args.name,
|
|
50
|
+
}, opts);
|
|
51
|
+
}
|
|
52
|
+
exports.getUsersOutput = getUsersOutput;
|
|
53
|
+
//# sourceMappingURL=getUsers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,QAAQ,CAAC,IAAmB,EAAE,IAA2B;IACrE,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,uBAAuB,EAAE;QAClD,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AAeD;;GAEG;AACH,SAAgB,cAAc,CAAC,IAAyB,EAAE,IAAiC;IACvF,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,uBAAuB,EAAE;QACxD,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wCAMC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Look up a Verify v2 template by ID or exact name.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getVerifyTemplate(args?: GetVerifyTemplateArgs, opts?: pulumi.InvokeOptions): Promise<GetVerifyTemplateResult>;
|
|
6
|
+
export interface GetVerifyTemplateArgs {
|
|
7
|
+
/**
|
|
8
|
+
* Exact template name. Fails if zero or more than one template matches.
|
|
9
|
+
*/
|
|
10
|
+
name?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Template ID. Exactly one of templateId or name must be set.
|
|
13
|
+
*/
|
|
14
|
+
templateId?: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GetVerifyTemplateResult {
|
|
17
|
+
/**
|
|
18
|
+
* Whether this is the account's default template.
|
|
19
|
+
*/
|
|
20
|
+
readonly isDefault: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Template name.
|
|
23
|
+
*/
|
|
24
|
+
readonly name: string;
|
|
25
|
+
/**
|
|
26
|
+
* Template ID.
|
|
27
|
+
*/
|
|
28
|
+
readonly templateId: string;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Look up a Verify v2 template by ID or exact name.
|
|
32
|
+
*/
|
|
33
|
+
export declare function getVerifyTemplateOutput(args?: GetVerifyTemplateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVerifyTemplateResult>;
|
|
34
|
+
export interface GetVerifyTemplateOutputArgs {
|
|
35
|
+
/**
|
|
36
|
+
* Exact template name. Fails if zero or more than one template matches.
|
|
37
|
+
*/
|
|
38
|
+
name?: pulumi.Input<string | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* Template ID. Exactly one of templateId or name must be set.
|
|
41
|
+
*/
|
|
42
|
+
templateId?: pulumi.Input<string | undefined>;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=getVerifyTemplate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVerifyTemplate.d.ts","sourceRoot":"","sources":["../getVerifyTemplate.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,uBAAuB,CAAC,CAO7H;AAED,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACvB;AAED,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;CAC/B;AACD;;GAEG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,CAAC,EAAE,2BAA2B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAOrJ;AAED,MAAM,WAAW,2BAA2B;IACxC;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD"}
|
|
@@ -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.getVerifyTemplateOutput = exports.getVerifyTemplate = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Look up a Verify v2 template by ID or exact name.
|
|
33
|
+
*/
|
|
34
|
+
function getVerifyTemplate(args, opts) {
|
|
35
|
+
args = args || {};
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
37
|
+
return pulumi.runtime.invoke("vonage:index:getVerifyTemplate", {
|
|
38
|
+
"name": args.name,
|
|
39
|
+
"templateId": args.templateId,
|
|
40
|
+
}, opts);
|
|
41
|
+
}
|
|
42
|
+
exports.getVerifyTemplate = getVerifyTemplate;
|
|
43
|
+
/**
|
|
44
|
+
* Look up a Verify v2 template by ID or exact name.
|
|
45
|
+
*/
|
|
46
|
+
function getVerifyTemplateOutput(args, opts) {
|
|
47
|
+
args = args || {};
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invokeOutput("vonage:index:getVerifyTemplate", {
|
|
50
|
+
"name": args.name,
|
|
51
|
+
"templateId": args.templateId,
|
|
52
|
+
}, opts);
|
|
53
|
+
}
|
|
54
|
+
exports.getVerifyTemplateOutput = getVerifyTemplateOutput;
|
|
55
|
+
//# sourceMappingURL=getVerifyTemplate.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVerifyTemplate.js","sourceRoot":"","sources":["../getVerifyTemplate.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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,gCAAgC,EAAE;QAC3D,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8CAOC;AA2BD;;GAEG;AACH,SAAgB,uBAAuB,CAAC,IAAkC,EAAE,IAAiC;IACzG,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,gCAAgC,EAAE;QACjE,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0DAOC"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Look up a Verify v2 template fragment by fragment ID, or by channel and locale.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getVerifyTemplateFragment(args: GetVerifyTemplateFragmentArgs, opts?: pulumi.InvokeOptions): Promise<GetVerifyTemplateFragmentResult>;
|
|
6
|
+
export interface GetVerifyTemplateFragmentArgs {
|
|
7
|
+
/**
|
|
8
|
+
* Channel (sms or voice), used with locale.
|
|
9
|
+
*/
|
|
10
|
+
channel?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Locale, used with channel.
|
|
13
|
+
*/
|
|
14
|
+
locale?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Fragment ID. Set this, or both channel and locale.
|
|
17
|
+
*/
|
|
18
|
+
templateFragmentId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The template the fragment belongs to.
|
|
21
|
+
*/
|
|
22
|
+
templateId: string;
|
|
23
|
+
}
|
|
24
|
+
export interface GetVerifyTemplateFragmentResult {
|
|
25
|
+
/**
|
|
26
|
+
* Channel.
|
|
27
|
+
*/
|
|
28
|
+
readonly channel: string;
|
|
29
|
+
/**
|
|
30
|
+
* Creation timestamp.
|
|
31
|
+
*/
|
|
32
|
+
readonly dateCreated: string;
|
|
33
|
+
/**
|
|
34
|
+
* Last update timestamp.
|
|
35
|
+
*/
|
|
36
|
+
readonly dateUpdated: string;
|
|
37
|
+
/**
|
|
38
|
+
* Locale.
|
|
39
|
+
*/
|
|
40
|
+
readonly locale: string;
|
|
41
|
+
/**
|
|
42
|
+
* Fragment ID.
|
|
43
|
+
*/
|
|
44
|
+
readonly templateFragmentId: string;
|
|
45
|
+
/**
|
|
46
|
+
* Template ID.
|
|
47
|
+
*/
|
|
48
|
+
readonly templateId: string;
|
|
49
|
+
/**
|
|
50
|
+
* Message text.
|
|
51
|
+
*/
|
|
52
|
+
readonly text: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Look up a Verify v2 template fragment by fragment ID, or by channel and locale.
|
|
56
|
+
*/
|
|
57
|
+
export declare function getVerifyTemplateFragmentOutput(args: GetVerifyTemplateFragmentOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetVerifyTemplateFragmentResult>;
|
|
58
|
+
export interface GetVerifyTemplateFragmentOutputArgs {
|
|
59
|
+
/**
|
|
60
|
+
* Channel (sms or voice), used with locale.
|
|
61
|
+
*/
|
|
62
|
+
channel?: pulumi.Input<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Locale, used with channel.
|
|
65
|
+
*/
|
|
66
|
+
locale?: pulumi.Input<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Fragment ID. Set this, or both channel and locale.
|
|
69
|
+
*/
|
|
70
|
+
templateFragmentId?: pulumi.Input<string | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* The template the fragment belongs to.
|
|
73
|
+
*/
|
|
74
|
+
templateId: pulumi.Input<string>;
|
|
75
|
+
}
|
|
76
|
+
//# sourceMappingURL=getVerifyTemplateFragment.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVerifyTemplateFragment.d.ts","sourceRoot":"","sources":["../getVerifyTemplateFragment.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,+BAA+B,CAAC,CAQpJ;AAED,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,+BAA+B;IAC5C;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,kBAAkB,EAAE,MAAM,CAAC;IACpC;;OAEG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,CAAC;IAC5B;;OAEG;IACH,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACzB;AACD;;GAEG;AACH,wBAAgB,+BAA+B,CAAC,IAAI,EAAE,mCAAmC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAQ5K;AAED,MAAM,WAAW,mCAAmC;IAChD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtD;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACpC"}
|
|
@@ -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.getVerifyTemplateFragmentOutput = exports.getVerifyTemplateFragment = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Look up a Verify v2 template fragment by fragment ID, or by channel and locale.
|
|
33
|
+
*/
|
|
34
|
+
function getVerifyTemplateFragment(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("vonage:index:getVerifyTemplateFragment", {
|
|
37
|
+
"channel": args.channel,
|
|
38
|
+
"locale": args.locale,
|
|
39
|
+
"templateFragmentId": args.templateFragmentId,
|
|
40
|
+
"templateId": args.templateId,
|
|
41
|
+
}, opts);
|
|
42
|
+
}
|
|
43
|
+
exports.getVerifyTemplateFragment = getVerifyTemplateFragment;
|
|
44
|
+
/**
|
|
45
|
+
* Look up a Verify v2 template fragment by fragment ID, or by channel and locale.
|
|
46
|
+
*/
|
|
47
|
+
function getVerifyTemplateFragmentOutput(args, opts) {
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invokeOutput("vonage:index:getVerifyTemplateFragment", {
|
|
50
|
+
"channel": args.channel,
|
|
51
|
+
"locale": args.locale,
|
|
52
|
+
"templateFragmentId": args.templateFragmentId,
|
|
53
|
+
"templateId": args.templateId,
|
|
54
|
+
}, opts);
|
|
55
|
+
}
|
|
56
|
+
exports.getVerifyTemplateFragmentOutput = getVerifyTemplateFragmentOutput;
|
|
57
|
+
//# sourceMappingURL=getVerifyTemplateFragment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getVerifyTemplateFragment.js","sourceRoot":"","sources":["../getVerifyTemplateFragment.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,yBAAyB,CAAC,IAAmC,EAAE,IAA2B;IACtG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wCAAwC,EAAE;QACnE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,8DAQC;AAmDD;;GAEG;AACH,SAAgB,+BAA+B,CAAC,IAAyC,EAAE,IAAiC;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wCAAwC,EAAE;QACzE,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,YAAY,EAAE,IAAI,CAAC,UAAU;KAChC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,0EAQC"}
|