@kohost/api-client 1.0.0-beta.2 → 1.0.0-beta.3

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.
@@ -1,21 +1,26 @@
1
1
  image: node:16.17.1
2
2
 
3
+ definitions:
4
+ install-aws-cli: &install-aws-cli |
5
+ curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
6
+ unzip awscliv2.zip
7
+ ./aws/install
8
+
3
9
  pipelines:
4
10
  custom:
5
11
  publish-use-cases:
12
+ - variables:
13
+ - name: USE_CASE_HASH
6
14
  - step:
7
- image: amazon/aws-cli
15
+ image: atlassian/default-image:3
8
16
  name: Fetch use cases
9
17
  script:
18
+ - *install-aws-cli
10
19
  ## fetch use cases from s3
11
20
  - aws s3 cp s3://cloud-v3-data/useCases/useCases-${USE_CASE_HASH}.json ./useCases/http.json
12
- - npm install
13
- - npm version prerelease --preid=beta -m "Upgrade to %s [skip ci]"
14
- - git push && git push --tags
15
- - pipe: atlassian/npm-publish:0.3.2
16
- variables:
17
- NPM_TOKEN: $NPM_TOKEN
18
- EXTRA_ARGS: --tag next-v1
21
+ ## commit the result
22
+ - git commit -am "Update use cases"
23
+ - git push
19
24
 
20
25
  pull-requests:
21
26
  "**":
@@ -25,6 +30,7 @@ pipelines:
25
30
  - node
26
31
  script:
27
32
  - npm ci
33
+ - npm rum lint
28
34
  branches:
29
35
  master:
30
36
  - step:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kohost/api-client",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.3",
4
4
  "description": "API client for Kohost utils",
5
5
  "main": "index.js",
6
6
  "module": "index.js",
@@ -175,6 +175,15 @@
175
175
  }
176
176
  }
177
177
  ],
178
+ [
179
+ "ListUserReservations",
180
+ {
181
+ "http": {
182
+ "method": "GET",
183
+ "path": "/users/:id/reservations"
184
+ }
185
+ }
186
+ ],
178
187
  [
179
188
  "ListSpaces",
180
189
  {
@@ -598,60 +607,6 @@
598
607
  }
599
608
  }
600
609
  ],
601
- [
602
- "CreateSceneController",
603
- {
604
- "http": {
605
- "method": "POST",
606
- "path": "/rooms/:roomId/sceneControllers"
607
- }
608
- }
609
- ],
610
- [
611
- "ListSceneControllers",
612
- {
613
- "http": {
614
- "method": "GET",
615
- "path": "/rooms/:roomId/sceneControllers"
616
- }
617
- }
618
- ],
619
- [
620
- "UpdateSceneController",
621
- {
622
- "http": {
623
- "method": "PUT",
624
- "path": "/rooms/:roomId/sceneControllers/:id"
625
- }
626
- }
627
- ],
628
- [
629
- "DeleteSceneController",
630
- {
631
- "http": {
632
- "method": "DELETE",
633
- "path": "/rooms/:roomId/sceneControllers/:id"
634
- }
635
- }
636
- ],
637
- [
638
- "DescribeSceneController",
639
- {
640
- "http": {
641
- "method": "GET",
642
- "path": "/rooms/:roomId/sceneControllers/:id"
643
- }
644
- }
645
- ],
646
- [
647
- "SetSceneController",
648
- {
649
- "http": {
650
- "method": "POST",
651
- "path": "/rooms/:roomId/sceneControllers/:id"
652
- }
653
- }
654
- ],
655
610
  [
656
611
  "CreateSource",
657
612
  {