@alicloud/eiam20211201 2.15.2 → 2.15.4
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.js +18 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApplicationRequest.d.ts +30 -0
- package/dist/models/CreateApplicationRequest.js +59 -1
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateCloudAccountRequest.d.ts +1 -0
- package/dist/models/CreateCloudAccountRequest.js +2 -0
- package/dist/models/CreateCloudAccountRequest.js.map +1 -1
- package/dist/models/GetApplicationResponseBody.d.ts +30 -0
- package/dist/models/GetApplicationResponseBody.js +59 -1
- package/dist/models/GetApplicationResponseBody.js.map +1 -1
- package/dist/models/ListApplicationsRequest.d.ts +15 -0
- package/dist/models/ListApplicationsRequest.js +27 -1
- package/dist/models/ListApplicationsRequest.js.map +1 -1
- package/dist/models/UpdateApplicationInfoRequest.d.ts +31 -2
- package/dist/models/UpdateApplicationInfoRequest.js +61 -1
- package/dist/models/UpdateApplicationInfoRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +53 -39
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +24 -0
- package/src/models/CreateApplicationRequest.ts +70 -0
- package/src/models/CreateCloudAccountRequest.ts +3 -0
- package/src/models/GetApplicationResponseBody.ts +70 -0
- package/src/models/ListApplicationsRequest.ts +32 -0
- package/src/models/UpdateApplicationInfoRequest.ts +73 -2
- package/src/models/model.ts +7 -0
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class CreateApplicationRequestApplicationOwner extends $dara.Model {
|
|
3
|
+
groupIds?: string[];
|
|
4
|
+
userIds?: string[];
|
|
5
|
+
static names(): {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
static types(): {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
validate(): void;
|
|
12
|
+
constructor(map?: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export declare class CreateApplicationRequestCustomFields extends $dara.Model {
|
|
17
|
+
fieldName?: string;
|
|
18
|
+
fieldValue?: string;
|
|
19
|
+
static names(): {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
22
|
+
static types(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
validate(): void;
|
|
26
|
+
constructor(map?: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
2
30
|
export declare class CreateApplicationRequest extends $dara.Model {
|
|
3
31
|
/**
|
|
4
32
|
* @example
|
|
@@ -15,6 +43,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
15
43
|
* Ram Account SSO
|
|
16
44
|
*/
|
|
17
45
|
applicationName?: string;
|
|
46
|
+
applicationOwner?: CreateApplicationRequestApplicationOwner;
|
|
18
47
|
/**
|
|
19
48
|
* @remarks
|
|
20
49
|
* The type of the application source. Valid values:
|
|
@@ -36,6 +65,7 @@ export declare class CreateApplicationRequest extends $dara.Model {
|
|
|
36
65
|
* template_cloud_ram
|
|
37
66
|
*/
|
|
38
67
|
applicationTemplateId?: string;
|
|
68
|
+
customFields?: CreateApplicationRequestCustomFields[];
|
|
39
69
|
/**
|
|
40
70
|
* @remarks
|
|
41
71
|
* The description of the application.
|
|
@@ -33,16 +33,66 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.CreateApplicationRequest = void 0;
|
|
36
|
+
exports.CreateApplicationRequest = exports.CreateApplicationRequestCustomFields = exports.CreateApplicationRequestApplicationOwner = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class CreateApplicationRequestApplicationOwner extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
groupIds: 'GroupIds',
|
|
43
|
+
userIds: 'UserIds',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
groupIds: { 'type': 'array', 'itemType': 'string' },
|
|
49
|
+
userIds: { 'type': 'array', 'itemType': 'string' },
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
if (Array.isArray(this.groupIds)) {
|
|
54
|
+
$dara.Model.validateArray(this.groupIds);
|
|
55
|
+
}
|
|
56
|
+
if (Array.isArray(this.userIds)) {
|
|
57
|
+
$dara.Model.validateArray(this.userIds);
|
|
58
|
+
}
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
constructor(map) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.CreateApplicationRequestApplicationOwner = CreateApplicationRequestApplicationOwner;
|
|
66
|
+
class CreateApplicationRequestCustomFields extends $dara.Model {
|
|
67
|
+
static names() {
|
|
68
|
+
return {
|
|
69
|
+
fieldName: 'FieldName',
|
|
70
|
+
fieldValue: 'FieldValue',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
static types() {
|
|
74
|
+
return {
|
|
75
|
+
fieldName: 'string',
|
|
76
|
+
fieldValue: 'string',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
validate() {
|
|
80
|
+
super.validate();
|
|
81
|
+
}
|
|
82
|
+
constructor(map) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.CreateApplicationRequestCustomFields = CreateApplicationRequestCustomFields;
|
|
39
87
|
class CreateApplicationRequest extends $dara.Model {
|
|
40
88
|
static names() {
|
|
41
89
|
return {
|
|
42
90
|
applicationIdentityType: 'ApplicationIdentityType',
|
|
43
91
|
applicationName: 'ApplicationName',
|
|
92
|
+
applicationOwner: 'ApplicationOwner',
|
|
44
93
|
applicationSourceType: 'ApplicationSourceType',
|
|
45
94
|
applicationTemplateId: 'ApplicationTemplateId',
|
|
95
|
+
customFields: 'CustomFields',
|
|
46
96
|
description: 'Description',
|
|
47
97
|
instanceId: 'InstanceId',
|
|
48
98
|
logoUrl: 'LogoUrl',
|
|
@@ -53,8 +103,10 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
53
103
|
return {
|
|
54
104
|
applicationIdentityType: 'string',
|
|
55
105
|
applicationName: 'string',
|
|
106
|
+
applicationOwner: CreateApplicationRequestApplicationOwner,
|
|
56
107
|
applicationSourceType: 'string',
|
|
57
108
|
applicationTemplateId: 'string',
|
|
109
|
+
customFields: { 'type': 'array', 'itemType': CreateApplicationRequestCustomFields },
|
|
58
110
|
description: 'string',
|
|
59
111
|
instanceId: 'string',
|
|
60
112
|
logoUrl: 'string',
|
|
@@ -62,6 +114,12 @@ class CreateApplicationRequest extends $dara.Model {
|
|
|
62
114
|
};
|
|
63
115
|
}
|
|
64
116
|
validate() {
|
|
117
|
+
if (this.applicationOwner && typeof this.applicationOwner.validate === 'function') {
|
|
118
|
+
this.applicationOwner.validate();
|
|
119
|
+
}
|
|
120
|
+
if (Array.isArray(this.customFields)) {
|
|
121
|
+
$dara.Model.validateArray(this.customFields);
|
|
122
|
+
}
|
|
65
123
|
super.validate();
|
|
66
124
|
}
|
|
67
125
|
constructor(map) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateApplicationRequest.js","sourceRoot":"","sources":["../../src/models/CreateApplicationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateApplicationRequest.js","sourceRoot":"","sources":["../../src/models/CreateApplicationRequest.ts"],"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AAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzHD,4DAyHC"}
|
|
@@ -43,6 +43,7 @@ class CreateCloudAccountRequest extends $dara.Model {
|
|
|
43
43
|
cloudAccountExternalId: 'CloudAccountExternalId',
|
|
44
44
|
cloudAccountName: 'CloudAccountName',
|
|
45
45
|
cloudAccountProviderName: 'CloudAccountProviderName',
|
|
46
|
+
cloudAccountSite: 'CloudAccountSite',
|
|
46
47
|
cloudAccountVendorType: 'CloudAccountVendorType',
|
|
47
48
|
description: 'Description',
|
|
48
49
|
instanceId: 'InstanceId',
|
|
@@ -54,6 +55,7 @@ class CreateCloudAccountRequest extends $dara.Model {
|
|
|
54
55
|
cloudAccountExternalId: 'string',
|
|
55
56
|
cloudAccountName: 'string',
|
|
56
57
|
cloudAccountProviderName: 'string',
|
|
58
|
+
cloudAccountSite: 'string',
|
|
57
59
|
cloudAccountVendorType: 'string',
|
|
58
60
|
description: 'string',
|
|
59
61
|
instanceId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCloudAccountRequest.js","sourceRoot":"","sources":["../../src/models/CreateCloudAccountRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateCloudAccountRequest.js","sourceRoot":"","sources":["../../src/models/CreateCloudAccountRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IA6DxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,sBAAsB,EAAE,wBAAwB;YAChD,gBAAgB,EAAE,kBAAkB;YACpC,wBAAwB,EAAE,0BAA0B;YACpD,gBAAgB,EAAE,kBAAkB;YACpC,sBAAsB,EAAE,wBAAwB;YAChD,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,sBAAsB,EAAE,QAAQ;YAChC,gBAAgB,EAAE,QAAQ;YAC1B,wBAAwB,EAAE,QAAQ;YAClC,gBAAgB,EAAE,QAAQ;YAC1B,sBAAsB,EAAE,QAAQ;YAChC,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9FD,8DA8FC"}
|
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class GetApplicationResponseBodyApplicationApplicationOwner extends $dara.Model {
|
|
3
|
+
groupIds?: string[];
|
|
4
|
+
userIds?: string[];
|
|
5
|
+
static names(): {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
static types(): {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
validate(): void;
|
|
12
|
+
constructor(map?: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export declare class GetApplicationResponseBodyApplicationCustomFields extends $dara.Model {
|
|
17
|
+
fieldName?: string;
|
|
18
|
+
fieldValue?: string;
|
|
19
|
+
static names(): {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
22
|
+
static types(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
validate(): void;
|
|
26
|
+
constructor(map?: {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
});
|
|
29
|
+
}
|
|
2
30
|
export declare class GetApplicationResponseBodyApplication extends $dara.Model {
|
|
3
31
|
/**
|
|
4
32
|
* @remarks
|
|
@@ -33,6 +61,7 @@ export declare class GetApplicationResponseBodyApplication extends $dara.Model {
|
|
|
33
61
|
* SAML Application
|
|
34
62
|
*/
|
|
35
63
|
applicationName?: string;
|
|
64
|
+
applicationOwner?: GetApplicationResponseBodyApplicationApplicationOwner;
|
|
36
65
|
/**
|
|
37
66
|
* @remarks
|
|
38
67
|
* The origin of the application. Valid values:
|
|
@@ -84,6 +113,7 @@ export declare class GetApplicationResponseBodyApplication extends $dara.Model {
|
|
|
84
113
|
* 1649830226000
|
|
85
114
|
*/
|
|
86
115
|
createTime?: number;
|
|
116
|
+
customFields?: GetApplicationResponseBodyApplicationCustomFields[];
|
|
87
117
|
customSubjectStatus?: string;
|
|
88
118
|
/**
|
|
89
119
|
* @remarks
|
|
@@ -33,9 +33,57 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.GetApplicationResponseBody = exports.GetApplicationResponseBodyApplication = void 0;
|
|
36
|
+
exports.GetApplicationResponseBody = exports.GetApplicationResponseBodyApplication = exports.GetApplicationResponseBodyApplicationCustomFields = exports.GetApplicationResponseBodyApplicationApplicationOwner = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class GetApplicationResponseBodyApplicationApplicationOwner extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
groupIds: 'GroupIds',
|
|
43
|
+
userIds: 'UserIds',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
groupIds: { 'type': 'array', 'itemType': 'string' },
|
|
49
|
+
userIds: { 'type': 'array', 'itemType': 'string' },
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
if (Array.isArray(this.groupIds)) {
|
|
54
|
+
$dara.Model.validateArray(this.groupIds);
|
|
55
|
+
}
|
|
56
|
+
if (Array.isArray(this.userIds)) {
|
|
57
|
+
$dara.Model.validateArray(this.userIds);
|
|
58
|
+
}
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
constructor(map) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.GetApplicationResponseBodyApplicationApplicationOwner = GetApplicationResponseBodyApplicationApplicationOwner;
|
|
66
|
+
class GetApplicationResponseBodyApplicationCustomFields extends $dara.Model {
|
|
67
|
+
static names() {
|
|
68
|
+
return {
|
|
69
|
+
fieldName: 'FieldName',
|
|
70
|
+
fieldValue: 'FieldValue',
|
|
71
|
+
};
|
|
72
|
+
}
|
|
73
|
+
static types() {
|
|
74
|
+
return {
|
|
75
|
+
fieldName: 'string',
|
|
76
|
+
fieldValue: 'string',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
validate() {
|
|
80
|
+
super.validate();
|
|
81
|
+
}
|
|
82
|
+
constructor(map) {
|
|
83
|
+
super(map);
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
exports.GetApplicationResponseBodyApplicationCustomFields = GetApplicationResponseBodyApplicationCustomFields;
|
|
39
87
|
class GetApplicationResponseBodyApplication extends $dara.Model {
|
|
40
88
|
static names() {
|
|
41
89
|
return {
|
|
@@ -44,12 +92,14 @@ class GetApplicationResponseBodyApplication extends $dara.Model {
|
|
|
44
92
|
applicationId: 'ApplicationId',
|
|
45
93
|
applicationIdentityType: 'ApplicationIdentityType',
|
|
46
94
|
applicationName: 'ApplicationName',
|
|
95
|
+
applicationOwner: 'ApplicationOwner',
|
|
47
96
|
applicationSourceType: 'ApplicationSourceType',
|
|
48
97
|
applicationTemplateId: 'ApplicationTemplateId',
|
|
49
98
|
applicationVisibility: 'ApplicationVisibility',
|
|
50
99
|
authorizationType: 'AuthorizationType',
|
|
51
100
|
clientId: 'ClientId',
|
|
52
101
|
createTime: 'CreateTime',
|
|
102
|
+
customFields: 'CustomFields',
|
|
53
103
|
customSubjectStatus: 'CustomSubjectStatus',
|
|
54
104
|
description: 'Description',
|
|
55
105
|
features: 'Features',
|
|
@@ -73,12 +123,14 @@ class GetApplicationResponseBodyApplication extends $dara.Model {
|
|
|
73
123
|
applicationId: 'string',
|
|
74
124
|
applicationIdentityType: 'string',
|
|
75
125
|
applicationName: 'string',
|
|
126
|
+
applicationOwner: GetApplicationResponseBodyApplicationApplicationOwner,
|
|
76
127
|
applicationSourceType: 'string',
|
|
77
128
|
applicationTemplateId: 'string',
|
|
78
129
|
applicationVisibility: { 'type': 'array', 'itemType': 'string' },
|
|
79
130
|
authorizationType: 'string',
|
|
80
131
|
clientId: 'string',
|
|
81
132
|
createTime: 'number',
|
|
133
|
+
customFields: { 'type': 'array', 'itemType': GetApplicationResponseBodyApplicationCustomFields },
|
|
82
134
|
customSubjectStatus: 'string',
|
|
83
135
|
description: 'string',
|
|
84
136
|
features: 'string',
|
|
@@ -96,9 +148,15 @@ class GetApplicationResponseBodyApplication extends $dara.Model {
|
|
|
96
148
|
};
|
|
97
149
|
}
|
|
98
150
|
validate() {
|
|
151
|
+
if (this.applicationOwner && typeof this.applicationOwner.validate === 'function') {
|
|
152
|
+
this.applicationOwner.validate();
|
|
153
|
+
}
|
|
99
154
|
if (Array.isArray(this.applicationVisibility)) {
|
|
100
155
|
$dara.Model.validateArray(this.applicationVisibility);
|
|
101
156
|
}
|
|
157
|
+
if (Array.isArray(this.customFields)) {
|
|
158
|
+
$dara.Model.validateArray(this.customFields);
|
|
159
|
+
}
|
|
102
160
|
super.validate();
|
|
103
161
|
}
|
|
104
162
|
constructor(map) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetApplicationResponseBody.js","sourceRoot":"","sources":["../../src/models/GetApplicationResponseBody.ts"],"names":[],"mappings":";;;;;;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CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvRD,sFAuRC;AAED,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAczD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,qCAAqC;YAClD,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,WAAW,IAAI,OAAQ,IAAI,CAAC,WAAmB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC/E,IAAI,CAAC,WAAmB,CAAC,QAAQ,EAAE,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,gEAsCC"}
|
|
@@ -1,4 +1,18 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class ListApplicationsRequestCustomFields extends $dara.Model {
|
|
3
|
+
fieldName?: string;
|
|
4
|
+
fieldValue?: string;
|
|
5
|
+
static names(): {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
static types(): {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
validate(): void;
|
|
12
|
+
constructor(map?: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
});
|
|
15
|
+
}
|
|
2
16
|
export declare class ListApplicationsRequest extends $dara.Model {
|
|
3
17
|
/**
|
|
4
18
|
* @example
|
|
@@ -37,6 +51,7 @@ export declare class ListApplicationsRequest extends $dara.Model {
|
|
|
37
51
|
* authorize_required
|
|
38
52
|
*/
|
|
39
53
|
authorizationType?: string;
|
|
54
|
+
customFields?: ListApplicationsRequestCustomFields[];
|
|
40
55
|
/**
|
|
41
56
|
* @remarks
|
|
42
57
|
* The ID of the instance.
|
|
@@ -33,9 +33,30 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.ListApplicationsRequest = void 0;
|
|
36
|
+
exports.ListApplicationsRequest = exports.ListApplicationsRequestCustomFields = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class ListApplicationsRequestCustomFields extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
fieldName: 'FieldName',
|
|
43
|
+
fieldValue: 'FieldValue',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
fieldName: 'string',
|
|
49
|
+
fieldValue: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.ListApplicationsRequestCustomFields = ListApplicationsRequestCustomFields;
|
|
39
60
|
class ListApplicationsRequest extends $dara.Model {
|
|
40
61
|
static names() {
|
|
41
62
|
return {
|
|
@@ -44,6 +65,7 @@ class ListApplicationsRequest extends $dara.Model {
|
|
|
44
65
|
applicationIds: 'ApplicationIds',
|
|
45
66
|
applicationName: 'ApplicationName',
|
|
46
67
|
authorizationType: 'AuthorizationType',
|
|
68
|
+
customFields: 'CustomFields',
|
|
47
69
|
instanceId: 'InstanceId',
|
|
48
70
|
m2MClientStatus: 'M2MClientStatus',
|
|
49
71
|
pageNumber: 'PageNumber',
|
|
@@ -60,6 +82,7 @@ class ListApplicationsRequest extends $dara.Model {
|
|
|
60
82
|
applicationIds: { 'type': 'array', 'itemType': 'string' },
|
|
61
83
|
applicationName: 'string',
|
|
62
84
|
authorizationType: 'string',
|
|
85
|
+
customFields: { 'type': 'array', 'itemType': ListApplicationsRequestCustomFields },
|
|
63
86
|
instanceId: 'string',
|
|
64
87
|
m2MClientStatus: 'string',
|
|
65
88
|
pageNumber: 'number',
|
|
@@ -73,6 +96,9 @@ class ListApplicationsRequest extends $dara.Model {
|
|
|
73
96
|
if (Array.isArray(this.applicationIds)) {
|
|
74
97
|
$dara.Model.validateArray(this.applicationIds);
|
|
75
98
|
}
|
|
99
|
+
if (Array.isArray(this.customFields)) {
|
|
100
|
+
$dara.Model.validateArray(this.customFields);
|
|
101
|
+
}
|
|
76
102
|
super.validate();
|
|
77
103
|
}
|
|
78
104
|
constructor(map) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListApplicationsRequest.js","sourceRoot":"","sources":["../../src/models/ListApplicationsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"ListApplicationsRequest.js","sourceRoot":"","sources":["../../src/models/ListApplicationsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAGlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAA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AAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;YACpC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5JD,0DA4JC"}
|
|
@@ -1,4 +1,33 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class UpdateApplicationInfoRequestApplicationOwner extends $dara.Model {
|
|
3
|
+
groupIds?: string[];
|
|
4
|
+
userIds?: string[];
|
|
5
|
+
static names(): {
|
|
6
|
+
[key: string]: string;
|
|
7
|
+
};
|
|
8
|
+
static types(): {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
};
|
|
11
|
+
validate(): void;
|
|
12
|
+
constructor(map?: {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
});
|
|
15
|
+
}
|
|
16
|
+
export declare class UpdateApplicationInfoRequestCustomFields extends $dara.Model {
|
|
17
|
+
fieldName?: string;
|
|
18
|
+
fieldValue?: string;
|
|
19
|
+
operation?: string;
|
|
20
|
+
static names(): {
|
|
21
|
+
[key: string]: string;
|
|
22
|
+
};
|
|
23
|
+
static types(): {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
validate(): void;
|
|
27
|
+
constructor(map?: {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
});
|
|
30
|
+
}
|
|
2
31
|
export declare class UpdateApplicationInfoRequest extends $dara.Model {
|
|
3
32
|
/**
|
|
4
33
|
* @remarks
|
|
@@ -14,18 +43,18 @@ export declare class UpdateApplicationInfoRequest extends $dara.Model {
|
|
|
14
43
|
* @remarks
|
|
15
44
|
* 应用的表示名称
|
|
16
45
|
*
|
|
17
|
-
* This parameter is required.
|
|
18
|
-
*
|
|
19
46
|
* @example
|
|
20
47
|
* Ram Account SSO
|
|
21
48
|
*/
|
|
22
49
|
applicationName?: string;
|
|
50
|
+
applicationOwner?: UpdateApplicationInfoRequestApplicationOwner;
|
|
23
51
|
applicationVisibility?: string[];
|
|
24
52
|
/**
|
|
25
53
|
* @example
|
|
26
54
|
* client-token-example
|
|
27
55
|
*/
|
|
28
56
|
clientToken?: string;
|
|
57
|
+
customFields?: UpdateApplicationInfoRequestCustomFields[];
|
|
29
58
|
/**
|
|
30
59
|
* @remarks
|
|
31
60
|
* IDaaS EIAM的实例id
|
|
@@ -33,16 +33,68 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.UpdateApplicationInfoRequest = void 0;
|
|
36
|
+
exports.UpdateApplicationInfoRequest = exports.UpdateApplicationInfoRequestCustomFields = exports.UpdateApplicationInfoRequestApplicationOwner = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class UpdateApplicationInfoRequestApplicationOwner extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
groupIds: 'GroupIds',
|
|
43
|
+
userIds: 'UserIds',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
groupIds: { 'type': 'array', 'itemType': 'string' },
|
|
49
|
+
userIds: { 'type': 'array', 'itemType': 'string' },
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
if (Array.isArray(this.groupIds)) {
|
|
54
|
+
$dara.Model.validateArray(this.groupIds);
|
|
55
|
+
}
|
|
56
|
+
if (Array.isArray(this.userIds)) {
|
|
57
|
+
$dara.Model.validateArray(this.userIds);
|
|
58
|
+
}
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
constructor(map) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.UpdateApplicationInfoRequestApplicationOwner = UpdateApplicationInfoRequestApplicationOwner;
|
|
66
|
+
class UpdateApplicationInfoRequestCustomFields extends $dara.Model {
|
|
67
|
+
static names() {
|
|
68
|
+
return {
|
|
69
|
+
fieldName: 'FieldName',
|
|
70
|
+
fieldValue: 'FieldValue',
|
|
71
|
+
operation: 'Operation',
|
|
72
|
+
};
|
|
73
|
+
}
|
|
74
|
+
static types() {
|
|
75
|
+
return {
|
|
76
|
+
fieldName: 'string',
|
|
77
|
+
fieldValue: 'string',
|
|
78
|
+
operation: 'string',
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
validate() {
|
|
82
|
+
super.validate();
|
|
83
|
+
}
|
|
84
|
+
constructor(map) {
|
|
85
|
+
super(map);
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
exports.UpdateApplicationInfoRequestCustomFields = UpdateApplicationInfoRequestCustomFields;
|
|
39
89
|
class UpdateApplicationInfoRequest extends $dara.Model {
|
|
40
90
|
static names() {
|
|
41
91
|
return {
|
|
42
92
|
applicationId: 'ApplicationId',
|
|
43
93
|
applicationName: 'ApplicationName',
|
|
94
|
+
applicationOwner: 'ApplicationOwner',
|
|
44
95
|
applicationVisibility: 'ApplicationVisibility',
|
|
45
96
|
clientToken: 'ClientToken',
|
|
97
|
+
customFields: 'CustomFields',
|
|
46
98
|
instanceId: 'InstanceId',
|
|
47
99
|
logoUrl: 'LogoUrl',
|
|
48
100
|
};
|
|
@@ -51,16 +103,24 @@ class UpdateApplicationInfoRequest extends $dara.Model {
|
|
|
51
103
|
return {
|
|
52
104
|
applicationId: 'string',
|
|
53
105
|
applicationName: 'string',
|
|
106
|
+
applicationOwner: UpdateApplicationInfoRequestApplicationOwner,
|
|
54
107
|
applicationVisibility: { 'type': 'array', 'itemType': 'string' },
|
|
55
108
|
clientToken: 'string',
|
|
109
|
+
customFields: { 'type': 'array', 'itemType': UpdateApplicationInfoRequestCustomFields },
|
|
56
110
|
instanceId: 'string',
|
|
57
111
|
logoUrl: 'string',
|
|
58
112
|
};
|
|
59
113
|
}
|
|
60
114
|
validate() {
|
|
115
|
+
if (this.applicationOwner && typeof this.applicationOwner.validate === 'function') {
|
|
116
|
+
this.applicationOwner.validate();
|
|
117
|
+
}
|
|
61
118
|
if (Array.isArray(this.applicationVisibility)) {
|
|
62
119
|
$dara.Model.validateArray(this.applicationVisibility);
|
|
63
120
|
}
|
|
121
|
+
if (Array.isArray(this.customFields)) {
|
|
122
|
+
$dara.Model.validateArray(this.customFields);
|
|
123
|
+
}
|
|
64
124
|
super.validate();
|
|
65
125
|
}
|
|
66
126
|
constructor(map) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateApplicationInfoRequest.js","sourceRoot":"","sources":["../../src/models/UpdateApplicationInfoRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IA6C3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,eAAe,EAAE,iBAAiB;YAClC,qBAAqB,EAAE,uBAAuB;YAC9C,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,OAAO,EAAE,SAAS;SACnB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,eAAe,EAAE,QAAQ;YACzB,qBAAqB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAChE,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,OAAO,EAAE,QAAQ;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CA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Q,KAAK,UAAU,EAAE,CAAC;YACzF,IAAI,CAAC,gBAAwB,CAAC,QAAQ,EAAE,CAAC;QAC5C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,qBAAqB,CAAC,EAAE,CAAC;YAC7C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,qBAAqB,CAAC,CAAC;QACxD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;YACpC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvFD,oEAuFC"}
|
package/dist/models/model.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ export { CheckApplicationProvisioningUserPrimaryOrganizationalUnitResponseBodyCh
|
|
|
5
5
|
export { CheckInstanceForDeleteResponseBodyCheckInstanceResultRestrictScenarios } from './CheckInstanceForDeleteResponseBody';
|
|
6
6
|
export { CheckInstanceForDeleteResponseBodyCheckInstanceResult } from './CheckInstanceForDeleteResponseBody';
|
|
7
7
|
export { CheckInstanceModuleStatusResponseBodyModule } from './CheckInstanceModuleStatusResponseBody';
|
|
8
|
+
export { CreateApplicationRequestApplicationOwner } from './CreateApplicationRequest';
|
|
9
|
+
export { CreateApplicationRequestCustomFields } from './CreateApplicationRequest';
|
|
8
10
|
export { CreateApplicationClientSecretResponseBodyApplicationClientSecret } from './CreateApplicationClientSecretResponseBody';
|
|
9
11
|
export { CreateApplicationFederatedCredentialRequestAttributeMappings } from './CreateApplicationFederatedCredentialRequest';
|
|
10
12
|
export { CreateApplicationTokenResponseBodyApplicationTokens } from './CreateApplicationTokenResponseBody';
|
|
@@ -53,6 +55,8 @@ export { ExecIdentityProviderMetadataUrlResolutionResponseBodyIdentityProviderMe
|
|
|
53
55
|
export { ExecIdentityProviderMetadataUrlResolutionResponseBodyIdentityProviderMetadata } from './ExecIdentityProviderMetadataUrlResolutionResponseBody';
|
|
54
56
|
export { GenerateOauthTokenResponseBodyTokenResponse } from './GenerateOauthTokenResponseBody';
|
|
55
57
|
export { GenerateWebAuthnAuthenticatorRegistrationUrlResponseBodyWebAuthnAuthenticatorRegistrationUrl } from './GenerateWebAuthnAuthenticatorRegistrationUrlResponseBody';
|
|
58
|
+
export { GetApplicationResponseBodyApplicationApplicationOwner } from './GetApplicationResponseBody';
|
|
59
|
+
export { GetApplicationResponseBodyApplicationCustomFields } from './GetApplicationResponseBody';
|
|
56
60
|
export { GetApplicationResponseBodyApplication } from './GetApplicationResponseBody';
|
|
57
61
|
export { GetApplicationAdvancedConfigResponseBodyApplicationAdvancedConfigScimServerAdvancedConfig } from './GetApplicationAdvancedConfigResponseBody';
|
|
58
62
|
export { GetApplicationAdvancedConfigResponseBodyApplicationAdvancedConfig } from './GetApplicationAdvancedConfigResponseBody';
|
|
@@ -215,6 +219,7 @@ export { ListApplicationRolesRequestFilter } from './ListApplicationRolesRequest
|
|
|
215
219
|
export { ListApplicationRolesResponseBodyApplicationRoles } from './ListApplicationRolesResponseBody';
|
|
216
220
|
export { ListApplicationSupportedProvisionProtocolTypesResponseBodyApplicationSupportedProvisionProtocolType } from './ListApplicationSupportedProvisionProtocolTypesResponseBody';
|
|
217
221
|
export { ListApplicationTokensResponseBodyApplicationTokens } from './ListApplicationTokensResponseBody';
|
|
222
|
+
export { ListApplicationsRequestCustomFields } from './ListApplicationsRequest';
|
|
218
223
|
export { ListApplicationsResponseBodyApplications } from './ListApplicationsResponseBody';
|
|
219
224
|
export { ListApplicationsForAuthorizationRuleRequestFilter } from './ListApplicationsForAuthorizationRuleRequest';
|
|
220
225
|
export { ListApplicationsForAuthorizationRuleResponseBodyApplicationsValidityPeriod } from './ListApplicationsForAuthorizationRuleResponseBody';
|
|
@@ -404,6 +409,8 @@ export { SetPasswordComplexityConfigurationRequestPasswordComplexityRules } from
|
|
|
404
409
|
export { SetWebAuthnConfigurationRequestAaguids } from './SetWebAuthnConfigurationRequest';
|
|
405
410
|
export { UpdateApplicationAdvancedConfigRequestScimServerAdvancedConfig } from './UpdateApplicationAdvancedConfigRequest';
|
|
406
411
|
export { UpdateApplicationFederatedCredentialRequestAttributeMappings } from './UpdateApplicationFederatedCredentialRequest';
|
|
412
|
+
export { UpdateApplicationInfoRequestApplicationOwner } from './UpdateApplicationInfoRequest';
|
|
413
|
+
export { UpdateApplicationInfoRequestCustomFields } from './UpdateApplicationInfoRequest';
|
|
407
414
|
export { UpdateApplicationSsoFormParamsRequestApplicationTemplateParams } from './UpdateApplicationSsoFormParamsRequest';
|
|
408
415
|
export { UpdateAuthorizationRuleApplicationAttachmentRequestValidityPeriod } from './UpdateAuthorizationRuleApplicationAttachmentRequest';
|
|
409
416
|
export { UpdateAuthorizationRuleGroupAttachmentRequestValidityPeriod } from './UpdateAuthorizationRuleGroupAttachmentRequest';
|