@alicloud/csas20230120 1.14.19 → 1.14.21
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 +6 -6
- package/dist/client.js +24 -6
- package/dist/client.js.map +1 -1
- package/dist/models/AddressGroup.d.ts +39 -0
- package/dist/models/AddressGroup.js +89 -0
- package/dist/models/AddressGroup.js.map +1 -0
- package/dist/models/CommonConfig.d.ts +0 -2
- package/dist/models/CommonConfig.js +0 -2
- package/dist/models/CommonConfig.js.map +1 -1
- package/dist/models/CreatePrivateAccessApplicationRequest.d.ts +3 -4
- package/dist/models/CreatePrivateAccessApplicationRequest.js +8 -0
- package/dist/models/CreatePrivateAccessApplicationRequest.js.map +1 -1
- package/dist/models/CreatePrivateAccessApplicationShrinkRequest.d.ts +3 -4
- package/dist/models/CreatePrivateAccessApplicationShrinkRequest.js +8 -0
- package/dist/models/CreatePrivateAccessApplicationShrinkRequest.js.map +1 -1
- package/dist/models/ExecutePeriod.d.ts +64 -0
- package/dist/models/ExecutePeriod.js +146 -0
- package/dist/models/ExecutePeriod.js.map +1 -0
- package/dist/models/GetPrivateAccessApplicationResponseBody.d.ts +3 -0
- package/dist/models/GetPrivateAccessApplicationResponseBody.js +8 -0
- package/dist/models/GetPrivateAccessApplicationResponseBody.js.map +1 -1
- package/dist/models/IdpConfig.d.ts +1 -0
- package/dist/models/IdpConfig.js +2 -0
- package/dist/models/IdpConfig.js.map +1 -1
- package/dist/models/ListPrivateAccessApplicationsResponseBody.d.ts +3 -0
- package/dist/models/ListPrivateAccessApplicationsResponseBody.js +8 -0
- package/dist/models/ListPrivateAccessApplicationsResponseBody.js.map +1 -1
- package/dist/models/ListUserApplicationsRequest.d.ts +1 -0
- package/dist/models/ListUserApplicationsRequest.js +2 -0
- package/dist/models/ListUserApplicationsRequest.js.map +1 -1
- package/dist/models/ListUserApplicationsResponseBody.d.ts +3 -0
- package/dist/models/ListUserApplicationsResponseBody.js +8 -0
- package/dist/models/ListUserApplicationsResponseBody.js.map +1 -1
- package/dist/models/OpenStructSaseDepartment.d.ts +2 -0
- package/dist/models/OpenStructSaseDepartment.js +4 -0
- package/dist/models/OpenStructSaseDepartment.js.map +1 -1
- package/dist/models/Pal7config.d.ts +17 -1
- package/dist/models/Pal7config.js.map +1 -1
- package/dist/models/Pal7configReplaceRule.d.ts +2 -2
- package/dist/models/Pal7configRewriteOp.d.ts +17 -1
- package/dist/models/Pal7configRewriteOp.js.map +1 -1
- package/dist/models/UpdatePrivateAccessApplicationRequest.d.ts +4 -0
- package/dist/models/UpdatePrivateAccessApplicationRequest.js +10 -0
- package/dist/models/UpdatePrivateAccessApplicationRequest.js.map +1 -1
- package/dist/models/UpdatePrivateAccessApplicationShrinkRequest.d.ts +4 -0
- package/dist/models/UpdatePrivateAccessApplicationShrinkRequest.js +10 -0
- package/dist/models/UpdatePrivateAccessApplicationShrinkRequest.js.map +1 -1
- package/dist/models/UpdatePrivateAccessPolicyRequest.d.ts +1 -0
- package/dist/models/UpdatePrivateAccessPolicyRequest.js +2 -0
- package/dist/models/UpdatePrivateAccessPolicyRequest.js.map +1 -1
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +26 -13
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +30 -6
- package/src/models/AddressGroup.ts +72 -0
- package/src/models/CommonConfig.ts +0 -2
- package/src/models/CreatePrivateAccessApplicationRequest.ts +10 -4
- package/src/models/CreatePrivateAccessApplicationShrinkRequest.ts +10 -4
- package/src/models/ExecutePeriod.ts +138 -0
- package/src/models/GetPrivateAccessApplicationResponseBody.ts +10 -0
- package/src/models/IdpConfig.ts +3 -0
- package/src/models/ListPrivateAccessApplicationsResponseBody.ts +10 -0
- package/src/models/ListUserApplicationsRequest.ts +3 -0
- package/src/models/ListUserApplicationsResponseBody.ts +10 -0
- package/src/models/OpenStructSaseDepartment.ts +6 -0
- package/src/models/Pal7config.ts +17 -1
- package/src/models/Pal7configReplaceRule.ts +2 -2
- package/src/models/Pal7configRewriteOp.ts +17 -1
- package/src/models/UpdatePrivateAccessApplicationRequest.ts +13 -0
- package/src/models/UpdatePrivateAccessApplicationShrinkRequest.ts +13 -0
- package/src/models/UpdatePrivateAccessPolicyRequest.ts +3 -0
- package/src/models/model.ts +6 -0
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { AddressGroup } from "./AddressGroup";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class CreatePrivateAccessApplicationShrinkRequestPortRanges extends $dara.Model {
|
|
@@ -47,11 +48,10 @@ export class CreatePrivateAccessApplicationShrinkRequestPortRanges extends $dara
|
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
export class CreatePrivateAccessApplicationShrinkRequest extends $dara.Model {
|
|
51
|
+
addressGroups?: AddressGroup[];
|
|
50
52
|
/**
|
|
51
53
|
* @remarks
|
|
52
54
|
* The addresses of the office applications. You can enter up to 1,000 addresses of office applications.
|
|
53
|
-
*
|
|
54
|
-
* This parameter is required.
|
|
55
55
|
*/
|
|
56
56
|
addresses?: string[];
|
|
57
57
|
/**
|
|
@@ -65,6 +65,7 @@ export class CreatePrivateAccessApplicationShrinkRequest extends $dara.Model {
|
|
|
65
65
|
* Disabled
|
|
66
66
|
*/
|
|
67
67
|
browserAccessStatus?: string;
|
|
68
|
+
configMode?: string;
|
|
68
69
|
/**
|
|
69
70
|
* @remarks
|
|
70
71
|
* The description of the office application. The value must be 1 to 128 characters in length and can contain letters, digits, periods (.), underscores (_), hyphens (-), and spaces.
|
|
@@ -104,8 +105,6 @@ export class CreatePrivateAccessApplicationShrinkRequest extends $dara.Model {
|
|
|
104
105
|
/**
|
|
105
106
|
* @remarks
|
|
106
107
|
* The port ranges of the office applications. You can enter up to 65,535 port ranges. Multiple port ranges cannot be duplicated or overlapped.
|
|
107
|
-
*
|
|
108
|
-
* This parameter is required.
|
|
109
108
|
*/
|
|
110
109
|
portRanges?: CreatePrivateAccessApplicationShrinkRequestPortRanges[];
|
|
111
110
|
/**
|
|
@@ -142,8 +141,10 @@ export class CreatePrivateAccessApplicationShrinkRequest extends $dara.Model {
|
|
|
142
141
|
tagIds?: string[];
|
|
143
142
|
static names(): { [key: string]: string } {
|
|
144
143
|
return {
|
|
144
|
+
addressGroups: 'AddressGroups',
|
|
145
145
|
addresses: 'Addresses',
|
|
146
146
|
browserAccessStatus: 'BrowserAccessStatus',
|
|
147
|
+
configMode: 'ConfigMode',
|
|
147
148
|
description: 'Description',
|
|
148
149
|
l7ConfigShrink: 'L7Config',
|
|
149
150
|
l7ProxyDomainAutomaticPrefix: 'L7ProxyDomainAutomaticPrefix',
|
|
@@ -158,8 +159,10 @@ export class CreatePrivateAccessApplicationShrinkRequest extends $dara.Model {
|
|
|
158
159
|
|
|
159
160
|
static types(): { [key: string]: any } {
|
|
160
161
|
return {
|
|
162
|
+
addressGroups: { 'type': 'array', 'itemType': AddressGroup },
|
|
161
163
|
addresses: { 'type': 'array', 'itemType': 'string' },
|
|
162
164
|
browserAccessStatus: 'string',
|
|
165
|
+
configMode: 'string',
|
|
163
166
|
description: 'string',
|
|
164
167
|
l7ConfigShrink: 'string',
|
|
165
168
|
l7ProxyDomainAutomaticPrefix: 'string',
|
|
@@ -173,6 +176,9 @@ export class CreatePrivateAccessApplicationShrinkRequest extends $dara.Model {
|
|
|
173
176
|
}
|
|
174
177
|
|
|
175
178
|
validate() {
|
|
179
|
+
if(Array.isArray(this.addressGroups)) {
|
|
180
|
+
$dara.Model.validateArray(this.addressGroups);
|
|
181
|
+
}
|
|
176
182
|
if(Array.isArray(this.addresses)) {
|
|
177
183
|
$dara.Model.validateArray(this.addresses);
|
|
178
184
|
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ExecutePeriodEffectDay extends $dara.Model {
|
|
6
|
+
friday?: boolean;
|
|
7
|
+
monday?: boolean;
|
|
8
|
+
saturday?: boolean;
|
|
9
|
+
sunday?: boolean;
|
|
10
|
+
thursday?: boolean;
|
|
11
|
+
tuesday?: boolean;
|
|
12
|
+
wednesday?: boolean;
|
|
13
|
+
static names(): { [key: string]: string } {
|
|
14
|
+
return {
|
|
15
|
+
friday: 'Friday',
|
|
16
|
+
monday: 'Monday',
|
|
17
|
+
saturday: 'Saturday',
|
|
18
|
+
sunday: 'Sunday',
|
|
19
|
+
thursday: 'Thursday',
|
|
20
|
+
tuesday: 'Tuesday',
|
|
21
|
+
wednesday: 'Wednesday',
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
static types(): { [key: string]: any } {
|
|
26
|
+
return {
|
|
27
|
+
friday: 'boolean',
|
|
28
|
+
monday: 'boolean',
|
|
29
|
+
saturday: 'boolean',
|
|
30
|
+
sunday: 'boolean',
|
|
31
|
+
thursday: 'boolean',
|
|
32
|
+
tuesday: 'boolean',
|
|
33
|
+
wednesday: 'boolean',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class ExecutePeriodEffectTime extends $dara.Model {
|
|
47
|
+
end?: string;
|
|
48
|
+
start?: string;
|
|
49
|
+
static names(): { [key: string]: string } {
|
|
50
|
+
return {
|
|
51
|
+
end: 'End',
|
|
52
|
+
start: 'Start',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
end: 'string',
|
|
59
|
+
start: 'string',
|
|
60
|
+
};
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
validate() {
|
|
64
|
+
super.validate();
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
constructor(map?: { [key: string]: any }) {
|
|
68
|
+
super(map);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export class ExecutePeriodScheduleEffect extends $dara.Model {
|
|
73
|
+
frequency?: string;
|
|
74
|
+
interval?: number;
|
|
75
|
+
static names(): { [key: string]: string } {
|
|
76
|
+
return {
|
|
77
|
+
frequency: 'Frequency',
|
|
78
|
+
interval: 'Interval',
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
static types(): { [key: string]: any } {
|
|
83
|
+
return {
|
|
84
|
+
frequency: 'string',
|
|
85
|
+
interval: 'number',
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
validate() {
|
|
90
|
+
super.validate();
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
constructor(map?: { [key: string]: any }) {
|
|
94
|
+
super(map);
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export class ExecutePeriod extends $dara.Model {
|
|
99
|
+
effectDay?: ExecutePeriodEffectDay;
|
|
100
|
+
effectTime?: ExecutePeriodEffectTime;
|
|
101
|
+
scheduleEffect?: ExecutePeriodScheduleEffect;
|
|
102
|
+
validType?: string;
|
|
103
|
+
static names(): { [key: string]: string } {
|
|
104
|
+
return {
|
|
105
|
+
effectDay: 'EffectDay',
|
|
106
|
+
effectTime: 'EffectTime',
|
|
107
|
+
scheduleEffect: 'ScheduleEffect',
|
|
108
|
+
validType: 'ValidType',
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
static types(): { [key: string]: any } {
|
|
113
|
+
return {
|
|
114
|
+
effectDay: ExecutePeriodEffectDay,
|
|
115
|
+
effectTime: ExecutePeriodEffectTime,
|
|
116
|
+
scheduleEffect: ExecutePeriodScheduleEffect,
|
|
117
|
+
validType: 'string',
|
|
118
|
+
};
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
validate() {
|
|
122
|
+
if(this.effectDay && typeof (this.effectDay as any).validate === 'function') {
|
|
123
|
+
(this.effectDay as any).validate();
|
|
124
|
+
}
|
|
125
|
+
if(this.effectTime && typeof (this.effectTime as any).validate === 'function') {
|
|
126
|
+
(this.effectTime as any).validate();
|
|
127
|
+
}
|
|
128
|
+
if(this.scheduleEffect && typeof (this.scheduleEffect as any).validate === 'function') {
|
|
129
|
+
(this.scheduleEffect as any).validate();
|
|
130
|
+
}
|
|
131
|
+
super.validate();
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
constructor(map?: { [key: string]: any }) {
|
|
135
|
+
super(map);
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { AddressGroup } from "./AddressGroup";
|
|
3
4
|
import { PAL7Config } from "./Pal7config";
|
|
4
5
|
|
|
5
6
|
|
|
@@ -44,6 +45,7 @@ export class GetPrivateAccessApplicationResponseBodyApplicationPortRanges extend
|
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
export class GetPrivateAccessApplicationResponseBodyApplication extends $dara.Model {
|
|
48
|
+
addressGroups?: AddressGroup[];
|
|
47
49
|
/**
|
|
48
50
|
* @remarks
|
|
49
51
|
* The addresses of the office applications.
|
|
@@ -69,6 +71,7 @@ export class GetPrivateAccessApplicationResponseBodyApplication extends $dara.Mo
|
|
|
69
71
|
* Enabled
|
|
70
72
|
*/
|
|
71
73
|
browserAccessStatus?: string;
|
|
74
|
+
configMode?: string;
|
|
72
75
|
/**
|
|
73
76
|
* @remarks
|
|
74
77
|
* The IDs of connectors.
|
|
@@ -156,10 +159,12 @@ export class GetPrivateAccessApplicationResponseBodyApplication extends $dara.Mo
|
|
|
156
159
|
tagIds?: string[];
|
|
157
160
|
static names(): { [key: string]: string } {
|
|
158
161
|
return {
|
|
162
|
+
addressGroups: 'AddressGroups',
|
|
159
163
|
addresses: 'Addresses',
|
|
160
164
|
applicationId: 'ApplicationId',
|
|
161
165
|
autoGenerated: 'AutoGenerated',
|
|
162
166
|
browserAccessStatus: 'BrowserAccessStatus',
|
|
167
|
+
configMode: 'ConfigMode',
|
|
163
168
|
connectorIds: 'ConnectorIds',
|
|
164
169
|
createTime: 'CreateTime',
|
|
165
170
|
description: 'Description',
|
|
@@ -177,10 +182,12 @@ export class GetPrivateAccessApplicationResponseBodyApplication extends $dara.Mo
|
|
|
177
182
|
|
|
178
183
|
static types(): { [key: string]: any } {
|
|
179
184
|
return {
|
|
185
|
+
addressGroups: { 'type': 'array', 'itemType': AddressGroup },
|
|
180
186
|
addresses: { 'type': 'array', 'itemType': 'string' },
|
|
181
187
|
applicationId: 'string',
|
|
182
188
|
autoGenerated: 'number',
|
|
183
189
|
browserAccessStatus: 'string',
|
|
190
|
+
configMode: 'string',
|
|
184
191
|
connectorIds: { 'type': 'array', 'itemType': 'string' },
|
|
185
192
|
createTime: 'string',
|
|
186
193
|
description: 'string',
|
|
@@ -197,6 +204,9 @@ export class GetPrivateAccessApplicationResponseBodyApplication extends $dara.Mo
|
|
|
197
204
|
}
|
|
198
205
|
|
|
199
206
|
validate() {
|
|
207
|
+
if(Array.isArray(this.addressGroups)) {
|
|
208
|
+
$dara.Model.validateArray(this.addressGroups);
|
|
209
|
+
}
|
|
200
210
|
if(Array.isArray(this.addresses)) {
|
|
201
211
|
$dara.Model.validateArray(this.addresses);
|
|
202
212
|
}
|
package/src/models/IdpConfig.ts
CHANGED
|
@@ -21,6 +21,7 @@ export class IdpConfig extends $dara.Model {
|
|
|
21
21
|
feishuConfig?: IdpFeishuSubConfig;
|
|
22
22
|
idaasConfig?: IdpIdaas2SubConfig;
|
|
23
23
|
idpConfigId?: string;
|
|
24
|
+
idpId?: number;
|
|
24
25
|
lastSyncTimeUnix?: number;
|
|
25
26
|
ldapConfig?: IdpLdapSubConfig;
|
|
26
27
|
loginConfig?: IdpLoginConfig;
|
|
@@ -41,6 +42,7 @@ export class IdpConfig extends $dara.Model {
|
|
|
41
42
|
feishuConfig: 'FeishuConfig',
|
|
42
43
|
idaasConfig: 'IdaasConfig',
|
|
43
44
|
idpConfigId: 'IdpConfigId',
|
|
45
|
+
idpId: 'IdpId',
|
|
44
46
|
lastSyncTimeUnix: 'LastSyncTimeUnix',
|
|
45
47
|
ldapConfig: 'LdapConfig',
|
|
46
48
|
loginConfig: 'LoginConfig',
|
|
@@ -64,6 +66,7 @@ export class IdpConfig extends $dara.Model {
|
|
|
64
66
|
feishuConfig: IdpFeishuSubConfig,
|
|
65
67
|
idaasConfig: IdpIdaas2SubConfig,
|
|
66
68
|
idpConfigId: 'string',
|
|
69
|
+
idpId: 'number',
|
|
67
70
|
lastSyncTimeUnix: 'number',
|
|
68
71
|
ldapConfig: IdpLdapSubConfig,
|
|
69
72
|
loginConfig: IdpLoginConfig,
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { AddressGroup } from "./AddressGroup";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class ListPrivateAccessApplicationsResponseBodyApplicationsPortRanges extends $dara.Model {
|
|
@@ -37,6 +38,7 @@ export class ListPrivateAccessApplicationsResponseBodyApplicationsPortRanges ext
|
|
|
37
38
|
}
|
|
38
39
|
|
|
39
40
|
export class ListPrivateAccessApplicationsResponseBodyApplications extends $dara.Model {
|
|
41
|
+
addressGroups?: AddressGroup[];
|
|
40
42
|
addresses?: string[];
|
|
41
43
|
/**
|
|
42
44
|
* @example
|
|
@@ -45,6 +47,7 @@ export class ListPrivateAccessApplicationsResponseBodyApplications extends $dara
|
|
|
45
47
|
applicationId?: string;
|
|
46
48
|
autoGenerated?: number;
|
|
47
49
|
browserAccessStatus?: string;
|
|
50
|
+
configMode?: string;
|
|
48
51
|
connectorIds?: string[];
|
|
49
52
|
/**
|
|
50
53
|
* @example
|
|
@@ -74,10 +77,12 @@ export class ListPrivateAccessApplicationsResponseBodyApplications extends $dara
|
|
|
74
77
|
tagIds?: string[];
|
|
75
78
|
static names(): { [key: string]: string } {
|
|
76
79
|
return {
|
|
80
|
+
addressGroups: 'AddressGroups',
|
|
77
81
|
addresses: 'Addresses',
|
|
78
82
|
applicationId: 'ApplicationId',
|
|
79
83
|
autoGenerated: 'AutoGenerated',
|
|
80
84
|
browserAccessStatus: 'BrowserAccessStatus',
|
|
85
|
+
configMode: 'ConfigMode',
|
|
81
86
|
connectorIds: 'ConnectorIds',
|
|
82
87
|
createTime: 'CreateTime',
|
|
83
88
|
description: 'Description',
|
|
@@ -94,10 +99,12 @@ export class ListPrivateAccessApplicationsResponseBodyApplications extends $dara
|
|
|
94
99
|
|
|
95
100
|
static types(): { [key: string]: any } {
|
|
96
101
|
return {
|
|
102
|
+
addressGroups: { 'type': 'array', 'itemType': AddressGroup },
|
|
97
103
|
addresses: { 'type': 'array', 'itemType': 'string' },
|
|
98
104
|
applicationId: 'string',
|
|
99
105
|
autoGenerated: 'number',
|
|
100
106
|
browserAccessStatus: 'string',
|
|
107
|
+
configMode: 'string',
|
|
101
108
|
connectorIds: { 'type': 'array', 'itemType': 'string' },
|
|
102
109
|
createTime: 'string',
|
|
103
110
|
description: 'string',
|
|
@@ -113,6 +120,9 @@ export class ListPrivateAccessApplicationsResponseBodyApplications extends $dara
|
|
|
113
120
|
}
|
|
114
121
|
|
|
115
122
|
validate() {
|
|
123
|
+
if(Array.isArray(this.addressGroups)) {
|
|
124
|
+
$dara.Model.validateArray(this.addressGroups);
|
|
125
|
+
}
|
|
116
126
|
if(Array.isArray(this.addresses)) {
|
|
117
127
|
$dara.Model.validateArray(this.addresses);
|
|
118
128
|
}
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ListUserApplicationsRequest extends $dara.Model {
|
|
6
|
+
address?: string;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* This parameter is required.
|
|
@@ -34,6 +35,7 @@ export class ListUserApplicationsRequest extends $dara.Model {
|
|
|
34
35
|
saseUserId?: string;
|
|
35
36
|
static names(): { [key: string]: string } {
|
|
36
37
|
return {
|
|
38
|
+
address: 'Address',
|
|
37
39
|
currentPage: 'CurrentPage',
|
|
38
40
|
name: 'Name',
|
|
39
41
|
pageSize: 'PageSize',
|
|
@@ -43,6 +45,7 @@ export class ListUserApplicationsRequest extends $dara.Model {
|
|
|
43
45
|
|
|
44
46
|
static types(): { [key: string]: any } {
|
|
45
47
|
return {
|
|
48
|
+
address: 'string',
|
|
46
49
|
currentPage: 'number',
|
|
47
50
|
name: 'string',
|
|
48
51
|
pageSize: 'number',
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { AddressGroup } from "./AddressGroup";
|
|
3
4
|
|
|
4
5
|
|
|
5
6
|
export class ListUserApplicationsResponseBodyApplicationsPortRanges extends $dara.Model {
|
|
@@ -42,12 +43,14 @@ export class ListUserApplicationsResponseBodyApplications extends $dara.Model {
|
|
|
42
43
|
* Block
|
|
43
44
|
*/
|
|
44
45
|
action?: string;
|
|
46
|
+
addressGroups?: AddressGroup[];
|
|
45
47
|
addresses?: string[];
|
|
46
48
|
/**
|
|
47
49
|
* @example
|
|
48
50
|
* pa-application-b927baf3e592****
|
|
49
51
|
*/
|
|
50
52
|
applicationId?: string;
|
|
53
|
+
configMode?: string;
|
|
51
54
|
/**
|
|
52
55
|
* @example
|
|
53
56
|
* private_access_application_name
|
|
@@ -62,8 +65,10 @@ export class ListUserApplicationsResponseBodyApplications extends $dara.Model {
|
|
|
62
65
|
static names(): { [key: string]: string } {
|
|
63
66
|
return {
|
|
64
67
|
action: 'Action',
|
|
68
|
+
addressGroups: 'AddressGroups',
|
|
65
69
|
addresses: 'Addresses',
|
|
66
70
|
applicationId: 'ApplicationId',
|
|
71
|
+
configMode: 'ConfigMode',
|
|
67
72
|
name: 'Name',
|
|
68
73
|
portRanges: 'PortRanges',
|
|
69
74
|
protocol: 'Protocol',
|
|
@@ -73,8 +78,10 @@ export class ListUserApplicationsResponseBodyApplications extends $dara.Model {
|
|
|
73
78
|
static types(): { [key: string]: any } {
|
|
74
79
|
return {
|
|
75
80
|
action: 'string',
|
|
81
|
+
addressGroups: { 'type': 'array', 'itemType': AddressGroup },
|
|
76
82
|
addresses: { 'type': 'array', 'itemType': 'string' },
|
|
77
83
|
applicationId: 'string',
|
|
84
|
+
configMode: 'string',
|
|
78
85
|
name: 'string',
|
|
79
86
|
portRanges: { 'type': 'array', 'itemType': ListUserApplicationsResponseBodyApplicationsPortRanges },
|
|
80
87
|
protocol: 'string',
|
|
@@ -82,6 +89,9 @@ export class ListUserApplicationsResponseBodyApplications extends $dara.Model {
|
|
|
82
89
|
}
|
|
83
90
|
|
|
84
91
|
validate() {
|
|
92
|
+
if(Array.isArray(this.addressGroups)) {
|
|
93
|
+
$dara.Model.validateArray(this.addressGroups);
|
|
94
|
+
}
|
|
85
95
|
if(Array.isArray(this.addresses)) {
|
|
86
96
|
$dara.Model.validateArray(this.addresses);
|
|
87
97
|
}
|
|
@@ -4,13 +4,17 @@ import * as $dara from '@darabonba/typescript';
|
|
|
4
4
|
|
|
5
5
|
export class OpenStructSaseDepartment extends $dara.Model {
|
|
6
6
|
departmentId?: string;
|
|
7
|
+
fullDepartmentIdPath?: string;
|
|
7
8
|
fullDn?: string;
|
|
9
|
+
idpId?: number;
|
|
8
10
|
name?: string;
|
|
9
11
|
parentDepartmentId?: string;
|
|
10
12
|
static names(): { [key: string]: string } {
|
|
11
13
|
return {
|
|
12
14
|
departmentId: 'DepartmentId',
|
|
15
|
+
fullDepartmentIdPath: 'FullDepartmentIdPath',
|
|
13
16
|
fullDn: 'FullDn',
|
|
17
|
+
idpId: 'IdpId',
|
|
14
18
|
name: 'Name',
|
|
15
19
|
parentDepartmentId: 'ParentDepartmentId',
|
|
16
20
|
};
|
|
@@ -19,7 +23,9 @@ export class OpenStructSaseDepartment extends $dara.Model {
|
|
|
19
23
|
static types(): { [key: string]: any } {
|
|
20
24
|
return {
|
|
21
25
|
departmentId: 'string',
|
|
26
|
+
fullDepartmentIdPath: 'string',
|
|
22
27
|
fullDn: 'string',
|
|
28
|
+
idpId: 'number',
|
|
23
29
|
name: 'string',
|
|
24
30
|
parentDepartmentId: 'string',
|
|
25
31
|
};
|
package/src/models/Pal7config.ts
CHANGED
|
@@ -38,6 +38,10 @@ export class PAL7ConfigBypassConfigUrlBypassRules extends $dara.Model {
|
|
|
38
38
|
|
|
39
39
|
export class PAL7ConfigBypassConfig extends $dara.Model {
|
|
40
40
|
appBypassFroms?: string[];
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* disabled
|
|
44
|
+
*/
|
|
41
45
|
mode?: string;
|
|
42
46
|
urlBypassRules?: PAL7ConfigBypassConfigUrlBypassRules[];
|
|
43
47
|
static names(): { [key: string]: string } {
|
|
@@ -98,6 +102,10 @@ export class PAL7ConfigDnsConfig extends $dara.Model {
|
|
|
98
102
|
}
|
|
99
103
|
|
|
100
104
|
export class PAL7ConfigJsHookConfig extends $dara.Model {
|
|
105
|
+
/**
|
|
106
|
+
* @example
|
|
107
|
+
* disabled
|
|
108
|
+
*/
|
|
101
109
|
mode?: string;
|
|
102
110
|
replaceRules?: PAL7ConfigReplaceRule[];
|
|
103
111
|
static names(): { [key: string]: string } {
|
|
@@ -205,6 +213,10 @@ export class PAL7ConfigResponseHeaderRewriteConfig extends $dara.Model {
|
|
|
205
213
|
}
|
|
206
214
|
|
|
207
215
|
export class PAL7ConfigResponseRewriteConfig extends $dara.Model {
|
|
216
|
+
/**
|
|
217
|
+
* @example
|
|
218
|
+
* auto
|
|
219
|
+
*/
|
|
208
220
|
mode?: string;
|
|
209
221
|
replaceRules?: PAL7ConfigReplaceRule[];
|
|
210
222
|
static names(): { [key: string]: string } {
|
|
@@ -235,12 +247,16 @@ export class PAL7ConfigResponseRewriteConfig extends $dara.Model {
|
|
|
235
247
|
|
|
236
248
|
export class PAL7Config extends $dara.Model {
|
|
237
249
|
bypassConfig?: PAL7ConfigBypassConfig;
|
|
250
|
+
/**
|
|
251
|
+
* @example
|
|
252
|
+
* cert-xxxx
|
|
253
|
+
*/
|
|
238
254
|
certId?: string;
|
|
239
255
|
dnsConfig?: PAL7ConfigDnsConfig;
|
|
240
256
|
jsHookConfig?: PAL7ConfigJsHookConfig;
|
|
241
257
|
/**
|
|
242
258
|
* @example
|
|
243
|
-
*
|
|
259
|
+
* automatic
|
|
244
260
|
*/
|
|
245
261
|
proxyDomainTypes?: Buffer;
|
|
246
262
|
requestHeaderRewriteConfig?: PAL7ConfigRequestHeaderRewriteConfig;
|
|
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class PAL7ConfigReplaceRule extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @example
|
|
8
|
-
*
|
|
8
|
+
* before
|
|
9
9
|
*/
|
|
10
10
|
from?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @example
|
|
13
|
-
*
|
|
13
|
+
* after
|
|
14
14
|
*/
|
|
15
15
|
to?: string;
|
|
16
16
|
static names(): { [key: string]: string } {
|
|
@@ -3,14 +3,30 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class PAL7ConfigRewriteOp extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* X-Test-Param
|
|
9
|
+
*/
|
|
6
10
|
key?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* old_value
|
|
14
|
+
*/
|
|
7
15
|
oldValue?: string;
|
|
8
16
|
/**
|
|
9
17
|
* @example
|
|
10
|
-
* add
|
|
18
|
+
* add
|
|
11
19
|
*/
|
|
12
20
|
op?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* new_value
|
|
24
|
+
*/
|
|
13
25
|
value?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* sase_app_name
|
|
29
|
+
*/
|
|
14
30
|
valueVariable?: string;
|
|
15
31
|
static names(): { [key: string]: string } {
|
|
16
32
|
return {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
// This file is auto-generated, don't edit it
|
|
2
2
|
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { AddressGroup } from "./AddressGroup";
|
|
3
4
|
import { PAL7Config } from "./Pal7config";
|
|
4
5
|
|
|
5
6
|
|
|
@@ -44,6 +45,7 @@ export class UpdatePrivateAccessApplicationRequestPortRanges extends $dara.Model
|
|
|
44
45
|
}
|
|
45
46
|
|
|
46
47
|
export class UpdatePrivateAccessApplicationRequest extends $dara.Model {
|
|
48
|
+
addressGroups?: AddressGroup[];
|
|
47
49
|
/**
|
|
48
50
|
* @remarks
|
|
49
51
|
* The addresses of the office applications. You can enter up to 1,000 addresses of office applications.
|
|
@@ -62,6 +64,7 @@ export class UpdatePrivateAccessApplicationRequest extends $dara.Model {
|
|
|
62
64
|
* pa-application-e12860ef6c48****
|
|
63
65
|
*/
|
|
64
66
|
applicationId?: string;
|
|
67
|
+
configMode?: string;
|
|
65
68
|
/**
|
|
66
69
|
* @remarks
|
|
67
70
|
* The description of the office application. The value must be 1 to 128 characters in length and can contain letters, digits, periods (.), underscores (_), hyphens (-), and spaces.
|
|
@@ -112,6 +115,7 @@ export class UpdatePrivateAccessApplicationRequest extends $dara.Model {
|
|
|
112
115
|
* Cover
|
|
113
116
|
*/
|
|
114
117
|
modifyType?: string;
|
|
118
|
+
name?: string;
|
|
115
119
|
/**
|
|
116
120
|
* @remarks
|
|
117
121
|
* The port ranges of the office applications. You can enter up to 65,535 port ranges. Multiple port ranges cannot be duplicated or overlapped.
|
|
@@ -150,14 +154,17 @@ export class UpdatePrivateAccessApplicationRequest extends $dara.Model {
|
|
|
150
154
|
tagIds?: string[];
|
|
151
155
|
static names(): { [key: string]: string } {
|
|
152
156
|
return {
|
|
157
|
+
addressGroups: 'AddressGroups',
|
|
153
158
|
addresses: 'Addresses',
|
|
154
159
|
applicationId: 'ApplicationId',
|
|
160
|
+
configMode: 'ConfigMode',
|
|
155
161
|
description: 'Description',
|
|
156
162
|
l7Config: 'L7Config',
|
|
157
163
|
l7ProxyDomainAutomaticPrefix: 'L7ProxyDomainAutomaticPrefix',
|
|
158
164
|
l7ProxyDomainCustom: 'L7ProxyDomainCustom',
|
|
159
165
|
l7ProxyDomainPrivate: 'L7ProxyDomainPrivate',
|
|
160
166
|
modifyType: 'ModifyType',
|
|
167
|
+
name: 'Name',
|
|
161
168
|
portRanges: 'PortRanges',
|
|
162
169
|
protocol: 'Protocol',
|
|
163
170
|
status: 'Status',
|
|
@@ -167,14 +174,17 @@ export class UpdatePrivateAccessApplicationRequest extends $dara.Model {
|
|
|
167
174
|
|
|
168
175
|
static types(): { [key: string]: any } {
|
|
169
176
|
return {
|
|
177
|
+
addressGroups: { 'type': 'array', 'itemType': AddressGroup },
|
|
170
178
|
addresses: { 'type': 'array', 'itemType': 'string' },
|
|
171
179
|
applicationId: 'string',
|
|
180
|
+
configMode: 'string',
|
|
172
181
|
description: 'string',
|
|
173
182
|
l7Config: PAL7Config,
|
|
174
183
|
l7ProxyDomainAutomaticPrefix: 'string',
|
|
175
184
|
l7ProxyDomainCustom: 'string',
|
|
176
185
|
l7ProxyDomainPrivate: 'string',
|
|
177
186
|
modifyType: 'string',
|
|
187
|
+
name: 'string',
|
|
178
188
|
portRanges: { 'type': 'array', 'itemType': UpdatePrivateAccessApplicationRequestPortRanges },
|
|
179
189
|
protocol: 'string',
|
|
180
190
|
status: 'string',
|
|
@@ -183,6 +193,9 @@ export class UpdatePrivateAccessApplicationRequest extends $dara.Model {
|
|
|
183
193
|
}
|
|
184
194
|
|
|
185
195
|
validate() {
|
|
196
|
+
if(Array.isArray(this.addressGroups)) {
|
|
197
|
+
$dara.Model.validateArray(this.addressGroups);
|
|
198
|
+
}
|
|
186
199
|
if(Array.isArray(this.addresses)) {
|
|
187
200
|
$dara.Model.validateArray(this.addresses);
|
|
188
201
|
}
|