@bambamboole/coolify 0.7.1 → 0.8.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/index.d.ts +18 -0
- package/index.d.ts.map +1 -1
- package/index.js +25 -1
- package/index.js.map +1 -1
- package/notificationDiscord.d.ts +72 -0
- package/notificationDiscord.d.ts.map +1 -0
- package/notificationDiscord.js +89 -0
- package/notificationDiscord.js.map +1 -0
- package/notificationEmail.d.ts +161 -0
- package/notificationEmail.d.ts.map +1 -0
- package/notificationEmail.js +111 -0
- package/notificationEmail.js.map +1 -0
- package/notificationPushover.d.ts +72 -0
- package/notificationPushover.d.ts.map +1 -0
- package/notificationPushover.js +89 -0
- package/notificationPushover.js.map +1 -0
- package/notificationSlack.d.ts +64 -0
- package/notificationSlack.d.ts.map +1 -0
- package/notificationSlack.js +87 -0
- package/notificationSlack.js.map +1 -0
- package/notificationTelegram.d.ts +80 -0
- package/notificationTelegram.d.ts.map +1 -0
- package/notificationTelegram.js +91 -0
- package/notificationTelegram.js.map +1 -0
- package/notificationWebhook.d.ts +64 -0
- package/notificationWebhook.d.ts.map +1 -0
- package/notificationWebhook.js +87 -0
- package/notificationWebhook.js.map +1 -0
- package/package.json +2 -2
- package/types/enums/index.d.ts +6 -0
- package/types/enums/index.d.ts.map +1 -1
- package/types/enums/index.js +6 -1
- package/types/enums/index.js.map +1 -1
- package/types/index.d.ts.map +1 -1
- package/types/index.js.map +1 -1
- package/types/input.d.ts +131 -1
- package/types/input.d.ts.map +1 -1
- package/types/output.d.ts +130 -1
- package/types/output.d.ts.map +1 -1
package/index.d.ts
CHANGED
|
@@ -16,6 +16,24 @@ export declare const getStorageOutput: typeof import("./getStorage").getStorageO
|
|
|
16
16
|
export { GitHubAppArgs } from "./gitHubApp";
|
|
17
17
|
export type GitHubApp = import("./gitHubApp").GitHubApp;
|
|
18
18
|
export declare const GitHubApp: typeof import("./gitHubApp").GitHubApp;
|
|
19
|
+
export { NotificationDiscordArgs } from "./notificationDiscord";
|
|
20
|
+
export type NotificationDiscord = import("./notificationDiscord").NotificationDiscord;
|
|
21
|
+
export declare const NotificationDiscord: typeof import("./notificationDiscord").NotificationDiscord;
|
|
22
|
+
export { NotificationEmailArgs } from "./notificationEmail";
|
|
23
|
+
export type NotificationEmail = import("./notificationEmail").NotificationEmail;
|
|
24
|
+
export declare const NotificationEmail: typeof import("./notificationEmail").NotificationEmail;
|
|
25
|
+
export { NotificationPushoverArgs } from "./notificationPushover";
|
|
26
|
+
export type NotificationPushover = import("./notificationPushover").NotificationPushover;
|
|
27
|
+
export declare const NotificationPushover: typeof import("./notificationPushover").NotificationPushover;
|
|
28
|
+
export { NotificationSlackArgs } from "./notificationSlack";
|
|
29
|
+
export type NotificationSlack = import("./notificationSlack").NotificationSlack;
|
|
30
|
+
export declare const NotificationSlack: typeof import("./notificationSlack").NotificationSlack;
|
|
31
|
+
export { NotificationTelegramArgs } from "./notificationTelegram";
|
|
32
|
+
export type NotificationTelegram = import("./notificationTelegram").NotificationTelegram;
|
|
33
|
+
export declare const NotificationTelegram: typeof import("./notificationTelegram").NotificationTelegram;
|
|
34
|
+
export { NotificationWebhookArgs } from "./notificationWebhook";
|
|
35
|
+
export type NotificationWebhook = import("./notificationWebhook").NotificationWebhook;
|
|
36
|
+
export declare const NotificationWebhook: typeof import("./notificationWebhook").NotificationWebhook;
|
|
19
37
|
export { PrivateKeyArgs } from "./privateKey";
|
|
20
38
|
export type PrivateKey = import("./privateKey").PrivateKey;
|
|
21
39
|
export declare const PrivateKey: typeof import("./privateKey").PrivateKey;
|
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAChD,MAAM,MAAM,WAAW,GAAG,OAAO,eAAe,EAAE,WAAW,CAAC;AAC9D,eAAO,MAAM,WAAW,EAAE,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AAGvE,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,MAAM,MAAM,OAAO,GAAG,OAAO,WAAW,EAAE,OAAO,CAAC;AAClD,eAAO,MAAM,OAAO,EAAE,cAAc,WAAW,EAAE,OAAqB,CAAC;AAGvE,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAClD,MAAM,MAAM,YAAY,GAAG,OAAO,gBAAgB,EAAE,YAAY,CAAC;AACjE,eAAO,MAAM,YAAY,EAAE,cAAc,gBAAgB,EAAE,YAA0B,CAAC;AAKtF,cAAc,eAAe,CAAC;AAG9B,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AACnC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC,OAAO,EACH,MAAM,EACN,KAAK,GACR,CAAC"}
|
package/index.js
CHANGED
|
@@ -28,7 +28,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
28
28
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
29
29
|
};
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.types = exports.config = exports.VolumeBackup = exports.Storage = exports.Service = exports.Server = exports.ScheduledTask = exports.S3Storage = exports.Provider = exports.Project = exports.PrivateKey = exports.GitHubApp = exports.getStorageOutput = exports.getStorage = exports.Deployment = exports.DatabaseBackup = exports.Database = exports.Application = void 0;
|
|
31
|
+
exports.types = exports.config = exports.VolumeBackup = exports.Storage = exports.Service = exports.Server = exports.ScheduledTask = exports.S3Storage = exports.Provider = exports.Project = exports.PrivateKey = exports.NotificationWebhook = exports.NotificationTelegram = exports.NotificationSlack = exports.NotificationPushover = exports.NotificationEmail = exports.NotificationDiscord = exports.GitHubApp = exports.getStorageOutput = exports.getStorage = exports.Deployment = exports.DatabaseBackup = exports.Database = exports.Application = void 0;
|
|
32
32
|
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
33
33
|
const utilities = __importStar(require("./utilities"));
|
|
34
34
|
exports.Application = null;
|
|
@@ -44,6 +44,18 @@ exports.getStorageOutput = null;
|
|
|
44
44
|
utilities.lazyLoad(exports, ["getStorage", "getStorageOutput"], () => require("./getStorage"));
|
|
45
45
|
exports.GitHubApp = null;
|
|
46
46
|
utilities.lazyLoad(exports, ["GitHubApp"], () => require("./gitHubApp"));
|
|
47
|
+
exports.NotificationDiscord = null;
|
|
48
|
+
utilities.lazyLoad(exports, ["NotificationDiscord"], () => require("./notificationDiscord"));
|
|
49
|
+
exports.NotificationEmail = null;
|
|
50
|
+
utilities.lazyLoad(exports, ["NotificationEmail"], () => require("./notificationEmail"));
|
|
51
|
+
exports.NotificationPushover = null;
|
|
52
|
+
utilities.lazyLoad(exports, ["NotificationPushover"], () => require("./notificationPushover"));
|
|
53
|
+
exports.NotificationSlack = null;
|
|
54
|
+
utilities.lazyLoad(exports, ["NotificationSlack"], () => require("./notificationSlack"));
|
|
55
|
+
exports.NotificationTelegram = null;
|
|
56
|
+
utilities.lazyLoad(exports, ["NotificationTelegram"], () => require("./notificationTelegram"));
|
|
57
|
+
exports.NotificationWebhook = null;
|
|
58
|
+
utilities.lazyLoad(exports, ["NotificationWebhook"], () => require("./notificationWebhook"));
|
|
47
59
|
exports.PrivateKey = null;
|
|
48
60
|
utilities.lazyLoad(exports, ["PrivateKey"], () => require("./privateKey"));
|
|
49
61
|
exports.Project = null;
|
|
@@ -83,6 +95,18 @@ const _module = {
|
|
|
83
95
|
return new exports.Deployment(name, undefined, { urn });
|
|
84
96
|
case "coolify:index:GitHubApp":
|
|
85
97
|
return new exports.GitHubApp(name, undefined, { urn });
|
|
98
|
+
case "coolify:index:NotificationDiscord":
|
|
99
|
+
return new exports.NotificationDiscord(name, undefined, { urn });
|
|
100
|
+
case "coolify:index:NotificationEmail":
|
|
101
|
+
return new exports.NotificationEmail(name, undefined, { urn });
|
|
102
|
+
case "coolify:index:NotificationPushover":
|
|
103
|
+
return new exports.NotificationPushover(name, undefined, { urn });
|
|
104
|
+
case "coolify:index:NotificationSlack":
|
|
105
|
+
return new exports.NotificationSlack(name, undefined, { urn });
|
|
106
|
+
case "coolify:index:NotificationTelegram":
|
|
107
|
+
return new exports.NotificationTelegram(name, undefined, { urn });
|
|
108
|
+
case "coolify:index:NotificationWebhook":
|
|
109
|
+
return new exports.NotificationWebhook(name, undefined, { urn });
|
|
86
110
|
case "coolify:index:PrivateKey":
|
|
87
111
|
return new exports.PrivateKey(name, undefined, { urn });
|
|
88
112
|
case "coolify:index:Project":
|
package/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAK5B,QAAA,WAAW,GAA+C,IAAW,CAAC;AACnF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,aAAa,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC;AAIhE,QAAA,QAAQ,GAAyC,IAAW,CAAC;AAC1E,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC,CAAC;AAI1D,QAAA,cAAc,GAAqD,IAAW,CAAC;AAC5F,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,gBAAgB,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;AAItE,QAAA,UAAU,GAA6C,IAAW,CAAC;AAChF,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,CAAC,YAAY,CAAC,EAAE,GAAG,EAAE,CAAC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC;AAG9D,QAAA,UAAU,GAA6C,IAAW,CAAC;AACnE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E,CAAC,CAAA;YACrD,KAAK,4BAA4B;gBAC7B,OAAO,IAAI,oBAAY,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAA;YAC1D;gBACI,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACxD;IACL,CAAC;CACJ,CAAC;AACF,MAAM,CAAC,OAAO,CAAC,sBAAsB,CAAC,SAAS,EAAE,OAAO,EAAE,OAAO,CAAC,CAAA;AAClE,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,SAAS,EAAE;IAC9C,OAAO,EAAE,SAAS,CAAC,UAAU,EAAE;IAC/B,iBAAiB,EAAE,CAAC,IAAY,EAAE,IAAY,EAAE,GAAW,EAA2B,EAAE;QACpF,IAAI,IAAI,KAAK,0BAA0B,EAAE;YACrC,MAAM,IAAI,KAAK,CAAC,yBAAyB,IAAI,EAAE,CAAC,CAAC;SACpD;QACD,OAAO,IAAI,gBAAQ,CAAC,IAAI,EAAO,SAAS,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC;IACvD,CAAC;CACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Discord webhook notifications and optional pings. Manages one settings object per API token team on Coolify v4.3.0+. Create adopts existing settings. Only declared fields are changed. Delete disables delivery and retains credentials and event choices.
|
|
6
|
+
*/
|
|
7
|
+
export declare class NotificationDiscord extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing NotificationDiscord resource's state with the given name, ID, and optional extra
|
|
10
|
+
* properties used to qualify the lookup.
|
|
11
|
+
*
|
|
12
|
+
* @param name The _unique_ name of the resulting resource.
|
|
13
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
14
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
15
|
+
*/
|
|
16
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): NotificationDiscord;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of NotificationDiscord. This is designed to work even
|
|
19
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
20
|
+
*/
|
|
21
|
+
static isInstance(obj: any): obj is NotificationDiscord;
|
|
22
|
+
/**
|
|
23
|
+
* discord enabled. Omit to leave the current setting unmanaged.
|
|
24
|
+
*/
|
|
25
|
+
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Events delivered through this channel. Only explicitly set event flags are managed.
|
|
28
|
+
*/
|
|
29
|
+
readonly events: pulumi.Output<outputs.NotificationEvents | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* discord ping enabled. Omit to leave the current setting unmanaged.
|
|
32
|
+
*/
|
|
33
|
+
readonly pingEnabled: pulumi.Output<boolean | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* The Coolify team ID derived from the provider's API token. Import using <teamId>/discord.
|
|
36
|
+
*/
|
|
37
|
+
readonly teamId: pulumi.Output<number>;
|
|
38
|
+
/**
|
|
39
|
+
* discord webhook url. Treated as a Pulumi secret. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
40
|
+
*/
|
|
41
|
+
readonly webhookUrl: pulumi.Output<string | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a NotificationDiscord resource with the given unique name, arguments, and options.
|
|
44
|
+
*
|
|
45
|
+
* @param name The _unique_ name of the resource.
|
|
46
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
47
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
48
|
+
*/
|
|
49
|
+
constructor(name: string, args?: NotificationDiscordArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* The set of arguments for constructing a NotificationDiscord resource.
|
|
53
|
+
*/
|
|
54
|
+
export interface NotificationDiscordArgs {
|
|
55
|
+
/**
|
|
56
|
+
* discord enabled. Omit to leave the current setting unmanaged.
|
|
57
|
+
*/
|
|
58
|
+
enabled?: pulumi.Input<boolean | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* Events delivered through this channel. Only explicitly set event flags are managed.
|
|
61
|
+
*/
|
|
62
|
+
events?: pulumi.Input<inputs.NotificationEventsArgs | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* discord ping enabled. Omit to leave the current setting unmanaged.
|
|
65
|
+
*/
|
|
66
|
+
pingEnabled?: pulumi.Input<boolean | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* discord webhook url. Treated as a Pulumi secret. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
69
|
+
*/
|
|
70
|
+
webhookUrl?: pulumi.Input<string | undefined>;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=notificationDiscord.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationDiscord.d.ts","sourceRoot":"","sources":["../notificationDiscord.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAI1C;;GAEG;AACH,qBAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,mBAAmB;IAOtH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,mBAAmB;IAO9D;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IACtF;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,SAAgC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9D;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEtE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAqBhG;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACjE;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD"}
|
|
@@ -0,0 +1,89 @@
|
|
|
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.NotificationDiscord = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Discord webhook notifications and optional pings. Manages one settings object per API token team on Coolify v4.3.0+. Create adopts existing settings. Only declared fields are changed. Delete disables delivery and retains credentials and event choices.
|
|
33
|
+
*/
|
|
34
|
+
class NotificationDiscord extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing NotificationDiscord resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new NotificationDiscord(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'coolify:index:NotificationDiscord';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of NotificationDiscord. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === NotificationDiscord.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a NotificationDiscord resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
70
|
+
resourceInputs["events"] = args?.events;
|
|
71
|
+
resourceInputs["pingEnabled"] = args?.pingEnabled;
|
|
72
|
+
resourceInputs["webhookUrl"] = args?.webhookUrl ? pulumi.secret(args.webhookUrl) : undefined;
|
|
73
|
+
resourceInputs["teamId"] = undefined /*out*/;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
resourceInputs["enabled"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["events"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["pingEnabled"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["teamId"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["webhookUrl"] = undefined /*out*/;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
const secretOpts = { additionalSecretOutputs: ["webhookUrl"] };
|
|
84
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
85
|
+
super(NotificationDiscord.__pulumiType, name, resourceInputs, opts);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.NotificationDiscord = NotificationDiscord;
|
|
89
|
+
//# sourceMappingURL=notificationDiscord.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationDiscord.js","sourceRoot":"","sources":["../notificationDiscord.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAChF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,mCAAmC,CAAC;IAE1E;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,mBAAmB,CAAC,YAAY,CAAC;IACpE,CAAC;IAuBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA8B,EAAE,IAAmC;QACzF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YAC7F,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAChD;aAAM;YACH,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC;QAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,mBAAmB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACxE,CAAC;;AA3EL,kDA4EC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
import * as enums from "./types/enums";
|
|
5
|
+
/**
|
|
6
|
+
* Team email notifications through SMTP, Resend or instance email settings. Manages one settings object per API token team on Coolify v4.3.0+. Create adopts existing settings. Only declared fields are changed. Delete disables delivery and retains credentials and event choices.
|
|
7
|
+
*/
|
|
8
|
+
export declare class NotificationEmail extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing NotificationEmail resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
16
|
+
*/
|
|
17
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): NotificationEmail;
|
|
18
|
+
/**
|
|
19
|
+
* Returns true if the given object is an instance of NotificationEmail. This is designed to work even
|
|
20
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
21
|
+
*/
|
|
22
|
+
static isInstance(obj: any): obj is NotificationEmail;
|
|
23
|
+
/**
|
|
24
|
+
* Events delivered through this channel. Only explicitly set event flags are managed.
|
|
25
|
+
*/
|
|
26
|
+
readonly events: pulumi.Output<outputs.NotificationEvents | undefined>;
|
|
27
|
+
/**
|
|
28
|
+
* resend api key. Treated as a Pulumi secret. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
29
|
+
*/
|
|
30
|
+
readonly resendApiKey: pulumi.Output<string | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* resend enabled. Omit to leave the current setting unmanaged.
|
|
33
|
+
*/
|
|
34
|
+
readonly resendEnabled: pulumi.Output<boolean | undefined>;
|
|
35
|
+
/**
|
|
36
|
+
* smtp ehlo domain. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
37
|
+
*/
|
|
38
|
+
readonly smtpEhloDomain: pulumi.Output<string | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* smtp enabled. Omit to leave the current setting unmanaged.
|
|
41
|
+
*/
|
|
42
|
+
readonly smtpEnabled: pulumi.Output<boolean | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* SMTP transport encryption: starttls, tls or none. Omit to leave the current setting unmanaged.
|
|
45
|
+
*/
|
|
46
|
+
readonly smtpEncryption: pulumi.Output<enums.NotificationSMTPEncryption | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* smtp from address. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
49
|
+
*/
|
|
50
|
+
readonly smtpFromAddress: pulumi.Output<string | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* smtp from name. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
53
|
+
*/
|
|
54
|
+
readonly smtpFromName: pulumi.Output<string | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* smtp host. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
57
|
+
*/
|
|
58
|
+
readonly smtpHost: pulumi.Output<string | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* smtp password. Treated as a Pulumi secret. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
61
|
+
*/
|
|
62
|
+
readonly smtpPassword: pulumi.Output<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* smtp port. Omit to leave the current setting unmanaged.
|
|
65
|
+
*/
|
|
66
|
+
readonly smtpPort: pulumi.Output<number | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* smtp recipients. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
69
|
+
*/
|
|
70
|
+
readonly smtpRecipients: pulumi.Output<string | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* smtp timeout. Omit to leave the current setting unmanaged.
|
|
73
|
+
*/
|
|
74
|
+
readonly smtpTimeout: pulumi.Output<number | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* smtp username. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
77
|
+
*/
|
|
78
|
+
readonly smtpUsername: pulumi.Output<string | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* The Coolify team ID derived from the provider's API token. Import using <teamId>/email.
|
|
81
|
+
*/
|
|
82
|
+
readonly teamId: pulumi.Output<number>;
|
|
83
|
+
/**
|
|
84
|
+
* use instance email settings. Omit to leave the current setting unmanaged.
|
|
85
|
+
*/
|
|
86
|
+
readonly useInstanceEmailSettings: pulumi.Output<boolean | undefined>;
|
|
87
|
+
/**
|
|
88
|
+
* Create a NotificationEmail resource with the given unique name, arguments, and options.
|
|
89
|
+
*
|
|
90
|
+
* @param name The _unique_ name of the resource.
|
|
91
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
92
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
93
|
+
*/
|
|
94
|
+
constructor(name: string, args?: NotificationEmailArgs, opts?: pulumi.CustomResourceOptions);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* The set of arguments for constructing a NotificationEmail resource.
|
|
98
|
+
*/
|
|
99
|
+
export interface NotificationEmailArgs {
|
|
100
|
+
/**
|
|
101
|
+
* Events delivered through this channel. Only explicitly set event flags are managed.
|
|
102
|
+
*/
|
|
103
|
+
events?: pulumi.Input<inputs.NotificationEventsArgs | undefined>;
|
|
104
|
+
/**
|
|
105
|
+
* resend api key. Treated as a Pulumi secret. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
106
|
+
*/
|
|
107
|
+
resendApiKey?: pulumi.Input<string | undefined>;
|
|
108
|
+
/**
|
|
109
|
+
* resend enabled. Omit to leave the current setting unmanaged.
|
|
110
|
+
*/
|
|
111
|
+
resendEnabled?: pulumi.Input<boolean | undefined>;
|
|
112
|
+
/**
|
|
113
|
+
* smtp ehlo domain. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
114
|
+
*/
|
|
115
|
+
smtpEhloDomain?: pulumi.Input<string | undefined>;
|
|
116
|
+
/**
|
|
117
|
+
* smtp enabled. Omit to leave the current setting unmanaged.
|
|
118
|
+
*/
|
|
119
|
+
smtpEnabled?: pulumi.Input<boolean | undefined>;
|
|
120
|
+
/**
|
|
121
|
+
* SMTP transport encryption: starttls, tls or none. Omit to leave the current setting unmanaged.
|
|
122
|
+
*/
|
|
123
|
+
smtpEncryption?: pulumi.Input<enums.NotificationSMTPEncryption | undefined>;
|
|
124
|
+
/**
|
|
125
|
+
* smtp from address. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
126
|
+
*/
|
|
127
|
+
smtpFromAddress?: pulumi.Input<string | undefined>;
|
|
128
|
+
/**
|
|
129
|
+
* smtp from name. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
130
|
+
*/
|
|
131
|
+
smtpFromName?: pulumi.Input<string | undefined>;
|
|
132
|
+
/**
|
|
133
|
+
* smtp host. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
134
|
+
*/
|
|
135
|
+
smtpHost?: pulumi.Input<string | undefined>;
|
|
136
|
+
/**
|
|
137
|
+
* smtp password. Treated as a Pulumi secret. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
138
|
+
*/
|
|
139
|
+
smtpPassword?: pulumi.Input<string | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* smtp port. Omit to leave the current setting unmanaged.
|
|
142
|
+
*/
|
|
143
|
+
smtpPort?: pulumi.Input<number | undefined>;
|
|
144
|
+
/**
|
|
145
|
+
* smtp recipients. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
146
|
+
*/
|
|
147
|
+
smtpRecipients?: pulumi.Input<string | undefined>;
|
|
148
|
+
/**
|
|
149
|
+
* smtp timeout. Omit to leave the current setting unmanaged.
|
|
150
|
+
*/
|
|
151
|
+
smtpTimeout?: pulumi.Input<number | undefined>;
|
|
152
|
+
/**
|
|
153
|
+
* smtp username. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
154
|
+
*/
|
|
155
|
+
smtpUsername?: pulumi.Input<string | undefined>;
|
|
156
|
+
/**
|
|
157
|
+
* use instance email settings. Omit to leave the current setting unmanaged.
|
|
158
|
+
*/
|
|
159
|
+
useInstanceEmailSettings?: pulumi.Input<boolean | undefined>;
|
|
160
|
+
}
|
|
161
|
+
//# sourceMappingURL=notificationEmail.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationEmail.d.ts","sourceRoot":"","sources":["../notificationEmail.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAC1C,OAAO,KAAK,KAAK,MAAM,eAAe,CAAC;AAGvC;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;OAOG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iBAAiB;IAO5D;;OAEG;IACH,SAAwB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,kBAAkB,GAAG,SAAS,CAAC,CAAC;IACtF;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC1E;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1E;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,KAAK,CAAC,0BAA0B,GAAG,SAAS,CAAC,CAA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CAAC;CAChE"}
|
|
@@ -0,0 +1,111 @@
|
|
|
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.NotificationEmail = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Team email notifications through SMTP, Resend or instance email settings. Manages one settings object per API token team on Coolify v4.3.0+. Create adopts existing settings. Only declared fields are changed. Delete disables delivery and retains credentials and event choices.
|
|
33
|
+
*/
|
|
34
|
+
class NotificationEmail extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing NotificationEmail resource's state with the given name, ID, and optional extra
|
|
37
|
+
* properties used to qualify the lookup.
|
|
38
|
+
*
|
|
39
|
+
* @param name The _unique_ name of the resulting resource.
|
|
40
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, opts) {
|
|
44
|
+
return new NotificationEmail(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'coolify:index:NotificationEmail';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of NotificationEmail. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === NotificationEmail.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a NotificationEmail resource with the given unique name, arguments, and options.
|
|
60
|
+
*
|
|
61
|
+
* @param name The _unique_ name of the resource.
|
|
62
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
63
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
64
|
+
*/
|
|
65
|
+
constructor(name, args, opts) {
|
|
66
|
+
let resourceInputs = {};
|
|
67
|
+
opts = opts || {};
|
|
68
|
+
if (!opts.id) {
|
|
69
|
+
resourceInputs["events"] = args?.events;
|
|
70
|
+
resourceInputs["resendApiKey"] = args?.resendApiKey ? pulumi.secret(args.resendApiKey) : undefined;
|
|
71
|
+
resourceInputs["resendEnabled"] = args?.resendEnabled;
|
|
72
|
+
resourceInputs["smtpEhloDomain"] = args?.smtpEhloDomain;
|
|
73
|
+
resourceInputs["smtpEnabled"] = args?.smtpEnabled;
|
|
74
|
+
resourceInputs["smtpEncryption"] = args?.smtpEncryption;
|
|
75
|
+
resourceInputs["smtpFromAddress"] = args?.smtpFromAddress ? pulumi.secret(args.smtpFromAddress) : undefined;
|
|
76
|
+
resourceInputs["smtpFromName"] = args?.smtpFromName ? pulumi.secret(args.smtpFromName) : undefined;
|
|
77
|
+
resourceInputs["smtpHost"] = args?.smtpHost ? pulumi.secret(args.smtpHost) : undefined;
|
|
78
|
+
resourceInputs["smtpPassword"] = args?.smtpPassword ? pulumi.secret(args.smtpPassword) : undefined;
|
|
79
|
+
resourceInputs["smtpPort"] = args?.smtpPort;
|
|
80
|
+
resourceInputs["smtpRecipients"] = args?.smtpRecipients ? pulumi.secret(args.smtpRecipients) : undefined;
|
|
81
|
+
resourceInputs["smtpTimeout"] = args?.smtpTimeout;
|
|
82
|
+
resourceInputs["smtpUsername"] = args?.smtpUsername ? pulumi.secret(args.smtpUsername) : undefined;
|
|
83
|
+
resourceInputs["useInstanceEmailSettings"] = args?.useInstanceEmailSettings;
|
|
84
|
+
resourceInputs["teamId"] = undefined /*out*/;
|
|
85
|
+
}
|
|
86
|
+
else {
|
|
87
|
+
resourceInputs["events"] = undefined /*out*/;
|
|
88
|
+
resourceInputs["resendApiKey"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["resendEnabled"] = undefined /*out*/;
|
|
90
|
+
resourceInputs["smtpEhloDomain"] = undefined /*out*/;
|
|
91
|
+
resourceInputs["smtpEnabled"] = undefined /*out*/;
|
|
92
|
+
resourceInputs["smtpEncryption"] = undefined /*out*/;
|
|
93
|
+
resourceInputs["smtpFromAddress"] = undefined /*out*/;
|
|
94
|
+
resourceInputs["smtpFromName"] = undefined /*out*/;
|
|
95
|
+
resourceInputs["smtpHost"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["smtpPassword"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["smtpPort"] = undefined /*out*/;
|
|
98
|
+
resourceInputs["smtpRecipients"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["smtpTimeout"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["smtpUsername"] = undefined /*out*/;
|
|
101
|
+
resourceInputs["teamId"] = undefined /*out*/;
|
|
102
|
+
resourceInputs["useInstanceEmailSettings"] = undefined /*out*/;
|
|
103
|
+
}
|
|
104
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
105
|
+
const secretOpts = { additionalSecretOutputs: ["resendApiKey", "smtpFromAddress", "smtpFromName", "smtpHost", "smtpPassword", "smtpRecipients", "smtpUsername"] };
|
|
106
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
107
|
+
super(NotificationEmail.__pulumiType, name, resourceInputs, opts);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.NotificationEmail = NotificationEmail;
|
|
111
|
+
//# sourceMappingURL=notificationEmail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationEmail.js","sourceRoot":"","sources":["../notificationEmail.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,iCAAiC,CAAC;IAExE;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CA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