@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.
@@ -352,3 +352,4 @@ export * from './virtual-host-options';
352
352
  export * from './virtual-host-relation';
353
353
  export * from './virtual-host-type';
354
354
  export * from './virtual-host-update';
355
+ export * from './webhook-condition-operator';
@@ -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 = {}));
@@ -61,7 +61,6 @@ function parseFilterQueryString(filterParam) {
61
61
  function isEmpty(value) {
62
62
  return (value === undefined ||
63
63
  value === null ||
64
- value === false ||
65
64
  value === "" ||
66
65
  (Array.isArray(value) && value.length === 0) ||
67
66
  (typeof value === "object" &&
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@devopness/sdk-js",
4
- "version": "3.6.7",
4
+ "version": "3.6.8",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },