gs2 1.4.11 → 1.4.13
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/account/model/OpenIdConnectSetting.d.ts +16 -0
- package/account/model/OpenIdConnectSetting.js +57 -1
- package/account/model/OpenIdConnectSetting.js.map +1 -1
- package/account/model/OpenIdConnectSetting.ts +57 -1
- package/account/request/GetAuthorizationUrlRequest.d.ts +29 -0
- package/account/request/GetAuthorizationUrlRequest.js +97 -0
- package/account/request/GetAuthorizationUrlRequest.js.map +1 -0
- package/account/request/GetAuthorizationUrlRequest.ts +104 -0
- package/account/request/index.d.ts +2 -1
- package/account/request/index.js +4 -2
- package/account/request/index.js.map +1 -1
- package/account/request/index.ts +2 -0
- package/account/rest.d.ts +1 -0
- package/account/rest.js +26 -0
- package/account/rest.js.map +1 -1
- package/account/rest.ts +30 -0
- package/account/result/GetAuthorizationUrlResult.d.ts +13 -0
- package/account/result/GetAuthorizationUrlResult.js +45 -0
- package/account/result/GetAuthorizationUrlResult.js.map +1 -0
- package/account/result/GetAuthorizationUrlResult.ts +46 -0
- package/account/result/index.d.ts +2 -1
- package/account/result/index.js +4 -2
- package/account/result/index.js.map +1 -1
- package/account/result/index.ts +2 -0
- package/friend/request/UpdateProfileByStampSheetRequest.d.ts +25 -0
- package/friend/request/UpdateProfileByStampSheetRequest.js +83 -0
- package/friend/request/UpdateProfileByStampSheetRequest.js.map +1 -0
- package/friend/request/UpdateProfileByStampSheetRequest.ts +90 -0
- package/friend/request/index.d.ts +2 -1
- package/friend/request/index.js +4 -2
- package/friend/request/index.js.map +1 -1
- package/friend/request/index.ts +2 -0
- package/friend/rest.d.ts +1 -0
- package/friend/rest.js +27 -0
- package/friend/rest.js.map +1 -1
- package/friend/rest.ts +31 -0
- package/friend/result/UpdateProfileByStampSheetResult.d.ts +14 -0
- package/friend/result/UpdateProfileByStampSheetResult.js +48 -0
- package/friend/result/UpdateProfileByStampSheetResult.js.map +1 -0
- package/friend/result/UpdateProfileByStampSheetResult.ts +47 -0
- package/friend/result/index.d.ts +2 -1
- package/friend/result/index.js +4 -2
- package/friend/result/index.js.map +1 -1
- package/friend/result/index.ts +2 -0
- package/log/model/InGameLog.d.ts +32 -0
- package/log/model/InGameLog.js +119 -0
- package/log/model/InGameLog.js.map +1 -0
- package/log/model/InGameLog.ts +121 -0
- package/log/model/InGameLogTag.d.ts +17 -0
- package/log/model/InGameLogTag.js +62 -0
- package/log/model/InGameLogTag.js.map +1 -0
- package/log/model/InGameLogTag.ts +60 -0
- package/log/model/index.d.ts +3 -1
- package/log/model/index.js +5 -1
- package/log/model/index.js.map +1 -1
- package/log/model/index.ts +4 -0
- package/log/request/QueryInGameLogRequest.d.ts +58 -0
- package/log/request/QueryInGameLogRequest.js +201 -0
- package/log/request/QueryInGameLogRequest.js.map +1 -0
- package/log/request/QueryInGameLogRequest.ts +211 -0
- package/log/request/SendInGameLogByUserIdRequest.d.ts +42 -0
- package/log/request/SendInGameLogByUserIdRequest.js +145 -0
- package/log/request/SendInGameLogByUserIdRequest.js.map +1 -0
- package/log/request/SendInGameLogByUserIdRequest.ts +155 -0
- package/log/request/SendInGameLogRequest.d.ts +38 -0
- package/log/request/SendInGameLogRequest.js +131 -0
- package/log/request/SendInGameLogRequest.js.map +1 -0
- package/log/request/SendInGameLogRequest.ts +141 -0
- package/log/request/index.d.ts +4 -1
- package/log/request/index.js +7 -1
- package/log/request/index.js.map +1 -1
- package/log/request/index.ts +6 -0
- package/log/rest.d.ts +3 -0
- package/log/rest.js +108 -0
- package/log/rest.js.map +1 -1
- package/log/rest.ts +120 -0
- package/log/result/QueryInGameLogResult.d.ts +26 -0
- package/log/result/QueryInGameLogResult.js +95 -0
- package/log/result/QueryInGameLogResult.js.map +1 -0
- package/log/result/QueryInGameLogResult.ts +106 -0
- package/log/result/SendInGameLogByUserIdResult.d.ts +14 -0
- package/log/result/SendInGameLogByUserIdResult.js +48 -0
- package/log/result/SendInGameLogByUserIdResult.js.map +1 -0
- package/log/result/SendInGameLogByUserIdResult.ts +47 -0
- package/log/result/SendInGameLogResult.d.ts +14 -0
- package/log/result/SendInGameLogResult.js +48 -0
- package/log/result/SendInGameLogResult.js.map +1 -0
- package/log/result/SendInGameLogResult.ts +47 -0
- package/log/result/index.d.ts +4 -1
- package/log/result/index.js +7 -1
- package/log/result/index.js.map +1 -1
- package/log/result/index.ts +6 -0
- package/package.json +1 -1
|
@@ -2,12 +2,28 @@ import IModel from '../../core/interface/IModel';
|
|
|
2
2
|
export default class OpenIdConnectSetting implements IModel {
|
|
3
3
|
private configurationPath;
|
|
4
4
|
private clientId;
|
|
5
|
+
private clientSecret;
|
|
6
|
+
private appleTeamId;
|
|
7
|
+
private appleKeyId;
|
|
8
|
+
private applePrivateKeyPem;
|
|
5
9
|
getConfigurationPath(): string | null;
|
|
6
10
|
setConfigurationPath(configurationPath: string | null): this;
|
|
7
11
|
withConfigurationPath(configurationPath: string | null): this;
|
|
8
12
|
getClientId(): string | null;
|
|
9
13
|
setClientId(clientId: string | null): this;
|
|
10
14
|
withClientId(clientId: string | null): this;
|
|
15
|
+
getClientSecret(): string | null;
|
|
16
|
+
setClientSecret(clientSecret: string | null): this;
|
|
17
|
+
withClientSecret(clientSecret: string | null): this;
|
|
18
|
+
getAppleTeamId(): string | null;
|
|
19
|
+
setAppleTeamId(appleTeamId: string | null): this;
|
|
20
|
+
withAppleTeamId(appleTeamId: string | null): this;
|
|
21
|
+
getAppleKeyId(): string | null;
|
|
22
|
+
setAppleKeyId(appleKeyId: string | null): this;
|
|
23
|
+
withAppleKeyId(appleKeyId: string | null): this;
|
|
24
|
+
getApplePrivateKeyPem(): string | null;
|
|
25
|
+
setApplePrivateKeyPem(applePrivateKeyPem: string | null): this;
|
|
26
|
+
withApplePrivateKeyPem(applePrivateKeyPem: string | null): this;
|
|
11
27
|
static fromDict(data: {
|
|
12
28
|
[key: string]: any;
|
|
13
29
|
}): OpenIdConnectSetting | null;
|
|
@@ -19,6 +19,10 @@ var OpenIdConnectSetting = /** @class */ (function () {
|
|
|
19
19
|
function OpenIdConnectSetting() {
|
|
20
20
|
this.configurationPath = null;
|
|
21
21
|
this.clientId = null;
|
|
22
|
+
this.clientSecret = null;
|
|
23
|
+
this.appleTeamId = null;
|
|
24
|
+
this.appleKeyId = null;
|
|
25
|
+
this.applePrivateKeyPem = null;
|
|
22
26
|
}
|
|
23
27
|
OpenIdConnectSetting.prototype.getConfigurationPath = function () {
|
|
24
28
|
return this.configurationPath;
|
|
@@ -42,18 +46,70 @@ var OpenIdConnectSetting = /** @class */ (function () {
|
|
|
42
46
|
this.clientId = clientId;
|
|
43
47
|
return this;
|
|
44
48
|
};
|
|
49
|
+
OpenIdConnectSetting.prototype.getClientSecret = function () {
|
|
50
|
+
return this.clientSecret;
|
|
51
|
+
};
|
|
52
|
+
OpenIdConnectSetting.prototype.setClientSecret = function (clientSecret) {
|
|
53
|
+
this.clientSecret = clientSecret;
|
|
54
|
+
return this;
|
|
55
|
+
};
|
|
56
|
+
OpenIdConnectSetting.prototype.withClientSecret = function (clientSecret) {
|
|
57
|
+
this.clientSecret = clientSecret;
|
|
58
|
+
return this;
|
|
59
|
+
};
|
|
60
|
+
OpenIdConnectSetting.prototype.getAppleTeamId = function () {
|
|
61
|
+
return this.appleTeamId;
|
|
62
|
+
};
|
|
63
|
+
OpenIdConnectSetting.prototype.setAppleTeamId = function (appleTeamId) {
|
|
64
|
+
this.appleTeamId = appleTeamId;
|
|
65
|
+
return this;
|
|
66
|
+
};
|
|
67
|
+
OpenIdConnectSetting.prototype.withAppleTeamId = function (appleTeamId) {
|
|
68
|
+
this.appleTeamId = appleTeamId;
|
|
69
|
+
return this;
|
|
70
|
+
};
|
|
71
|
+
OpenIdConnectSetting.prototype.getAppleKeyId = function () {
|
|
72
|
+
return this.appleKeyId;
|
|
73
|
+
};
|
|
74
|
+
OpenIdConnectSetting.prototype.setAppleKeyId = function (appleKeyId) {
|
|
75
|
+
this.appleKeyId = appleKeyId;
|
|
76
|
+
return this;
|
|
77
|
+
};
|
|
78
|
+
OpenIdConnectSetting.prototype.withAppleKeyId = function (appleKeyId) {
|
|
79
|
+
this.appleKeyId = appleKeyId;
|
|
80
|
+
return this;
|
|
81
|
+
};
|
|
82
|
+
OpenIdConnectSetting.prototype.getApplePrivateKeyPem = function () {
|
|
83
|
+
return this.applePrivateKeyPem;
|
|
84
|
+
};
|
|
85
|
+
OpenIdConnectSetting.prototype.setApplePrivateKeyPem = function (applePrivateKeyPem) {
|
|
86
|
+
this.applePrivateKeyPem = applePrivateKeyPem;
|
|
87
|
+
return this;
|
|
88
|
+
};
|
|
89
|
+
OpenIdConnectSetting.prototype.withApplePrivateKeyPem = function (applePrivateKeyPem) {
|
|
90
|
+
this.applePrivateKeyPem = applePrivateKeyPem;
|
|
91
|
+
return this;
|
|
92
|
+
};
|
|
45
93
|
OpenIdConnectSetting.fromDict = function (data) {
|
|
46
94
|
if (data == undefined || data == null) {
|
|
47
95
|
return null;
|
|
48
96
|
}
|
|
49
97
|
return new OpenIdConnectSetting()
|
|
50
98
|
.withConfigurationPath(data["configurationPath"])
|
|
51
|
-
.withClientId(data["clientId"])
|
|
99
|
+
.withClientId(data["clientId"])
|
|
100
|
+
.withClientSecret(data["clientSecret"])
|
|
101
|
+
.withAppleTeamId(data["appleTeamId"])
|
|
102
|
+
.withAppleKeyId(data["appleKeyId"])
|
|
103
|
+
.withApplePrivateKeyPem(data["applePrivateKeyPem"]);
|
|
52
104
|
};
|
|
53
105
|
OpenIdConnectSetting.prototype.toDict = function () {
|
|
54
106
|
return {
|
|
55
107
|
"configurationPath": this.getConfigurationPath(),
|
|
56
108
|
"clientId": this.getClientId(),
|
|
109
|
+
"clientSecret": this.getClientSecret(),
|
|
110
|
+
"appleTeamId": this.getAppleTeamId(),
|
|
111
|
+
"appleKeyId": this.getAppleKeyId(),
|
|
112
|
+
"applePrivateKeyPem": this.getApplePrivateKeyPem(),
|
|
57
113
|
};
|
|
58
114
|
};
|
|
59
115
|
return OpenIdConnectSetting;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OpenIdConnectSetting.js","sourceRoot":"","sources":["OpenIdConnectSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,sBAAiB,GAAgB,IAAI,CAAC;QACtC,aAAQ,GAAgB,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"OpenIdConnectSetting.js","sourceRoot":"","sources":["OpenIdConnectSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,sBAAiB,GAAgB,IAAI,CAAC;QACtC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,iBAAY,GAAgB,IAAI,CAAC;QACjC,gBAAW,GAAgB,IAAI,CAAC;QAChC,eAAU,GAAgB,IAAI,CAAC;QAC/B,uBAAkB,GAAgB,IAAI,CAAC;IA2FnD,CAAC;IA1FU,mDAAoB,GAA3B;QACI,OAAO,IAAI,CAAC,iBAAiB,CAAC;IAClC,CAAC;IACM,mDAAoB,GAA3B,UAA4B,iBAA8B;QACtD,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,oDAAqB,GAA5B,UAA6B,iBAA8B;QACvD,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0CAAW,GAAlB;QACI,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IACM,0CAAW,GAAlB,UAAmB,QAAqB;QACpC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,2CAAY,GAAnB,UAAoB,QAAqB;QACrC,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8CAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAA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E;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,oBAAoB,EAAE;aAC5B,qBAAqB,CAAC,IAAI,CAAC,mBAAmB,CAAC,CAAC;aAChD,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;aAC9B,gBAAgB,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;aACtC,eAAe,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;aACpC,cAAc,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;aAClC,sBAAsB,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAC5D,CAAC;IAEM,qCAAM,GAAb;QACI,OAAO;YACH,mBAAmB,EAAE,IAAI,CAAC,oBAAoB,EAAE;YAChD,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,cAAc,EAAE,IAAI,CAAC,eAAe,EAAE;YACtC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,oBAAoB,EAAE,IAAI,CAAC,qBAAqB,EAAE;SACrD,CAAC;IACN,CAAC;IACL,2BAAC;AAAD,CAAC,AAjGD,IAiGC"}
|
|
@@ -19,6 +19,10 @@ import IModel from '../../core/interface/IModel';
|
|
|
19
19
|
export default class OpenIdConnectSetting implements IModel {
|
|
20
20
|
private configurationPath: string|null = null;
|
|
21
21
|
private clientId: string|null = null;
|
|
22
|
+
private clientSecret: string|null = null;
|
|
23
|
+
private appleTeamId: string|null = null;
|
|
24
|
+
private appleKeyId: string|null = null;
|
|
25
|
+
private applePrivateKeyPem: string|null = null;
|
|
22
26
|
public getConfigurationPath(): string|null {
|
|
23
27
|
return this.configurationPath;
|
|
24
28
|
}
|
|
@@ -41,6 +45,50 @@ export default class OpenIdConnectSetting implements IModel {
|
|
|
41
45
|
this.clientId = clientId;
|
|
42
46
|
return this;
|
|
43
47
|
}
|
|
48
|
+
public getClientSecret(): string|null {
|
|
49
|
+
return this.clientSecret;
|
|
50
|
+
}
|
|
51
|
+
public setClientSecret(clientSecret: string|null) {
|
|
52
|
+
this.clientSecret = clientSecret;
|
|
53
|
+
return this;
|
|
54
|
+
}
|
|
55
|
+
public withClientSecret(clientSecret: string|null): this {
|
|
56
|
+
this.clientSecret = clientSecret;
|
|
57
|
+
return this;
|
|
58
|
+
}
|
|
59
|
+
public getAppleTeamId(): string|null {
|
|
60
|
+
return this.appleTeamId;
|
|
61
|
+
}
|
|
62
|
+
public setAppleTeamId(appleTeamId: string|null) {
|
|
63
|
+
this.appleTeamId = appleTeamId;
|
|
64
|
+
return this;
|
|
65
|
+
}
|
|
66
|
+
public withAppleTeamId(appleTeamId: string|null): this {
|
|
67
|
+
this.appleTeamId = appleTeamId;
|
|
68
|
+
return this;
|
|
69
|
+
}
|
|
70
|
+
public getAppleKeyId(): string|null {
|
|
71
|
+
return this.appleKeyId;
|
|
72
|
+
}
|
|
73
|
+
public setAppleKeyId(appleKeyId: string|null) {
|
|
74
|
+
this.appleKeyId = appleKeyId;
|
|
75
|
+
return this;
|
|
76
|
+
}
|
|
77
|
+
public withAppleKeyId(appleKeyId: string|null): this {
|
|
78
|
+
this.appleKeyId = appleKeyId;
|
|
79
|
+
return this;
|
|
80
|
+
}
|
|
81
|
+
public getApplePrivateKeyPem(): string|null {
|
|
82
|
+
return this.applePrivateKeyPem;
|
|
83
|
+
}
|
|
84
|
+
public setApplePrivateKeyPem(applePrivateKeyPem: string|null) {
|
|
85
|
+
this.applePrivateKeyPem = applePrivateKeyPem;
|
|
86
|
+
return this;
|
|
87
|
+
}
|
|
88
|
+
public withApplePrivateKeyPem(applePrivateKeyPem: string|null): this {
|
|
89
|
+
this.applePrivateKeyPem = applePrivateKeyPem;
|
|
90
|
+
return this;
|
|
91
|
+
}
|
|
44
92
|
|
|
45
93
|
public static fromDict(data: {[key: string]: any}): OpenIdConnectSetting|null {
|
|
46
94
|
if (data == undefined || data == null) {
|
|
@@ -48,13 +96,21 @@ export default class OpenIdConnectSetting implements IModel {
|
|
|
48
96
|
}
|
|
49
97
|
return new OpenIdConnectSetting()
|
|
50
98
|
.withConfigurationPath(data["configurationPath"])
|
|
51
|
-
.withClientId(data["clientId"])
|
|
99
|
+
.withClientId(data["clientId"])
|
|
100
|
+
.withClientSecret(data["clientSecret"])
|
|
101
|
+
.withAppleTeamId(data["appleTeamId"])
|
|
102
|
+
.withAppleKeyId(data["appleKeyId"])
|
|
103
|
+
.withApplePrivateKeyPem(data["applePrivateKeyPem"]);
|
|
52
104
|
}
|
|
53
105
|
|
|
54
106
|
public toDict(): {[key: string]: any} {
|
|
55
107
|
return {
|
|
56
108
|
"configurationPath": this.getConfigurationPath(),
|
|
57
109
|
"clientId": this.getClientId(),
|
|
110
|
+
"clientSecret": this.getClientSecret(),
|
|
111
|
+
"appleTeamId": this.getAppleTeamId(),
|
|
112
|
+
"appleKeyId": this.getAppleKeyId(),
|
|
113
|
+
"applePrivateKeyPem": this.getApplePrivateKeyPem(),
|
|
58
114
|
};
|
|
59
115
|
}
|
|
60
116
|
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class GetAuthorizationUrlRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private accessToken;
|
|
7
|
+
private type;
|
|
8
|
+
getRequestId(): string | null;
|
|
9
|
+
setRequestId(requestId: string | null): this;
|
|
10
|
+
withRequestId(requestId: string | null): this;
|
|
11
|
+
getContextStack(): string | null;
|
|
12
|
+
setContextStack(contextStack: string | null): this;
|
|
13
|
+
withContextStack(contextStack: string | null): this;
|
|
14
|
+
getNamespaceName(): string | null;
|
|
15
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
16
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
17
|
+
getAccessToken(): string | null;
|
|
18
|
+
setAccessToken(accessToken: string | null): this;
|
|
19
|
+
withAccessToken(accessToken: string | null): this;
|
|
20
|
+
getType(): number | null;
|
|
21
|
+
setType(type: number | null): this;
|
|
22
|
+
withType(type: number | null): this;
|
|
23
|
+
static fromDict(data: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}): GetAuthorizationUrlRequest;
|
|
26
|
+
toDict(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
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
|
+
var GetAuthorizationUrlRequest = /** @class */ (function () {
|
|
19
|
+
function GetAuthorizationUrlRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.accessToken = null;
|
|
24
|
+
this.type = null;
|
|
25
|
+
}
|
|
26
|
+
GetAuthorizationUrlRequest.prototype.getRequestId = function () {
|
|
27
|
+
return this.requestId;
|
|
28
|
+
};
|
|
29
|
+
GetAuthorizationUrlRequest.prototype.setRequestId = function (requestId) {
|
|
30
|
+
this.requestId = requestId;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
GetAuthorizationUrlRequest.prototype.withRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
GetAuthorizationUrlRequest.prototype.getContextStack = function () {
|
|
38
|
+
return this.contextStack;
|
|
39
|
+
};
|
|
40
|
+
GetAuthorizationUrlRequest.prototype.setContextStack = function (contextStack) {
|
|
41
|
+
this.contextStack = contextStack;
|
|
42
|
+
return this;
|
|
43
|
+
};
|
|
44
|
+
GetAuthorizationUrlRequest.prototype.withContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
GetAuthorizationUrlRequest.prototype.getNamespaceName = function () {
|
|
49
|
+
return this.namespaceName;
|
|
50
|
+
};
|
|
51
|
+
GetAuthorizationUrlRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
52
|
+
this.namespaceName = namespaceName;
|
|
53
|
+
return this;
|
|
54
|
+
};
|
|
55
|
+
GetAuthorizationUrlRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
56
|
+
this.namespaceName = namespaceName;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
GetAuthorizationUrlRequest.prototype.getAccessToken = function () {
|
|
60
|
+
return this.accessToken;
|
|
61
|
+
};
|
|
62
|
+
GetAuthorizationUrlRequest.prototype.setAccessToken = function (accessToken) {
|
|
63
|
+
this.accessToken = accessToken;
|
|
64
|
+
return this;
|
|
65
|
+
};
|
|
66
|
+
GetAuthorizationUrlRequest.prototype.withAccessToken = function (accessToken) {
|
|
67
|
+
this.accessToken = accessToken;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
GetAuthorizationUrlRequest.prototype.getType = function () {
|
|
71
|
+
return this.type;
|
|
72
|
+
};
|
|
73
|
+
GetAuthorizationUrlRequest.prototype.setType = function (type) {
|
|
74
|
+
this.type = type;
|
|
75
|
+
return this;
|
|
76
|
+
};
|
|
77
|
+
GetAuthorizationUrlRequest.prototype.withType = function (type) {
|
|
78
|
+
this.type = type;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
GetAuthorizationUrlRequest.fromDict = function (data) {
|
|
82
|
+
return new GetAuthorizationUrlRequest()
|
|
83
|
+
.withNamespaceName(data["namespaceName"])
|
|
84
|
+
.withAccessToken(data["accessToken"])
|
|
85
|
+
.withType(data["type"]);
|
|
86
|
+
};
|
|
87
|
+
GetAuthorizationUrlRequest.prototype.toDict = function () {
|
|
88
|
+
return {
|
|
89
|
+
"namespaceName": this.getNamespaceName(),
|
|
90
|
+
"accessToken": this.getAccessToken(),
|
|
91
|
+
"type": this.getType(),
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
return GetAuthorizationUrlRequest;
|
|
95
|
+
}());
|
|
96
|
+
exports.default = GetAuthorizationUrlRequest;
|
|
97
|
+
//# sourceMappingURL=GetAuthorizationUrlRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetAuthorizationUrlRequest.js","sourceRoot":"","sources":["GetAuthorizationUrlRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,gBAAW,GAAgB,IAAI,CAAC;QAChC,SAAI,GAAgB,IAAI,CAAC;IA6ErC,CAAC;IA3EU,iDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,iDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,kDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oDAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,oDAAe,GAA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AAI,CAAC,aAAa,CAAC,CAAC;aACpC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC;IAChC,CAAC;IAEM,2CAAM,GAAb;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;SACzB,CAAC;IACN,CAAC;IACL,iCAAC;AAAD,CAAC,AAnFD,IAmFC"}
|
|
@@ -0,0 +1,104 @@
|
|
|
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 IRequest from '../../core/interface/IRequest';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Account from '../model'
|
|
20
|
+
|
|
21
|
+
export default class GetAuthorizationUrlRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private accessToken: string|null = null;
|
|
27
|
+
private type: number|null = null;
|
|
28
|
+
|
|
29
|
+
public getRequestId(): string|null {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public setRequestId(requestId: string|null) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
public withRequestId(requestId: string|null): this {
|
|
39
|
+
this.requestId = requestId;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public getContextStack(): string|null {
|
|
44
|
+
return this.contextStack;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public setContextStack(contextStack: string|null) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public withContextStack(contextStack: string|null): this {
|
|
53
|
+
this.contextStack = contextStack;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
public getNamespaceName(): string|null {
|
|
57
|
+
return this.namespaceName;
|
|
58
|
+
}
|
|
59
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
60
|
+
this.namespaceName = namespaceName;
|
|
61
|
+
return this;
|
|
62
|
+
}
|
|
63
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
64
|
+
this.namespaceName = namespaceName;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
public getAccessToken(): string|null {
|
|
68
|
+
return this.accessToken;
|
|
69
|
+
}
|
|
70
|
+
public setAccessToken(accessToken: string|null) {
|
|
71
|
+
this.accessToken = accessToken;
|
|
72
|
+
return this;
|
|
73
|
+
}
|
|
74
|
+
public withAccessToken(accessToken: string|null): this {
|
|
75
|
+
this.accessToken = accessToken;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
public getType(): number|null {
|
|
79
|
+
return this.type;
|
|
80
|
+
}
|
|
81
|
+
public setType(type: number|null) {
|
|
82
|
+
this.type = type;
|
|
83
|
+
return this;
|
|
84
|
+
}
|
|
85
|
+
public withType(type: number|null): this {
|
|
86
|
+
this.type = type;
|
|
87
|
+
return this;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
public static fromDict(data: {[key: string]: any}): GetAuthorizationUrlRequest {
|
|
91
|
+
return new GetAuthorizationUrlRequest()
|
|
92
|
+
.withNamespaceName(data["namespaceName"])
|
|
93
|
+
.withAccessToken(data["accessToken"])
|
|
94
|
+
.withType(data["type"]);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
public toDict(): {[key: string]: any} {
|
|
98
|
+
return {
|
|
99
|
+
"namespaceName": this.getNamespaceName(),
|
|
100
|
+
"accessToken": this.getAccessToken(),
|
|
101
|
+
"type": this.getType(),
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -35,6 +35,7 @@ import DeleteTakeOverByUserIdentifierRequest from "./DeleteTakeOverByUserIdentif
|
|
|
35
35
|
import DeleteTakeOverByUserIdRequest from "./DeleteTakeOverByUserIdRequest";
|
|
36
36
|
import DoTakeOverRequest from "./DoTakeOverRequest";
|
|
37
37
|
import DoTakeOverOpenIdConnectRequest from "./DoTakeOverOpenIdConnectRequest";
|
|
38
|
+
import GetAuthorizationUrlRequest from "./GetAuthorizationUrlRequest";
|
|
38
39
|
import DescribePlatformIdsRequest from "./DescribePlatformIdsRequest";
|
|
39
40
|
import DescribePlatformIdsByUserIdRequest from "./DescribePlatformIdsByUserIdRequest";
|
|
40
41
|
import CreatePlatformIdRequest from "./CreatePlatformIdRequest";
|
|
@@ -59,4 +60,4 @@ import ExportMasterRequest from "./ExportMasterRequest";
|
|
|
59
60
|
import GetCurrentModelMasterRequest from "./GetCurrentModelMasterRequest";
|
|
60
61
|
import UpdateCurrentModelMasterRequest from "./UpdateCurrentModelMasterRequest";
|
|
61
62
|
import UpdateCurrentModelMasterFromGitHubRequest from "./UpdateCurrentModelMasterFromGitHubRequest";
|
|
62
|
-
export { DescribeNamespacesRequest, CreateNamespaceRequest, GetNamespaceStatusRequest, GetNamespaceRequest, UpdateNamespaceRequest, DeleteNamespaceRequest, DumpUserDataByUserIdRequest, CheckDumpUserDataByUserIdRequest, CleanUserDataByUserIdRequest, CheckCleanUserDataByUserIdRequest, PrepareImportUserDataByUserIdRequest, ImportUserDataByUserIdRequest, CheckImportUserDataByUserIdRequest, DescribeAccountsRequest, CreateAccountRequest, UpdateTimeOffsetRequest, UpdateBannedRequest, AddBanRequest, RemoveBanRequest, GetAccountRequest, DeleteAccountRequest, AuthenticationRequest, DescribeTakeOversRequest, DescribeTakeOversByUserIdRequest, CreateTakeOverRequest, CreateTakeOverByUserIdRequest, CreateTakeOverOpenIdConnectRequest, CreateTakeOverOpenIdConnectAndByUserIdRequest, GetTakeOverRequest, GetTakeOverByUserIdRequest, UpdateTakeOverRequest, UpdateTakeOverByUserIdRequest, DeleteTakeOverRequest, DeleteTakeOverByUserIdentifierRequest, DeleteTakeOverByUserIdRequest, DoTakeOverRequest, DoTakeOverOpenIdConnectRequest, DescribePlatformIdsRequest, DescribePlatformIdsByUserIdRequest, CreatePlatformIdRequest, CreatePlatformIdByUserIdRequest, GetPlatformIdRequest, GetPlatformIdByUserIdRequest, FindPlatformIdRequest, FindPlatformIdByUserIdRequest, DeletePlatformIdRequest, DeletePlatformIdByUserIdentifierRequest, DeletePlatformIdByUserIdRequest, GetDataOwnerByUserIdRequest, DeleteDataOwnerByUserIdRequest, DescribeTakeOverTypeModelsRequest, GetTakeOverTypeModelRequest, DescribeTakeOverTypeModelMastersRequest, CreateTakeOverTypeModelMasterRequest, GetTakeOverTypeModelMasterRequest, UpdateTakeOverTypeModelMasterRequest, DeleteTakeOverTypeModelMasterRequest, ExportMasterRequest, GetCurrentModelMasterRequest, UpdateCurrentModelMasterRequest, UpdateCurrentModelMasterFromGitHubRequest, };
|
|
63
|
+
export { DescribeNamespacesRequest, CreateNamespaceRequest, GetNamespaceStatusRequest, GetNamespaceRequest, UpdateNamespaceRequest, DeleteNamespaceRequest, DumpUserDataByUserIdRequest, CheckDumpUserDataByUserIdRequest, CleanUserDataByUserIdRequest, CheckCleanUserDataByUserIdRequest, PrepareImportUserDataByUserIdRequest, ImportUserDataByUserIdRequest, CheckImportUserDataByUserIdRequest, DescribeAccountsRequest, CreateAccountRequest, UpdateTimeOffsetRequest, UpdateBannedRequest, AddBanRequest, RemoveBanRequest, GetAccountRequest, DeleteAccountRequest, AuthenticationRequest, DescribeTakeOversRequest, DescribeTakeOversByUserIdRequest, CreateTakeOverRequest, CreateTakeOverByUserIdRequest, CreateTakeOverOpenIdConnectRequest, CreateTakeOverOpenIdConnectAndByUserIdRequest, GetTakeOverRequest, GetTakeOverByUserIdRequest, UpdateTakeOverRequest, UpdateTakeOverByUserIdRequest, DeleteTakeOverRequest, DeleteTakeOverByUserIdentifierRequest, DeleteTakeOverByUserIdRequest, DoTakeOverRequest, DoTakeOverOpenIdConnectRequest, GetAuthorizationUrlRequest, DescribePlatformIdsRequest, DescribePlatformIdsByUserIdRequest, CreatePlatformIdRequest, CreatePlatformIdByUserIdRequest, GetPlatformIdRequest, GetPlatformIdByUserIdRequest, FindPlatformIdRequest, FindPlatformIdByUserIdRequest, DeletePlatformIdRequest, DeletePlatformIdByUserIdentifierRequest, DeletePlatformIdByUserIdRequest, GetDataOwnerByUserIdRequest, DeleteDataOwnerByUserIdRequest, DescribeTakeOverTypeModelsRequest, GetTakeOverTypeModelRequest, DescribeTakeOverTypeModelMastersRequest, CreateTakeOverTypeModelMasterRequest, GetTakeOverTypeModelMasterRequest, UpdateTakeOverTypeModelMasterRequest, DeleteTakeOverTypeModelMasterRequest, ExportMasterRequest, GetCurrentModelMasterRequest, UpdateCurrentModelMasterRequest, UpdateCurrentModelMasterFromGitHubRequest, };
|
package/account/request/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateCurrentModelMasterFromGitHubRequest = exports.UpdateCurrentModelMasterRequest = exports.GetCurrentModelMasterRequest = exports.ExportMasterRequest = exports.DeleteTakeOverTypeModelMasterRequest = exports.UpdateTakeOverTypeModelMasterRequest = exports.GetTakeOverTypeModelMasterRequest = exports.CreateTakeOverTypeModelMasterRequest = exports.DescribeTakeOverTypeModelMastersRequest = exports.GetTakeOverTypeModelRequest = exports.DescribeTakeOverTypeModelsRequest = void 0;
|
|
3
|
+
exports.GetDataOwnerByUserIdRequest = exports.DeletePlatformIdByUserIdRequest = exports.DeletePlatformIdByUserIdentifierRequest = exports.DeletePlatformIdRequest = exports.FindPlatformIdByUserIdRequest = exports.FindPlatformIdRequest = exports.GetPlatformIdByUserIdRequest = exports.GetPlatformIdRequest = exports.CreatePlatformIdByUserIdRequest = exports.CreatePlatformIdRequest = exports.DescribePlatformIdsByUserIdRequest = exports.DescribePlatformIdsRequest = exports.GetAuthorizationUrlRequest = exports.DoTakeOverOpenIdConnectRequest = exports.DoTakeOverRequest = exports.DeleteTakeOverByUserIdRequest = exports.DeleteTakeOverByUserIdentifierRequest = exports.DeleteTakeOverRequest = exports.UpdateTakeOverByUserIdRequest = exports.UpdateTakeOverRequest = exports.GetTakeOverByUserIdRequest = exports.GetTakeOverRequest = exports.CreateTakeOverOpenIdConnectAndByUserIdRequest = exports.CreateTakeOverOpenIdConnectRequest = exports.CreateTakeOverByUserIdRequest = exports.CreateTakeOverRequest = exports.DescribeTakeOversByUserIdRequest = exports.DescribeTakeOversRequest = exports.AuthenticationRequest = exports.DeleteAccountRequest = exports.GetAccountRequest = exports.RemoveBanRequest = exports.AddBanRequest = exports.UpdateBannedRequest = exports.UpdateTimeOffsetRequest = exports.CreateAccountRequest = exports.DescribeAccountsRequest = exports.CheckImportUserDataByUserIdRequest = exports.ImportUserDataByUserIdRequest = exports.PrepareImportUserDataByUserIdRequest = exports.CheckCleanUserDataByUserIdRequest = exports.CleanUserDataByUserIdRequest = exports.CheckDumpUserDataByUserIdRequest = exports.DumpUserDataByUserIdRequest = exports.DeleteNamespaceRequest = exports.UpdateNamespaceRequest = exports.GetNamespaceRequest = exports.GetNamespaceStatusRequest = exports.CreateNamespaceRequest = exports.DescribeNamespacesRequest = void 0;
|
|
4
|
+
exports.UpdateCurrentModelMasterFromGitHubRequest = exports.UpdateCurrentModelMasterRequest = exports.GetCurrentModelMasterRequest = exports.ExportMasterRequest = exports.DeleteTakeOverTypeModelMasterRequest = exports.UpdateTakeOverTypeModelMasterRequest = exports.GetTakeOverTypeModelMasterRequest = exports.CreateTakeOverTypeModelMasterRequest = exports.DescribeTakeOverTypeModelMastersRequest = exports.GetTakeOverTypeModelRequest = exports.DescribeTakeOverTypeModelsRequest = exports.DeleteDataOwnerByUserIdRequest = void 0;
|
|
5
5
|
var tslib_1 = require("tslib");
|
|
6
6
|
/*
|
|
7
7
|
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -92,6 +92,8 @@ var DoTakeOverRequest_1 = tslib_1.__importDefault(require("./DoTakeOverRequest")
|
|
|
92
92
|
exports.DoTakeOverRequest = DoTakeOverRequest_1.default;
|
|
93
93
|
var DoTakeOverOpenIdConnectRequest_1 = tslib_1.__importDefault(require("./DoTakeOverOpenIdConnectRequest"));
|
|
94
94
|
exports.DoTakeOverOpenIdConnectRequest = DoTakeOverOpenIdConnectRequest_1.default;
|
|
95
|
+
var GetAuthorizationUrlRequest_1 = tslib_1.__importDefault(require("./GetAuthorizationUrlRequest"));
|
|
96
|
+
exports.GetAuthorizationUrlRequest = GetAuthorizationUrlRequest_1.default;
|
|
95
97
|
var DescribePlatformIdsRequest_1 = tslib_1.__importDefault(require("./DescribePlatformIdsRequest"));
|
|
96
98
|
exports.DescribePlatformIdsRequest = DescribePlatformIdsRequest_1.default;
|
|
97
99
|
var DescribePlatformIdsByUserIdRequest_1 = tslib_1.__importDefault(require("./DescribePlatformIdsByUserIdRequest"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kGAAmE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kGAAmE;AA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yCAhEG,wCAA8B,CAgEH;AA/DlC,kHAAmF;AAgE/E,4CAhEG,2CAAiC,CAgEH;AA/DrC,sGAAuE;AAgEnE,sCAhEG,qCAA2B,CAgEH;AA/D/B,8HAA+F;AAgE3F,kDAhEG,iDAAuC,CAgEH;AA/D3C,wHAAyF;AAgErF,+CAhEG,8CAAoC,CAgEH;AA/DxC,kHAAmF;AAgE/E,4CAhEG,2CAAiC,CAgEH;AA/DrC,wHAAyF;AAgErF,+CAhEG,8CAAoC,CAgEH;AA/DxC,wHAAyF;AAgErF,+CAhEG,8CAAoC,CAgEH;AA/DxC,sFAAuD;AAgEnD,8BAhEG,6BAAmB,CAgEH;AA/DvB,wGAAyE;AAgErE,uCAhEG,sCAA4B,CAgEH;AA/DhC,8GAA+E;AAgE3E,0CAhEG,yCAA+B,CAgEH;AA/DnC,kIAAmG;AAgE/F,oDAhEG,mDAAyC,CAgEH"}
|
package/account/request/index.ts
CHANGED
|
@@ -50,6 +50,7 @@ import DeleteTakeOverByUserIdentifierRequest from "./DeleteTakeOverByUserIdentif
|
|
|
50
50
|
import DeleteTakeOverByUserIdRequest from "./DeleteTakeOverByUserIdRequest"
|
|
51
51
|
import DoTakeOverRequest from "./DoTakeOverRequest"
|
|
52
52
|
import DoTakeOverOpenIdConnectRequest from "./DoTakeOverOpenIdConnectRequest"
|
|
53
|
+
import GetAuthorizationUrlRequest from "./GetAuthorizationUrlRequest"
|
|
53
54
|
import DescribePlatformIdsRequest from "./DescribePlatformIdsRequest"
|
|
54
55
|
import DescribePlatformIdsByUserIdRequest from "./DescribePlatformIdsByUserIdRequest"
|
|
55
56
|
import CreatePlatformIdRequest from "./CreatePlatformIdRequest"
|
|
@@ -113,6 +114,7 @@ export {
|
|
|
113
114
|
DeleteTakeOverByUserIdRequest,
|
|
114
115
|
DoTakeOverRequest,
|
|
115
116
|
DoTakeOverOpenIdConnectRequest,
|
|
117
|
+
GetAuthorizationUrlRequest,
|
|
116
118
|
DescribePlatformIdsRequest,
|
|
117
119
|
DescribePlatformIdsByUserIdRequest,
|
|
118
120
|
CreatePlatformIdRequest,
|
package/account/rest.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export default class Gs2AccountRestClient extends AbstractGs2RestClient {
|
|
|
41
41
|
deleteTakeOverByUserId(request: Request.DeleteTakeOverByUserIdRequest): Promise<Result.DeleteTakeOverByUserIdResult>;
|
|
42
42
|
doTakeOver(request: Request.DoTakeOverRequest): Promise<Result.DoTakeOverResult>;
|
|
43
43
|
doTakeOverOpenIdConnect(request: Request.DoTakeOverOpenIdConnectRequest): Promise<Result.DoTakeOverOpenIdConnectResult>;
|
|
44
|
+
getAuthorizationUrl(request: Request.GetAuthorizationUrlRequest): Promise<Result.GetAuthorizationUrlResult>;
|
|
44
45
|
describePlatformIds(request: Request.DescribePlatformIdsRequest): Promise<Result.DescribePlatformIdsResult>;
|
|
45
46
|
describePlatformIdsByUserId(request: Request.DescribePlatformIdsByUserIdRequest): Promise<Result.DescribePlatformIdsByUserIdResult>;
|
|
46
47
|
createPlatformId(request: Request.CreatePlatformIdRequest): Promise<Result.CreatePlatformIdResult>;
|
package/account/rest.js
CHANGED
|
@@ -1109,6 +1109,32 @@ var Gs2AccountRestClient = /** @class */ (function (_super) {
|
|
|
1109
1109
|
}
|
|
1110
1110
|
});
|
|
1111
1111
|
};
|
|
1112
|
+
Gs2AccountRestClient.prototype.getAuthorizationUrl = function (request) {
|
|
1113
|
+
var _a, _b, _c, _d, _e, _f;
|
|
1114
|
+
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/type/{type}/authorization/url')
|
|
1115
|
+
.replace('{service}', 'account')
|
|
1116
|
+
.replace('{region}', this.session.region)
|
|
1117
|
+
.replace('{namespaceName}', String((_a = request.getNamespaceName()) !== null && _a !== void 0 ? _a : 'null') === "" ? "null" : String((_b = request.getNamespaceName()) !== null && _b !== void 0 ? _b : 'null'))
|
|
1118
|
+
.replace('{type}', String((_c = request.getType()) !== null && _c !== void 0 ? _c : 'null') === "" ? "null" : String((_d = request.getType()) !== null && _d !== void 0 ? _d : 'null'));
|
|
1119
|
+
var headers = this.createAuthorizedHeaders();
|
|
1120
|
+
if (request.getRequestId()) {
|
|
1121
|
+
headers['X-GS2-REQUEST-ID'] = request.getRequestId();
|
|
1122
|
+
}
|
|
1123
|
+
if (request.getAccessToken()) {
|
|
1124
|
+
headers['X-GS2-ACCESS-TOKEN'] = (_e = request.getAccessToken()) !== null && _e !== void 0 ? _e : null;
|
|
1125
|
+
}
|
|
1126
|
+
var params = {
|
|
1127
|
+
'contextStack': (_f = request.getContextStack()) !== null && _f !== void 0 ? _f : null,
|
|
1128
|
+
};
|
|
1129
|
+
return axios_1.default.get(url, {
|
|
1130
|
+
params: params,
|
|
1131
|
+
headers: headers,
|
|
1132
|
+
}).then(function (response) {
|
|
1133
|
+
return Result.GetAuthorizationUrlResult.fromDict(response.data);
|
|
1134
|
+
}).catch(function (error) {
|
|
1135
|
+
throw JSON.parse(error.response.data.message);
|
|
1136
|
+
});
|
|
1137
|
+
};
|
|
1112
1138
|
Gs2AccountRestClient.prototype.describePlatformIds = function (request) {
|
|
1113
1139
|
var _a, _b, _c, _d, _e, _f;
|
|
1114
1140
|
var url = (model_1.Gs2Constant.ENDPOINT_HOST + '/{namespaceName}/account/me/platformId')
|