@sl-testing/ac-pulumi 0.1.30 → 0.1.31
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 +82 -0
- package/dist/agentConfiguration.d.ts +57 -0
- package/dist/agentConfiguration.js +93 -0
- package/dist/agentConfiguration.js.map +1 -0
- package/dist/agentRuns.d.ts +2 -0
- package/dist/agentRuns.js +2 -0
- package/dist/agentRuns.js.map +1 -1
- package/dist/database.d.ts +36 -0
- package/dist/database.js +64 -0
- package/dist/database.js.map +1 -0
- package/dist/image.d.ts +47 -0
- package/dist/image.js +77 -0
- package/dist/image.js.map +1 -0
- package/dist/imageVersions.d.ts +15 -0
- package/dist/imageVersions.js +24 -0
- package/dist/imageVersions.js.map +1 -0
- package/dist/imageVersionsByImage.d.ts +20 -0
- package/dist/imageVersionsByImage.js +28 -0
- package/dist/imageVersionsByImage.js.map +1 -0
- package/dist/index.d.ts +42 -0
- package/dist/index.js +51 -1
- package/dist/index.js.map +1 -1
- package/dist/job.d.ts +49 -0
- package/dist/job.js +78 -0
- package/dist/job.js.map +1 -0
- package/dist/jobRuns.d.ts +20 -0
- package/dist/jobRuns.js +30 -0
- package/dist/jobRuns.js.map +1 -0
- package/dist/logs.d.ts +23 -0
- package/dist/logs.js +32 -0
- package/dist/logs.js.map +1 -0
- package/dist/package.json +2 -2
- package/dist/provider/darwin-arm64/pulumi-resource-agentcloud +0 -0
- package/dist/provider/linux-x64/pulumi-resource-agentcloud +0 -0
- package/dist/scripts/postinstall.js +76 -0
- package/dist/service.d.ts +47 -0
- package/dist/service.js +79 -0
- package/dist/service.js.map +1 -0
- package/dist/serviceDeploymentResource.d.ts +39 -0
- package/dist/serviceDeploymentResource.js +71 -0
- package/dist/serviceDeploymentResource.js.map +1 -0
- package/dist/serviceDeployments.d.ts +20 -0
- package/dist/serviceDeployments.js +28 -0
- package/dist/serviceDeployments.js.map +1 -0
- package/dist/slackActionTypes.d.ts +13 -0
- package/dist/slackActionTypes.js +24 -0
- package/dist/slackActionTypes.js.map +1 -0
- package/dist/slackConnection.d.ts +41 -0
- package/dist/slackConnection.js +75 -0
- package/dist/slackConnection.js.map +1 -0
- package/dist/trigger.d.ts +47 -0
- package/dist/trigger.js +78 -0
- package/dist/trigger.js.map +1 -0
- package/dist/types/output.d.ts +39 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"service.js","sourceRoot":"","sources":["../service.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAKD;;;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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAaD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAiB,EAAE,IAAmC;QAC5E,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE;YACV,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACvC,MAAM,IAAI,KAAK,CAAC,kCAAkC,CAAC,CAAC;aACvD;YACD,IAAI,IAAI,EAAE,IAAI,KAAK,SAAS,IAAI,CAAC,IAAI,CAAC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O,CAAC;YAC7C,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC9C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,MAAM,EAAE,WAAW,EAAE,MAAM,CAAC,EAAE,CAAC;QAC7E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAjFL,0BAkFC;AArEG,gBAAgB;AACO,oBAAY,GAAG,0BAA0B,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class ServiceDeploymentResource extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing ServiceDeploymentResource resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
10
|
+
*/
|
|
11
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): ServiceDeploymentResource;
|
|
12
|
+
/**
|
|
13
|
+
* Returns true if the given object is an instance of ServiceDeploymentResource. This is designed to work even
|
|
14
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
15
|
+
*/
|
|
16
|
+
static isInstance(obj: any): obj is ServiceDeploymentResource;
|
|
17
|
+
readonly createdAt: pulumi.Output<string>;
|
|
18
|
+
readonly deploymentId: pulumi.Output<string>;
|
|
19
|
+
readonly imageVersionId: pulumi.Output<string>;
|
|
20
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
21
|
+
readonly serviceId: pulumi.Output<string>;
|
|
22
|
+
readonly status: pulumi.Output<string>;
|
|
23
|
+
/**
|
|
24
|
+
* Create a ServiceDeploymentResource resource with the given unique name, arguments, and options.
|
|
25
|
+
*
|
|
26
|
+
* @param name The _unique_ name of the resource.
|
|
27
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
28
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
29
|
+
*/
|
|
30
|
+
constructor(name: string, args: ServiceDeploymentResourceArgs, opts?: pulumi.CustomResourceOptions);
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The set of arguments for constructing a ServiceDeploymentResource resource.
|
|
34
|
+
*/
|
|
35
|
+
export interface ServiceDeploymentResourceArgs {
|
|
36
|
+
imageVersionId: pulumi.Input<string>;
|
|
37
|
+
projectId?: pulumi.Input<string>;
|
|
38
|
+
serviceId: pulumi.Input<string>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.ServiceDeploymentResource = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class ServiceDeploymentResource extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing ServiceDeploymentResource 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, id, opts) {
|
|
18
|
+
return new ServiceDeploymentResource(name, undefined, { ...opts, id: id });
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of ServiceDeploymentResource. This is designed to work even
|
|
22
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
+
*/
|
|
24
|
+
static isInstance(obj) {
|
|
25
|
+
if (obj === undefined || obj === null) {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
return obj['__pulumiType'] === ServiceDeploymentResource.__pulumiType;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create a ServiceDeploymentResource resource with the given unique name, arguments, and options.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resource.
|
|
34
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
+
*/
|
|
37
|
+
constructor(name, args, opts) {
|
|
38
|
+
let resourceInputs = {};
|
|
39
|
+
opts = opts || {};
|
|
40
|
+
if (!opts.id) {
|
|
41
|
+
if (args?.imageVersionId === undefined && !opts.urn) {
|
|
42
|
+
throw new Error("Missing required property 'imageVersionId'");
|
|
43
|
+
}
|
|
44
|
+
if (args?.serviceId === undefined && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'serviceId'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["imageVersionId"] = args?.imageVersionId;
|
|
48
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
49
|
+
resourceInputs["serviceId"] = args?.serviceId;
|
|
50
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
51
|
+
resourceInputs["deploymentId"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
53
|
+
}
|
|
54
|
+
else {
|
|
55
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["deploymentId"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["imageVersionId"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["serviceId"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
61
|
+
}
|
|
62
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
63
|
+
const replaceOnChanges = { replaceOnChanges: ["projectId", "serviceId"] };
|
|
64
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
65
|
+
super(ServiceDeploymentResource.__pulumiType, name, resourceInputs, opts);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
exports.ServiceDeploymentResource = ServiceDeploymentResource;
|
|
69
|
+
/** @internal */
|
|
70
|
+
ServiceDeploymentResource.__pulumiType = 'agentcloud:index:ServiceDeploymentResource';
|
|
71
|
+
//# sourceMappingURL=serviceDeploymentResource.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceDeploymentResource.js","sourceRoot":"","sources":["../serviceDeploymentResource.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,yBAA0B,SAAQ,MAAM,CAAC,cAAc;IAChE;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,yBAAyB,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtF,CAAC;IAKD;;;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,yBAAyB,CAAC,YAAY,CAAC;IAC1E,CAAC;IASD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAmC,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I,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,EAAE,CAAC;QAC1E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,yBAAyB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9E,CAAC;;AArEL,8DAsEC;AAzDG,gBAAgB;AACO,sCAAY,GAAG,4CAA4C,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
export declare function serviceDeployments(args: ServiceDeploymentsArgs, opts?: pulumi.InvokeOptions): Promise<ServiceDeploymentsResult>;
|
|
4
|
+
export interface ServiceDeploymentsArgs {
|
|
5
|
+
cursor?: string;
|
|
6
|
+
limit?: number;
|
|
7
|
+
projectId?: string;
|
|
8
|
+
serviceId: string;
|
|
9
|
+
}
|
|
10
|
+
export interface ServiceDeploymentsResult {
|
|
11
|
+
readonly items: outputs.ServiceDeployment[];
|
|
12
|
+
readonly nextCursor?: string;
|
|
13
|
+
}
|
|
14
|
+
export declare function serviceDeploymentsOutput(args: ServiceDeploymentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<ServiceDeploymentsResult>;
|
|
15
|
+
export interface ServiceDeploymentsOutputArgs {
|
|
16
|
+
cursor?: pulumi.Input<string>;
|
|
17
|
+
limit?: pulumi.Input<number>;
|
|
18
|
+
projectId?: pulumi.Input<string>;
|
|
19
|
+
serviceId: pulumi.Input<string>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.serviceDeploymentsOutput = exports.serviceDeployments = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function serviceDeployments(args, opts) {
|
|
9
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
|
+
return pulumi.runtime.invoke("agentcloud:index:serviceDeployments", {
|
|
11
|
+
"cursor": args.cursor,
|
|
12
|
+
"limit": args.limit,
|
|
13
|
+
"projectId": args.projectId,
|
|
14
|
+
"serviceId": args.serviceId,
|
|
15
|
+
}, opts);
|
|
16
|
+
}
|
|
17
|
+
exports.serviceDeployments = serviceDeployments;
|
|
18
|
+
function serviceDeploymentsOutput(args, opts) {
|
|
19
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
20
|
+
return pulumi.runtime.invokeOutput("agentcloud:index:serviceDeployments", {
|
|
21
|
+
"cursor": args.cursor,
|
|
22
|
+
"limit": args.limit,
|
|
23
|
+
"projectId": args.projectId,
|
|
24
|
+
"serviceId": args.serviceId,
|
|
25
|
+
}, opts);
|
|
26
|
+
}
|
|
27
|
+
exports.serviceDeploymentsOutput = serviceDeploymentsOutput;
|
|
28
|
+
//# sourceMappingURL=serviceDeployments.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"serviceDeployments.js","sourceRoot":"","sources":["../serviceDeployments.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,gDAQC;AAaD,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,qCAAqC,EAAE;QACtE,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,4DAQC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as outputs from "./types/output";
|
|
3
|
+
export declare function slackActionTypes(args?: SlackActionTypesArgs, opts?: pulumi.InvokeOptions): Promise<SlackActionTypesResult>;
|
|
4
|
+
export interface SlackActionTypesArgs {
|
|
5
|
+
projectId?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface SlackActionTypesResult {
|
|
8
|
+
readonly items: outputs.SlackActionTypeResult[];
|
|
9
|
+
}
|
|
10
|
+
export declare function slackActionTypesOutput(args?: SlackActionTypesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<SlackActionTypesResult>;
|
|
11
|
+
export interface SlackActionTypesOutputArgs {
|
|
12
|
+
projectId?: pulumi.Input<string>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.slackActionTypesOutput = exports.slackActionTypes = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
function slackActionTypes(args, opts) {
|
|
9
|
+
args = args || {};
|
|
10
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
11
|
+
return pulumi.runtime.invoke("agentcloud:index:slackActionTypes", {
|
|
12
|
+
"projectId": args.projectId,
|
|
13
|
+
}, opts);
|
|
14
|
+
}
|
|
15
|
+
exports.slackActionTypes = slackActionTypes;
|
|
16
|
+
function slackActionTypesOutput(args, opts) {
|
|
17
|
+
args = args || {};
|
|
18
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
19
|
+
return pulumi.runtime.invokeOutput("agentcloud:index:slackActionTypes", {
|
|
20
|
+
"projectId": args.projectId,
|
|
21
|
+
}, opts);
|
|
22
|
+
}
|
|
23
|
+
exports.slackActionTypesOutput = slackActionTypesOutput;
|
|
24
|
+
//# sourceMappingURL=slackActionTypes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slackActionTypes.js","sourceRoot":"","sources":["../slackActionTypes.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;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,MAAM,CAAC,mCAAmC,EAAE;QAC9D,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4CAMC;AASD,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAAiC;IACvG,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,mCAAmC,EAAE;QACpE,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,wDAMC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class SlackConnection extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing SlackConnection resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
10
|
+
*/
|
|
11
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): SlackConnection;
|
|
12
|
+
/**
|
|
13
|
+
* Returns true if the given object is an instance of SlackConnection. This is designed to work even
|
|
14
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
15
|
+
*/
|
|
16
|
+
static isInstance(obj: any): obj is SlackConnection;
|
|
17
|
+
readonly allowedChannelIds: pulumi.Output<string[]>;
|
|
18
|
+
readonly botUserId: pulumi.Output<string | undefined>;
|
|
19
|
+
readonly name: pulumi.Output<string>;
|
|
20
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
21
|
+
readonly slackConnectionId: pulumi.Output<string>;
|
|
22
|
+
readonly status: pulumi.Output<string>;
|
|
23
|
+
readonly teamId: pulumi.Output<string | undefined>;
|
|
24
|
+
readonly teamName: pulumi.Output<string | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* Create a SlackConnection resource with the given unique name, arguments, and options.
|
|
27
|
+
*
|
|
28
|
+
* @param name The _unique_ name of the resource.
|
|
29
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
30
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
31
|
+
*/
|
|
32
|
+
constructor(name: string, args: SlackConnectionArgs, opts?: pulumi.CustomResourceOptions);
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* The set of arguments for constructing a SlackConnection resource.
|
|
36
|
+
*/
|
|
37
|
+
export interface SlackConnectionArgs {
|
|
38
|
+
allowedChannelIds: pulumi.Input<pulumi.Input<string>[]>;
|
|
39
|
+
name: pulumi.Input<string>;
|
|
40
|
+
projectId?: pulumi.Input<string>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.SlackConnection = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class SlackConnection extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing SlackConnection 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, id, opts) {
|
|
18
|
+
return new SlackConnection(name, undefined, { ...opts, id: id });
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of SlackConnection. This is designed to work even
|
|
22
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
+
*/
|
|
24
|
+
static isInstance(obj) {
|
|
25
|
+
if (obj === undefined || obj === null) {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
return obj['__pulumiType'] === SlackConnection.__pulumiType;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create a SlackConnection resource with the given unique name, arguments, and options.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resource.
|
|
34
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
+
*/
|
|
37
|
+
constructor(name, args, opts) {
|
|
38
|
+
let resourceInputs = {};
|
|
39
|
+
opts = opts || {};
|
|
40
|
+
if (!opts.id) {
|
|
41
|
+
if (args?.allowedChannelIds === undefined && !opts.urn) {
|
|
42
|
+
throw new Error("Missing required property 'allowedChannelIds'");
|
|
43
|
+
}
|
|
44
|
+
if (args?.name === undefined && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'name'");
|
|
46
|
+
}
|
|
47
|
+
resourceInputs["allowedChannelIds"] = args?.allowedChannelIds;
|
|
48
|
+
resourceInputs["name"] = args?.name;
|
|
49
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
50
|
+
resourceInputs["botUserId"] = undefined /*out*/;
|
|
51
|
+
resourceInputs["slackConnectionId"] = undefined /*out*/;
|
|
52
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
53
|
+
resourceInputs["teamId"] = undefined /*out*/;
|
|
54
|
+
resourceInputs["teamName"] = undefined /*out*/;
|
|
55
|
+
}
|
|
56
|
+
else {
|
|
57
|
+
resourceInputs["allowedChannelIds"] = undefined /*out*/;
|
|
58
|
+
resourceInputs["botUserId"] = undefined /*out*/;
|
|
59
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
60
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["slackConnectionId"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["status"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["teamId"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["teamName"] = undefined /*out*/;
|
|
65
|
+
}
|
|
66
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
67
|
+
const replaceOnChanges = { replaceOnChanges: ["projectId"] };
|
|
68
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
69
|
+
super(SlackConnection.__pulumiType, name, resourceInputs, opts);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
exports.SlackConnection = SlackConnection;
|
|
73
|
+
/** @internal */
|
|
74
|
+
SlackConnection.__pulumiType = 'agentcloud:index:SlackConnection';
|
|
75
|
+
//# sourceMappingURL=slackConnection.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"slackConnection.js","sourceRoot":"","sources":["../slackConnection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,eAAe,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC5E,CAAC;IAKD;;;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,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IAWD;;;;;;OAMG;IACH,YAAY,IAAY,EAAE,IAAyB,EAAE,IAAmC;QACpF,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,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AAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AA3EL,0CA4EC;AA/DG,gBAAgB;AACO,4BAAY,GAAG,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class Trigger extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing Trigger resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
10
|
+
*/
|
|
11
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): Trigger;
|
|
12
|
+
/**
|
|
13
|
+
* Returns true if the given object is an instance of Trigger. This is designed to work even
|
|
14
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
15
|
+
*/
|
|
16
|
+
static isInstance(obj: any): obj is Trigger;
|
|
17
|
+
readonly createdAt: pulumi.Output<string>;
|
|
18
|
+
readonly enabled: pulumi.Output<boolean | undefined>;
|
|
19
|
+
readonly eventType: pulumi.Output<string>;
|
|
20
|
+
readonly name: pulumi.Output<string>;
|
|
21
|
+
readonly projectId: pulumi.Output<string | undefined>;
|
|
22
|
+
readonly target: pulumi.Output<{
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
}>;
|
|
25
|
+
readonly triggerId: pulumi.Output<string>;
|
|
26
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* Create a Trigger resource with the given unique name, arguments, and options.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resource.
|
|
31
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
32
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
33
|
+
*/
|
|
34
|
+
constructor(name: string, args: TriggerArgs, opts?: pulumi.CustomResourceOptions);
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* The set of arguments for constructing a Trigger resource.
|
|
38
|
+
*/
|
|
39
|
+
export interface TriggerArgs {
|
|
40
|
+
enabled?: pulumi.Input<boolean>;
|
|
41
|
+
eventType: pulumi.Input<string>;
|
|
42
|
+
name: pulumi.Input<string>;
|
|
43
|
+
projectId?: pulumi.Input<string>;
|
|
44
|
+
target: pulumi.Input<{
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
}>;
|
|
47
|
+
}
|
package/dist/trigger.js
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Trigger = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
class Trigger extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing Trigger 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, id, opts) {
|
|
18
|
+
return new Trigger(name, undefined, { ...opts, id: id });
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Returns true if the given object is an instance of Trigger. This is designed to work even
|
|
22
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
23
|
+
*/
|
|
24
|
+
static isInstance(obj) {
|
|
25
|
+
if (obj === undefined || obj === null) {
|
|
26
|
+
return false;
|
|
27
|
+
}
|
|
28
|
+
return obj['__pulumiType'] === Trigger.__pulumiType;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Create a Trigger resource with the given unique name, arguments, and options.
|
|
32
|
+
*
|
|
33
|
+
* @param name The _unique_ name of the resource.
|
|
34
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
35
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
36
|
+
*/
|
|
37
|
+
constructor(name, args, opts) {
|
|
38
|
+
let resourceInputs = {};
|
|
39
|
+
opts = opts || {};
|
|
40
|
+
if (!opts.id) {
|
|
41
|
+
if (args?.eventType === undefined && !opts.urn) {
|
|
42
|
+
throw new Error("Missing required property 'eventType'");
|
|
43
|
+
}
|
|
44
|
+
if (args?.name === undefined && !opts.urn) {
|
|
45
|
+
throw new Error("Missing required property 'name'");
|
|
46
|
+
}
|
|
47
|
+
if (args?.target === undefined && !opts.urn) {
|
|
48
|
+
throw new Error("Missing required property 'target'");
|
|
49
|
+
}
|
|
50
|
+
resourceInputs["enabled"] = args?.enabled;
|
|
51
|
+
resourceInputs["eventType"] = args?.eventType;
|
|
52
|
+
resourceInputs["name"] = args?.name;
|
|
53
|
+
resourceInputs["projectId"] = args?.projectId;
|
|
54
|
+
resourceInputs["target"] = args?.target;
|
|
55
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
56
|
+
resourceInputs["triggerId"] = undefined /*out*/;
|
|
57
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
61
|
+
resourceInputs["enabled"] = undefined /*out*/;
|
|
62
|
+
resourceInputs["eventType"] = undefined /*out*/;
|
|
63
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
64
|
+
resourceInputs["projectId"] = undefined /*out*/;
|
|
65
|
+
resourceInputs["target"] = undefined /*out*/;
|
|
66
|
+
resourceInputs["triggerId"] = undefined /*out*/;
|
|
67
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
68
|
+
}
|
|
69
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
70
|
+
const replaceOnChanges = { replaceOnChanges: ["projectId"] };
|
|
71
|
+
opts = pulumi.mergeOptions(opts, replaceOnChanges);
|
|
72
|
+
super(Trigger.__pulumiType, name, resourceInputs, opts);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
exports.Trigger = Trigger;
|
|
76
|
+
/** @internal */
|
|
77
|
+
Trigger.__pulumiType = 'agentcloud:index:Trigger';
|
|
78
|
+
//# sourceMappingURL=trigger.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"trigger.js","sourceRoot":"","sources":["../trigger.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;OAOG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,IAAmC;QAC5F,OAAO,IAAI,OAAO,CAAC,IAAI,EAAE,SAAgB,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAA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AS,CAAC,OAAO,CAAC;SACnD;aAAM;YACH,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,QAAQ,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC7C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACnD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,gBAAgB,GAAG,EAAE,gBAAgB,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;QAC7D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;QACnD,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AA9EL,0BA+EC;AAlEG,gBAAgB;AACO,oBAAY,GAAG,0BAA0B,CAAC"}
|
package/dist/types/output.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
2
|
export interface AgentRun {
|
|
3
|
+
agentConfigurationId: string;
|
|
3
4
|
createdAt: string;
|
|
4
5
|
id: string;
|
|
5
6
|
runtime?: outputs.AgentRunRuntime;
|
|
@@ -10,6 +11,32 @@ export interface AgentRun {
|
|
|
10
11
|
export interface AgentRunRuntime {
|
|
11
12
|
runtimeAttached: boolean;
|
|
12
13
|
}
|
|
14
|
+
export interface ImageVersion {
|
|
15
|
+
buildFinishedAt?: string;
|
|
16
|
+
buildLog?: string;
|
|
17
|
+
buildRef?: string;
|
|
18
|
+
buildSourceRef?: string;
|
|
19
|
+
buildStartedAt?: string;
|
|
20
|
+
buildStatus: string;
|
|
21
|
+
createdAt: string;
|
|
22
|
+
digest: string;
|
|
23
|
+
id: string;
|
|
24
|
+
imageId: string;
|
|
25
|
+
tag?: string;
|
|
26
|
+
updatedAt?: string;
|
|
27
|
+
}
|
|
28
|
+
export interface JobRun {
|
|
29
|
+
attempt: number;
|
|
30
|
+
createdAt: string;
|
|
31
|
+
id: string;
|
|
32
|
+
jobId: string;
|
|
33
|
+
status: string;
|
|
34
|
+
updatedAt?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface LogEvent {
|
|
37
|
+
message: string;
|
|
38
|
+
timestamp?: number;
|
|
39
|
+
}
|
|
13
40
|
export interface Message {
|
|
14
41
|
createdAt: string;
|
|
15
42
|
direction: string;
|
|
@@ -17,3 +44,15 @@ export interface Message {
|
|
|
17
44
|
id: string;
|
|
18
45
|
seq: number;
|
|
19
46
|
}
|
|
47
|
+
export interface ServiceDeployment {
|
|
48
|
+
createdAt: string;
|
|
49
|
+
id: string;
|
|
50
|
+
imageVersionId: string;
|
|
51
|
+
serviceId: string;
|
|
52
|
+
status: string;
|
|
53
|
+
}
|
|
54
|
+
export interface SlackActionTypeResult {
|
|
55
|
+
description: string;
|
|
56
|
+
key: string;
|
|
57
|
+
label: string;
|
|
58
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sl-testing/ac-pulumi",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.31",
|
|
4
4
|
"description": "AgentCloud TypeScript SDK generated from the Pulumi provider schema",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"publishConfig": {
|
|
@@ -32,6 +32,6 @@
|
|
|
32
32
|
"pulumi": {
|
|
33
33
|
"resource": true,
|
|
34
34
|
"name": "agentcloud",
|
|
35
|
-
"version": "0.1.
|
|
35
|
+
"version": "0.1.31"
|
|
36
36
|
}
|
|
37
37
|
}
|