@bambamboole/coolify 0.7.0 → 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/application.d.ts +1 -1
- package/application.d.ts.map +1 -1
- package/database.d.ts +1 -1
- package/database.d.ts.map +1 -1
- 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/service.d.ts +1 -1
- package/service.d.ts.map +1 -1
- 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
|
@@ -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,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAmED;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA4B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CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,cAAc,EAAE,iBAAiB,EAAE,cAAc,EAAE,UAAU,EAAE,cAAc,EAAE,gBAAgB,EAAE,cAAc,CAAC,EAAE,CAAC;QAClK,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AA7IL,8CA8IC"}
|
|
@@ -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
|
+
* Pushover push notifications. 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 NotificationPushover extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing NotificationPushover 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): NotificationPushover;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of NotificationPushover. 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 NotificationPushover;
|
|
22
|
+
/**
|
|
23
|
+
* pushover api token. Treated as a Pulumi secret. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
24
|
+
*/
|
|
25
|
+
readonly apiToken: pulumi.Output<string | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* pushover enabled. Omit to leave the current setting unmanaged.
|
|
28
|
+
*/
|
|
29
|
+
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* Events delivered through this channel. Only explicitly set event flags are managed.
|
|
32
|
+
*/
|
|
33
|
+
readonly events: pulumi.Output<outputs.NotificationEvents | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* The Coolify team ID derived from the provider's API token. Import using <teamId>/pushover.
|
|
36
|
+
*/
|
|
37
|
+
readonly teamId: pulumi.Output<number>;
|
|
38
|
+
/**
|
|
39
|
+
* pushover user key. Treated as a Pulumi secret. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
40
|
+
*/
|
|
41
|
+
readonly userKey: pulumi.Output<string | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* Create a NotificationPushover 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?: NotificationPushoverArgs, opts?: pulumi.CustomResourceOptions);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* The set of arguments for constructing a NotificationPushover resource.
|
|
53
|
+
*/
|
|
54
|
+
export interface NotificationPushoverArgs {
|
|
55
|
+
/**
|
|
56
|
+
* pushover api token. Treated as a Pulumi secret. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
57
|
+
*/
|
|
58
|
+
apiToken?: pulumi.Input<string | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* pushover enabled. Omit to leave the current setting unmanaged.
|
|
61
|
+
*/
|
|
62
|
+
enabled?: pulumi.Input<boolean | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Events delivered through this channel. Only explicitly set event flags are managed.
|
|
65
|
+
*/
|
|
66
|
+
events?: pulumi.Input<inputs.NotificationEventsArgs | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* pushover user key. Treated as a Pulumi secret. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
69
|
+
*/
|
|
70
|
+
userKey?: pulumi.Input<string | undefined>;
|
|
71
|
+
}
|
|
72
|
+
//# sourceMappingURL=notificationPushover.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationPushover.d.ts","sourceRoot":"","sources":["../notificationPushover.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,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;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,oBAAoB;IAOvH;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,oBAAoB;IAO/D;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpE;;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,SAAgC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9D;;OAEG;IACH,SAAwB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAEnE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,wBAAwB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAqBjG;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACrC;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;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,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC9C"}
|
|
@@ -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.NotificationPushover = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Pushover push notifications. 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 NotificationPushover extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing NotificationPushover 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 NotificationPushover(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'coolify:index:NotificationPushover';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of NotificationPushover. 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'] === NotificationPushover.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a NotificationPushover 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["apiToken"] = args?.apiToken ? pulumi.secret(args.apiToken) : undefined;
|
|
70
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
71
|
+
resourceInputs["events"] = args?.events;
|
|
72
|
+
resourceInputs["userKey"] = args?.userKey ? pulumi.secret(args.userKey) : undefined;
|
|
73
|
+
resourceInputs["teamId"] = undefined /*out*/;
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
resourceInputs["apiToken"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["enabled"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["events"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["teamId"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["userKey"] = undefined /*out*/;
|
|
81
|
+
}
|
|
82
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
83
|
+
const secretOpts = { additionalSecretOutputs: ["apiToken", "userKey"] };
|
|
84
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
85
|
+
super(NotificationPushover.__pulumiType, name, resourceInputs, opts);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.NotificationPushover = NotificationPushover;
|
|
89
|
+
//# sourceMappingURL=notificationPushover.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationPushover.js","sourceRoot":"","sources":["../notificationPushover.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,oBAAoB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjF,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,oCAAoC,CAAC;IAE3E;;;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,oBAAoB,CAAC,YAAY,CAAC;IACrE,CAAC;IAuBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA+B,EAAE,IAAmC;QAC1F,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,cAAc,CAAC,UAAU,CAAC,G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s from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Slack-compatible notifications, including Mattermost incoming webhooks. 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 NotificationSlack extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing NotificationSlack 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): NotificationSlack;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of NotificationSlack. 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 NotificationSlack;
|
|
22
|
+
/**
|
|
23
|
+
* slack 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
|
+
* The Coolify team ID derived from the provider's API token. Import using <teamId>/slack.
|
|
32
|
+
*/
|
|
33
|
+
readonly teamId: pulumi.Output<number>;
|
|
34
|
+
/**
|
|
35
|
+
* slack webhook url. Treated as a Pulumi secret. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
36
|
+
*/
|
|
37
|
+
readonly webhookUrl: pulumi.Output<string | undefined>;
|
|
38
|
+
/**
|
|
39
|
+
* Create a NotificationSlack resource with the given unique name, arguments, and options.
|
|
40
|
+
*
|
|
41
|
+
* @param name The _unique_ name of the resource.
|
|
42
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
43
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
44
|
+
*/
|
|
45
|
+
constructor(name: string, args?: NotificationSlackArgs, opts?: pulumi.CustomResourceOptions);
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* The set of arguments for constructing a NotificationSlack resource.
|
|
49
|
+
*/
|
|
50
|
+
export interface NotificationSlackArgs {
|
|
51
|
+
/**
|
|
52
|
+
* slack enabled. Omit to leave the current setting unmanaged.
|
|
53
|
+
*/
|
|
54
|
+
enabled?: pulumi.Input<boolean | undefined>;
|
|
55
|
+
/**
|
|
56
|
+
* Events delivered through this channel. Only explicitly set event flags are managed.
|
|
57
|
+
*/
|
|
58
|
+
events?: pulumi.Input<inputs.NotificationEventsArgs | undefined>;
|
|
59
|
+
/**
|
|
60
|
+
* slack webhook url. Treated as a Pulumi secret. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
61
|
+
*/
|
|
62
|
+
webhookUrl?: pulumi.Input<string | undefined>;
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=notificationSlack.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationSlack.d.ts","sourceRoot":"","sources":["../notificationSlack.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,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,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,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,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAmB9F;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;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,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACjD"}
|
|
@@ -0,0 +1,87 @@
|
|
|
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.NotificationSlack = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Slack-compatible notifications, including Mattermost incoming webhooks. 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 NotificationSlack extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing NotificationSlack 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 NotificationSlack(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'coolify:index:NotificationSlack';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of NotificationSlack. 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'] === NotificationSlack.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a NotificationSlack 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["webhookUrl"] = args?.webhookUrl ? pulumi.secret(args.webhookUrl) : undefined;
|
|
72
|
+
resourceInputs["teamId"] = undefined /*out*/;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
resourceInputs["enabled"] = undefined /*out*/;
|
|
76
|
+
resourceInputs["events"] = undefined /*out*/;
|
|
77
|
+
resourceInputs["teamId"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["webhookUrl"] = undefined /*out*/;
|
|
79
|
+
}
|
|
80
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
81
|
+
const secretOpts = { additionalSecretOutputs: ["webhookUrl"] };
|
|
82
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
83
|
+
super(NotificationSlack.__pulumiType, name, resourceInputs, opts);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.NotificationSlack = NotificationSlack;
|
|
87
|
+
//# sourceMappingURL=notificationSlack.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationSlack.js","sourceRoot":"","sources":["../notificationSlack.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,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,iBAAiB,CAAC,YAAY,CAAC;IAClE,CAAC;IAmBD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAA4B,EAAE,IAAmC;QACvF,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,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,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,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AArEL,8CAsEC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Telegram bot notifications with optional per-event topic/thread IDs. 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 NotificationTelegram extends pulumi.CustomResource {
|
|
8
|
+
/**
|
|
9
|
+
* Get an existing NotificationTelegram 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): NotificationTelegram;
|
|
17
|
+
/**
|
|
18
|
+
* Returns true if the given object is an instance of NotificationTelegram. 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 NotificationTelegram;
|
|
22
|
+
/**
|
|
23
|
+
* telegram chat id. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
24
|
+
*/
|
|
25
|
+
readonly chatId: pulumi.Output<string | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* telegram enabled. Omit to leave the current setting unmanaged.
|
|
28
|
+
*/
|
|
29
|
+
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
30
|
+
/**
|
|
31
|
+
* Events delivered through this channel. Only explicitly set event flags are managed.
|
|
32
|
+
*/
|
|
33
|
+
readonly events: pulumi.Output<outputs.NotificationEvents | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* The Coolify team ID derived from the provider's API token. Import using <teamId>/telegram.
|
|
36
|
+
*/
|
|
37
|
+
readonly teamId: pulumi.Output<number>;
|
|
38
|
+
/**
|
|
39
|
+
* Per-event Telegram thread IDs. Omit to leave the current setting unmanaged.
|
|
40
|
+
*/
|
|
41
|
+
readonly threads: pulumi.Output<outputs.NotificationTelegramThreads | undefined>;
|
|
42
|
+
/**
|
|
43
|
+
* telegram token. Treated as a Pulumi secret. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
44
|
+
*/
|
|
45
|
+
readonly token: pulumi.Output<string | undefined>;
|
|
46
|
+
/**
|
|
47
|
+
* Create a NotificationTelegram resource with the given unique name, arguments, and options.
|
|
48
|
+
*
|
|
49
|
+
* @param name The _unique_ name of the resource.
|
|
50
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
51
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
52
|
+
*/
|
|
53
|
+
constructor(name: string, args?: NotificationTelegramArgs, opts?: pulumi.CustomResourceOptions);
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* The set of arguments for constructing a NotificationTelegram resource.
|
|
57
|
+
*/
|
|
58
|
+
export interface NotificationTelegramArgs {
|
|
59
|
+
/**
|
|
60
|
+
* telegram chat id. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
61
|
+
*/
|
|
62
|
+
chatId?: pulumi.Input<string | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* telegram enabled. Omit to leave the current setting unmanaged.
|
|
65
|
+
*/
|
|
66
|
+
enabled?: pulumi.Input<boolean | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Events delivered through this channel. Only explicitly set event flags are managed.
|
|
69
|
+
*/
|
|
70
|
+
events?: pulumi.Input<inputs.NotificationEventsArgs | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* Per-event Telegram thread IDs. Omit to leave the current setting unmanaged.
|
|
73
|
+
*/
|
|
74
|
+
threads?: pulumi.Input<inputs.NotificationTelegramThreadsArgs | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* telegram token. Treated as a Pulumi secret. Omit to leave the current setting unmanaged. An empty string clears the setting.
|
|
77
|
+
*/
|
|
78
|
+
token?: pulumi.Input<string | undefined>;
|
|
79
|
+
}
|
|
80
|
+
//# sourceMappingURL=notificationTelegram.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationTelegram.d.ts","sourceRoot":"","sources":["../notificationTelegram.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAg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AC,CAAC;IAC5C;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,sBAAsB,GAAG,SAAS,CAAC,CAAC;IACjE;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,+BAA+B,GAAG,SAAS,CAAC,CAAC;IAC3E;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC5C"}
|
|
@@ -0,0 +1,91 @@
|
|
|
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.NotificationTelegram = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* Telegram bot notifications with optional per-event topic/thread IDs. 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 NotificationTelegram extends pulumi.CustomResource {
|
|
35
|
+
/**
|
|
36
|
+
* Get an existing NotificationTelegram 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 NotificationTelegram(name, undefined, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/** @internal */
|
|
47
|
+
static __pulumiType = 'coolify:index:NotificationTelegram';
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of NotificationTelegram. 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'] === NotificationTelegram.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* Create a NotificationTelegram 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["chatId"] = args?.chatId ? pulumi.secret(args.chatId) : undefined;
|
|
70
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
71
|
+
resourceInputs["events"] = args?.events;
|
|
72
|
+
resourceInputs["threads"] = args?.threads;
|
|
73
|
+
resourceInputs["token"] = args?.token ? pulumi.secret(args.token) : undefined;
|
|
74
|
+
resourceInputs["teamId"] = undefined /*out*/;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
resourceInputs["chatId"] = undefined /*out*/;
|
|
78
|
+
resourceInputs["enabled"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["events"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["teamId"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["threads"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["token"] = undefined /*out*/;
|
|
83
|
+
}
|
|
84
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
85
|
+
const secretOpts = { additionalSecretOutputs: ["chatId", "token"] };
|
|
86
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
87
|
+
super(NotificationTelegram.__pulumiType, name, resourceInputs, opts);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
exports.NotificationTelegram = NotificationTelegram;
|
|
91
|
+
//# sourceMappingURL=notificationTelegram.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notificationTelegram.js","sourceRoot":"","sources":["../notificationTelegram.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAIzC,uDAAyC;AAEzC;;GAEG;AACH,MAAa,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;OAOG;IACI,MAAM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