@devopness/sdk-js 3.6.7 → 3.6.8
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/dist/api/generated/models/index.d.ts +1 -0
- package/dist/api/generated/models/index.js +1 -0
- package/dist/api/generated/models/trigger-when-condition.d.ts +8 -1
- package/dist/api/generated/models/webhook-condition-operator.d.ts +21 -0
- package/dist/api/generated/models/webhook-condition-operator.js +26 -0
- package/dist/common/utils.js +0 -1
- package/package.json +1 -1
|
@@ -368,3 +368,4 @@ __exportStar(require("./virtual-host-options"), exports);
|
|
|
368
368
|
__exportStar(require("./virtual-host-relation"), exports);
|
|
369
369
|
__exportStar(require("./virtual-host-type"), exports);
|
|
370
370
|
__exportStar(require("./virtual-host-update"), exports);
|
|
371
|
+
__exportStar(require("./webhook-condition-operator"), exports);
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { TriggerWhenConditionType } from './trigger-when-condition-type';
|
|
13
|
+
import { WebhookConditionOperator } from './webhook-condition-operator';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
15
16
|
* @export
|
|
@@ -29,11 +30,17 @@ export interface TriggerWhenCondition {
|
|
|
29
30
|
*/
|
|
30
31
|
type: TriggerWhenConditionType;
|
|
31
32
|
/**
|
|
32
|
-
* A dot-notation path of the request body attribute to be used as the value to evaluate this condition.
|
|
33
|
+
* A dot-notation path of the request body attribute to be used as the value to evaluate this condition. Wildcards such as `labels.*.name` are allowed for array payloads.
|
|
33
34
|
* @type {string}
|
|
34
35
|
* @memberof TriggerWhenCondition
|
|
35
36
|
*/
|
|
36
37
|
path: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {WebhookConditionOperator}
|
|
41
|
+
* @memberof TriggerWhenCondition
|
|
42
|
+
*/
|
|
43
|
+
operator?: WebhookConditionOperator;
|
|
37
44
|
/**
|
|
38
45
|
* List of accepted values for this condition.
|
|
39
46
|
* @type {Array<boolean | number | string>}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* devopness API
|
|
3
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: latest
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
* Comparison modes allowed for incoming webhook trigger conditions.
|
|
14
|
+
* @export
|
|
15
|
+
* @enum {string}
|
|
16
|
+
*/
|
|
17
|
+
export declare enum WebhookConditionOperator {
|
|
18
|
+
Equals = "equals",
|
|
19
|
+
Contains = "contains",
|
|
20
|
+
NotContains = "not_contains"
|
|
21
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* devopness API
|
|
5
|
+
* Devopness API - Painless essential DevOps to everyone
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: latest
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.WebhookConditionOperator = void 0;
|
|
16
|
+
/**
|
|
17
|
+
* Comparison modes allowed for incoming webhook trigger conditions.
|
|
18
|
+
* @export
|
|
19
|
+
* @enum {string}
|
|
20
|
+
*/
|
|
21
|
+
var WebhookConditionOperator;
|
|
22
|
+
(function (WebhookConditionOperator) {
|
|
23
|
+
WebhookConditionOperator["Equals"] = "equals";
|
|
24
|
+
WebhookConditionOperator["Contains"] = "contains";
|
|
25
|
+
WebhookConditionOperator["NotContains"] = "not_contains";
|
|
26
|
+
})(WebhookConditionOperator || (exports.WebhookConditionOperator = WebhookConditionOperator = {}));
|
package/dist/common/utils.js
CHANGED