@daocloud-proto/skoala 0.6.0 → 0.6.1
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.
|
@@ -47,6 +47,8 @@ export type CreateFlowRuleReq = {
|
|
|
47
47
|
|
|
48
48
|
export type CreateFlowRuleRes = {
|
|
49
49
|
success?: boolean
|
|
50
|
+
code?: number
|
|
51
|
+
msg?: string
|
|
50
52
|
}
|
|
51
53
|
|
|
52
54
|
export type UpdateFlowRuleReq = {
|
|
@@ -60,6 +62,8 @@ export type UpdateFlowRuleReq = {
|
|
|
60
62
|
|
|
61
63
|
export type UpdateFlowRuleRes = {
|
|
62
64
|
success?: boolean
|
|
65
|
+
code?: number
|
|
66
|
+
msg?: string
|
|
63
67
|
}
|
|
64
68
|
|
|
65
69
|
export type DeleteFlowRuleReq = {
|
|
@@ -72,4 +76,6 @@ export type DeleteFlowRuleReq = {
|
|
|
72
76
|
|
|
73
77
|
export type DeleteFlowRuleRes = {
|
|
74
78
|
success?: boolean
|
|
79
|
+
code?: number
|
|
80
|
+
msg?: string
|
|
75
81
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default {}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
// @ts-nocheck
|
|
3
|
+
/*
|
|
4
|
+
* This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
import * as GoogleProtobufStruct from "../google/protobuf/struct.pb"
|
|
8
|
+
|
|
9
|
+
export enum Scheme {
|
|
10
|
+
UNKNOWN = "UNKNOWN",
|
|
11
|
+
HTTP = "HTTP",
|
|
12
|
+
HTTPS = "HTTPS",
|
|
13
|
+
WS = "WS",
|
|
14
|
+
WSS = "WSS",
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export enum JSONSchemaJSONSchemaSimpleTypes {
|
|
18
|
+
UNKNOWN = "UNKNOWN",
|
|
19
|
+
ARRAY = "ARRAY",
|
|
20
|
+
BOOLEAN = "BOOLEAN",
|
|
21
|
+
INTEGER = "INTEGER",
|
|
22
|
+
NULL = "NULL",
|
|
23
|
+
NUMBER = "NUMBER",
|
|
24
|
+
OBJECT = "OBJECT",
|
|
25
|
+
STRING = "STRING",
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export enum SecuritySchemeType {
|
|
29
|
+
TYPE_INVALID = "TYPE_INVALID",
|
|
30
|
+
TYPE_BASIC = "TYPE_BASIC",
|
|
31
|
+
TYPE_API_KEY = "TYPE_API_KEY",
|
|
32
|
+
TYPE_OAUTH2 = "TYPE_OAUTH2",
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export enum SecuritySchemeIn {
|
|
36
|
+
IN_INVALID = "IN_INVALID",
|
|
37
|
+
IN_QUERY = "IN_QUERY",
|
|
38
|
+
IN_HEADER = "IN_HEADER",
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export enum SecuritySchemeFlow {
|
|
42
|
+
FLOW_INVALID = "FLOW_INVALID",
|
|
43
|
+
FLOW_IMPLICIT = "FLOW_IMPLICIT",
|
|
44
|
+
FLOW_PASSWORD = "FLOW_PASSWORD",
|
|
45
|
+
FLOW_APPLICATION = "FLOW_APPLICATION",
|
|
46
|
+
FLOW_ACCESS_CODE = "FLOW_ACCESS_CODE",
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export type Swagger = {
|
|
50
|
+
swagger?: string
|
|
51
|
+
info?: Info
|
|
52
|
+
host?: string
|
|
53
|
+
basePath?: string
|
|
54
|
+
schemes?: Scheme[]
|
|
55
|
+
consumes?: string[]
|
|
56
|
+
produces?: string[]
|
|
57
|
+
responses?: {[key: string]: Response}
|
|
58
|
+
securityDefinitions?: SecurityDefinitions
|
|
59
|
+
security?: SecurityRequirement[]
|
|
60
|
+
externalDocs?: ExternalDocumentation
|
|
61
|
+
extensions?: {[key: string]: GoogleProtobufStruct.Value}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
export type Operation = {
|
|
65
|
+
tags?: string[]
|
|
66
|
+
summary?: string
|
|
67
|
+
description?: string
|
|
68
|
+
externalDocs?: ExternalDocumentation
|
|
69
|
+
operationId?: string
|
|
70
|
+
consumes?: string[]
|
|
71
|
+
produces?: string[]
|
|
72
|
+
responses?: {[key: string]: Response}
|
|
73
|
+
schemes?: Scheme[]
|
|
74
|
+
deprecated?: boolean
|
|
75
|
+
security?: SecurityRequirement[]
|
|
76
|
+
extensions?: {[key: string]: GoogleProtobufStruct.Value}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
export type Header = {
|
|
80
|
+
description?: string
|
|
81
|
+
type?: string
|
|
82
|
+
format?: string
|
|
83
|
+
default?: string
|
|
84
|
+
pattern?: string
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export type Response = {
|
|
88
|
+
description?: string
|
|
89
|
+
schema?: Schema
|
|
90
|
+
headers?: {[key: string]: Header}
|
|
91
|
+
examples?: {[key: string]: string}
|
|
92
|
+
extensions?: {[key: string]: GoogleProtobufStruct.Value}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export type Info = {
|
|
96
|
+
title?: string
|
|
97
|
+
description?: string
|
|
98
|
+
termsOfService?: string
|
|
99
|
+
contact?: Contact
|
|
100
|
+
license?: License
|
|
101
|
+
version?: string
|
|
102
|
+
extensions?: {[key: string]: GoogleProtobufStruct.Value}
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
export type Contact = {
|
|
106
|
+
name?: string
|
|
107
|
+
url?: string
|
|
108
|
+
email?: string
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
export type License = {
|
|
112
|
+
name?: string
|
|
113
|
+
url?: string
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
export type ExternalDocumentation = {
|
|
117
|
+
description?: string
|
|
118
|
+
url?: string
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export type Schema = {
|
|
122
|
+
jsonSchema?: JSONSchema
|
|
123
|
+
discriminator?: string
|
|
124
|
+
readOnly?: boolean
|
|
125
|
+
externalDocs?: ExternalDocumentation
|
|
126
|
+
example?: string
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
export type JSONSchemaFieldConfiguration = {
|
|
130
|
+
pathParamName?: string
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export type JSONSchema = {
|
|
134
|
+
ref?: string
|
|
135
|
+
title?: string
|
|
136
|
+
description?: string
|
|
137
|
+
default?: string
|
|
138
|
+
readOnly?: boolean
|
|
139
|
+
example?: string
|
|
140
|
+
multipleOf?: number
|
|
141
|
+
maximum?: number
|
|
142
|
+
exclusiveMaximum?: boolean
|
|
143
|
+
minimum?: number
|
|
144
|
+
exclusiveMinimum?: boolean
|
|
145
|
+
maxLength?: string
|
|
146
|
+
minLength?: string
|
|
147
|
+
pattern?: string
|
|
148
|
+
maxItems?: string
|
|
149
|
+
minItems?: string
|
|
150
|
+
uniqueItems?: boolean
|
|
151
|
+
maxProperties?: string
|
|
152
|
+
minProperties?: string
|
|
153
|
+
required?: string[]
|
|
154
|
+
array?: string[]
|
|
155
|
+
type?: JSONSchemaJSONSchemaSimpleTypes[]
|
|
156
|
+
format?: string
|
|
157
|
+
enum?: string[]
|
|
158
|
+
fieldConfiguration?: JSONSchemaFieldConfiguration
|
|
159
|
+
extensions?: {[key: string]: GoogleProtobufStruct.Value}
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export type Tag = {
|
|
163
|
+
description?: string
|
|
164
|
+
externalDocs?: ExternalDocumentation
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
export type SecurityDefinitions = {
|
|
168
|
+
security?: {[key: string]: SecurityScheme}
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
export type SecurityScheme = {
|
|
172
|
+
type?: SecuritySchemeType
|
|
173
|
+
description?: string
|
|
174
|
+
name?: string
|
|
175
|
+
in?: SecuritySchemeIn
|
|
176
|
+
flow?: SecuritySchemeFlow
|
|
177
|
+
authorizationUrl?: string
|
|
178
|
+
tokenUrl?: string
|
|
179
|
+
scopes?: Scopes
|
|
180
|
+
extensions?: {[key: string]: GoogleProtobufStruct.Value}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
export type SecurityRequirementSecurityRequirementValue = {
|
|
184
|
+
scope?: string[]
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export type SecurityRequirement = {
|
|
188
|
+
securityRequirement?: {[key: string]: SecurityRequirementSecurityRequirementValue}
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export type Scopes = {
|
|
192
|
+
scope?: {[key: string]: string}
|
|
193
|
+
}
|