@alicloud/mse20190531 6.20.2 → 6.21.0
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/dist/client.d.ts +60 -0
- package/dist/client.js +277 -0
- package/dist/client.js.map +1 -1
- package/dist/models/DeleteBlackWhiteListRequest.d.ts +33 -0
- package/dist/models/DeleteBlackWhiteListRequest.js +64 -0
- package/dist/models/DeleteBlackWhiteListRequest.js.map +1 -0
- package/dist/models/DeleteBlackWhiteListResponse.d.ts +19 -0
- package/dist/models/DeleteBlackWhiteListResponse.js +69 -0
- package/dist/models/DeleteBlackWhiteListResponse.js.map +1 -0
- package/dist/models/DeleteBlackWhiteListResponseBody.d.ts +109 -0
- package/dist/models/DeleteBlackWhiteListResponseBody.js +110 -0
- package/dist/models/DeleteBlackWhiteListResponseBody.js.map +1 -0
- package/dist/models/DeleteGatewayAuthRequest.d.ts +28 -0
- package/dist/models/DeleteGatewayAuthRequest.js +62 -0
- package/dist/models/DeleteGatewayAuthRequest.js.map +1 -0
- package/dist/models/DeleteGatewayAuthResponse.d.ts +19 -0
- package/dist/models/DeleteGatewayAuthResponse.js +69 -0
- package/dist/models/DeleteGatewayAuthResponse.js.map +1 -0
- package/dist/models/DeleteGatewayAuthResponseBody.d.ts +161 -0
- package/dist/models/DeleteGatewayAuthResponseBody.js +133 -0
- package/dist/models/DeleteGatewayAuthResponseBody.js.map +1 -0
- package/dist/models/ListGatewayAuthRequest.d.ts +76 -0
- package/dist/models/ListGatewayAuthRequest.js +98 -0
- package/dist/models/ListGatewayAuthRequest.js.map +1 -0
- package/dist/models/ListGatewayAuthResponse.d.ts +19 -0
- package/dist/models/ListGatewayAuthResponse.js +69 -0
- package/dist/models/ListGatewayAuthResponse.js.map +1 -0
- package/dist/models/ListGatewayAuthResponseBody.d.ts +281 -0
- package/dist/models/ListGatewayAuthResponseBody.js +240 -0
- package/dist/models/ListGatewayAuthResponseBody.js.map +1 -0
- package/dist/models/ListGatewayAuthShrinkRequest.d.ts +39 -0
- package/dist/models/ListGatewayAuthShrinkRequest.js +68 -0
- package/dist/models/ListGatewayAuthShrinkRequest.js.map +1 -0
- package/dist/models/UpdateGatewayAuthRequest.d.ts +237 -0
- package/dist/models/UpdateGatewayAuthRequest.js +216 -0
- package/dist/models/UpdateGatewayAuthRequest.js.map +1 -0
- package/dist/models/UpdateGatewayAuthResponse.d.ts +19 -0
- package/dist/models/UpdateGatewayAuthResponse.js +69 -0
- package/dist/models/UpdateGatewayAuthResponse.js.map +1 -0
- package/dist/models/UpdateGatewayAuthResponseBody.d.ts +43 -0
- package/dist/models/UpdateGatewayAuthResponseBody.js +68 -0
- package/dist/models/UpdateGatewayAuthResponseBody.js.map +1 -0
- package/dist/models/UpdateGatewayAuthShrinkRequest.d.ts +122 -0
- package/dist/models/UpdateGatewayAuthShrinkRequest.js +106 -0
- package/dist/models/UpdateGatewayAuthShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +24 -0
- package/dist/models/model.js +71 -23
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +328 -0
- package/src/models/DeleteBlackWhiteListRequest.ts +52 -0
- package/src/models/DeleteBlackWhiteListResponse.ts +40 -0
- package/src/models/DeleteBlackWhiteListResponseBody.ts +165 -0
- package/src/models/DeleteGatewayAuthRequest.ts +45 -0
- package/src/models/DeleteGatewayAuthResponse.ts +40 -0
- package/src/models/DeleteGatewayAuthResponseBody.ts +240 -0
- package/src/models/ListGatewayAuthRequest.ts +120 -0
- package/src/models/ListGatewayAuthResponse.ts +40 -0
- package/src/models/ListGatewayAuthResponseBody.ts +440 -0
- package/src/models/ListGatewayAuthShrinkRequest.ts +62 -0
- package/src/models/UpdateGatewayAuthRequest.ts +381 -0
- package/src/models/UpdateGatewayAuthResponse.ts +40 -0
- package/src/models/UpdateGatewayAuthResponseBody.ts +66 -0
- package/src/models/UpdateGatewayAuthShrinkRequest.ts +183 -0
- package/src/models/model.ts +24 -0
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteBlackWhiteListResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1.1.1.1
|
|
9
|
+
*/
|
|
10
|
+
content?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 430
|
|
14
|
+
*/
|
|
15
|
+
gatewayId?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* gw-9cdcf8e4f58144059e73ff4c5ef9****
|
|
19
|
+
*/
|
|
20
|
+
gatewayUniqueId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 2022-08-10 20:22:34
|
|
24
|
+
*/
|
|
25
|
+
gmtCreate?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 2022-08-10 20:22:34
|
|
29
|
+
*/
|
|
30
|
+
gmtModified?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 120
|
|
34
|
+
*/
|
|
35
|
+
id?: number;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* true
|
|
39
|
+
*/
|
|
40
|
+
isWhite?: boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* 1
|
|
44
|
+
*/
|
|
45
|
+
resourceId?: number;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* GATEWAY
|
|
49
|
+
*/
|
|
50
|
+
resourceType?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* 1
|
|
54
|
+
*/
|
|
55
|
+
status?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* IP
|
|
59
|
+
*/
|
|
60
|
+
type?: string;
|
|
61
|
+
static names(): { [key: string]: string } {
|
|
62
|
+
return {
|
|
63
|
+
content: 'Content',
|
|
64
|
+
gatewayId: 'GatewayId',
|
|
65
|
+
gatewayUniqueId: 'GatewayUniqueId',
|
|
66
|
+
gmtCreate: 'GmtCreate',
|
|
67
|
+
gmtModified: 'GmtModified',
|
|
68
|
+
id: 'Id',
|
|
69
|
+
isWhite: 'IsWhite',
|
|
70
|
+
resourceId: 'ResourceId',
|
|
71
|
+
resourceType: 'ResourceType',
|
|
72
|
+
status: 'Status',
|
|
73
|
+
type: 'Type',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
static types(): { [key: string]: any } {
|
|
78
|
+
return {
|
|
79
|
+
content: 'string',
|
|
80
|
+
gatewayId: 'number',
|
|
81
|
+
gatewayUniqueId: 'string',
|
|
82
|
+
gmtCreate: 'string',
|
|
83
|
+
gmtModified: 'string',
|
|
84
|
+
id: 'number',
|
|
85
|
+
isWhite: 'boolean',
|
|
86
|
+
resourceId: 'number',
|
|
87
|
+
resourceType: 'string',
|
|
88
|
+
status: 'boolean',
|
|
89
|
+
type: 'string',
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
validate() {
|
|
94
|
+
super.validate();
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
constructor(map?: { [key: string]: any }) {
|
|
98
|
+
super(map);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export class DeleteBlackWhiteListResponseBody extends $dara.Model {
|
|
103
|
+
/**
|
|
104
|
+
* @example
|
|
105
|
+
* 200
|
|
106
|
+
*/
|
|
107
|
+
code?: number;
|
|
108
|
+
data?: DeleteBlackWhiteListResponseBodyData;
|
|
109
|
+
/**
|
|
110
|
+
* @example
|
|
111
|
+
* 200
|
|
112
|
+
*/
|
|
113
|
+
httpStatusCode?: number;
|
|
114
|
+
/**
|
|
115
|
+
* @example
|
|
116
|
+
* OK
|
|
117
|
+
*/
|
|
118
|
+
message?: string;
|
|
119
|
+
/**
|
|
120
|
+
* @remarks
|
|
121
|
+
* Id of the request
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
* DC34E4A3-5F1C-4E40-86EA-02EDF967****
|
|
125
|
+
*/
|
|
126
|
+
requestId?: string;
|
|
127
|
+
/**
|
|
128
|
+
* @example
|
|
129
|
+
* true
|
|
130
|
+
*/
|
|
131
|
+
success?: boolean;
|
|
132
|
+
static names(): { [key: string]: string } {
|
|
133
|
+
return {
|
|
134
|
+
code: 'Code',
|
|
135
|
+
data: 'Data',
|
|
136
|
+
httpStatusCode: 'HttpStatusCode',
|
|
137
|
+
message: 'Message',
|
|
138
|
+
requestId: 'RequestId',
|
|
139
|
+
success: 'Success',
|
|
140
|
+
};
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
static types(): { [key: string]: any } {
|
|
144
|
+
return {
|
|
145
|
+
code: 'number',
|
|
146
|
+
data: DeleteBlackWhiteListResponseBodyData,
|
|
147
|
+
httpStatusCode: 'number',
|
|
148
|
+
message: 'string',
|
|
149
|
+
requestId: 'string',
|
|
150
|
+
success: 'boolean',
|
|
151
|
+
};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
validate() {
|
|
155
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
156
|
+
(this.data as any).validate();
|
|
157
|
+
}
|
|
158
|
+
super.validate();
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
constructor(map?: { [key: string]: any }) {
|
|
162
|
+
super(map);
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteGatewayAuthRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* zh
|
|
9
|
+
*/
|
|
10
|
+
acceptLanguage?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* gw-e2d226bba4b2445c9e29fa7f8216****
|
|
14
|
+
*/
|
|
15
|
+
gatewayUniqueId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 120
|
|
19
|
+
*/
|
|
20
|
+
id?: number;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
acceptLanguage: 'AcceptLanguage',
|
|
24
|
+
gatewayUniqueId: 'GatewayUniqueId',
|
|
25
|
+
id: 'Id',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
acceptLanguage: 'string',
|
|
32
|
+
gatewayUniqueId: 'string',
|
|
33
|
+
id: 'number',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteGatewayAuthResponseBody } from "./DeleteGatewayAuthResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteGatewayAuthResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteGatewayAuthResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: DeleteGatewayAuthResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteGatewayAuthResponseBodyData extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* example-app
|
|
9
|
+
*/
|
|
10
|
+
clientId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* xxxxx
|
|
14
|
+
*/
|
|
15
|
+
clientSecret?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* test.com
|
|
19
|
+
*/
|
|
20
|
+
cookieDomain?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 399
|
|
24
|
+
*/
|
|
25
|
+
gatewayId?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* gw-e2d226bba4b2445c9e29fa7f8216****
|
|
29
|
+
*/
|
|
30
|
+
gatewayUniqueId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 2022-01-07 18:07:57
|
|
34
|
+
*/
|
|
35
|
+
gmtCreate?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 2022-01-07 18:07:57
|
|
39
|
+
*/
|
|
40
|
+
gmtModified?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* 120
|
|
44
|
+
*/
|
|
45
|
+
id?: number;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* true
|
|
49
|
+
*/
|
|
50
|
+
isWhite?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* https://example.com/auth
|
|
54
|
+
*/
|
|
55
|
+
issuer?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* {
|
|
59
|
+
* "keys": [
|
|
60
|
+
* {
|
|
61
|
+
* "e": "AQAB",
|
|
62
|
+
* "kid": "DHFbpoIUqrY8t2zpA2qXfCmr5VO5ZEr4RzHU_-envvQ",
|
|
63
|
+
* "kty": "RSA",
|
|
64
|
+
* "n": "xAE7eB6qugXyCAG3yhh7pkDkT65pHymX-P7KfIupjf59vsdo91bSP9C8H07pSAGQO1MV_xFj9VswgsCg4R6otmg5PV2He95lZdHtOcU5DXIg_pbhLdKXbi66GlVeK6ABZOUW3WYtnNHD-91gVuoeJT_DwtGGcp4ignkgXfkiEm4sw-4sfb4qdt5oLbyVpmW6x9cfa7vs2WTfURiCrBoUqgBo_-4WTiULmmHSGZHOjzwa8WtrtOQGsAFjIbno85jp6MnGGGZPYZbDAa_b3y5u-YpW7ypZrvD8BgtKVjgtQgZhLAGezMt0ua3DRrWnKqTZ0BJ_EyxOGuHJrLsn00fnMQ"
|
|
65
|
+
* }
|
|
66
|
+
* ]
|
|
67
|
+
* }
|
|
68
|
+
*/
|
|
69
|
+
jwks?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @example
|
|
72
|
+
* https://daxxxxcn.aliyunidaas.com/
|
|
73
|
+
*/
|
|
74
|
+
loginUrl?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* test
|
|
78
|
+
*/
|
|
79
|
+
name?: string;
|
|
80
|
+
/**
|
|
81
|
+
* @example
|
|
82
|
+
* https://yourdomain/path
|
|
83
|
+
*/
|
|
84
|
+
redirectUrl?: string;
|
|
85
|
+
scopesList?: string[];
|
|
86
|
+
/**
|
|
87
|
+
* @example
|
|
88
|
+
* true
|
|
89
|
+
*/
|
|
90
|
+
status?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* @example
|
|
93
|
+
* Authorization
|
|
94
|
+
*/
|
|
95
|
+
tokenName?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @example
|
|
98
|
+
* Bearer
|
|
99
|
+
*/
|
|
100
|
+
tokenNamePrefix?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @example
|
|
103
|
+
* true
|
|
104
|
+
*/
|
|
105
|
+
tokenPass?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* @example
|
|
108
|
+
* HEADER
|
|
109
|
+
*/
|
|
110
|
+
tokenPosition?: string;
|
|
111
|
+
/**
|
|
112
|
+
* @example
|
|
113
|
+
* JWT
|
|
114
|
+
*/
|
|
115
|
+
type?: string;
|
|
116
|
+
static names(): { [key: string]: string } {
|
|
117
|
+
return {
|
|
118
|
+
clientId: 'ClientId',
|
|
119
|
+
clientSecret: 'ClientSecret',
|
|
120
|
+
cookieDomain: 'CookieDomain',
|
|
121
|
+
gatewayId: 'GatewayId',
|
|
122
|
+
gatewayUniqueId: 'GatewayUniqueId',
|
|
123
|
+
gmtCreate: 'GmtCreate',
|
|
124
|
+
gmtModified: 'GmtModified',
|
|
125
|
+
id: 'Id',
|
|
126
|
+
isWhite: 'IsWhite',
|
|
127
|
+
issuer: 'Issuer',
|
|
128
|
+
jwks: 'Jwks',
|
|
129
|
+
loginUrl: 'LoginUrl',
|
|
130
|
+
name: 'Name',
|
|
131
|
+
redirectUrl: 'RedirectUrl',
|
|
132
|
+
scopesList: 'ScopesList',
|
|
133
|
+
status: 'Status',
|
|
134
|
+
tokenName: 'TokenName',
|
|
135
|
+
tokenNamePrefix: 'TokenNamePrefix',
|
|
136
|
+
tokenPass: 'TokenPass',
|
|
137
|
+
tokenPosition: 'TokenPosition',
|
|
138
|
+
type: 'Type',
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
static types(): { [key: string]: any } {
|
|
143
|
+
return {
|
|
144
|
+
clientId: 'string',
|
|
145
|
+
clientSecret: 'string',
|
|
146
|
+
cookieDomain: 'string',
|
|
147
|
+
gatewayId: 'number',
|
|
148
|
+
gatewayUniqueId: 'string',
|
|
149
|
+
gmtCreate: 'string',
|
|
150
|
+
gmtModified: 'string',
|
|
151
|
+
id: 'number',
|
|
152
|
+
isWhite: 'boolean',
|
|
153
|
+
issuer: 'string',
|
|
154
|
+
jwks: 'string',
|
|
155
|
+
loginUrl: 'string',
|
|
156
|
+
name: 'string',
|
|
157
|
+
redirectUrl: 'string',
|
|
158
|
+
scopesList: { 'type': 'array', 'itemType': 'string' },
|
|
159
|
+
status: 'boolean',
|
|
160
|
+
tokenName: 'string',
|
|
161
|
+
tokenNamePrefix: 'string',
|
|
162
|
+
tokenPass: 'boolean',
|
|
163
|
+
tokenPosition: 'string',
|
|
164
|
+
type: 'string',
|
|
165
|
+
};
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
validate() {
|
|
169
|
+
if(Array.isArray(this.scopesList)) {
|
|
170
|
+
$dara.Model.validateArray(this.scopesList);
|
|
171
|
+
}
|
|
172
|
+
super.validate();
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
constructor(map?: { [key: string]: any }) {
|
|
176
|
+
super(map);
|
|
177
|
+
}
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
export class DeleteGatewayAuthResponseBody extends $dara.Model {
|
|
181
|
+
/**
|
|
182
|
+
* @example
|
|
183
|
+
* 200
|
|
184
|
+
*/
|
|
185
|
+
code?: number;
|
|
186
|
+
data?: DeleteGatewayAuthResponseBodyData;
|
|
187
|
+
/**
|
|
188
|
+
* @example
|
|
189
|
+
* 200
|
|
190
|
+
*/
|
|
191
|
+
httpStatusCode?: number;
|
|
192
|
+
/**
|
|
193
|
+
* @example
|
|
194
|
+
* OK
|
|
195
|
+
*/
|
|
196
|
+
message?: string;
|
|
197
|
+
/**
|
|
198
|
+
* @example
|
|
199
|
+
* 316F5F64-F73D-42DC-8632-01E308B6****
|
|
200
|
+
*/
|
|
201
|
+
requestId?: string;
|
|
202
|
+
/**
|
|
203
|
+
* @example
|
|
204
|
+
* true
|
|
205
|
+
*/
|
|
206
|
+
success?: boolean;
|
|
207
|
+
static names(): { [key: string]: string } {
|
|
208
|
+
return {
|
|
209
|
+
code: 'Code',
|
|
210
|
+
data: 'Data',
|
|
211
|
+
httpStatusCode: 'HttpStatusCode',
|
|
212
|
+
message: 'Message',
|
|
213
|
+
requestId: 'RequestId',
|
|
214
|
+
success: 'Success',
|
|
215
|
+
};
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
static types(): { [key: string]: any } {
|
|
219
|
+
return {
|
|
220
|
+
code: 'number',
|
|
221
|
+
data: DeleteGatewayAuthResponseBodyData,
|
|
222
|
+
httpStatusCode: 'number',
|
|
223
|
+
message: 'string',
|
|
224
|
+
requestId: 'string',
|
|
225
|
+
success: 'boolean',
|
|
226
|
+
};
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
validate() {
|
|
230
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
231
|
+
(this.data as any).validate();
|
|
232
|
+
}
|
|
233
|
+
super.validate();
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
constructor(map?: { [key: string]: any }) {
|
|
237
|
+
super(map);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListGatewayAuthRequestFilterParams extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* gw-5017305290e14centbrveca****
|
|
9
|
+
*/
|
|
10
|
+
gatewayUniqueId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* true
|
|
14
|
+
*/
|
|
15
|
+
isWhite?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* rutain-test
|
|
19
|
+
*/
|
|
20
|
+
name?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* true
|
|
24
|
+
*/
|
|
25
|
+
status?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* JWT
|
|
29
|
+
*/
|
|
30
|
+
type?: string;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
gatewayUniqueId: 'GatewayUniqueId',
|
|
34
|
+
isWhite: 'IsWhite',
|
|
35
|
+
name: 'Name',
|
|
36
|
+
status: 'Status',
|
|
37
|
+
type: 'Type',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
gatewayUniqueId: 'string',
|
|
44
|
+
isWhite: 'boolean',
|
|
45
|
+
name: 'string',
|
|
46
|
+
status: 'boolean',
|
|
47
|
+
type: 'string',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
validate() {
|
|
52
|
+
super.validate();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
constructor(map?: { [key: string]: any }) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
export class ListGatewayAuthRequest extends $dara.Model {
|
|
61
|
+
/**
|
|
62
|
+
* @example
|
|
63
|
+
* zh
|
|
64
|
+
*/
|
|
65
|
+
acceptLanguage?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @example
|
|
68
|
+
* false
|
|
69
|
+
*/
|
|
70
|
+
descSort?: boolean;
|
|
71
|
+
filterParams?: ListGatewayAuthRequestFilterParams;
|
|
72
|
+
/**
|
|
73
|
+
* @example
|
|
74
|
+
* {}
|
|
75
|
+
*/
|
|
76
|
+
orderItem?: string;
|
|
77
|
+
/**
|
|
78
|
+
* @example
|
|
79
|
+
* 1
|
|
80
|
+
*/
|
|
81
|
+
pageNumber?: number;
|
|
82
|
+
/**
|
|
83
|
+
* @example
|
|
84
|
+
* 10
|
|
85
|
+
*/
|
|
86
|
+
pageSize?: number;
|
|
87
|
+
static names(): { [key: string]: string } {
|
|
88
|
+
return {
|
|
89
|
+
acceptLanguage: 'AcceptLanguage',
|
|
90
|
+
descSort: 'DescSort',
|
|
91
|
+
filterParams: 'FilterParams',
|
|
92
|
+
orderItem: 'OrderItem',
|
|
93
|
+
pageNumber: 'PageNumber',
|
|
94
|
+
pageSize: 'PageSize',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
static types(): { [key: string]: any } {
|
|
99
|
+
return {
|
|
100
|
+
acceptLanguage: 'string',
|
|
101
|
+
descSort: 'boolean',
|
|
102
|
+
filterParams: ListGatewayAuthRequestFilterParams,
|
|
103
|
+
orderItem: 'string',
|
|
104
|
+
pageNumber: 'number',
|
|
105
|
+
pageSize: 'number',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
validate() {
|
|
110
|
+
if(this.filterParams && typeof (this.filterParams as any).validate === 'function') {
|
|
111
|
+
(this.filterParams as any).validate();
|
|
112
|
+
}
|
|
113
|
+
super.validate();
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
constructor(map?: { [key: string]: any }) {
|
|
117
|
+
super(map);
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListGatewayAuthResponseBody } from "./ListGatewayAuthResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListGatewayAuthResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListGatewayAuthResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListGatewayAuthResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|