@alicloud/eiam20211201 2.17.4 → 2.17.6
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 +16 -6
- package/dist/client.js.map +1 -1
- package/dist/models/CheckInstanceModuleStatusRequest.d.ts +2 -0
- package/dist/models/CheckInstanceModuleStatusRequest.js +4 -0
- package/dist/models/CheckInstanceModuleStatusRequest.js.map +1 -1
- package/dist/models/CheckInstanceModuleStatusResponseBody.d.ts +1 -1
- package/dist/models/CreateCredentialProviderRequest.d.ts +43 -14
- package/dist/models/CreateCredentialProviderRequest.js +14 -0
- package/dist/models/CreateCredentialProviderRequest.js.map +1 -1
- package/dist/models/GetCredentialProviderResponseBody.d.ts +51 -15
- package/dist/models/GetCredentialProviderResponseBody.js +16 -0
- package/dist/models/GetCredentialProviderResponseBody.js.map +1 -1
- package/dist/models/GetNetworkAccessEndpointRequest.d.ts +1 -1
- package/dist/models/GetNetworkAccessEndpointResponseBody.d.ts +28 -9
- package/dist/models/GetNetworkAccessEndpointResponseBody.js +44 -1
- package/dist/models/GetNetworkAccessEndpointResponseBody.js.map +1 -1
- package/dist/models/ListApplicationsRequest.d.ts +23 -2
- package/dist/models/ListApplicationsRequest.js.map +1 -1
- package/dist/models/ListApplicationsResponseBody.d.ts +2 -2
- package/dist/models/ListCredentialProvidersRequest.d.ts +0 -3
- package/dist/models/ListCredentialProvidersRequest.js.map +1 -1
- package/dist/models/ListCredentialProvidersResponseBody.d.ts +51 -28
- package/dist/models/ListCredentialProvidersResponseBody.js +16 -0
- package/dist/models/ListCredentialProvidersResponseBody.js.map +1 -1
- package/dist/models/ListInstancesRequest.d.ts +1 -0
- package/dist/models/ListInstancesRequest.js +2 -0
- package/dist/models/ListInstancesRequest.js.map +1 -1
- package/dist/models/ListInstancesResponseBody.d.ts +4 -1
- package/dist/models/ListInstancesResponseBody.js.map +1 -1
- package/dist/models/ListNetworkAccessEndpointsRequest.d.ts +13 -17
- package/dist/models/ListNetworkAccessEndpointsRequest.js.map +1 -1
- package/dist/models/ListNetworkAccessEndpointsResponseBody.d.ts +38 -23
- package/dist/models/ListNetworkAccessEndpointsResponseBody.js +44 -1
- package/dist/models/ListNetworkAccessEndpointsResponseBody.js.map +1 -1
- package/dist/models/ListNetworkAccessPathsRequest.d.ts +1 -1
- package/dist/models/ListNetworkAccessPathsResponseBody.d.ts +16 -13
- package/dist/models/ListNetworkAccessPathsResponseBody.js +6 -0
- package/dist/models/ListNetworkAccessPathsResponseBody.js.map +1 -1
- package/dist/models/UpdateCredentialProviderRequest.d.ts +39 -6
- package/dist/models/UpdateCredentialProviderRequest.js +14 -0
- package/dist/models/UpdateCredentialProviderRequest.js.map +1 -1
- package/dist/models/model.d.ts +2 -0
- package/dist/models/model.js +38 -34
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +19 -6
- package/src/models/CheckInstanceModuleStatusRequest.ts +6 -0
- package/src/models/CheckInstanceModuleStatusResponseBody.ts +1 -1
- package/src/models/CreateCredentialProviderRequest.ts +57 -14
- package/src/models/GetCredentialProviderResponseBody.ts +67 -15
- package/src/models/GetNetworkAccessEndpointRequest.ts +1 -1
- package/src/models/GetNetworkAccessEndpointResponseBody.ts +62 -9
- package/src/models/ListApplicationsRequest.ts +23 -2
- package/src/models/ListApplicationsResponseBody.ts +2 -2
- package/src/models/ListCredentialProvidersRequest.ts +0 -3
- package/src/models/ListCredentialProvidersResponseBody.ts +67 -28
- package/src/models/ListInstancesRequest.ts +3 -0
- package/src/models/ListInstancesResponseBody.ts +4 -1
- package/src/models/ListNetworkAccessEndpointsRequest.ts +14 -18
- package/src/models/ListNetworkAccessEndpointsResponseBody.ts +73 -24
- package/src/models/ListNetworkAccessPathsRequest.ts +1 -1
- package/src/models/ListNetworkAccessPathsResponseBody.ts +22 -13
- package/src/models/UpdateCredentialProviderRequest.ts +53 -6
- package/src/models/model.ts +2 -0
|
@@ -28,6 +28,8 @@ export declare class CheckInstanceModuleStatusRequest extends $dara.Model {
|
|
|
28
28
|
* urn:alibaba:idaas:license:module:ud
|
|
29
29
|
*/
|
|
30
30
|
moduleKey?: string;
|
|
31
|
+
resourceLabelKey?: string;
|
|
32
|
+
resourceLabelValue?: string;
|
|
31
33
|
/**
|
|
32
34
|
* @remarks
|
|
33
35
|
* The tertiary module identifier.
|
|
@@ -42,6 +42,8 @@ class CheckInstanceModuleStatusRequest extends $dara.Model {
|
|
|
42
42
|
featureKey: 'FeatureKey',
|
|
43
43
|
instanceId: 'InstanceId',
|
|
44
44
|
moduleKey: 'ModuleKey',
|
|
45
|
+
resourceLabelKey: 'ResourceLabelKey',
|
|
46
|
+
resourceLabelValue: 'ResourceLabelValue',
|
|
45
47
|
subFeatureKey: 'SubFeatureKey',
|
|
46
48
|
};
|
|
47
49
|
}
|
|
@@ -50,6 +52,8 @@ class CheckInstanceModuleStatusRequest extends $dara.Model {
|
|
|
50
52
|
featureKey: 'string',
|
|
51
53
|
instanceId: 'string',
|
|
52
54
|
moduleKey: 'string',
|
|
55
|
+
resourceLabelKey: 'string',
|
|
56
|
+
resourceLabelValue: 'string',
|
|
53
57
|
subFeatureKey: 'string',
|
|
54
58
|
};
|
|
55
59
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CheckInstanceModuleStatusRequest.js","sourceRoot":"","sources":["../../src/models/CheckInstanceModuleStatusRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CheckInstanceModuleStatusRequest.js","sourceRoot":"","sources":["../../src/models/CheckInstanceModuleStatusRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAuC/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,gBAAgB,EAAE,kBAAkB;YACpC,kBAAkB,EAAE,oBAAoB;YACxC,aAAa,EAAE,eAAe;SAC/B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,gBAAgB,EAAE,QAAQ;YAC1B,kBAAkB,EAAE,QAAQ;YAC5B,aAAa,EAAE,QAAQ;SACxB,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;AApED,4EAoEC"}
|
|
@@ -22,7 +22,7 @@ export declare class CheckInstanceModuleStatusResponseBodyModule extends $dara.M
|
|
|
22
22
|
export declare class CheckInstanceModuleStatusResponseBody extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The
|
|
25
|
+
* The status information.
|
|
26
26
|
*/
|
|
27
27
|
module?: CheckInstanceModuleStatusResponseBodyModule;
|
|
28
28
|
/**
|
|
@@ -4,7 +4,7 @@ export declare class CreateCredentialProviderRequestCredentialProviderConfigJwtP
|
|
|
4
4
|
* @remarks
|
|
5
5
|
* The list of allowed JWT issuers.
|
|
6
6
|
*
|
|
7
|
-
* > The list
|
|
7
|
+
* > The list length cannot exceed 200.
|
|
8
8
|
*/
|
|
9
9
|
allowedTokenIssuers?: string[];
|
|
10
10
|
/**
|
|
@@ -17,7 +17,7 @@ export declare class CreateCredentialProviderRequestCredentialProviderConfigJwtP
|
|
|
17
17
|
derivedShortTokenEnabled?: boolean;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
* The validity
|
|
20
|
+
* The validity duration of the JWT. Unit: seconds.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* 900
|
|
@@ -45,7 +45,17 @@ export declare class CreateCredentialProviderRequestCredentialProviderConfigJwtP
|
|
|
45
45
|
export declare class CreateCredentialProviderRequestCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The
|
|
48
|
+
* The endpoint address used to guide users through authorization. Conditionally required: required when AuthorizationFlow=user_federation and ProviderVendor=custom. For preset vendors, this can be automatically populated through DiscoveryUrl.
|
|
49
|
+
*/
|
|
50
|
+
authorizationEndpoint?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* The OAuth authorization flow type. Valid values: m2m: machine-to-machine (2LO, Client Credentials). user_federation: user federation (3LO, Authorization Code).
|
|
54
|
+
*/
|
|
55
|
+
authorizationFlow?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The client_id in the OAuth protocol.
|
|
49
59
|
*
|
|
50
60
|
* > The length cannot exceed 128 characters.
|
|
51
61
|
*
|
|
@@ -57,7 +67,7 @@ export declare class CreateCredentialProviderRequestCredentialProviderConfigOAut
|
|
|
57
67
|
clientId?: string;
|
|
58
68
|
/**
|
|
59
69
|
* @remarks
|
|
60
|
-
* The client_secret in the OAuth protocol
|
|
70
|
+
* The client_secret in the OAuth protocol.
|
|
61
71
|
*
|
|
62
72
|
* > The length cannot exceed 1024 characters.
|
|
63
73
|
*
|
|
@@ -69,13 +79,34 @@ export declare class CreateCredentialProviderRequestCredentialProviderConfigOAut
|
|
|
69
79
|
clientSecret?: string;
|
|
70
80
|
/**
|
|
71
81
|
* @remarks
|
|
72
|
-
* The
|
|
82
|
+
* The Discovery document URL used to automatically retrieve OAuth endpoint configurations. Conditionally optional: used when AuthorizationFlow=user_federation. If DiscoveryUrl is not provided, you must manually configure fields such as TokenEndpoint and AuthorizationEndpoint.
|
|
83
|
+
*/
|
|
84
|
+
discoveryUrl?: string;
|
|
85
|
+
issuer?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The PKCE code_challenge generation method. Default value: s256.
|
|
89
|
+
*/
|
|
90
|
+
pkceChallengeMethod?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @remarks
|
|
93
|
+
* Specifies whether to use the PKCE extension to enhance security. We recommend that you always enable this feature.
|
|
94
|
+
*/
|
|
95
|
+
pkceEnabled?: boolean;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The preset vendor or custom configuration. Optional. Default value: custom.
|
|
99
|
+
*/
|
|
100
|
+
providerVendor?: string;
|
|
101
|
+
/**
|
|
102
|
+
* @remarks
|
|
103
|
+
* The scope in the OAuth protocol, which defines the permission range.
|
|
73
104
|
*
|
|
74
|
-
* > The Scope configuration on the credential provider serves as the
|
|
105
|
+
* > The Scope configuration on the credential provider serves as the fallback value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth Access Token, the Scope configuration on the credential provider is used for issuance.
|
|
75
106
|
*
|
|
76
107
|
* >Notice: Separate multiple Scope values with spaces.
|
|
77
108
|
*
|
|
78
|
-
*
|
|
109
|
+
* Restrictions for each individual Scope value:
|
|
79
110
|
* 1. Allowed characters: lowercase letters, digits, and the special characters `|/:_-.`
|
|
80
111
|
* 2. Must contain at least one lowercase letter or digit.
|
|
81
112
|
* 3. Must start with the special character `.`, a lowercase letter, or a digit.
|
|
@@ -89,9 +120,7 @@ export declare class CreateCredentialProviderRequestCredentialProviderConfigOAut
|
|
|
89
120
|
* @remarks
|
|
90
121
|
* The token endpoint of the OAuth protocol.
|
|
91
122
|
*
|
|
92
|
-
* >
|
|
93
|
-
*
|
|
94
|
-
* This parameter is required.
|
|
123
|
+
* > Must start with `http://` or `https://`, and the length cannot exceed 1024 characters.
|
|
95
124
|
*
|
|
96
125
|
* @example
|
|
97
126
|
* https://example.com/token
|
|
@@ -135,7 +164,7 @@ export declare class CreateCredentialProviderRequest extends $dara.Model {
|
|
|
135
164
|
* @remarks
|
|
136
165
|
* The idempotency token that ensures the idempotence of the request.
|
|
137
166
|
*
|
|
138
|
-
* Generate a parameter value from your client to ensure
|
|
167
|
+
* Generate a parameter value from your client to ensure uniqueness across different requests. ClientToken supports only ASCII characters and cannot exceed 64 characters in length. For more information, see References [How to ensure idempotence](https://www.alibabacloud.com/help/zh/ecs/developer-reference/how-to-ensure-idempotence).
|
|
139
168
|
*
|
|
140
169
|
* This parameter is required.
|
|
141
170
|
*
|
|
@@ -150,7 +179,7 @@ export declare class CreateCredentialProviderRequest extends $dara.Model {
|
|
|
150
179
|
credentialProviderConfig?: CreateCredentialProviderRequestCredentialProviderConfig;
|
|
151
180
|
/**
|
|
152
181
|
* @remarks
|
|
153
|
-
* The
|
|
182
|
+
* The identifier of the credential provider.
|
|
154
183
|
*
|
|
155
184
|
* > Allowed characters include uppercase and lowercase letters, digits, and the special characters `.-_`. The length cannot exceed 64 characters.
|
|
156
185
|
*
|
|
@@ -176,8 +205,8 @@ export declare class CreateCredentialProviderRequest extends $dara.Model {
|
|
|
176
205
|
* @remarks
|
|
177
206
|
* The type of the credential provider. Valid values:
|
|
178
207
|
*
|
|
179
|
-
* - oauth: OAuth credential provider
|
|
180
|
-
* - jwt: JWT credential provider
|
|
208
|
+
* - oauth: OAuth credential provider.
|
|
209
|
+
* - jwt: JWT credential provider.
|
|
181
210
|
*
|
|
182
211
|
* This parameter is required.
|
|
183
212
|
*
|
|
@@ -67,16 +67,30 @@ exports.CreateCredentialProviderRequestCredentialProviderConfigJwtProviderConfig
|
|
|
67
67
|
class CreateCredentialProviderRequestCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
68
68
|
static names() {
|
|
69
69
|
return {
|
|
70
|
+
authorizationEndpoint: 'AuthorizationEndpoint',
|
|
71
|
+
authorizationFlow: 'AuthorizationFlow',
|
|
70
72
|
clientId: 'ClientId',
|
|
71
73
|
clientSecret: 'ClientSecret',
|
|
74
|
+
discoveryUrl: 'DiscoveryUrl',
|
|
75
|
+
issuer: 'Issuer',
|
|
76
|
+
pkceChallengeMethod: 'PkceChallengeMethod',
|
|
77
|
+
pkceEnabled: 'PkceEnabled',
|
|
78
|
+
providerVendor: 'ProviderVendor',
|
|
72
79
|
scope: 'Scope',
|
|
73
80
|
tokenEndpoint: 'TokenEndpoint',
|
|
74
81
|
};
|
|
75
82
|
}
|
|
76
83
|
static types() {
|
|
77
84
|
return {
|
|
85
|
+
authorizationEndpoint: 'string',
|
|
86
|
+
authorizationFlow: 'string',
|
|
78
87
|
clientId: 'string',
|
|
79
88
|
clientSecret: 'string',
|
|
89
|
+
discoveryUrl: 'string',
|
|
90
|
+
issuer: 'string',
|
|
91
|
+
pkceChallengeMethod: 'string',
|
|
92
|
+
pkceEnabled: 'boolean',
|
|
93
|
+
providerVendor: 'string',
|
|
80
94
|
scope: 'string',
|
|
81
95
|
tokenEndpoint: 'string',
|
|
82
96
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateCredentialProviderRequest.js","sourceRoot":"","sources":["../../src/models/CreateCredentialProviderRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wEAAyE,SAAQ,KAAK,CAAC,KAAK;IAgCvG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,qBAAqB;YAC1C,wBAAwB,EAAE,0BAA0B;YACpD,UAAU,EAAE,YAAY;YACxB,wBAAwB,EAAE,0BAA0B;SACrD,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC9D,wBAAwB,EAAE,SAAS;YACnC,UAAU,EAAE,QAAQ;YACpB,wBAAwB,EAAE,SAAS;SACpC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC;YAC3C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACtD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5DD,4JA4DC;AAED,MAAa,0EAA2E,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateCredentialProviderRequest.js","sourceRoot":"","sources":["../../src/models/CreateCredentialProviderRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wEAAyE,SAAQ,KAAK,CAAC,KAAK;IAgCvG,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,qBAAqB;YAC1C,wBAAwB,EAAE,0BAA0B;YACpD,UAAU,EAAE,YAAY;YACxB,wBAAwB,EAAE,0BAA0B;SACrD,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC9D,wBAAwB,EAAE,SAAS;YACnC,UAAU,EAAE,QAAQ;YACpB,wBAAwB,EAAE,SAAS;SACpC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC;YAC3C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACtD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK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AC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7GD,0EA6GC"}
|
|
@@ -7,7 +7,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
7
7
|
allowedTokenIssuers?: string[];
|
|
8
8
|
/**
|
|
9
9
|
* @remarks
|
|
10
|
-
*
|
|
10
|
+
* Specifies whether to enable the JWT derived short token capability.
|
|
11
11
|
*
|
|
12
12
|
* @example
|
|
13
13
|
* false
|
|
@@ -15,7 +15,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
15
15
|
derivedShortTokenEnabled?: boolean;
|
|
16
16
|
/**
|
|
17
17
|
* @remarks
|
|
18
|
-
* The validity period of the JWT
|
|
18
|
+
* The validity period of the JWT. Unit: seconds.
|
|
19
19
|
*
|
|
20
20
|
* @example
|
|
21
21
|
* 900
|
|
@@ -23,7 +23,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
23
23
|
expiration?: number;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
*
|
|
26
|
+
* Specifies whether to enable JWT expiration cleanup.
|
|
27
27
|
*
|
|
28
28
|
* @example
|
|
29
29
|
* true
|
|
@@ -39,7 +39,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
39
39
|
issuer?: string;
|
|
40
40
|
/**
|
|
41
41
|
* @remarks
|
|
42
|
-
* The JWKs endpoint
|
|
42
|
+
* The JWKs endpoint address.
|
|
43
43
|
*
|
|
44
44
|
* @example
|
|
45
45
|
* https://example123456.aliyunidaas.com/api/v2/auths_ngz2wj35ixxxdyat55nexxxxxx/oauth2/jwks
|
|
@@ -57,6 +57,16 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
57
57
|
});
|
|
58
58
|
}
|
|
59
59
|
export declare class GetCredentialProviderResponseBodyCredentialProviderCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The endpoint address used to guide users through authorization. This parameter is conditionally required: it is required when AuthorizationFlow is set to user_federation and ProviderVendor is set to custom. For preset vendors, this value can be automatically populated through DiscoveryUrl.
|
|
63
|
+
*/
|
|
64
|
+
authorizationEndpoint?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @remarks
|
|
67
|
+
* The OAuth authorization flow type. Valid values: m2m: machine-to-machine (2LO, Client Credentials). user_federation: user federation (3LO, Authorization Code).
|
|
68
|
+
*/
|
|
69
|
+
authorizationFlow?: string;
|
|
60
70
|
/**
|
|
61
71
|
* @remarks
|
|
62
72
|
* The client_id in the OAuth protocol.
|
|
@@ -67,9 +77,30 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
67
77
|
clientId?: string;
|
|
68
78
|
/**
|
|
69
79
|
* @remarks
|
|
70
|
-
* The
|
|
80
|
+
* The URL of the discovery document used to automatically obtain OAuth endpoint configurations. This parameter is conditionally optional: it is used when AuthorizationFlow is set to user_federation. If DiscoveryUrl is not provided, you must manually configure fields such as TokenEndpoint and AuthorizationEndpoint.
|
|
81
|
+
*/
|
|
82
|
+
discoveryUrl?: string;
|
|
83
|
+
issuer?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* The PKCE code_challenge generation method. Default value: s256.
|
|
87
|
+
*/
|
|
88
|
+
pkceChallengeMethod?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @remarks
|
|
91
|
+
* Specifies whether to use the PKCE extension to enhance security. We recommend that you always enable this feature.
|
|
92
|
+
*/
|
|
93
|
+
pkceEnabled?: boolean;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The preset vendor or custom configuration. This parameter is optional. Default value: custom.
|
|
97
|
+
*/
|
|
98
|
+
providerVendor?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @remarks
|
|
101
|
+
* The scope in the OAuth protocol, which specifies the permission scope.
|
|
71
102
|
*
|
|
72
|
-
* > The scope configuration of the OAuth credential provider serves as the default value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth access token, the scope configuration of the credential provider is used for issuance.
|
|
103
|
+
* > The scope configuration of the OAuth credential provider serves as the default value. If the scope parameter is not specified when calling the DeveloperAPI to obtain an OAuth access token, the scope configuration of the credential provider is used for token issuance.
|
|
73
104
|
*
|
|
74
105
|
* >Notice: Multiple scope values are separated by spaces.
|
|
75
106
|
*
|
|
@@ -77,6 +108,11 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
77
108
|
* example:test_01 example:test_02
|
|
78
109
|
*/
|
|
79
110
|
scope?: string;
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The redirect URI automatically generated by the system when the credential provider is created. Configure this value as the redirect_uri in the OAuth provider.
|
|
114
|
+
*/
|
|
115
|
+
systemRedirectUri?: string;
|
|
80
116
|
/**
|
|
81
117
|
* @remarks
|
|
82
118
|
* The token endpoint of the OAuth protocol.
|
|
@@ -109,7 +145,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
109
145
|
OAuthProviderConfig?: GetCredentialProviderResponseBodyCredentialProviderCredentialProviderConfigOAuthProviderConfig;
|
|
110
146
|
/**
|
|
111
147
|
* @remarks
|
|
112
|
-
* The list of credential IDs
|
|
148
|
+
* The list of credential IDs that correspond to the sensitive configurations of the credential provider.
|
|
113
149
|
*
|
|
114
150
|
* > The system securely stores the sensitive configuration information of the credential provider in the form of credentials.
|
|
115
151
|
*/
|
|
@@ -128,7 +164,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProviderCredenti
|
|
|
128
164
|
export declare class GetCredentialProviderResponseBodyCredentialProvider extends $dara.Model {
|
|
129
165
|
/**
|
|
130
166
|
* @remarks
|
|
131
|
-
* The
|
|
167
|
+
* The time when the credential provider was created. The value is a UNIX timestamp in milliseconds.
|
|
132
168
|
*
|
|
133
169
|
* @example
|
|
134
170
|
* 1649830225000
|
|
@@ -136,12 +172,12 @@ export declare class GetCredentialProviderResponseBodyCredentialProvider extends
|
|
|
136
172
|
createTime?: number;
|
|
137
173
|
/**
|
|
138
174
|
* @remarks
|
|
139
|
-
* The credential provider
|
|
175
|
+
* The configuration of the credential provider.
|
|
140
176
|
*/
|
|
141
177
|
credentialProviderConfig?: GetCredentialProviderResponseBodyCredentialProviderCredentialProviderConfig;
|
|
142
178
|
/**
|
|
143
179
|
* @remarks
|
|
144
|
-
* The credential provider
|
|
180
|
+
* The creation type of the credential provider. Valid values:
|
|
145
181
|
*
|
|
146
182
|
* - system_init: Created by the system.
|
|
147
183
|
* - user_custom: Created by the user.
|
|
@@ -160,7 +196,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProvider extends
|
|
|
160
196
|
credentialProviderId?: string;
|
|
161
197
|
/**
|
|
162
198
|
* @remarks
|
|
163
|
-
* The credential provider
|
|
199
|
+
* The business identifier of the credential provider.
|
|
164
200
|
*
|
|
165
201
|
* @example
|
|
166
202
|
* test_example_identifier
|
|
@@ -168,7 +204,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProvider extends
|
|
|
168
204
|
credentialProviderIdentifier?: string;
|
|
169
205
|
/**
|
|
170
206
|
* @remarks
|
|
171
|
-
* The credential provider
|
|
207
|
+
* The name of the credential provider.
|
|
172
208
|
*
|
|
173
209
|
* @example
|
|
174
210
|
* test_example_name
|
|
@@ -176,7 +212,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProvider extends
|
|
|
176
212
|
credentialProviderName?: string;
|
|
177
213
|
/**
|
|
178
214
|
* @remarks
|
|
179
|
-
* The credential provider
|
|
215
|
+
* The type of the credential provider. Valid values:
|
|
180
216
|
*
|
|
181
217
|
* - oauth: OAuth credential provider.
|
|
182
218
|
* - jwt: JWT credential provider.
|
|
@@ -203,7 +239,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProvider extends
|
|
|
203
239
|
instanceId?: string;
|
|
204
240
|
/**
|
|
205
241
|
* @remarks
|
|
206
|
-
* The credential provider
|
|
242
|
+
* The status of the credential provider. Valid values:
|
|
207
243
|
*
|
|
208
244
|
* - enabled: Enabled.
|
|
209
245
|
* - disabled: Disabled.
|
|
@@ -214,7 +250,7 @@ export declare class GetCredentialProviderResponseBodyCredentialProvider extends
|
|
|
214
250
|
status?: string;
|
|
215
251
|
/**
|
|
216
252
|
* @remarks
|
|
217
|
-
* The
|
|
253
|
+
* The time when the credential provider was last updated. The value is a UNIX timestamp in milliseconds.
|
|
218
254
|
*
|
|
219
255
|
* @example
|
|
220
256
|
* 1649830225000
|
|
@@ -71,15 +71,31 @@ exports.GetCredentialProviderResponseBodyCredentialProviderCredentialProviderCon
|
|
|
71
71
|
class GetCredentialProviderResponseBodyCredentialProviderCredentialProviderConfigOAuthProviderConfig extends $dara.Model {
|
|
72
72
|
static names() {
|
|
73
73
|
return {
|
|
74
|
+
authorizationEndpoint: 'AuthorizationEndpoint',
|
|
75
|
+
authorizationFlow: 'AuthorizationFlow',
|
|
74
76
|
clientId: 'ClientId',
|
|
77
|
+
discoveryUrl: 'DiscoveryUrl',
|
|
78
|
+
issuer: 'Issuer',
|
|
79
|
+
pkceChallengeMethod: 'PkceChallengeMethod',
|
|
80
|
+
pkceEnabled: 'PkceEnabled',
|
|
81
|
+
providerVendor: 'ProviderVendor',
|
|
75
82
|
scope: 'Scope',
|
|
83
|
+
systemRedirectUri: 'SystemRedirectUri',
|
|
76
84
|
tokenEndpoint: 'TokenEndpoint',
|
|
77
85
|
};
|
|
78
86
|
}
|
|
79
87
|
static types() {
|
|
80
88
|
return {
|
|
89
|
+
authorizationEndpoint: 'string',
|
|
90
|
+
authorizationFlow: 'string',
|
|
81
91
|
clientId: 'string',
|
|
92
|
+
discoveryUrl: 'string',
|
|
93
|
+
issuer: 'string',
|
|
94
|
+
pkceChallengeMethod: 'string',
|
|
95
|
+
pkceEnabled: 'boolean',
|
|
96
|
+
providerVendor: 'string',
|
|
82
97
|
scope: 'string',
|
|
98
|
+
systemRedirectUri: 'string',
|
|
83
99
|
tokenEndpoint: 'string',
|
|
84
100
|
};
|
|
85
101
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetCredentialProviderResponseBody.js","sourceRoot":"","sources":["../../src/models/GetCredentialProviderResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4FAA6F,SAAQ,KAAK,CAAC,KAAK;IA8C3H,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,qBAAqB;YAC1C,wBAAwB,EAAE,0BAA0B;YACpD,UAAU,EAAE,YAAY;YACxB,wBAAwB,EAAE,0BAA0B;YACpD,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,cAAc;SAC7B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,mBAAmB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YAC9D,wBAAwB,EAAE,SAAS;YACnC,UAAU,EAAE,QAAQ;YACpB,wBAAwB,EAAE,SAAS;YACnC,MAAM,EAAE,QAAQ;YAChB,YAAY,EAAE,QAAQ;SACvB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,mBAAmB,CAAC,EAAE,CAAC;YAC3C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;QACtD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9ED,oMA8EC;AAED,MAAa,8FAA+F,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"GetCredentialProviderResponseBody.js","sourceRoot":"","sources":["../../src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AAgC,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACzG,IAAI,CAAC,wBAAgC,CAAC,QAAQ,EAAE,CAAC;QACpD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzID,kHAyIC;AAED,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAchE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,oBAAoB;YACxC,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,mDAAmD;YACvE,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,kBAAkB,IAAI,OAAQ,IAAI,CAAC,kBAA0B,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC7F,IAAI,CAAC,kBAA0B,CAAC,QAAQ,EAAE,CAAC;QAC9C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,8EAsCC"}
|
|
@@ -12,7 +12,7 @@ export declare class GetNetworkAccessEndpointRequest extends $dara.Model {
|
|
|
12
12
|
instanceId?: string;
|
|
13
13
|
/**
|
|
14
14
|
* @remarks
|
|
15
|
-
* The dedicated network access endpoint
|
|
15
|
+
* The ID of the dedicated network access endpoint.
|
|
16
16
|
*
|
|
17
17
|
* This parameter is required.
|
|
18
18
|
*
|
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpointBackupVpcEndpoint extends $dara.Model {
|
|
3
|
+
backupEgressPrivateIpAddresses?: string[];
|
|
4
|
+
backupEgressPublicIpAddresses?: string[];
|
|
5
|
+
backupSecurityGroupId?: string;
|
|
6
|
+
backupVSwitchIds?: string[];
|
|
7
|
+
backupVpcId?: string;
|
|
8
|
+
backupVpcRegionId?: string;
|
|
9
|
+
static names(): {
|
|
10
|
+
[key: string]: string;
|
|
11
|
+
};
|
|
12
|
+
static types(): {
|
|
13
|
+
[key: string]: any;
|
|
14
|
+
};
|
|
15
|
+
validate(): void;
|
|
16
|
+
constructor(map?: {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
});
|
|
19
|
+
}
|
|
2
20
|
export declare class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint extends $dara.Model {
|
|
21
|
+
backupVpcEndpoint?: GetNetworkAccessEndpointResponseBodyNetworkAccessEndpointBackupVpcEndpoint;
|
|
3
22
|
/**
|
|
4
23
|
* @remarks
|
|
5
24
|
* The time when the network access endpoint was created. The value is a UNIX timestamp in milliseconds.
|
|
@@ -10,7 +29,7 @@ export declare class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint e
|
|
|
10
29
|
createTime?: number;
|
|
11
30
|
/**
|
|
12
31
|
* @remarks
|
|
13
|
-
* The private egress IP
|
|
32
|
+
* The private egress IP address range of the dedicated network access endpoint. This parameter is returned only when NetworkEndpointType is set to private.
|
|
14
33
|
*
|
|
15
34
|
* @example
|
|
16
35
|
* 172.168.x.x
|
|
@@ -18,7 +37,7 @@ export declare class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint e
|
|
|
18
37
|
egressPrivateIpAddresses?: string[];
|
|
19
38
|
/**
|
|
20
39
|
* @remarks
|
|
21
|
-
* The public egress IP
|
|
40
|
+
* The public egress IP address range of the shared network access endpoint. This parameter is returned only when NetworkEndpointType is set to shared.
|
|
22
41
|
*
|
|
23
42
|
* @example
|
|
24
43
|
* 203.0.XX.XX/27
|
|
@@ -34,7 +53,7 @@ export declare class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint e
|
|
|
34
53
|
instanceId?: string;
|
|
35
54
|
/**
|
|
36
55
|
* @remarks
|
|
37
|
-
* The dedicated network access endpoint
|
|
56
|
+
* The ID of the dedicated network access endpoint.
|
|
38
57
|
*
|
|
39
58
|
* @example
|
|
40
59
|
* nae_examplexxx
|
|
@@ -52,8 +71,8 @@ export declare class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint e
|
|
|
52
71
|
* @remarks
|
|
53
72
|
* The type of the network access endpoint. Valid values:
|
|
54
73
|
*
|
|
55
|
-
* - shared:
|
|
56
|
-
* - private:
|
|
74
|
+
* - shared: Shared network access endpoint.
|
|
75
|
+
* - private: Dedicated network access endpoint.
|
|
57
76
|
*
|
|
58
77
|
* @example
|
|
59
78
|
* private
|
|
@@ -71,10 +90,10 @@ export declare class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint e
|
|
|
71
90
|
* @remarks
|
|
72
91
|
* The status of the network access endpoint. Valid values:
|
|
73
92
|
*
|
|
74
|
-
* - pending:
|
|
75
|
-
* - creating:
|
|
76
|
-
* - running:
|
|
77
|
-
* - deleting:
|
|
93
|
+
* - pending: Pending initialization.
|
|
94
|
+
* - creating: Being created.
|
|
95
|
+
* - running: Running.
|
|
96
|
+
* - deleting: Being deleted.
|
|
78
97
|
*
|
|
79
98
|
* @example
|
|
80
99
|
* running
|
|
@@ -33,12 +33,51 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.GetNetworkAccessEndpointResponseBody = exports.GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint = void 0;
|
|
36
|
+
exports.GetNetworkAccessEndpointResponseBody = exports.GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint = exports.GetNetworkAccessEndpointResponseBodyNetworkAccessEndpointBackupVpcEndpoint = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpointBackupVpcEndpoint extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
backupEgressPrivateIpAddresses: 'BackupEgressPrivateIpAddresses',
|
|
43
|
+
backupEgressPublicIpAddresses: 'BackupEgressPublicIpAddresses',
|
|
44
|
+
backupSecurityGroupId: 'BackupSecurityGroupId',
|
|
45
|
+
backupVSwitchIds: 'BackupVSwitchIds',
|
|
46
|
+
backupVpcId: 'BackupVpcId',
|
|
47
|
+
backupVpcRegionId: 'BackupVpcRegionId',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
static types() {
|
|
51
|
+
return {
|
|
52
|
+
backupEgressPrivateIpAddresses: { 'type': 'array', 'itemType': 'string' },
|
|
53
|
+
backupEgressPublicIpAddresses: { 'type': 'array', 'itemType': 'string' },
|
|
54
|
+
backupSecurityGroupId: 'string',
|
|
55
|
+
backupVSwitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
56
|
+
backupVpcId: 'string',
|
|
57
|
+
backupVpcRegionId: 'string',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
validate() {
|
|
61
|
+
if (Array.isArray(this.backupEgressPrivateIpAddresses)) {
|
|
62
|
+
$dara.Model.validateArray(this.backupEgressPrivateIpAddresses);
|
|
63
|
+
}
|
|
64
|
+
if (Array.isArray(this.backupEgressPublicIpAddresses)) {
|
|
65
|
+
$dara.Model.validateArray(this.backupEgressPublicIpAddresses);
|
|
66
|
+
}
|
|
67
|
+
if (Array.isArray(this.backupVSwitchIds)) {
|
|
68
|
+
$dara.Model.validateArray(this.backupVSwitchIds);
|
|
69
|
+
}
|
|
70
|
+
super.validate();
|
|
71
|
+
}
|
|
72
|
+
constructor(map) {
|
|
73
|
+
super(map);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.GetNetworkAccessEndpointResponseBodyNetworkAccessEndpointBackupVpcEndpoint = GetNetworkAccessEndpointResponseBodyNetworkAccessEndpointBackupVpcEndpoint;
|
|
39
77
|
class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint extends $dara.Model {
|
|
40
78
|
static names() {
|
|
41
79
|
return {
|
|
80
|
+
backupVpcEndpoint: 'BackupVpcEndpoint',
|
|
42
81
|
createTime: 'CreateTime',
|
|
43
82
|
egressPrivateIpAddresses: 'EgressPrivateIpAddresses',
|
|
44
83
|
egressPublicIpAddresses: 'EgressPublicIpAddresses',
|
|
@@ -56,6 +95,7 @@ class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint extends $dara.Mo
|
|
|
56
95
|
}
|
|
57
96
|
static types() {
|
|
58
97
|
return {
|
|
98
|
+
backupVpcEndpoint: GetNetworkAccessEndpointResponseBodyNetworkAccessEndpointBackupVpcEndpoint,
|
|
59
99
|
createTime: 'number',
|
|
60
100
|
egressPrivateIpAddresses: { 'type': 'array', 'itemType': 'string' },
|
|
61
101
|
egressPublicIpAddresses: { 'type': 'array', 'itemType': 'string' },
|
|
@@ -72,6 +112,9 @@ class GetNetworkAccessEndpointResponseBodyNetworkAccessEndpoint extends $dara.Mo
|
|
|
72
112
|
};
|
|
73
113
|
}
|
|
74
114
|
validate() {
|
|
115
|
+
if (this.backupVpcEndpoint && typeof this.backupVpcEndpoint.validate === 'function') {
|
|
116
|
+
this.backupVpcEndpoint.validate();
|
|
117
|
+
}
|
|
75
118
|
if (Array.isArray(this.egressPrivateIpAddresses)) {
|
|
76
119
|
$dara.Model.validateArray(this.egressPrivateIpAddresses);
|
|
77
120
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"GetNetworkAccessEndpointResponseBody.js","sourceRoot":"","sources":["../../src/models/GetNetworkAccessEndpointResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yDAA0D,SAAQ,KAAK,CAAC,KAAK;
|
|
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