@devopness/sdk-js 2.111.0 → 2.112.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.
@@ -22,9 +22,15 @@ export interface ActionPipelineCreate {
22
22
  */
23
23
  servers?: Array<number>;
24
24
  /**
25
- * The name of the branch from which the application source code will be retrieved and deployed. Must not be greater than 200 characters.
25
+ * The \'source type\' from which the application source code will be retrieved and deployed. It can be one of `branch`, `tag` or `commit`. If not provided, the application\'s default branch will be used. Must be one of <code>branch</code>, <code>tag</code>, or <code>commit</code>.
26
26
  * @type {string}
27
27
  * @memberof ActionPipelineCreate
28
28
  */
29
- branch?: string;
29
+ source_type?: string;
30
+ /**
31
+ * A git reference pointing to a commit in a source provider repository from which the application source code will be retrieved and deployed. It can be a branch name, tag name or a specific commit hash. Must not be greater than 200 characters.
32
+ * @type {string}
33
+ * @memberof ActionPipelineCreate
34
+ */
35
+ source_ref?: string;
30
36
  }
@@ -29,17 +29,17 @@ export interface DeploymentApplicationCreate {
29
29
  */
30
30
  type: DeploymentType;
31
31
  /**
32
- * The name of the branch from which the application source code will be retrieved and deployed.This field is required when <code>hash</code> is not present. Must not be greater than 200 characters.
32
+ * The \'source type\' from which the application source code will be retrieved and deployed. It can be one of `branch`, `tag` or `commit`. If not provided, the application\'s default branch will be used. This field is required when <code>source_ref</code> is present. Must be one of <code>branch</code>, <code>tag</code>, or <code>commit</code>.
33
33
  * @type {string}
34
34
  * @memberof DeploymentApplicationCreate
35
35
  */
36
- branch?: string;
36
+ source_type?: string;
37
37
  /**
38
- * The commit hash from which the application source code will be retrieved and deployed.This field is required when <code>branch</code> is not present. Must contain only letters and numbers. Must be at least 7 characters. Must not be greater than 40 characters.
38
+ * A git reference pointing to a commit in a source provider repository from which the application source code will be retrieved and deployed. It can be a branch name, tag name or a specific commit hash. This field is required when <code>source_type</code> is present. Must not be greater than 200 characters.
39
39
  * @type {string}
40
40
  * @memberof DeploymentApplicationCreate
41
41
  */
42
- hash?: string;
42
+ source_ref?: string;
43
43
  /**
44
44
  * The pipeline\'s ID to use for deployment.
45
45
  * @type {number}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devopness/sdk-js",
3
- "version": "2.111.0",
3
+ "version": "2.112.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },