@platzio/sdk 0.5.1 → 0.5.2

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/openapi.yaml CHANGED
@@ -1144,6 +1144,23 @@ paths:
1144
1144
  security:
1145
1145
  - access_token: []
1146
1146
  - user_token: []
1147
+ delete:
1148
+ tags:
1149
+ - Envs
1150
+ operationId: deleteEnv
1151
+ parameters:
1152
+ - name: id
1153
+ in: path
1154
+ required: true
1155
+ schema:
1156
+ type: string
1157
+ format: uuid
1158
+ responses:
1159
+ '204':
1160
+ description: ''
1161
+ security:
1162
+ - access_token: []
1163
+ - user_token: []
1147
1164
  /api/v2/helm-charts:
1148
1165
  get:
1149
1166
  tags:
@@ -1563,6 +1580,13 @@ paths:
1563
1580
  - Kubernetes Clusters
1564
1581
  operationId: allK8sClusters
1565
1582
  parameters:
1583
+ - name: env_id
1584
+ in: query
1585
+ required: false
1586
+ schema:
1587
+ type: string
1588
+ format: uuid
1589
+ nullable: true
1566
1590
  - name: name
1567
1591
  in: query
1568
1592
  required: false
@@ -2212,6 +2236,12 @@ paths:
2212
2236
  schema:
2213
2237
  type: string
2214
2238
  nullable: true
2239
+ - name: is_active
2240
+ in: query
2241
+ required: false
2242
+ schema:
2243
+ type: boolean
2244
+ nullable: true
2215
2245
  - name: page
2216
2246
  in: query
2217
2247
  required: false
@@ -2257,6 +2287,7 @@ paths:
2257
2287
  - display_name
2258
2288
  - email
2259
2289
  - is_admin
2290
+ - is_active
2260
2291
  properties:
2261
2292
  id:
2262
2293
  type: string
@@ -2270,6 +2301,8 @@ paths:
2270
2301
  type: string
2271
2302
  is_admin:
2272
2303
  type: boolean
2304
+ is_active:
2305
+ type: boolean
2273
2306
  num_total:
2274
2307
  type: integer
2275
2308
  format: int64
@@ -2760,10 +2793,36 @@ components:
2760
2793
  properties:
2761
2794
  created_token:
2762
2795
  type: string
2796
+ DbEvent:
2797
+ type: object
2798
+ required:
2799
+ - operation
2800
+ - table
2801
+ - data
2802
+ properties:
2803
+ operation:
2804
+ $ref: '#/components/schemas/DbEventOperation'
2805
+ table:
2806
+ $ref: '#/components/schemas/DbTable'
2807
+ data:
2808
+ $ref: '#/components/schemas/DbEventData'
2809
+ DbEventData:
2810
+ type: object
2811
+ required:
2812
+ - id
2813
+ properties:
2814
+ id:
2815
+ type: string
2816
+ format: uuid
2817
+ DbEventOperation:
2818
+ type: string
2819
+ enum:
2820
+ - INSERT
2821
+ - UPDATE
2822
+ - DELETE
2763
2823
  DbTable:
2764
2824
  type: string
2765
2825
  enum:
2766
- - deployment_configs
2767
2826
  - deployment_resources
2768
2827
  - deployment_resource_types
2769
2828
  - deployments
@@ -2980,7 +3039,6 @@ components:
2980
3039
  type: object
2981
3040
  required:
2982
3041
  - status
2983
- - notices
2984
3042
  properties:
2985
3043
  status:
2986
3044
  $ref: '#/components/schemas/DeploymentReportedStatusSummary'
@@ -3957,6 +4015,9 @@ components:
3957
4015
  is_admin:
3958
4016
  type: boolean
3959
4017
  nullable: true
4018
+ is_active:
4019
+ type: boolean
4020
+ nullable: true
3960
4021
  User:
3961
4022
  type: object
3962
4023
  required:
@@ -3965,6 +4026,7 @@ components:
3965
4026
  - display_name
3966
4027
  - email
3967
4028
  - is_admin
4029
+ - is_active
3968
4030
  properties:
3969
4031
  id:
3970
4032
  type: string
@@ -3978,6 +4040,8 @@ components:
3978
4040
  type: string
3979
4041
  is_admin:
3980
4042
  type: boolean
4043
+ is_active:
4044
+ type: boolean
3981
4045
  UserDeploymentRole:
3982
4046
  type: string
3983
4047
  enum:
@@ -4049,4 +4113,6 @@ tags:
4049
4113
  User tokens are passed in the `x-platz-token` header.
4050
4114
  - name: Users
4051
4115
  description: This collection contains all users in Platz.
4116
+ - name: Events
4117
+ description: Events sent through the Websocket.
4052
4118
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platzio/sdk",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Platz.io SDK",
5
5
  "homepage": "https://platz.io",
6
6
  "repository": {