@platzio/sdk 0.5.0-beta.13 → 0.5.0-beta.14

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.
Files changed (3) hide show
  1. package/api.ts +75 -24
  2. package/openapi.yaml +40 -11
  3. package/package.json +1 -1
package/api.ts CHANGED
@@ -1503,6 +1503,12 @@ export interface ChartExtActionV0 {
1503
1503
  * @memberof ChartExtActionV0
1504
1504
  */
1505
1505
  'description': string;
1506
+ /**
1507
+ *
1508
+ * @type {boolean}
1509
+ * @memberof ChartExtActionV0
1510
+ */
1511
+ 'dangerous': boolean;
1506
1512
  /**
1507
1513
  *
1508
1514
  * @type {UiSchema}
@@ -1548,6 +1554,12 @@ export interface ChartExtActionV0AllOf {
1548
1554
  * @memberof ChartExtActionV0AllOf
1549
1555
  */
1550
1556
  'description': string;
1557
+ /**
1558
+ *
1559
+ * @type {boolean}
1560
+ * @memberof ChartExtActionV0AllOf
1561
+ */
1562
+ 'dangerous': boolean;
1551
1563
  /**
1552
1564
  *
1553
1565
  * @type {UiSchema}
@@ -1588,7 +1600,7 @@ export interface ChartExtActionV1Beta1 {
1588
1600
  * @type ChartExtActions
1589
1601
  * @export
1590
1602
  */
1591
- export type ChartExtActions = ChartExtActionsV0 | ChartExtActionsV1Beta1;
1603
+ export type ChartExtActions = Array<ChartExtActionV1Beta1> | ChartExtActionsV0;
1592
1604
 
1593
1605
  /**
1594
1606
  *
@@ -1609,19 +1621,6 @@ export interface ChartExtActionsV0 {
1609
1621
  */
1610
1622
  'actions': Array<ChartExtActionV0>;
1611
1623
  }
1612
- /**
1613
- *
1614
- * @export
1615
- * @interface ChartExtActionsV1Beta1
1616
- */
1617
- export interface ChartExtActionsV1Beta1 {
1618
- /**
1619
- *
1620
- * @type {Array<ChartExtActionV1Beta1>}
1621
- * @memberof ChartExtActionsV1Beta1
1622
- */
1623
- 'actions': Array<ChartExtActionV1Beta1>;
1624
- }
1625
1624
  /**
1626
1625
  *
1627
1626
  * @export
@@ -2193,6 +2192,58 @@ export interface CreateUserToken {
2193
2192
  */
2194
2193
  'user_id'?: string | null;
2195
2194
  }
2195
+ /**
2196
+ *
2197
+ * @export
2198
+ * @enum {string}
2199
+ */
2200
+
2201
+ export const DbTable = {
2202
+ DeploymentConfigs: 'deployment_configs',
2203
+ DeploymentResources: 'deployment_resources',
2204
+ DeploymentResourceTypes: 'deployment_resource_types',
2205
+ Deployments: 'deployments',
2206
+ DeploymentTasks: 'deployment_tasks',
2207
+ DeploymentPermissions: 'deployment_permissions',
2208
+ Envs: 'envs',
2209
+ EnvUserPermissions: 'env_user_permissions',
2210
+ HelmRegistries: 'helm_registries',
2211
+ HelmCharts: 'helm_charts',
2212
+ HelmTagFormats: 'helm_tag_formats',
2213
+ K8sClusters: 'k8s_clusters',
2214
+ K8sResources: 'k8s_resources',
2215
+ Secrets: 'secrets',
2216
+ Users: 'users'
2217
+ } as const;
2218
+
2219
+ export type DbTable = typeof DbTable[keyof typeof DbTable];
2220
+
2221
+
2222
+ /**
2223
+ * @type DbTableOrDeploymentResource
2224
+ * @export
2225
+ */
2226
+ export type DbTableOrDeploymentResource = DbTable | DbTableOrDeploymentResourceOneOf | string;
2227
+
2228
+ /**
2229
+ *
2230
+ * @export
2231
+ * @interface DbTableOrDeploymentResourceOneOf
2232
+ */
2233
+ export interface DbTableOrDeploymentResourceOneOf {
2234
+ /**
2235
+ *
2236
+ * @type {string}
2237
+ * @memberof DbTableOrDeploymentResourceOneOf
2238
+ */
2239
+ 'deployment': string;
2240
+ /**
2241
+ *
2242
+ * @type {string}
2243
+ * @memberof DbTableOrDeploymentResourceOneOf
2244
+ */
2245
+ 'type': string;
2246
+ }
2196
2247
  /**
2197
2248
  *
2198
2249
  * @export
@@ -2428,31 +2479,31 @@ export interface DeploymentReinstallTask {
2428
2479
  /**
2429
2480
  *
2430
2481
  * @export
2431
- * @interface DeploymentRepootedMetric
2482
+ * @interface DeploymentReportedMetric
2432
2483
  */
2433
- export interface DeploymentRepootedMetric {
2484
+ export interface DeploymentReportedMetric {
2434
2485
  /**
2435
2486
  *
2436
2487
  * @type {string}
2437
- * @memberof DeploymentRepootedMetric
2488
+ * @memberof DeploymentReportedMetric
2438
2489
  */
2439
2490
  'value': string;
2440
2491
  /**
2441
2492
  *
2442
2493
  * @type {string}
2443
- * @memberof DeploymentRepootedMetric
2494
+ * @memberof DeploymentReportedMetric
2444
2495
  */
2445
2496
  'unit': string;
2446
2497
  /**
2447
2498
  *
2448
2499
  * @type {string}
2449
- * @memberof DeploymentRepootedMetric
2500
+ * @memberof DeploymentReportedMetric
2450
2501
  */
2451
2502
  'short_description': string;
2452
2503
  /**
2453
2504
  *
2454
2505
  * @type {DeploymentReportedStatusColor}
2455
- * @memberof DeploymentRepootedMetric
2506
+ * @memberof DeploymentReportedMetric
2456
2507
  */
2457
2508
  'color'?: DeploymentReportedStatusColor | null;
2458
2509
  }
@@ -2556,16 +2607,16 @@ export interface DeploymentReportedStatusContent {
2556
2607
  'status': DeploymentReportedStatusSummary;
2557
2608
  /**
2558
2609
  *
2559
- * @type {DeploymentRepootedMetric}
2610
+ * @type {DeploymentReportedMetric}
2560
2611
  * @memberof DeploymentReportedStatusContent
2561
2612
  */
2562
- 'primary_metric'?: DeploymentRepootedMetric | null;
2613
+ 'primary_metric'?: DeploymentReportedMetric | null;
2563
2614
  /**
2564
2615
  *
2565
- * @type {Array<DeploymentRepootedMetric>}
2616
+ * @type {Array<DeploymentReportedMetric>}
2566
2617
  * @memberof DeploymentReportedStatusContent
2567
2618
  */
2568
- 'metrics'?: Array<DeploymentRepootedMetric> | null;
2619
+ 'metrics'?: Array<DeploymentReportedMetric> | null;
2569
2620
  /**
2570
2621
  *
2571
2622
  * @type {Array<DeploymentReportedNotice>}
package/openapi.yaml CHANGED
@@ -2393,6 +2393,7 @@ components:
2393
2393
  - allowed_role
2394
2394
  - title
2395
2395
  - description
2396
+ - dangerous
2396
2397
  properties:
2397
2398
  id:
2398
2399
  type: string
@@ -2405,6 +2406,8 @@ components:
2405
2406
  nullable: true
2406
2407
  description:
2407
2408
  type: string
2409
+ dangerous:
2410
+ type: boolean
2408
2411
  ui_schema:
2409
2412
  allOf:
2410
2413
  - $ref: '#/components/schemas/UiSchema'
@@ -2441,14 +2444,9 @@ components:
2441
2444
  items:
2442
2445
  $ref: '#/components/schemas/ChartExtActionV0'
2443
2446
  ChartExtActionsV1Beta1:
2444
- type: object
2445
- required:
2446
- - actions
2447
- properties:
2448
- actions:
2449
- type: array
2450
- items:
2451
- $ref: '#/components/schemas/ChartExtActionV1Beta1'
2447
+ type: array
2448
+ items:
2449
+ $ref: '#/components/schemas/ChartExtActionV1Beta1'
2452
2450
  ChartExtCardinality:
2453
2451
  type: string
2454
2452
  enum:
@@ -2752,6 +2750,37 @@ components:
2752
2750
  type: string
2753
2751
  format: uuid
2754
2752
  nullable: true
2753
+ DbTable:
2754
+ type: string
2755
+ enum:
2756
+ - deployment_configs
2757
+ - deployment_resources
2758
+ - deployment_resource_types
2759
+ - deployments
2760
+ - deployment_tasks
2761
+ - deployment_permissions
2762
+ - envs
2763
+ - env_user_permissions
2764
+ - helm_registries
2765
+ - helm_charts
2766
+ - helm_tag_formats
2767
+ - k8s_clusters
2768
+ - k8s_resources
2769
+ - secrets
2770
+ - users
2771
+ DbTableOrDeploymentResource:
2772
+ oneOf:
2773
+ - $ref: '#/components/schemas/DbTable'
2774
+ - type: object
2775
+ required:
2776
+ - deployment
2777
+ - type
2778
+ properties:
2779
+ deployment:
2780
+ type: string
2781
+ type:
2782
+ type: string
2783
+ - type: string
2755
2784
  Deployment:
2756
2785
  type: object
2757
2786
  required:
@@ -2878,7 +2907,7 @@ components:
2878
2907
  properties:
2879
2908
  reason:
2880
2909
  type: string
2881
- DeploymentRepootedMetric:
2910
+ DeploymentReportedMetric:
2882
2911
  type: object
2883
2912
  required:
2884
2913
  - value
@@ -2947,12 +2976,12 @@ components:
2947
2976
  $ref: '#/components/schemas/DeploymentReportedStatusSummary'
2948
2977
  primary_metric:
2949
2978
  allOf:
2950
- - $ref: '#/components/schemas/DeploymentRepootedMetric'
2979
+ - $ref: '#/components/schemas/DeploymentReportedMetric'
2951
2980
  nullable: true
2952
2981
  metrics:
2953
2982
  type: array
2954
2983
  items:
2955
- $ref: '#/components/schemas/DeploymentRepootedMetric'
2984
+ $ref: '#/components/schemas/DeploymentReportedMetric'
2956
2985
  nullable: true
2957
2986
  notices:
2958
2987
  type: array
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platzio/sdk",
3
- "version": "0.5.0-beta.13",
3
+ "version": "0.5.0-beta.14",
4
4
  "description": "Platz.io SDK",
5
5
  "homepage": "https://platz.io",
6
6
  "repository": {