tencentcloud-sdk-nodejs-cam 4.0.1036 → 4.1.2
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/README.md +18 -4
- package/es/index.js +1 -0
- package/es/services/cam/index.js +4 -0
- package/es/services/cam/v20190116/cam_client.js +279 -0
- package/es/services/cam/v20190116/cam_models.js +0 -0
- package/es/services/cam/v20190116/index.js +6 -0
- package/es/services/index.js +1 -0
- package/package.json +24 -8
- package/tencentcloud/services/cam/v20190116/cam_client.js +2 -1
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +7 -7
- package/tencentcloud/services/cam/v20190116/index.js +2 -1
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/src/index.ts +0 -1
- package/src/services/cam/index.ts +0 -5
- package/src/services/cam/v20190116/cam_client.ts +0 -1154
- package/src/services/cam/v20190116/cam_models.ts +0 -3953
- package/src/services/cam/v20190116/index.ts +0 -6
- package/src/services/index.ts +0 -1
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
package/README.md
CHANGED
|
@@ -52,10 +52,24 @@ npm install tencentcloud-sdk-nodejs --save
|
|
|
52
52
|
|
|
53
53
|
## 通过源码包安装
|
|
54
54
|
|
|
55
|
-
1.
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
55
|
+
1. clone 代码到本地:
|
|
56
|
+
```
|
|
57
|
+
git clone https://github.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
58
|
+
# 或者
|
|
59
|
+
git clone https://gitee.com/tencentcloud/tencentcloud-sdk-nodejs
|
|
60
|
+
```
|
|
61
|
+
2. 在项目根目录执行以下命令完成构建:
|
|
62
|
+
```
|
|
63
|
+
npm install && npm run build
|
|
64
|
+
```
|
|
65
|
+
3. 打包 NPM 压缩文件,例如 `tencentcloud-sdk-nodejs-4.0.0.tgz`
|
|
66
|
+
```
|
|
67
|
+
npm pack
|
|
68
|
+
```
|
|
69
|
+
4. 安装包到你的项目里:
|
|
70
|
+
```
|
|
71
|
+
npm install /path/to/tencentcloud-sdk-nodejs/tencentcloud-sdk-nodejs-4.0.0.tgz
|
|
72
|
+
```
|
|
59
73
|
|
|
60
74
|
# 示例
|
|
61
75
|
|
package/es/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./services";
|
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
+
export class Client extends TencentCloudCommon.AbstractClient {
|
|
3
|
+
constructor(clientConfig) {
|
|
4
|
+
super("cam.tencentcloudapi.com", "2019-01-16", clientConfig);
|
|
5
|
+
}
|
|
6
|
+
async AddUser(req, cb) {
|
|
7
|
+
return this.request("AddUser", req, cb);
|
|
8
|
+
}
|
|
9
|
+
async CreateServiceLinkedRole(req, cb) {
|
|
10
|
+
return this.request("CreateServiceLinkedRole", req, cb);
|
|
11
|
+
}
|
|
12
|
+
async GetUserPermissionBoundary(req, cb) {
|
|
13
|
+
return this.request("GetUserPermissionBoundary", req, cb);
|
|
14
|
+
}
|
|
15
|
+
async GetAccountSummary(req, cb) {
|
|
16
|
+
return this.request("GetAccountSummary", req, cb);
|
|
17
|
+
}
|
|
18
|
+
async DeleteRolePermissionsBoundary(req, cb) {
|
|
19
|
+
return this.request("DeleteRolePermissionsBoundary", req, cb);
|
|
20
|
+
}
|
|
21
|
+
async ListReceiver(req, cb) {
|
|
22
|
+
return this.request("ListReceiver", req, cb);
|
|
23
|
+
}
|
|
24
|
+
async ListAttachedGroupPolicies(req, cb) {
|
|
25
|
+
return this.request("ListAttachedGroupPolicies", req, cb);
|
|
26
|
+
}
|
|
27
|
+
async ConsumeCustomMFAToken(req, cb) {
|
|
28
|
+
return this.request("ConsumeCustomMFAToken", req, cb);
|
|
29
|
+
}
|
|
30
|
+
async UpdateUser(req, cb) {
|
|
31
|
+
return this.request("UpdateUser", req, cb);
|
|
32
|
+
}
|
|
33
|
+
async GetCustomMFATokenInfo(req, cb) {
|
|
34
|
+
return this.request("GetCustomMFATokenInfo", req, cb);
|
|
35
|
+
}
|
|
36
|
+
async GetUser(req, cb) {
|
|
37
|
+
return this.request("GetUser", req, cb);
|
|
38
|
+
}
|
|
39
|
+
async UpdateUserOIDCConfig(req, cb) {
|
|
40
|
+
return this.request("UpdateUserOIDCConfig", req, cb);
|
|
41
|
+
}
|
|
42
|
+
async GetServiceLinkedRoleDeletionStatus(req, cb) {
|
|
43
|
+
return this.request("GetServiceLinkedRoleDeletionStatus", req, cb);
|
|
44
|
+
}
|
|
45
|
+
async DescribeUserOIDCConfig(req, cb) {
|
|
46
|
+
return this.request("DescribeUserOIDCConfig", req, cb);
|
|
47
|
+
}
|
|
48
|
+
async UpdateUserSAMLConfig(req, cb) {
|
|
49
|
+
return this.request("UpdateUserSAMLConfig", req, cb);
|
|
50
|
+
}
|
|
51
|
+
async CreateAccessKey(req, cb) {
|
|
52
|
+
return this.request("CreateAccessKey", req, cb);
|
|
53
|
+
}
|
|
54
|
+
async DeleteUser(req, cb) {
|
|
55
|
+
return this.request("DeleteUser", req, cb);
|
|
56
|
+
}
|
|
57
|
+
async UpdateRoleDescription(req, cb) {
|
|
58
|
+
return this.request("UpdateRoleDescription", req, cb);
|
|
59
|
+
}
|
|
60
|
+
async BuildDataFlowAuthToken(req, cb) {
|
|
61
|
+
return this.request("BuildDataFlowAuthToken", req, cb);
|
|
62
|
+
}
|
|
63
|
+
async UpdateSAMLProvider(req, cb) {
|
|
64
|
+
return this.request("UpdateSAMLProvider", req, cb);
|
|
65
|
+
}
|
|
66
|
+
async UntagRole(req, cb) {
|
|
67
|
+
return this.request("UntagRole", req, cb);
|
|
68
|
+
}
|
|
69
|
+
async DescribeSubAccounts(req, cb) {
|
|
70
|
+
return this.request("DescribeSubAccounts", req, cb);
|
|
71
|
+
}
|
|
72
|
+
async RemoveUserFromGroup(req, cb) {
|
|
73
|
+
return this.request("RemoveUserFromGroup", req, cb);
|
|
74
|
+
}
|
|
75
|
+
async ListSAMLProviders(req, cb) {
|
|
76
|
+
return this.request("ListSAMLProviders", req, cb);
|
|
77
|
+
}
|
|
78
|
+
async ListUsersForGroup(req, cb) {
|
|
79
|
+
return this.request("ListUsersForGroup", req, cb);
|
|
80
|
+
}
|
|
81
|
+
async GetGroup(req, cb) {
|
|
82
|
+
return this.request("GetGroup", req, cb);
|
|
83
|
+
}
|
|
84
|
+
async CreateUserOIDCConfig(req, cb) {
|
|
85
|
+
return this.request("CreateUserOIDCConfig", req, cb);
|
|
86
|
+
}
|
|
87
|
+
async DeleteAccessKey(req, cb) {
|
|
88
|
+
return this.request("DeleteAccessKey", req, cb);
|
|
89
|
+
}
|
|
90
|
+
async GetUserAppId(req, cb) {
|
|
91
|
+
return this.request("GetUserAppId", req, cb);
|
|
92
|
+
}
|
|
93
|
+
async PutRolePermissionsBoundary(req, cb) {
|
|
94
|
+
return this.request("PutRolePermissionsBoundary", req, cb);
|
|
95
|
+
}
|
|
96
|
+
async DeleteServiceLinkedRole(req, cb) {
|
|
97
|
+
return this.request("DeleteServiceLinkedRole", req, cb);
|
|
98
|
+
}
|
|
99
|
+
async ListUsers(req, cb) {
|
|
100
|
+
return this.request("ListUsers", req, cb);
|
|
101
|
+
}
|
|
102
|
+
async DescribeUserSAMLConfig(req, cb) {
|
|
103
|
+
return this.request("DescribeUserSAMLConfig", req, cb);
|
|
104
|
+
}
|
|
105
|
+
async DetachRolePolicy(req, cb) {
|
|
106
|
+
return this.request("DetachRolePolicy", req, cb);
|
|
107
|
+
}
|
|
108
|
+
async DescribeRoleList(req, cb) {
|
|
109
|
+
return this.request("DescribeRoleList", req, cb);
|
|
110
|
+
}
|
|
111
|
+
async CreateSAMLProvider(req, cb) {
|
|
112
|
+
return this.request("CreateSAMLProvider", req, cb);
|
|
113
|
+
}
|
|
114
|
+
async DeleteOIDCConfig(req, cb) {
|
|
115
|
+
return this.request("DeleteOIDCConfig", req, cb);
|
|
116
|
+
}
|
|
117
|
+
async UpdateOIDCConfig(req, cb) {
|
|
118
|
+
return this.request("UpdateOIDCConfig", req, cb);
|
|
119
|
+
}
|
|
120
|
+
async DeleteRole(req, cb) {
|
|
121
|
+
return this.request("DeleteRole", req, cb);
|
|
122
|
+
}
|
|
123
|
+
async AttachGroupPolicy(req, cb) {
|
|
124
|
+
return this.request("AttachGroupPolicy", req, cb);
|
|
125
|
+
}
|
|
126
|
+
async ListPoliciesGrantingServiceAccess(req, cb) {
|
|
127
|
+
return this.request("ListPoliciesGrantingServiceAccess", req, cb);
|
|
128
|
+
}
|
|
129
|
+
async UpdateAccessKey(req, cb) {
|
|
130
|
+
return this.request("UpdateAccessKey", req, cb);
|
|
131
|
+
}
|
|
132
|
+
async UpdatePolicy(req, cb) {
|
|
133
|
+
return this.request("UpdatePolicy", req, cb);
|
|
134
|
+
}
|
|
135
|
+
async ListAttachedUserPolicies(req, cb) {
|
|
136
|
+
return this.request("ListAttachedUserPolicies", req, cb);
|
|
137
|
+
}
|
|
138
|
+
async CreatePolicyVersion(req, cb) {
|
|
139
|
+
return this.request("CreatePolicyVersion", req, cb);
|
|
140
|
+
}
|
|
141
|
+
async ListCollaborators(req, cb) {
|
|
142
|
+
return this.request("ListCollaborators", req, cb);
|
|
143
|
+
}
|
|
144
|
+
async TagRole(req, cb) {
|
|
145
|
+
return this.request("TagRole", req, cb);
|
|
146
|
+
}
|
|
147
|
+
async UpdateRoleConsoleLogin(req, cb) {
|
|
148
|
+
return this.request("UpdateRoleConsoleLogin", req, cb);
|
|
149
|
+
}
|
|
150
|
+
async AttachUserPolicy(req, cb) {
|
|
151
|
+
return this.request("AttachUserPolicy", req, cb);
|
|
152
|
+
}
|
|
153
|
+
async UpdateAssumeRolePolicy(req, cb) {
|
|
154
|
+
return this.request("UpdateAssumeRolePolicy", req, cb);
|
|
155
|
+
}
|
|
156
|
+
async SetMfaFlag(req, cb) {
|
|
157
|
+
return this.request("SetMfaFlag", req, cb);
|
|
158
|
+
}
|
|
159
|
+
async GetSecurityLastUsed(req, cb) {
|
|
160
|
+
return this.request("GetSecurityLastUsed", req, cb);
|
|
161
|
+
}
|
|
162
|
+
async CreateGroup(req, cb) {
|
|
163
|
+
return this.request("CreateGroup", req, cb);
|
|
164
|
+
}
|
|
165
|
+
async DeletePolicy(req, cb) {
|
|
166
|
+
return this.request("DeletePolicy", req, cb);
|
|
167
|
+
}
|
|
168
|
+
async DeletePolicyVersion(req, cb) {
|
|
169
|
+
return this.request("DeletePolicyVersion", req, cb);
|
|
170
|
+
}
|
|
171
|
+
async ListAccessKeys(req, cb) {
|
|
172
|
+
return this.request("ListAccessKeys", req, cb);
|
|
173
|
+
}
|
|
174
|
+
async DeleteGroup(req, cb) {
|
|
175
|
+
return this.request("DeleteGroup", req, cb);
|
|
176
|
+
}
|
|
177
|
+
async CreateMessageReceiver(req, cb) {
|
|
178
|
+
return this.request("CreateMessageReceiver", req, cb);
|
|
179
|
+
}
|
|
180
|
+
async CreateOIDCConfig(req, cb) {
|
|
181
|
+
return this.request("CreateOIDCConfig", req, cb);
|
|
182
|
+
}
|
|
183
|
+
async GetPolicyVersion(req, cb) {
|
|
184
|
+
return this.request("GetPolicyVersion", req, cb);
|
|
185
|
+
}
|
|
186
|
+
async ListAttachedUserAllPolicies(req, cb) {
|
|
187
|
+
return this.request("ListAttachedUserAllPolicies", req, cb);
|
|
188
|
+
}
|
|
189
|
+
async SetDefaultPolicyVersion(req, cb) {
|
|
190
|
+
return this.request("SetDefaultPolicyVersion", req, cb);
|
|
191
|
+
}
|
|
192
|
+
async DetachGroupPolicy(req, cb) {
|
|
193
|
+
return this.request("DetachGroupPolicy", req, cb);
|
|
194
|
+
}
|
|
195
|
+
async DescribeSafeAuthFlag(req, cb) {
|
|
196
|
+
return this.request("DescribeSafeAuthFlag", req, cb);
|
|
197
|
+
}
|
|
198
|
+
async DescribeSafeAuthFlagIntl(req, cb) {
|
|
199
|
+
return this.request("DescribeSafeAuthFlagIntl", req, cb);
|
|
200
|
+
}
|
|
201
|
+
async UpdateRoleSessionDuration(req, cb) {
|
|
202
|
+
return this.request("UpdateRoleSessionDuration", req, cb);
|
|
203
|
+
}
|
|
204
|
+
async ListGroups(req, cb) {
|
|
205
|
+
return this.request("ListGroups", req, cb);
|
|
206
|
+
}
|
|
207
|
+
async ListWeChatWorkSubAccounts(req, cb) {
|
|
208
|
+
return this.request("ListWeChatWorkSubAccounts", req, cb);
|
|
209
|
+
}
|
|
210
|
+
async ListPolicyVersions(req, cb) {
|
|
211
|
+
return this.request("ListPolicyVersions", req, cb);
|
|
212
|
+
}
|
|
213
|
+
async UpdateGroup(req, cb) {
|
|
214
|
+
return this.request("UpdateGroup", req, cb);
|
|
215
|
+
}
|
|
216
|
+
async CreatePolicy(req, cb) {
|
|
217
|
+
return this.request("CreatePolicy", req, cb);
|
|
218
|
+
}
|
|
219
|
+
async DetachUserPolicy(req, cb) {
|
|
220
|
+
return this.request("DetachUserPolicy", req, cb);
|
|
221
|
+
}
|
|
222
|
+
async ListGroupsForUser(req, cb) {
|
|
223
|
+
return this.request("ListGroupsForUser", req, cb);
|
|
224
|
+
}
|
|
225
|
+
async DeleteMessageReceiver(req, cb) {
|
|
226
|
+
return this.request("DeleteMessageReceiver", req, cb);
|
|
227
|
+
}
|
|
228
|
+
async GetSAMLProvider(req, cb) {
|
|
229
|
+
return this.request("GetSAMLProvider", req, cb);
|
|
230
|
+
}
|
|
231
|
+
async CreateRole(req, cb) {
|
|
232
|
+
return this.request("CreateRole", req, cb);
|
|
233
|
+
}
|
|
234
|
+
async ListAttachedRolePolicies(req, cb) {
|
|
235
|
+
return this.request("ListAttachedRolePolicies", req, cb);
|
|
236
|
+
}
|
|
237
|
+
async DeleteSAMLProvider(req, cb) {
|
|
238
|
+
return this.request("DeleteSAMLProvider", req, cb);
|
|
239
|
+
}
|
|
240
|
+
async GetPolicy(req, cb) {
|
|
241
|
+
return this.request("GetPolicy", req, cb);
|
|
242
|
+
}
|
|
243
|
+
async GetRolePermissionBoundary(req, cb) {
|
|
244
|
+
return this.request("GetRolePermissionBoundary", req, cb);
|
|
245
|
+
}
|
|
246
|
+
async DeleteUserPermissionsBoundary(req, cb) {
|
|
247
|
+
return this.request("DeleteUserPermissionsBoundary", req, cb);
|
|
248
|
+
}
|
|
249
|
+
async DescribeOIDCConfig(req, cb) {
|
|
250
|
+
return this.request("DescribeOIDCConfig", req, cb);
|
|
251
|
+
}
|
|
252
|
+
async ListEntitiesForPolicy(req, cb) {
|
|
253
|
+
return this.request("ListEntitiesForPolicy", req, cb);
|
|
254
|
+
}
|
|
255
|
+
async PutUserPermissionsBoundary(req, cb) {
|
|
256
|
+
return this.request("PutUserPermissionsBoundary", req, cb);
|
|
257
|
+
}
|
|
258
|
+
async CreateUserSAMLConfig(req, cb) {
|
|
259
|
+
return this.request("CreateUserSAMLConfig", req, cb);
|
|
260
|
+
}
|
|
261
|
+
async AddUserToGroup(req, cb) {
|
|
262
|
+
return this.request("AddUserToGroup", req, cb);
|
|
263
|
+
}
|
|
264
|
+
async AttachRolePolicy(req, cb) {
|
|
265
|
+
return this.request("AttachRolePolicy", req, cb);
|
|
266
|
+
}
|
|
267
|
+
async DescribeSafeAuthFlagColl(req, cb) {
|
|
268
|
+
return this.request("DescribeSafeAuthFlagColl", req, cb);
|
|
269
|
+
}
|
|
270
|
+
async GetRole(req, cb) {
|
|
271
|
+
return this.request("GetRole", req, cb);
|
|
272
|
+
}
|
|
273
|
+
async ListPolicies(req, cb) {
|
|
274
|
+
return this.request("ListPolicies", req, cb);
|
|
275
|
+
}
|
|
276
|
+
async DisableUserSSO(req, cb) {
|
|
277
|
+
return this.request("DisableUserSSO", req, cb);
|
|
278
|
+
}
|
|
279
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { cam } from "./cam";
|
package/package.json
CHANGED
|
@@ -1,16 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tencentcloud-sdk-nodejs-cam",
|
|
3
|
-
"version": "4.
|
|
4
|
-
"description": "
|
|
5
|
-
"main": "tencentcloud/index.js",
|
|
3
|
+
"version": "4.1.2",
|
|
4
|
+
"description": "腾讯云 API NODEJS SDK",
|
|
5
|
+
"main": "./tencentcloud/index.js",
|
|
6
|
+
"module": "./es/index.js",
|
|
7
|
+
"types": "./tencentcloud/index.d.ts",
|
|
6
8
|
"scripts": {
|
|
7
9
|
"test": "mocha -t 10000",
|
|
8
|
-
"build": "
|
|
9
|
-
"
|
|
10
|
+
"build": "concurrently 'npm:build:cjs' 'npm:build:es'",
|
|
11
|
+
"build:cjs": "tsc -p tsconfig.json",
|
|
12
|
+
"build:es": "tsc -p tsconfig.es.json",
|
|
13
|
+
"prettier": "prettier --config prettier.config.js --write 'src/**/*.{tsx,ts,jsx,js,css,json,vue}'",
|
|
14
|
+
"clean": "rimraf tencentcloud es"
|
|
10
15
|
},
|
|
11
16
|
"engines": {
|
|
12
17
|
"node": ">=10"
|
|
13
18
|
},
|
|
19
|
+
"files": [
|
|
20
|
+
"tencentcloud",
|
|
21
|
+
"es"
|
|
22
|
+
],
|
|
14
23
|
"keywords": [
|
|
15
24
|
"tencentcloudapi",
|
|
16
25
|
"tencentcloud",
|
|
@@ -22,7 +31,7 @@
|
|
|
22
31
|
"author": "tencentcloudapi",
|
|
23
32
|
"license": "Apache-2.0",
|
|
24
33
|
"dependencies": {
|
|
25
|
-
"tencentcloud-sdk-nodejs-common": "
|
|
34
|
+
"tencentcloud-sdk-nodejs-common": "*",
|
|
26
35
|
"tslib": "1.13.0"
|
|
27
36
|
},
|
|
28
37
|
"directories": {
|
|
@@ -35,14 +44,21 @@
|
|
|
35
44
|
},
|
|
36
45
|
"devDependencies": {
|
|
37
46
|
"@types/form-data": "^2.5.0",
|
|
47
|
+
"@types/json-bigint": "^1.0.1",
|
|
38
48
|
"@types/node": "^14.0.26",
|
|
39
49
|
"@types/node-fetch": "^2.5.7",
|
|
50
|
+
"@types/uuid": "^9.0.8",
|
|
40
51
|
"@typescript-eslint/eslint-plugin": "^2.34.0",
|
|
41
52
|
"@typescript-eslint/parser": "^2.34.0",
|
|
53
|
+
"babel-eslint": "^10.0.2",
|
|
42
54
|
"chai": "^4.2.0",
|
|
55
|
+
"concurrently": "^6.5.1",
|
|
43
56
|
"eslint": "^6.8.0",
|
|
44
|
-
"
|
|
57
|
+
"eslint-plugin-react": "^7.17.0",
|
|
58
|
+
"mocha": "^8.4.0",
|
|
59
|
+
"prettier": "^2.3.0",
|
|
60
|
+
"rimraf": "^5.0.10",
|
|
45
61
|
"ts-node": "^8.10.2",
|
|
46
62
|
"typescript": "^3.9.7"
|
|
47
63
|
}
|
|
48
|
-
}
|
|
64
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Client = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
4
5
|
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
5
6
|
/*
|
|
6
7
|
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
@@ -18,7 +19,7 @@ exports.Client = void 0;
|
|
|
18
19
|
* specific language governing permissions and limitations
|
|
19
20
|
* under the License.
|
|
20
21
|
*/
|
|
21
|
-
const TencentCloudCommon = require("tencentcloud-sdk-nodejs-common");
|
|
22
|
+
const TencentCloudCommon = tslib_1.__importStar(require("tencentcloud-sdk-nodejs-common"));
|
|
22
23
|
/**
|
|
23
24
|
* cam client
|
|
24
25
|
* @class
|
|
@@ -536,31 +536,31 @@ export interface DescribeOIDCConfigResponse {
|
|
|
536
536
|
/**
|
|
537
537
|
* 身份提供商类型 11角色身份提供商
|
|
538
538
|
*/
|
|
539
|
-
ProviderType
|
|
539
|
+
ProviderType?: number;
|
|
540
540
|
/**
|
|
541
541
|
* 身份提供商URL
|
|
542
542
|
*/
|
|
543
|
-
IdentityUrl
|
|
543
|
+
IdentityUrl?: string;
|
|
544
544
|
/**
|
|
545
545
|
* 签名公钥
|
|
546
546
|
*/
|
|
547
|
-
IdentityKey
|
|
547
|
+
IdentityKey?: string;
|
|
548
548
|
/**
|
|
549
549
|
* 客户端id
|
|
550
550
|
*/
|
|
551
|
-
ClientId
|
|
551
|
+
ClientId?: Array<string>;
|
|
552
552
|
/**
|
|
553
553
|
* 状态:0:未设置,11:已开启,2:已禁用
|
|
554
554
|
*/
|
|
555
|
-
Status
|
|
555
|
+
Status?: number;
|
|
556
556
|
/**
|
|
557
557
|
* 描述
|
|
558
558
|
*/
|
|
559
|
-
Description
|
|
559
|
+
Description?: string;
|
|
560
560
|
/**
|
|
561
561
|
* 名称
|
|
562
562
|
*/
|
|
563
|
-
Name
|
|
563
|
+
Name?: string;
|
|
564
564
|
/**
|
|
565
565
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
566
566
|
*/
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.v20190116 = void 0;
|
|
4
|
-
const
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
const Models = tslib_1.__importStar(require("./cam_models"));
|
|
5
6
|
const cam_client_1 = require("./cam_client");
|
|
6
7
|
exports.v20190116 = {
|
|
7
8
|
Client: cam_client_1.Client,
|
package/index.d.ts
DELETED
package/index.js
DELETED
package/prettier.config.js
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// prettier.config.js
|
|
2
|
-
module.exports = {
|
|
3
|
-
// 一行最多 100 字符
|
|
4
|
-
printWidth: 100,
|
|
5
|
-
// 使用 4 个空格缩进
|
|
6
|
-
tabWidth: 2,
|
|
7
|
-
// 不使用缩进符,而使用空格
|
|
8
|
-
useTabs: false,
|
|
9
|
-
// 行尾需要有分号
|
|
10
|
-
semi: false,
|
|
11
|
-
// 使用单引号
|
|
12
|
-
singleQuote: false,
|
|
13
|
-
// 对象的 key 仅在必要时用引号
|
|
14
|
-
quoteProps: "as-needed",
|
|
15
|
-
// jsx 不使用单引号,而使用双引号
|
|
16
|
-
jsxSingleQuote: false,
|
|
17
|
-
// 末尾不需要逗号
|
|
18
|
-
trailingComma: "es5",
|
|
19
|
-
// 大括号内的首尾需要空格
|
|
20
|
-
bracketSpacing: true,
|
|
21
|
-
// jsx 标签的反尖括号需要换行
|
|
22
|
-
jsxBracketSameLine: false,
|
|
23
|
-
// 箭头函数,只有一个参数的时候,也需要括号
|
|
24
|
-
arrowParens: "always",
|
|
25
|
-
// 每个文件格式化的范围是文件的全部内容
|
|
26
|
-
rangeStart: 0,
|
|
27
|
-
rangeEnd: Infinity,
|
|
28
|
-
// 不需要写文件开头的 @prettier
|
|
29
|
-
requirePragma: false,
|
|
30
|
-
// 不需要自动在文件开头插入 @prettier
|
|
31
|
-
insertPragma: false,
|
|
32
|
-
// 使用默认的折行标准
|
|
33
|
-
proseWrap: "preserve",
|
|
34
|
-
// 根据显示样式决定 html 要不要折行
|
|
35
|
-
htmlWhitespaceSensitivity: "css",
|
|
36
|
-
// 换行符使用 lf
|
|
37
|
-
endOfLine: "lf",
|
|
38
|
-
}
|
package/src/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from "./services"
|