@nexgencloud/hyperstack-sdk-typescript 1.55.6-alpha → 1.55.7-alpha

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 CHANGED
@@ -1,4 +1,4 @@
1
- ## @nexgencloud/hyperstack-sdk-typescript@v1.55.6-alpha
1
+ ## @nexgencloud/hyperstack-sdk-typescript@v1.55.7-alpha
2
2
 
3
3
  This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
4
4
 
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @nexgencloud/hyperstack-sdk-typescript@v1.55.6-alpha --save
39
+ npm install @nexgencloud/hyperstack-sdk-typescript@v1.55.7-alpha --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -7,7 +7,7 @@
7
7
  * the generated SDK by the `add-hyperstack-headers` task. Do not edit in the SDK repo.
8
8
  */
9
9
  const SDK_NAME = 'hyperstack-typescript-sdk';
10
- const SDK_VERSION = 'v1.55.6-alpha';
10
+ const SDK_VERSION = 'v1.55.7-alpha';
11
11
  export const HYPERSTACK_CLIENT_HEADER = 'Hyperstack-Client';
12
12
  export const USER_AGENT_HEADER = 'User-Agent';
13
13
  const FORCED = [HYPERSTACK_CLIENT_HEADER.toLowerCase(), USER_AGENT_HEADER.toLowerCase()];
@@ -10,7 +10,7 @@
10
10
  Object.defineProperty(exports, "__esModule", { value: true });
11
11
  exports.applyHyperstackHeaders = exports.HYPERSTACK_USER_AGENT = exports.HYPERSTACK_CLIENT = exports.USER_AGENT_HEADER = exports.HYPERSTACK_CLIENT_HEADER = void 0;
12
12
  const SDK_NAME = 'hyperstack-typescript-sdk';
13
- const SDK_VERSION = 'v1.55.6-alpha';
13
+ const SDK_VERSION = 'v1.55.7-alpha';
14
14
  exports.HYPERSTACK_CLIENT_HEADER = 'Hyperstack-Client';
15
15
  exports.USER_AGENT_HEADER = 'User-Agent';
16
16
  const FORCED = [exports.HYPERSTACK_CLIENT_HEADER.toLowerCase(), exports.USER_AGENT_HEADER.toLowerCase()];
@@ -13,7 +13,7 @@
13
13
  declare const process: any;
14
14
 
15
15
  const SDK_NAME: string = 'hyperstack-typescript-sdk';
16
- const SDK_VERSION: string = 'v1.55.6-alpha';
16
+ const SDK_VERSION: string = 'v1.55.7-alpha';
17
17
 
18
18
  export const HYPERSTACK_CLIENT_HEADER: string = 'Hyperstack-Client';
19
19
  export const USER_AGENT_HEADER: string = 'User-Agent';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexgencloud/hyperstack-sdk-typescript",
3
- "version": "v1.55.6-alpha",
3
+ "version": "v1.55.7-alpha",
4
4
  "description": "Leverage the Infrahub API and Hyperstack platform to easily create, manage, and scale powerful GPU virtual machines and their associated resources. Access this SDK to automate the deployment of your workloads and streamline your infrastructure management. To contribute, please raise an issue with a bug report, feature request, feedback, or general inquiry.",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {
package/git_push.sh DELETED
@@ -1,57 +0,0 @@
1
- #!/bin/sh
2
- # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
- #
4
- # Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
5
-
6
- git_user_id=$1
7
- git_repo_id=$2
8
- release_note=$3
9
- git_host=$4
10
-
11
- if [ "$git_host" = "" ]; then
12
- git_host="github.com"
13
- echo "[INFO] No command line input provided. Set \$git_host to $git_host"
14
- fi
15
-
16
- if [ "$git_user_id" = "" ]; then
17
- git_user_id="NexGenCloud"
18
- echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
19
- fi
20
-
21
- if [ "$git_repo_id" = "" ]; then
22
- git_repo_id="hyperstack-sdk-typescript"
23
- echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
24
- fi
25
-
26
- if [ "$release_note" = "" ]; then
27
- release_note="Minor update"
28
- echo "[INFO] No command line input provided. Set \$release_note to $release_note"
29
- fi
30
-
31
- # Initialize the local directory as a Git repository
32
- git init
33
-
34
- # Adds the files in the local repository and stages them for commit.
35
- git add .
36
-
37
- # Commits the tracked changes and prepares them to be pushed to a remote repository.
38
- git commit -m "$release_note"
39
-
40
- # Sets the new remote
41
- git_remote=$(git remote)
42
- if [ "$git_remote" = "" ]; then # git remote not defined
43
-
44
- if [ "$GIT_TOKEN" = "" ]; then
45
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
46
- git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
47
- else
48
- git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
49
- fi
50
-
51
- fi
52
-
53
- git pull origin master
54
-
55
- # Pushes (Forces) the changes in the local repository up to the remote repository
56
- echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
57
- git push origin master 2>&1 | grep -v 'To https'