gs2-cdk 1.0.71 → 1.0.73
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/guild/model/IgnoreUser.d.ts +8 -0
- package/guild/model/IgnoreUser.js +16 -0
- package/guild/model/IgnoreUser.js.map +1 -0
- package/guild/model/IgnoreUser.ts +38 -0
- package/guild/model/IgnoreUsers.d.ts +10 -0
- package/guild/model/IgnoreUsers.js +24 -0
- package/guild/model/IgnoreUsers.js.map +1 -0
- package/guild/model/IgnoreUsers.ts +47 -0
- package/guild/model/options/IgnoreUserOptions.d.ts +2 -0
- package/guild/model/options/IgnoreUserOptions.js +18 -0
- package/guild/model/options/IgnoreUserOptions.js.map +1 -0
- package/guild/model/options/IgnoreUserOptions.ts +19 -0
- package/guild/model/options/IgnoreUsersOptions.d.ts +5 -0
- package/guild/model/options/IgnoreUsersOptions.js +3 -0
- package/guild/model/options/IgnoreUsersOptions.js.map +1 -0
- package/guild/model/options/IgnoreUsersOptions.ts +22 -0
- package/guild/ref/IgnoreUserRef.d.ts +7 -0
- package/guild/ref/IgnoreUserRef.js +42 -0
- package/guild/ref/IgnoreUserRef.js.map +1 -0
- package/guild/ref/IgnoreUserRef.ts +58 -0
- package/guild/ref/IgnoreUsersRef.d.ts +7 -0
- package/guild/ref/IgnoreUsersRef.js +42 -0
- package/guild/ref/IgnoreUsersRef.js.map +1 -0
- package/guild/ref/IgnoreUsersRef.ts +58 -0
- package/guild/ref/index.d.ts +3 -1
- package/guild/ref/index.js +5 -1
- package/guild/ref/index.js.map +1 -1
- package/guild/ref/index.ts +4 -0
- package/identifier/model/Password.js.map +1 -1
- package/identifier/model/Password.ts +1 -0
- package/identifier/model/TwoFactorAuthenticationSetting.d.ts +10 -0
- package/identifier/model/TwoFactorAuthenticationSetting.js +20 -0
- package/identifier/model/TwoFactorAuthenticationSetting.js.map +1 -0
- package/identifier/model/TwoFactorAuthenticationSetting.ts +45 -0
- package/identifier/model/enum/PasswordEnableTwoFactorAuthentication.d.ts +5 -0
- package/identifier/model/enum/PasswordEnableTwoFactorAuthentication.js +23 -0
- package/identifier/model/enum/PasswordEnableTwoFactorAuthentication.js.map +1 -0
- package/identifier/model/enum/PasswordEnableTwoFactorAuthentication.ts +23 -0
- package/identifier/model/enum/TwoFactorAuthenticationSettingStatus.d.ts +5 -0
- package/identifier/model/enum/TwoFactorAuthenticationSettingStatus.js +23 -0
- package/identifier/model/enum/TwoFactorAuthenticationSettingStatus.js.map +1 -0
- package/identifier/model/enum/TwoFactorAuthenticationSettingStatus.ts +23 -0
- package/identifier/model/index.d.ts +7 -1
- package/identifier/model/index.js +7 -1
- package/identifier/model/index.js.map +1 -1
- package/identifier/model/index.ts +12 -0
- package/identifier/model/options/PasswordEnableTwoFactorAuthenticationIsDisableOptions.d.ts +5 -0
- package/identifier/model/options/PasswordEnableTwoFactorAuthenticationIsDisableOptions.js +3 -0
- package/identifier/model/options/PasswordEnableTwoFactorAuthenticationIsDisableOptions.js.map +1 -0
- package/identifier/model/options/PasswordEnableTwoFactorAuthenticationIsDisableOptions.ts +22 -0
- package/identifier/model/options/PasswordEnableTwoFactorAuthenticationIsRfc6238Options.d.ts +5 -0
- package/identifier/model/options/PasswordEnableTwoFactorAuthenticationIsRfc6238Options.js +3 -0
- package/identifier/model/options/PasswordEnableTwoFactorAuthenticationIsRfc6238Options.js.map +1 -0
- package/identifier/model/options/PasswordEnableTwoFactorAuthenticationIsRfc6238Options.ts +22 -0
- package/identifier/model/options/TwoFactorAuthenticationSettingOptions.d.ts +2 -0
- package/identifier/model/options/TwoFactorAuthenticationSettingOptions.js +3 -0
- package/identifier/model/options/TwoFactorAuthenticationSettingOptions.js.map +1 -0
- package/identifier/model/options/TwoFactorAuthenticationSettingOptions.ts +20 -0
- package/package.json +1 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class IgnoreUser {
|
|
4
|
+
constructor(userId, options = null) {
|
|
5
|
+
this.userId = userId;
|
|
6
|
+
}
|
|
7
|
+
properties() {
|
|
8
|
+
let properties = {};
|
|
9
|
+
if (this.userId != null) {
|
|
10
|
+
properties["userId"] = this.userId;
|
|
11
|
+
}
|
|
12
|
+
return properties;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.default = IgnoreUser;
|
|
16
|
+
//# sourceMappingURL=IgnoreUser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IgnoreUser.js","sourceRoot":"","sources":["IgnoreUser.ts"],"names":[],"mappings":";;AAiBA,MAAqB,UAAU;IAG3B,YACI,MAAc,EACd,UAAkC,IAAI;QAEtC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AApBD,6BAoBC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { IgnoreUserOptions } from "./options/IgnoreUserOptions";
|
|
17
|
+
|
|
18
|
+
export default class IgnoreUser {
|
|
19
|
+
private readonly userId: string;
|
|
20
|
+
|
|
21
|
+
public constructor(
|
|
22
|
+
userId: string,
|
|
23
|
+
options: IgnoreUserOptions|null = null,
|
|
24
|
+
) {
|
|
25
|
+
this.userId = userId;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
public properties(
|
|
29
|
+
): {[name: string]: any} {
|
|
30
|
+
let properties: {[name: string]: any} = {};
|
|
31
|
+
|
|
32
|
+
if (this.userId != null) {
|
|
33
|
+
properties["userId"] = this.userId;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
return properties;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { IgnoreUsersOptions } from "./options/IgnoreUsersOptions";
|
|
2
|
+
export default class IgnoreUsers {
|
|
3
|
+
private readonly guildModelName;
|
|
4
|
+
private readonly users;
|
|
5
|
+
private readonly revision;
|
|
6
|
+
constructor(guildModelName: string, options?: IgnoreUsersOptions | null);
|
|
7
|
+
properties(): {
|
|
8
|
+
[name: string]: any;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class IgnoreUsers {
|
|
4
|
+
constructor(guildModelName, options = null) {
|
|
5
|
+
var _a, _b;
|
|
6
|
+
this.users = null;
|
|
7
|
+
this.revision = null;
|
|
8
|
+
this.guildModelName = guildModelName;
|
|
9
|
+
this.users = (_a = options === null || options === void 0 ? void 0 : options.users) !== null && _a !== void 0 ? _a : null;
|
|
10
|
+
this.revision = (_b = options === null || options === void 0 ? void 0 : options.revision) !== null && _b !== void 0 ? _b : null;
|
|
11
|
+
}
|
|
12
|
+
properties() {
|
|
13
|
+
let properties = {};
|
|
14
|
+
if (this.guildModelName != null) {
|
|
15
|
+
properties["guildModelName"] = this.guildModelName;
|
|
16
|
+
}
|
|
17
|
+
if (this.users != null) {
|
|
18
|
+
properties["users"] = this.users.map(v => v.properties());
|
|
19
|
+
}
|
|
20
|
+
return properties;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.default = IgnoreUsers;
|
|
24
|
+
//# sourceMappingURL=IgnoreUsers.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IgnoreUsers.js","sourceRoot":"","sources":["IgnoreUsers.ts"],"names":[],"mappings":";;AAkBA,MAAqB,WAAW;IAK5B,YACI,cAAsB,EACtB,UAAmC,IAAI;;QAL1B,UAAK,GAAsB,IAAI,CAAC;QAChC,aAAQ,GAAgB,IAAI,CAAC;QAM1C,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,KAAK,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,IAAI,CAAC;QACpC,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;IAC9C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC;SACtD;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACjD,CAAC,CAAC;SACV;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA5BD,8BA4BC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import IgnoreUser from "./IgnoreUser";
|
|
17
|
+
import { IgnoreUsersOptions } from "./options/IgnoreUsersOptions";
|
|
18
|
+
|
|
19
|
+
export default class IgnoreUsers {
|
|
20
|
+
private readonly guildModelName: string;
|
|
21
|
+
private readonly users: IgnoreUser[]|null = null;
|
|
22
|
+
private readonly revision: number|null = null;
|
|
23
|
+
|
|
24
|
+
public constructor(
|
|
25
|
+
guildModelName: string,
|
|
26
|
+
options: IgnoreUsersOptions|null = null,
|
|
27
|
+
) {
|
|
28
|
+
this.guildModelName = guildModelName;
|
|
29
|
+
this.users = options?.users ?? null;
|
|
30
|
+
this.revision = options?.revision ?? null;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public properties(
|
|
34
|
+
): {[name: string]: any} {
|
|
35
|
+
let properties: {[name: string]: any} = {};
|
|
36
|
+
|
|
37
|
+
if (this.guildModelName != null) {
|
|
38
|
+
properties["guildModelName"] = this.guildModelName;
|
|
39
|
+
}
|
|
40
|
+
if (this.users != null) {
|
|
41
|
+
properties["users"] = this.users.map(v => v.properties(
|
|
42
|
+
));
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
return properties;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
//# sourceMappingURL=IgnoreUserOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IgnoreUserOptions.js","sourceRoot":"","sources":["IgnoreUserOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
export interface IgnoreUserOptions {
|
|
18
|
+
}
|
|
19
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IgnoreUsersOptions.js","sourceRoot":"","sources":["IgnoreUsersOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import IgnoreUser from "../IgnoreUser";
|
|
17
|
+
|
|
18
|
+
export interface IgnoreUsersOptions {
|
|
19
|
+
users?: IgnoreUser[]|null;
|
|
20
|
+
revision?: number|null;
|
|
21
|
+
}
|
|
22
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const func_1 = require("../../core/func");
|
|
19
|
+
class IgnoreUserRef {
|
|
20
|
+
constructor(namespaceName, guildModelName, guildName) {
|
|
21
|
+
this.namespaceName = namespaceName;
|
|
22
|
+
this.guildModelName = guildModelName;
|
|
23
|
+
this.guildName = guildName;
|
|
24
|
+
}
|
|
25
|
+
grn() {
|
|
26
|
+
return new func_1.Join(":", [
|
|
27
|
+
"grn",
|
|
28
|
+
"gs2",
|
|
29
|
+
func_1.GetAttr.region().str(),
|
|
30
|
+
func_1.GetAttr.ownerId().str(),
|
|
31
|
+
"guild",
|
|
32
|
+
this.namespaceName,
|
|
33
|
+
"guild",
|
|
34
|
+
this.guildModelName,
|
|
35
|
+
this.guildName,
|
|
36
|
+
"ignore",
|
|
37
|
+
"user",
|
|
38
|
+
]).str();
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.default = IgnoreUserRef;
|
|
42
|
+
//# sourceMappingURL=IgnoreUserRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IgnoreUserRef.js","sourceRoot":"","sources":["IgnoreUserRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,aAAa;IAK9B,YACI,aAAqB,EACrB,cAAsB,EACtB,SAAiB;QAEjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,OAAO;YACP,IAAI,CAAC,aAAa;YAClB,OAAO;YACP,IAAI,CAAC,cAAc;YACnB,IAAI,CAAC,SAAS;YACd,QAAQ;YACR,MAAM;SACT,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAvCD,gCAuCC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import {GetAttr, Join} from "../../core/func";
|
|
18
|
+
|
|
19
|
+
export default class IgnoreUserRef {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly guildModelName: string;
|
|
22
|
+
private readonly guildName: string;
|
|
23
|
+
|
|
24
|
+
public constructor(
|
|
25
|
+
namespaceName: string,
|
|
26
|
+
guildModelName: string,
|
|
27
|
+
guildName: string,
|
|
28
|
+
) {
|
|
29
|
+
this.namespaceName = namespaceName;
|
|
30
|
+
this.guildModelName = guildModelName;
|
|
31
|
+
this.guildName = guildName;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public grn(
|
|
35
|
+
): string {
|
|
36
|
+
return new Join(
|
|
37
|
+
":",
|
|
38
|
+
[
|
|
39
|
+
"grn",
|
|
40
|
+
"gs2",
|
|
41
|
+
GetAttr.region(
|
|
42
|
+
).str(
|
|
43
|
+
),
|
|
44
|
+
GetAttr.ownerId(
|
|
45
|
+
).str(
|
|
46
|
+
),
|
|
47
|
+
"guild",
|
|
48
|
+
this.namespaceName,
|
|
49
|
+
"guild",
|
|
50
|
+
this.guildModelName,
|
|
51
|
+
this.guildName,
|
|
52
|
+
"ignore",
|
|
53
|
+
"user",
|
|
54
|
+
],
|
|
55
|
+
).str(
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const func_1 = require("../../core/func");
|
|
19
|
+
class IgnoreUsersRef {
|
|
20
|
+
constructor(namespaceName, guildModelName, guildName) {
|
|
21
|
+
this.namespaceName = namespaceName;
|
|
22
|
+
this.guildModelName = guildModelName;
|
|
23
|
+
this.guildName = guildName;
|
|
24
|
+
}
|
|
25
|
+
grn() {
|
|
26
|
+
return new func_1.Join(":", [
|
|
27
|
+
"grn",
|
|
28
|
+
"gs2",
|
|
29
|
+
func_1.GetAttr.region().str(),
|
|
30
|
+
func_1.GetAttr.ownerId().str(),
|
|
31
|
+
"guild",
|
|
32
|
+
this.namespaceName,
|
|
33
|
+
"guild",
|
|
34
|
+
this.guildModelName,
|
|
35
|
+
this.guildName,
|
|
36
|
+
"ignore",
|
|
37
|
+
"user",
|
|
38
|
+
]).str();
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
exports.default = IgnoreUsersRef;
|
|
42
|
+
//# sourceMappingURL=IgnoreUsersRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IgnoreUsersRef.js","sourceRoot":"","sources":["IgnoreUsersRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,cAAc;IAK/B,YACI,aAAqB,EACrB,cAAsB,EACtB,SAAiB;QAEjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,OAAO;YACP,IAAI,CAAC,aAAa;YAClB,OAAO;YACP,IAAI,CAAC,cAAc;YACnB,IAAI,CAAC,SAAS;YACd,QAAQ;YACR,MAAM;SACT,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAvCD,iCAuCC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import {GetAttr, Join} from "../../core/func";
|
|
18
|
+
|
|
19
|
+
export default class IgnoreUsersRef {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly guildModelName: string;
|
|
22
|
+
private readonly guildName: string;
|
|
23
|
+
|
|
24
|
+
public constructor(
|
|
25
|
+
namespaceName: string,
|
|
26
|
+
guildModelName: string,
|
|
27
|
+
guildName: string,
|
|
28
|
+
) {
|
|
29
|
+
this.namespaceName = namespaceName;
|
|
30
|
+
this.guildModelName = guildModelName;
|
|
31
|
+
this.guildName = guildName;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public grn(
|
|
35
|
+
): string {
|
|
36
|
+
return new Join(
|
|
37
|
+
":",
|
|
38
|
+
[
|
|
39
|
+
"grn",
|
|
40
|
+
"gs2",
|
|
41
|
+
GetAttr.region(
|
|
42
|
+
).str(
|
|
43
|
+
),
|
|
44
|
+
GetAttr.ownerId(
|
|
45
|
+
).str(
|
|
46
|
+
),
|
|
47
|
+
"guild",
|
|
48
|
+
this.namespaceName,
|
|
49
|
+
"guild",
|
|
50
|
+
this.guildModelName,
|
|
51
|
+
this.guildName,
|
|
52
|
+
"ignore",
|
|
53
|
+
"user",
|
|
54
|
+
],
|
|
55
|
+
).str(
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
}
|
package/guild/ref/index.d.ts
CHANGED
|
@@ -2,5 +2,7 @@ import NamespaceRef from "./NamespaceRef";
|
|
|
2
2
|
import GuildModelRef from "./GuildModelRef";
|
|
3
3
|
import InboxRef from "./InboxRef";
|
|
4
4
|
import GuildRef from "./GuildRef";
|
|
5
|
+
import IgnoreUsersRef from "./IgnoreUsersRef";
|
|
5
6
|
import RoleModelRef from "./RoleModelRef";
|
|
6
|
-
|
|
7
|
+
import IgnoreUserRef from "./IgnoreUserRef";
|
|
8
|
+
export { NamespaceRef, GuildModelRef, InboxRef, GuildRef, IgnoreUsersRef, RoleModelRef, IgnoreUserRef, };
|
package/guild/ref/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RoleModelRef = exports.GuildRef = exports.InboxRef = exports.GuildModelRef = exports.NamespaceRef = void 0;
|
|
3
|
+
exports.IgnoreUserRef = exports.RoleModelRef = exports.IgnoreUsersRef = exports.GuildRef = exports.InboxRef = exports.GuildModelRef = exports.NamespaceRef = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -25,6 +25,10 @@ const InboxRef_1 = tslib_1.__importDefault(require("./InboxRef"));
|
|
|
25
25
|
exports.InboxRef = InboxRef_1.default;
|
|
26
26
|
const GuildRef_1 = tslib_1.__importDefault(require("./GuildRef"));
|
|
27
27
|
exports.GuildRef = GuildRef_1.default;
|
|
28
|
+
const IgnoreUsersRef_1 = tslib_1.__importDefault(require("./IgnoreUsersRef"));
|
|
29
|
+
exports.IgnoreUsersRef = IgnoreUsersRef_1.default;
|
|
28
30
|
const RoleModelRef_1 = tslib_1.__importDefault(require("./RoleModelRef"));
|
|
29
31
|
exports.RoleModelRef = RoleModelRef_1.default;
|
|
32
|
+
const IgnoreUserRef_1 = tslib_1.__importDefault(require("./IgnoreUserRef"));
|
|
33
|
+
exports.IgnoreUserRef = IgnoreUserRef_1.default;
|
|
30
34
|
//# sourceMappingURL=index.js.map
|
package/guild/ref/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAStC,uBATG,sBAAY,CASH;AARhB,4EAA4C;AASxC,wBATG,uBAAa,CASH;AARjB,kEAAkC;AAS9B,mBATG,kBAAQ,CASH;AARZ,kEAAkC;AAS9B,mBATG,kBAAQ,CASH;AARZ,8EAA8C;AAS1C,yBATG,wBAAc,CASH;AARlB,0EAA0C;AAStC,uBATG,sBAAY,CASH;AARhB,4EAA4C;AASxC,wBATG,uBAAa,CASH"}
|
package/guild/ref/index.ts
CHANGED
|
@@ -17,12 +17,16 @@ import NamespaceRef from "./NamespaceRef";
|
|
|
17
17
|
import GuildModelRef from "./GuildModelRef";
|
|
18
18
|
import InboxRef from "./InboxRef";
|
|
19
19
|
import GuildRef from "./GuildRef";
|
|
20
|
+
import IgnoreUsersRef from "./IgnoreUsersRef";
|
|
20
21
|
import RoleModelRef from "./RoleModelRef";
|
|
22
|
+
import IgnoreUserRef from "./IgnoreUserRef";
|
|
21
23
|
|
|
22
24
|
export {
|
|
23
25
|
NamespaceRef,
|
|
24
26
|
GuildModelRef,
|
|
25
27
|
InboxRef,
|
|
26
28
|
GuildRef,
|
|
29
|
+
IgnoreUsersRef,
|
|
27
30
|
RoleModelRef,
|
|
31
|
+
IgnoreUserRef,
|
|
28
32
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Password.js","sourceRoot":"","sources":["Password.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAExC,6EAA6C;
|
|
1
|
+
{"version":3,"file":"Password.js","sourceRoot":"","sources":["Password.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAExC,6EAA6C;AAK7C,MAAqB,QAAS,SAAQ,mBAAW;IAK7C,YACI,KAAY,EACZ,QAAgB,EAChB,QAAgB,EAChB,UAAgC,IAAI;QAEpC,KAAK,CACD,sBAAsB,CACzB,CAAC;QAEF,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAK,CAAC,WAAW,CACb,IAAI,CACP,CAAC;IACN,CAAC;IAGM,aAAa;QAEhB,OAAO,EAAE,CAAC;IACd,CAAC;IAEM,YAAY;QAEf,OAAO,2BAA2B,CAAC;IACvC,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,qBAAW,CAClB,IAAI,CAAC,QAAQ,CAChB,CAAC;IACN,CAAC;IAEM,iBAAiB;QAEpB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,iBAAiB,EACjB,IAAI,CACP,CAAC;IACN,CAAC;CACJ;AA/DD,2BA+DC"}
|
|
@@ -18,6 +18,7 @@ import {CdkResource, Stack} from "../../core/model";
|
|
|
18
18
|
import {GetAttr} from "../../core/func";
|
|
19
19
|
|
|
20
20
|
import PasswordRef from "../ref/PasswordRef";
|
|
21
|
+
import { PasswordEnableTwoFactorAuthentication } from "./enum/PasswordEnableTwoFactorAuthentication";
|
|
21
22
|
|
|
22
23
|
import { PasswordOptions } from "./options/PasswordOptions";
|
|
23
24
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TwoFactorAuthenticationSettingOptions } from "./options/TwoFactorAuthenticationSettingOptions";
|
|
2
|
+
import { TwoFactorAuthenticationSettingStatus } from "./enum/TwoFactorAuthenticationSettingStatus";
|
|
3
|
+
export default class TwoFactorAuthenticationSetting {
|
|
4
|
+
private readonly authenticationKey;
|
|
5
|
+
private readonly status;
|
|
6
|
+
constructor(authenticationKey: string, status: TwoFactorAuthenticationSettingStatus, options?: TwoFactorAuthenticationSettingOptions | null);
|
|
7
|
+
properties(): {
|
|
8
|
+
[name: string]: any;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class TwoFactorAuthenticationSetting {
|
|
4
|
+
constructor(authenticationKey, status, options = null) {
|
|
5
|
+
this.authenticationKey = authenticationKey;
|
|
6
|
+
this.status = status;
|
|
7
|
+
}
|
|
8
|
+
properties() {
|
|
9
|
+
let properties = {};
|
|
10
|
+
if (this.authenticationKey != null) {
|
|
11
|
+
properties["authenticationKey"] = this.authenticationKey;
|
|
12
|
+
}
|
|
13
|
+
if (this.status != null) {
|
|
14
|
+
properties["status"] = this.status;
|
|
15
|
+
}
|
|
16
|
+
return properties;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.default = TwoFactorAuthenticationSetting;
|
|
20
|
+
//# sourceMappingURL=TwoFactorAuthenticationSetting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TwoFactorAuthenticationSetting.js","sourceRoot":"","sources":["TwoFactorAuthenticationSetting.ts"],"names":[],"mappings":";;AAkBA,MAAqB,8BAA8B;IAI/C,YACI,iBAAyB,EACzB,MAA4C,EAC5C,UAAsD,IAAI;QAE1D,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,iBAAiB,IAAI,IAAI,EAAE;YAChC,UAAU,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC;SAC5D;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA1BD,iDA0BC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { TwoFactorAuthenticationSettingOptions } from "./options/TwoFactorAuthenticationSettingOptions";
|
|
17
|
+
import { TwoFactorAuthenticationSettingStatus } from "./enum/TwoFactorAuthenticationSettingStatus";
|
|
18
|
+
|
|
19
|
+
export default class TwoFactorAuthenticationSetting {
|
|
20
|
+
private readonly authenticationKey: string;
|
|
21
|
+
private readonly status: TwoFactorAuthenticationSettingStatus;
|
|
22
|
+
|
|
23
|
+
public constructor(
|
|
24
|
+
authenticationKey: string,
|
|
25
|
+
status: TwoFactorAuthenticationSettingStatus,
|
|
26
|
+
options: TwoFactorAuthenticationSettingOptions|null = null,
|
|
27
|
+
) {
|
|
28
|
+
this.authenticationKey = authenticationKey;
|
|
29
|
+
this.status = status;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
public properties(
|
|
33
|
+
): {[name: string]: any} {
|
|
34
|
+
let properties: {[name: string]: any} = {};
|
|
35
|
+
|
|
36
|
+
if (this.authenticationKey != null) {
|
|
37
|
+
properties["authenticationKey"] = this.authenticationKey;
|
|
38
|
+
}
|
|
39
|
+
if (this.status != null) {
|
|
40
|
+
properties["status"] = this.status;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
return properties;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const PasswordEnableTwoFactorAuthentication: {
|
|
2
|
+
readonly RFC6238: "RFC6238";
|
|
3
|
+
readonly DISABLE: "Disable";
|
|
4
|
+
};
|
|
5
|
+
export type PasswordEnableTwoFactorAuthentication = typeof PasswordEnableTwoFactorAuthentication[keyof typeof PasswordEnableTwoFactorAuthentication];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.PasswordEnableTwoFactorAuthentication = void 0;
|
|
19
|
+
exports.PasswordEnableTwoFactorAuthentication = {
|
|
20
|
+
RFC6238: "RFC6238",
|
|
21
|
+
DISABLE: "Disable",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=PasswordEnableTwoFactorAuthentication.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordEnableTwoFactorAuthentication.js","sourceRoot":"","sources":["PasswordEnableTwoFactorAuthentication.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,qCAAqC,GAAG;IACjD,OAAO,EAAE,SAAS;IAClB,OAAO,EAAE,SAAS;CACZ,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export const PasswordEnableTwoFactorAuthentication = {
|
|
20
|
+
RFC6238: "RFC6238",
|
|
21
|
+
DISABLE: "Disable",
|
|
22
|
+
} as const;
|
|
23
|
+
export type PasswordEnableTwoFactorAuthentication = typeof PasswordEnableTwoFactorAuthentication[keyof typeof PasswordEnableTwoFactorAuthentication];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const TwoFactorAuthenticationSettingStatus: {
|
|
2
|
+
readonly VERIFYING: "Verifying";
|
|
3
|
+
readonly ENABLE: "Enable";
|
|
4
|
+
};
|
|
5
|
+
export type TwoFactorAuthenticationSettingStatus = typeof TwoFactorAuthenticationSettingStatus[keyof typeof TwoFactorAuthenticationSettingStatus];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
exports.TwoFactorAuthenticationSettingStatus = void 0;
|
|
19
|
+
exports.TwoFactorAuthenticationSettingStatus = {
|
|
20
|
+
VERIFYING: "Verifying",
|
|
21
|
+
ENABLE: "Enable",
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=TwoFactorAuthenticationSettingStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TwoFactorAuthenticationSettingStatus.js","sourceRoot":"","sources":["TwoFactorAuthenticationSettingStatus.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,oCAAoC,GAAG;IAChD,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;CACV,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
export const TwoFactorAuthenticationSettingStatus = {
|
|
20
|
+
VERIFYING: "Verifying",
|
|
21
|
+
ENABLE: "Enable",
|
|
22
|
+
} as const;
|
|
23
|
+
export type TwoFactorAuthenticationSettingStatus = typeof TwoFactorAuthenticationSettingStatus[keyof typeof TwoFactorAuthenticationSettingStatus];
|
|
@@ -6,8 +6,14 @@ import Identifier from "./Identifier";
|
|
|
6
6
|
import { IdentifierOptions } from "./options/IdentifierOptions";
|
|
7
7
|
import Password from "./Password";
|
|
8
8
|
import { PasswordOptions } from "./options/PasswordOptions";
|
|
9
|
+
import { PasswordEnableTwoFactorAuthentication } from "./enum/PasswordEnableTwoFactorAuthentication";
|
|
10
|
+
import { PasswordEnableTwoFactorAuthenticationIsRfc6238Options } from "./options/PasswordEnableTwoFactorAuthenticationIsRfc6238Options";
|
|
11
|
+
import { PasswordEnableTwoFactorAuthenticationIsDisableOptions } from "./options/PasswordEnableTwoFactorAuthenticationIsDisableOptions";
|
|
9
12
|
import AttachSecurityPolicy from "./AttachSecurityPolicy";
|
|
10
13
|
import { AttachSecurityPolicyOptions } from "./options/AttachSecurityPolicyOptions";
|
|
11
14
|
import ProjectToken from "./ProjectToken";
|
|
12
15
|
import { ProjectTokenOptions } from "./options/ProjectTokenOptions";
|
|
13
|
-
|
|
16
|
+
import TwoFactorAuthenticationSetting from "./TwoFactorAuthenticationSetting";
|
|
17
|
+
import { TwoFactorAuthenticationSettingOptions } from "./options/TwoFactorAuthenticationSettingOptions";
|
|
18
|
+
import { TwoFactorAuthenticationSettingStatus } from "./enum/TwoFactorAuthenticationSettingStatus";
|
|
19
|
+
export { User, UserOptions, SecurityPolicy, SecurityPolicyOptions, Identifier, IdentifierOptions, Password, PasswordOptions, PasswordEnableTwoFactorAuthentication, PasswordEnableTwoFactorAuthenticationIsRfc6238Options, PasswordEnableTwoFactorAuthenticationIsDisableOptions, AttachSecurityPolicy, AttachSecurityPolicyOptions, ProjectToken, ProjectTokenOptions, TwoFactorAuthenticationSetting, TwoFactorAuthenticationSettingOptions, TwoFactorAuthenticationSettingStatus, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ProjectToken = exports.AttachSecurityPolicy = exports.Password = exports.Identifier = exports.SecurityPolicy = exports.User = void 0;
|
|
3
|
+
exports.TwoFactorAuthenticationSettingStatus = exports.TwoFactorAuthenticationSetting = exports.ProjectToken = exports.AttachSecurityPolicy = exports.PasswordEnableTwoFactorAuthentication = exports.Password = exports.Identifier = exports.SecurityPolicy = exports.User = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -25,8 +25,14 @@ const Identifier_1 = tslib_1.__importDefault(require("./Identifier"));
|
|
|
25
25
|
exports.Identifier = Identifier_1.default;
|
|
26
26
|
const Password_1 = tslib_1.__importDefault(require("./Password"));
|
|
27
27
|
exports.Password = Password_1.default;
|
|
28
|
+
const PasswordEnableTwoFactorAuthentication_1 = require("./enum/PasswordEnableTwoFactorAuthentication");
|
|
29
|
+
Object.defineProperty(exports, "PasswordEnableTwoFactorAuthentication", { enumerable: true, get: function () { return PasswordEnableTwoFactorAuthentication_1.PasswordEnableTwoFactorAuthentication; } });
|
|
28
30
|
const AttachSecurityPolicy_1 = tslib_1.__importDefault(require("./AttachSecurityPolicy"));
|
|
29
31
|
exports.AttachSecurityPolicy = AttachSecurityPolicy_1.default;
|
|
30
32
|
const ProjectToken_1 = tslib_1.__importDefault(require("./ProjectToken"));
|
|
31
33
|
exports.ProjectToken = ProjectToken_1.default;
|
|
34
|
+
const TwoFactorAuthenticationSetting_1 = tslib_1.__importDefault(require("./TwoFactorAuthenticationSetting"));
|
|
35
|
+
exports.TwoFactorAuthenticationSetting = TwoFactorAuthenticationSetting_1.default;
|
|
36
|
+
const TwoFactorAuthenticationSettingStatus_1 = require("./enum/TwoFactorAuthenticationSettingStatus");
|
|
37
|
+
Object.defineProperty(exports, "TwoFactorAuthenticationSettingStatus", { enumerable: true, get: function () { return TwoFactorAuthenticationSettingStatus_1.TwoFactorAuthenticationSettingStatus; } });
|
|
32
38
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0DAA0B;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0DAA0B;AAoBtB,eApBG,cAAI,CAoBH;AAlBR,8EAA8C;AAoB1C,yBApBG,wBAAc,CAoBH;AAlBlB,sEAAsC;AAoBlC,qBApBG,oBAAU,CAoBH;AAlBd,kEAAkC;AAoB9B,mBApBG,kBAAQ,CAoBH;AAlBZ,wGAAqG;AAoBjG,sHApBK,6EAAqC,OAoBL;AAjBzC,0FAA0D;AAoBtD,+BApBG,8BAAoB,CAoBH;AAlBxB,0EAA0C;AAoBtC,uBApBG,sBAAY,CAoBH;AAlBhB,8GAA8E;AAoB1E,yCApBG,wCAA8B,CAoBH;AAlBlC,sGAAmG;AAoB/F,qHApBK,2EAAoC,OAoBL"}
|
|
@@ -21,10 +21,16 @@ import Identifier from "./Identifier";
|
|
|
21
21
|
import { IdentifierOptions } from "./options/IdentifierOptions";
|
|
22
22
|
import Password from "./Password";
|
|
23
23
|
import { PasswordOptions } from "./options/PasswordOptions";
|
|
24
|
+
import { PasswordEnableTwoFactorAuthentication } from "./enum/PasswordEnableTwoFactorAuthentication";
|
|
25
|
+
import { PasswordEnableTwoFactorAuthenticationIsRfc6238Options } from "./options/PasswordEnableTwoFactorAuthenticationIsRfc6238Options"
|
|
26
|
+
import { PasswordEnableTwoFactorAuthenticationIsDisableOptions } from "./options/PasswordEnableTwoFactorAuthenticationIsDisableOptions"
|
|
24
27
|
import AttachSecurityPolicy from "./AttachSecurityPolicy";
|
|
25
28
|
import { AttachSecurityPolicyOptions } from "./options/AttachSecurityPolicyOptions";
|
|
26
29
|
import ProjectToken from "./ProjectToken";
|
|
27
30
|
import { ProjectTokenOptions } from "./options/ProjectTokenOptions";
|
|
31
|
+
import TwoFactorAuthenticationSetting from "./TwoFactorAuthenticationSetting";
|
|
32
|
+
import { TwoFactorAuthenticationSettingOptions } from "./options/TwoFactorAuthenticationSettingOptions";
|
|
33
|
+
import { TwoFactorAuthenticationSettingStatus } from "./enum/TwoFactorAuthenticationSettingStatus";
|
|
28
34
|
|
|
29
35
|
export {
|
|
30
36
|
User,
|
|
@@ -35,8 +41,14 @@ export {
|
|
|
35
41
|
IdentifierOptions,
|
|
36
42
|
Password,
|
|
37
43
|
PasswordOptions,
|
|
44
|
+
PasswordEnableTwoFactorAuthentication,
|
|
45
|
+
PasswordEnableTwoFactorAuthenticationIsRfc6238Options,
|
|
46
|
+
PasswordEnableTwoFactorAuthenticationIsDisableOptions,
|
|
38
47
|
AttachSecurityPolicy,
|
|
39
48
|
AttachSecurityPolicyOptions,
|
|
40
49
|
ProjectToken,
|
|
41
50
|
ProjectTokenOptions,
|
|
51
|
+
TwoFactorAuthenticationSetting,
|
|
52
|
+
TwoFactorAuthenticationSettingOptions,
|
|
53
|
+
TwoFactorAuthenticationSettingStatus,
|
|
42
54
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordEnableTwoFactorAuthenticationIsDisableOptions.js","sourceRoot":"","sources":["PasswordEnableTwoFactorAuthenticationIsDisableOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import TwoFactorAuthenticationSetting from "../TwoFactorAuthenticationSetting";
|
|
17
|
+
import { PasswordEnableTwoFactorAuthentication } from "../enum/PasswordEnableTwoFactorAuthentication";
|
|
18
|
+
|
|
19
|
+
export interface PasswordEnableTwoFactorAuthenticationIsDisableOptions {
|
|
20
|
+
twoFactorAuthenticationSetting?: TwoFactorAuthenticationSetting|null;
|
|
21
|
+
revision?: number|null;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordEnableTwoFactorAuthenticationIsRfc6238Options.js","sourceRoot":"","sources":["PasswordEnableTwoFactorAuthenticationIsRfc6238Options.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import TwoFactorAuthenticationSetting from "../TwoFactorAuthenticationSetting";
|
|
17
|
+
import { PasswordEnableTwoFactorAuthentication } from "../enum/PasswordEnableTwoFactorAuthentication";
|
|
18
|
+
|
|
19
|
+
export interface PasswordEnableTwoFactorAuthenticationIsRfc6238Options {
|
|
20
|
+
twoFactorAuthenticationSetting?: TwoFactorAuthenticationSetting|null;
|
|
21
|
+
revision?: number|null;
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TwoFactorAuthenticationSettingOptions.js","sourceRoot":"","sources":["TwoFactorAuthenticationSettingOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import { TwoFactorAuthenticationSettingStatus } from "../enum/TwoFactorAuthenticationSettingStatus";
|
|
17
|
+
|
|
18
|
+
export interface TwoFactorAuthenticationSettingOptions {
|
|
19
|
+
}
|
|
20
|
+
|