@pulumi-labs/vonage 0.1.0 → 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 -1
- 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/config/vars.d.ts +2 -2
- 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/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/getApplication.d.ts +33 -0
- package/bin/getApplication.d.ts.map +1 -1
- package/bin/getApplication.js.map +1 -1
- 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/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/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/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/index.d.ts +87 -0
- package/bin/index.d.ts.map +1 -1
- package/bin/index.js +98 -1
- package/bin/index.js.map +1 -1
- 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/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 +3 -3
- package/bin/provider.d.ts +4 -4
- package/bin/types/input.d.ts +128 -0
- package/bin/types/input.d.ts.map +1 -1
- package/bin/types/output.d.ts +450 -0
- package/bin/types/output.d.ts.map +1 -1
- 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/package.json +3 -3
|
@@ -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.getNumberPoolOutput = exports.getNumberPool = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Look up a number pool by ID. Fails if it does not exist.
|
|
33
|
+
*/
|
|
34
|
+
function getNumberPool(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("vonage:index:getNumberPool", {
|
|
37
|
+
"poolId": args.poolId,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getNumberPool = getNumberPool;
|
|
41
|
+
/**
|
|
42
|
+
* Look up a number pool by ID. Fails if it does not exist.
|
|
43
|
+
*/
|
|
44
|
+
function getNumberPoolOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("vonage:index:getNumberPool", {
|
|
47
|
+
"poolId": args.poolId,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getNumberPoolOutput = getNumberPoolOutput;
|
|
51
|
+
//# sourceMappingURL=getNumberPool.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNumberPool.js","sourceRoot":"","sources":["../getNumberPool.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,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AA+BD;;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,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,kDAKC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* Check that a number is in a pool. Fails if the pool does not exist or the number is not in it.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getNumberPoolNumber(args: GetNumberPoolNumberArgs, opts?: pulumi.InvokeOptions): Promise<GetNumberPoolNumberResult>;
|
|
6
|
+
export interface GetNumberPoolNumberArgs {
|
|
7
|
+
/**
|
|
8
|
+
* The number to look for, 7-15 digits with no leading plus.
|
|
9
|
+
*/
|
|
10
|
+
number: string;
|
|
11
|
+
/**
|
|
12
|
+
* ID of the pool.
|
|
13
|
+
*/
|
|
14
|
+
poolId: string;
|
|
15
|
+
}
|
|
16
|
+
export interface GetNumberPoolNumberResult {
|
|
17
|
+
/**
|
|
18
|
+
* The number, which is in the pool.
|
|
19
|
+
*/
|
|
20
|
+
readonly number: string;
|
|
21
|
+
/**
|
|
22
|
+
* ID of the pool.
|
|
23
|
+
*/
|
|
24
|
+
readonly poolId: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check that a number is in a pool. Fails if the pool does not exist or the number is not in it.
|
|
28
|
+
*/
|
|
29
|
+
export declare function getNumberPoolNumberOutput(args: GetNumberPoolNumberOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNumberPoolNumberResult>;
|
|
30
|
+
export interface GetNumberPoolNumberOutputArgs {
|
|
31
|
+
/**
|
|
32
|
+
* The number to look for, 7-15 digits with no leading plus.
|
|
33
|
+
*/
|
|
34
|
+
number: pulumi.Input<string>;
|
|
35
|
+
/**
|
|
36
|
+
* ID of the pool.
|
|
37
|
+
*/
|
|
38
|
+
poolId: pulumi.Input<string>;
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=getNumberPoolNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNumberPoolNumber.d.ts","sourceRoot":"","sources":["../getNumberPoolNumber.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,mBAAmB,CAAC,IAAI,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,yBAAyB,CAAC,CAMlI;AAED,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,yBAAyB;IACtC;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B;AACD;;GAEG;AACH,wBAAgB,yBAAyB,CAAC,IAAI,EAAE,6BAA6B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,yBAAyB,CAAC,CAM1J;AAED,MAAM,WAAW,6BAA6B;IAC1C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -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.getNumberPoolNumberOutput = exports.getNumberPoolNumber = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Check that a number is in a pool. Fails if the pool does not exist or the number is not in it.
|
|
33
|
+
*/
|
|
34
|
+
function getNumberPoolNumber(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("vonage:index:getNumberPoolNumber", {
|
|
37
|
+
"number": args.number,
|
|
38
|
+
"poolId": args.poolId,
|
|
39
|
+
}, opts);
|
|
40
|
+
}
|
|
41
|
+
exports.getNumberPoolNumber = getNumberPoolNumber;
|
|
42
|
+
/**
|
|
43
|
+
* Check that a number is in a pool. Fails if the pool does not exist or the number is not in it.
|
|
44
|
+
*/
|
|
45
|
+
function getNumberPoolNumberOutput(args, opts) {
|
|
46
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
47
|
+
return pulumi.runtime.invokeOutput("vonage:index:getNumberPoolNumber", {
|
|
48
|
+
"number": args.number,
|
|
49
|
+
"poolId": args.poolId,
|
|
50
|
+
}, opts);
|
|
51
|
+
}
|
|
52
|
+
exports.getNumberPoolNumberOutput = getNumberPoolNumberOutput;
|
|
53
|
+
//# sourceMappingURL=getNumberPoolNumber.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNumberPoolNumber.js","sourceRoot":"","sources":["../getNumberPoolNumber.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,mBAAmB,CAAC,IAA6B,EAAE,IAA2B;IAC1F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAuBD;;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,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* List the numbers in a pool, following every page. Fails if the pool does not exist.
|
|
4
|
+
*/
|
|
5
|
+
export declare function getNumberPoolNumbers(args: GetNumberPoolNumbersArgs, opts?: pulumi.InvokeOptions): Promise<GetNumberPoolNumbersResult>;
|
|
6
|
+
export interface GetNumberPoolNumbersArgs {
|
|
7
|
+
/**
|
|
8
|
+
* ID of the pool.
|
|
9
|
+
*/
|
|
10
|
+
poolId: string;
|
|
11
|
+
}
|
|
12
|
+
export interface GetNumberPoolNumbersResult {
|
|
13
|
+
/**
|
|
14
|
+
* Numbers in the pool, in E.164 format without the leading plus.
|
|
15
|
+
*/
|
|
16
|
+
readonly numbers: string[];
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* List the numbers in a pool, following every page. Fails if the pool does not exist.
|
|
20
|
+
*/
|
|
21
|
+
export declare function getNumberPoolNumbersOutput(args: GetNumberPoolNumbersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNumberPoolNumbersResult>;
|
|
22
|
+
export interface GetNumberPoolNumbersOutputArgs {
|
|
23
|
+
/**
|
|
24
|
+
* ID of the pool.
|
|
25
|
+
*/
|
|
26
|
+
poolId: pulumi.Input<string>;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=getNumberPoolNumbers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNumberPoolNumbers.d.ts","sourceRoot":"","sources":["../getNumberPoolNumbers.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,0BAA0B,CAAC,CAKrI;AAED,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,0BAA0B;IACvC;;OAEG;IACH,QAAQ,CAAC,OAAO,EAAE,MAAM,EAAE,CAAC;CAC9B;AACD;;GAEG;AACH,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,8BAA8B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,0BAA0B,CAAC,CAK7J;AAED,MAAM,WAAW,8BAA8B;IAC3C;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -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.getNumberPoolNumbersOutput = exports.getNumberPoolNumbers = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* List the numbers in a pool, following every page. Fails if the pool does not exist.
|
|
33
|
+
*/
|
|
34
|
+
function getNumberPoolNumbers(args, opts) {
|
|
35
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
36
|
+
return pulumi.runtime.invoke("vonage:index:getNumberPoolNumbers", {
|
|
37
|
+
"poolId": args.poolId,
|
|
38
|
+
}, opts);
|
|
39
|
+
}
|
|
40
|
+
exports.getNumberPoolNumbers = getNumberPoolNumbers;
|
|
41
|
+
/**
|
|
42
|
+
* List the numbers in a pool, following every page. Fails if the pool does not exist.
|
|
43
|
+
*/
|
|
44
|
+
function getNumberPoolNumbersOutput(args, opts) {
|
|
45
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
46
|
+
return pulumi.runtime.invokeOutput("vonage:index:getNumberPoolNumbers", {
|
|
47
|
+
"poolId": args.poolId,
|
|
48
|
+
}, opts);
|
|
49
|
+
}
|
|
50
|
+
exports.getNumberPoolNumbersOutput = getNumberPoolNumbersOutput;
|
|
51
|
+
//# sourceMappingURL=getNumberPoolNumbers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNumberPoolNumbers.js","sourceRoot":"","sources":["../getNumberPoolNumbers.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAA8B,EAAE,IAA2B;IAC5F,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,oDAKC;AAeD;;GAEG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAAiC;IAC9G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,mCAAmC,EAAE;QACpE,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,gEAKC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* List the account's number pools, following every page.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getNumberPools(args?: GetNumberPoolsArgs, opts?: pulumi.InvokeOptions): Promise<GetNumberPoolsResult>;
|
|
7
|
+
export interface GetNumberPoolsArgs {
|
|
8
|
+
}
|
|
9
|
+
export interface GetNumberPoolsResult {
|
|
10
|
+
/**
|
|
11
|
+
* Every number pool of the account.
|
|
12
|
+
*/
|
|
13
|
+
readonly pools: outputs.GetNumberPoolResult[];
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* List the account's number pools, following every page.
|
|
17
|
+
*/
|
|
18
|
+
export declare function getNumberPoolsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetNumberPoolsResult>;
|
|
19
|
+
//# sourceMappingURL=getNumberPools.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNumberPools.d.ts","sourceRoot":"","sources":["../getNumberPools.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,CAKpH;AAED,MAAM,WAAW,kBAAkB;CAClC;AAED,MAAM,WAAW,oBAAoB;IACjC;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC,mBAAmB,EAAE,CAAC;CACjD;AACD;;GAEG;AACH,wBAAgB,oBAAoB,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,oBAAoB,CAAC,CAI3G"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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.getNumberPoolsOutput = exports.getNumberPools = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* List the account's number pools, following every page.
|
|
33
|
+
*/
|
|
34
|
+
function getNumberPools(args, opts) {
|
|
35
|
+
args = args || {};
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
37
|
+
return pulumi.runtime.invoke("vonage:index:getNumberPools", {}, opts);
|
|
38
|
+
}
|
|
39
|
+
exports.getNumberPools = getNumberPools;
|
|
40
|
+
/**
|
|
41
|
+
* List the account's number pools, following every page.
|
|
42
|
+
*/
|
|
43
|
+
function getNumberPoolsOutput(opts) {
|
|
44
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
45
|
+
return pulumi.runtime.invokeOutput("vonage:index:getNumberPools", {}, opts);
|
|
46
|
+
}
|
|
47
|
+
exports.getNumberPoolsOutput = getNumberPoolsOutput;
|
|
48
|
+
//# sourceMappingURL=getNumberPools.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNumberPools.js","sourceRoot":"","sources":["../getNumberPools.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,EAC3D,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AAWD;;GAEG;AACH,SAAgB,oBAAoB,CAAC,IAAiC;IAClE,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,EACjE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* Read Vonage's outbound price list for SMS, SMS transit or voice, for one country (GET /account/get-pricing/outbound), for a dialling prefix (GET /account/get-prefix-pricing/outbound) or for every country (GET /account/get-full-pricing/outbound). Read-only. Prices are decimal strings in the account currency.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getPricing(args?: GetPricingArgs, opts?: pulumi.InvokeOptions): Promise<GetPricingResult>;
|
|
7
|
+
export interface GetPricingArgs {
|
|
8
|
+
/**
|
|
9
|
+
* Two-letter ISO country code, for example GB. Cannot be combined with prefix. With neither country nor prefix every country is returned.
|
|
10
|
+
*/
|
|
11
|
+
country?: string;
|
|
12
|
+
/**
|
|
13
|
+
* International dialling prefix, digits only, for example 44. Cannot be combined with country.
|
|
14
|
+
*/
|
|
15
|
+
prefix?: string;
|
|
16
|
+
/**
|
|
17
|
+
* The service to price: sms, sms-transit or voice. Defaults to sms.
|
|
18
|
+
*/
|
|
19
|
+
serviceType?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface GetPricingResult {
|
|
22
|
+
/**
|
|
23
|
+
* Number of countries returned.
|
|
24
|
+
*/
|
|
25
|
+
readonly count: number;
|
|
26
|
+
/**
|
|
27
|
+
* The price lists. One entry for a country lookup, one per matching country otherwise.
|
|
28
|
+
*/
|
|
29
|
+
readonly countries: outputs.CountryPricing[];
|
|
30
|
+
/**
|
|
31
|
+
* The service that was priced.
|
|
32
|
+
*/
|
|
33
|
+
readonly serviceType: string;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Read Vonage's outbound price list for SMS, SMS transit or voice, for one country (GET /account/get-pricing/outbound), for a dialling prefix (GET /account/get-prefix-pricing/outbound) or for every country (GET /account/get-full-pricing/outbound). Read-only. Prices are decimal strings in the account currency.
|
|
37
|
+
*/
|
|
38
|
+
export declare function getPricingOutput(args?: GetPricingOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPricingResult>;
|
|
39
|
+
export interface GetPricingOutputArgs {
|
|
40
|
+
/**
|
|
41
|
+
* Two-letter ISO country code, for example GB. Cannot be combined with prefix. With neither country nor prefix every country is returned.
|
|
42
|
+
*/
|
|
43
|
+
country?: pulumi.Input<string | undefined>;
|
|
44
|
+
/**
|
|
45
|
+
* International dialling prefix, digits only, for example 44. Cannot be combined with country.
|
|
46
|
+
*/
|
|
47
|
+
prefix?: pulumi.Input<string | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* The service to price: sms, sms-transit or voice. Defaults to sms.
|
|
50
|
+
*/
|
|
51
|
+
serviceType?: pulumi.Input<string | undefined>;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=getPricing.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPricing.d.ts","sourceRoot":"","sources":["../getPricing.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAEzC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C;;GAEG;AACH,wBAAgB,UAAU,CAAC,IAAI,CAAC,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,aAAa,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAQxG;AAED,MAAM,WAAW,cAAc;IAC3B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,gBAAgB;IAC7B;;OAEG;IACH,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,QAAQ,CAAC,SAAS,EAAE,OAAO,CAAC,cAAc,EAAE,CAAC;IAC7C;;OAEG;IACH,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;CAChC;AACD;;GAEG;AACH,wBAAgB,gBAAgB,CAAC,IAAI,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,mBAAmB,GAAG,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAC,CAQhI;AAED,MAAM,WAAW,oBAAoB;IACjC;;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,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAClD"}
|
|
@@ -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.getPricingOutput = exports.getPricing = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Read Vonage's outbound price list for SMS, SMS transit or voice, for one country (GET /account/get-pricing/outbound), for a dialling prefix (GET /account/get-prefix-pricing/outbound) or for every country (GET /account/get-full-pricing/outbound). Read-only. Prices are decimal strings in the account currency.
|
|
33
|
+
*/
|
|
34
|
+
function getPricing(args, opts) {
|
|
35
|
+
args = args || {};
|
|
36
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
37
|
+
return pulumi.runtime.invoke("vonage:index:getPricing", {
|
|
38
|
+
"country": args.country,
|
|
39
|
+
"prefix": args.prefix,
|
|
40
|
+
"serviceType": args.serviceType,
|
|
41
|
+
}, opts);
|
|
42
|
+
}
|
|
43
|
+
exports.getPricing = getPricing;
|
|
44
|
+
/**
|
|
45
|
+
* Read Vonage's outbound price list for SMS, SMS transit or voice, for one country (GET /account/get-pricing/outbound), for a dialling prefix (GET /account/get-prefix-pricing/outbound) or for every country (GET /account/get-full-pricing/outbound). Read-only. Prices are decimal strings in the account currency.
|
|
46
|
+
*/
|
|
47
|
+
function getPricingOutput(args, opts) {
|
|
48
|
+
args = args || {};
|
|
49
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
50
|
+
return pulumi.runtime.invokeOutput("vonage:index:getPricing", {
|
|
51
|
+
"country": args.country,
|
|
52
|
+
"prefix": args.prefix,
|
|
53
|
+
"serviceType": args.serviceType,
|
|
54
|
+
}, opts);
|
|
55
|
+
}
|
|
56
|
+
exports.getPricingOutput = getPricingOutput;
|
|
57
|
+
//# sourceMappingURL=getPricing.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getPricing.js","sourceRoot":"","sources":["../getPricing.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC;;GAEG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,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,yBAAyB,EAAE;QACpD,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gCAQC;AA+BD;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAAiC;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,yBAAyB,EAAE;QAC1D,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4CAQC"}
|
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"}
|