@platzio/sdk 0.5.0-beta.14 → 0.5.0-beta.15
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/api.ts +39 -8
- package/openapi.yaml +13 -3
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1485,6 +1485,12 @@ export interface ChartExtActionV0 {
|
|
|
1485
1485
|
* @memberof ChartExtActionV0
|
|
1486
1486
|
*/
|
|
1487
1487
|
'allowed_role': ChartExtActionUserDeploymentRole;
|
|
1488
|
+
/**
|
|
1489
|
+
*
|
|
1490
|
+
* @type {Array<string>}
|
|
1491
|
+
* @memberof ChartExtActionV0
|
|
1492
|
+
*/
|
|
1493
|
+
'allowed_on_statuses'?: Array<string>;
|
|
1488
1494
|
/**
|
|
1489
1495
|
*
|
|
1490
1496
|
* @type {string}
|
|
@@ -1508,7 +1514,7 @@ export interface ChartExtActionV0 {
|
|
|
1508
1514
|
* @type {boolean}
|
|
1509
1515
|
* @memberof ChartExtActionV0
|
|
1510
1516
|
*/
|
|
1511
|
-
'dangerous'
|
|
1517
|
+
'dangerous'?: boolean;
|
|
1512
1518
|
/**
|
|
1513
1519
|
*
|
|
1514
1520
|
* @type {UiSchema}
|
|
@@ -1536,6 +1542,12 @@ export interface ChartExtActionV0AllOf {
|
|
|
1536
1542
|
* @memberof ChartExtActionV0AllOf
|
|
1537
1543
|
*/
|
|
1538
1544
|
'allowed_role': ChartExtActionUserDeploymentRole;
|
|
1545
|
+
/**
|
|
1546
|
+
*
|
|
1547
|
+
* @type {Array<string>}
|
|
1548
|
+
* @memberof ChartExtActionV0AllOf
|
|
1549
|
+
*/
|
|
1550
|
+
'allowed_on_statuses'?: Array<string>;
|
|
1539
1551
|
/**
|
|
1540
1552
|
*
|
|
1541
1553
|
* @type {string}
|
|
@@ -1559,7 +1571,7 @@ export interface ChartExtActionV0AllOf {
|
|
|
1559
1571
|
* @type {boolean}
|
|
1560
1572
|
* @memberof ChartExtActionV0AllOf
|
|
1561
1573
|
*/
|
|
1562
|
-
'dangerous'
|
|
1574
|
+
'dangerous'?: boolean;
|
|
1563
1575
|
/**
|
|
1564
1576
|
*
|
|
1565
1577
|
* @type {UiSchema}
|
|
@@ -2192,6 +2204,19 @@ export interface CreateUserToken {
|
|
|
2192
2204
|
*/
|
|
2193
2205
|
'user_id'?: string | null;
|
|
2194
2206
|
}
|
|
2207
|
+
/**
|
|
2208
|
+
*
|
|
2209
|
+
* @export
|
|
2210
|
+
* @interface CreatedUserToken
|
|
2211
|
+
*/
|
|
2212
|
+
export interface CreatedUserToken {
|
|
2213
|
+
/**
|
|
2214
|
+
*
|
|
2215
|
+
* @type {string}
|
|
2216
|
+
* @memberof CreatedUserToken
|
|
2217
|
+
*/
|
|
2218
|
+
'created_token': string;
|
|
2219
|
+
}
|
|
2195
2220
|
/**
|
|
2196
2221
|
*
|
|
2197
2222
|
* @export
|
|
@@ -3891,16 +3916,22 @@ export interface UiSchemaFieldValuePair {
|
|
|
3891
3916
|
export interface UiSchemaInput {
|
|
3892
3917
|
/**
|
|
3893
3918
|
*
|
|
3894
|
-
* @type {
|
|
3919
|
+
* @type {string}
|
|
3895
3920
|
* @memberof UiSchemaInput
|
|
3896
3921
|
*/
|
|
3897
|
-
'
|
|
3922
|
+
'type': string;
|
|
3898
3923
|
/**
|
|
3899
3924
|
*
|
|
3900
|
-
* @type {
|
|
3925
|
+
* @type {string}
|
|
3901
3926
|
* @memberof UiSchemaInput
|
|
3902
3927
|
*/
|
|
3903
|
-
'
|
|
3928
|
+
'itemType'?: string | null;
|
|
3929
|
+
/**
|
|
3930
|
+
*
|
|
3931
|
+
* @type {any}
|
|
3932
|
+
* @memberof UiSchemaInput
|
|
3933
|
+
*/
|
|
3934
|
+
'collection'?: any | null;
|
|
3904
3935
|
/**
|
|
3905
3936
|
*
|
|
3906
3937
|
* @type {string}
|
|
@@ -9310,7 +9341,7 @@ export const UserTokensApiFp = function(configuration?: Configuration) {
|
|
|
9310
9341
|
* @param {*} [options] Override http request option.
|
|
9311
9342
|
* @throws {RequiredError}
|
|
9312
9343
|
*/
|
|
9313
|
-
async createUserToken(createUserToken: CreateUserToken, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
9344
|
+
async createUserToken(createUserToken: CreateUserToken, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatedUserToken>> {
|
|
9314
9345
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createUserToken(createUserToken, options);
|
|
9315
9346
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
9316
9347
|
},
|
|
@@ -9361,7 +9392,7 @@ export const UserTokensApiFactory = function (configuration?: Configuration, bas
|
|
|
9361
9392
|
* @param {*} [options] Override http request option.
|
|
9362
9393
|
* @throws {RequiredError}
|
|
9363
9394
|
*/
|
|
9364
|
-
createUserToken(createUserToken: CreateUserToken, options?: any): AxiosPromise<
|
|
9395
|
+
createUserToken(createUserToken: CreateUserToken, options?: any): AxiosPromise<CreatedUserToken> {
|
|
9365
9396
|
return localVarFp.createUserToken(createUserToken, options).then((request) => request(axios, basePath));
|
|
9366
9397
|
},
|
|
9367
9398
|
/**
|
package/openapi.yaml
CHANGED
|
@@ -2151,7 +2151,7 @@ paths:
|
|
|
2151
2151
|
content:
|
|
2152
2152
|
application/json:
|
|
2153
2153
|
schema:
|
|
2154
|
-
$ref: '#/components/schemas/
|
|
2154
|
+
$ref: '#/components/schemas/CreatedUserToken'
|
|
2155
2155
|
security:
|
|
2156
2156
|
- access_token: []
|
|
2157
2157
|
- user_token: []
|
|
@@ -2393,12 +2393,15 @@ components:
|
|
|
2393
2393
|
- allowed_role
|
|
2394
2394
|
- title
|
|
2395
2395
|
- description
|
|
2396
|
-
- dangerous
|
|
2397
2396
|
properties:
|
|
2398
2397
|
id:
|
|
2399
2398
|
type: string
|
|
2400
2399
|
allowed_role:
|
|
2401
2400
|
$ref: '#/components/schemas/ChartExtActionUserDeploymentRole'
|
|
2401
|
+
allowed_on_statuses:
|
|
2402
|
+
type: array
|
|
2403
|
+
items:
|
|
2404
|
+
type: string
|
|
2402
2405
|
title:
|
|
2403
2406
|
type: string
|
|
2404
2407
|
fontawesome_icon:
|
|
@@ -2750,6 +2753,13 @@ components:
|
|
|
2750
2753
|
type: string
|
|
2751
2754
|
format: uuid
|
|
2752
2755
|
nullable: true
|
|
2756
|
+
CreatedUserToken:
|
|
2757
|
+
type: object
|
|
2758
|
+
required:
|
|
2759
|
+
- created_token
|
|
2760
|
+
properties:
|
|
2761
|
+
created_token:
|
|
2762
|
+
type: string
|
|
2753
2763
|
DbTable:
|
|
2754
2764
|
type: string
|
|
2755
2765
|
enum:
|
|
@@ -3670,7 +3680,7 @@ components:
|
|
|
3670
3680
|
value: {}
|
|
3671
3681
|
UiSchemaInput:
|
|
3672
3682
|
allOf:
|
|
3673
|
-
- $ref: '#/components/schemas/
|
|
3683
|
+
- $ref: '#/components/schemas/SerializedUiSchemaInputType'
|
|
3674
3684
|
- type: object
|
|
3675
3685
|
required:
|
|
3676
3686
|
- id
|