gs2 1.4.57 → 1.4.58
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/money2/model/Namespace.d.ts +20 -0
- package/money2/model/Namespace.js +72 -2
- package/money2/model/Namespace.js.map +1 -1
- package/money2/model/Namespace.ts +71 -0
- package/money2/model/NotificationSetting.d.ts +21 -0
- package/money2/model/NotificationSetting.js +76 -0
- package/money2/model/NotificationSetting.js.map +1 -0
- package/money2/model/NotificationSetting.ts +76 -0
- package/money2/model/StoreSubscriptionContentModel.d.ts +4 -0
- package/money2/model/StoreSubscriptionContentModel.js +14 -0
- package/money2/model/StoreSubscriptionContentModel.js.map +1 -1
- package/money2/model/StoreSubscriptionContentModel.ts +14 -0
- package/money2/model/StoreSubscriptionContentModelMaster.d.ts +4 -0
- package/money2/model/StoreSubscriptionContentModelMaster.js +14 -0
- package/money2/model/StoreSubscriptionContentModelMaster.js.map +1 -1
- package/money2/model/StoreSubscriptionContentModelMaster.ts +14 -0
- package/money2/model/SubscribeTransaction.d.ts +4 -0
- package/money2/model/SubscribeTransaction.js +14 -0
- package/money2/model/SubscribeTransaction.js.map +1 -1
- package/money2/model/SubscribeTransaction.ts +14 -0
- package/money2/model/index.d.ts +2 -1
- package/money2/model/index.js +3 -1
- package/money2/model/index.js.map +1 -1
- package/money2/model/index.ts +2 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.d.ts +38 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.js +126 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.js.map +1 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.ts +133 -0
- package/money2/request/AllocateSubscriptionStatusRequest.d.ts +34 -0
- package/money2/request/AllocateSubscriptionStatusRequest.js +112 -0
- package/money2/request/AllocateSubscriptionStatusRequest.js.map +1 -0
- package/money2/request/AllocateSubscriptionStatusRequest.ts +119 -0
- package/money2/request/CreateNamespaceRequest.d.ts +20 -0
- package/money2/request/CreateNamespaceRequest.js +72 -2
- package/money2/request/CreateNamespaceRequest.js.map +1 -1
- package/money2/request/CreateNamespaceRequest.ts +70 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.d.ts +4 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js +14 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js.map +1 -1
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.ts +14 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.d.ts +38 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.js +126 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.js.map +1 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.ts +133 -0
- package/money2/request/TakeoverSubscriptionStatusRequest.d.ts +34 -0
- package/money2/request/TakeoverSubscriptionStatusRequest.js +112 -0
- package/money2/request/TakeoverSubscriptionStatusRequest.js.map +1 -0
- package/money2/request/TakeoverSubscriptionStatusRequest.ts +119 -0
- package/money2/request/UpdateNamespaceRequest.d.ts +20 -0
- package/money2/request/UpdateNamespaceRequest.js +72 -2
- package/money2/request/UpdateNamespaceRequest.js.map +1 -1
- package/money2/request/UpdateNamespaceRequest.ts +70 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.d.ts +4 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js +14 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js.map +1 -1
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.ts +14 -0
- package/money2/request/index.d.ts +5 -1
- package/money2/request/index.js +10 -2
- package/money2/request/index.js.map +1 -1
- package/money2/request/index.ts +8 -0
- package/money2/rest.d.ts +4 -0
- package/money2/rest.js +156 -10
- package/money2/rest.js.map +1 -1
- package/money2/rest.ts +162 -0
- package/money2/result/AllocateSubscriptionStatusByUserIdResult.d.ts +14 -0
- package/money2/result/AllocateSubscriptionStatusByUserIdResult.js +48 -0
- package/money2/result/AllocateSubscriptionStatusByUserIdResult.js.map +1 -0
- package/money2/result/AllocateSubscriptionStatusByUserIdResult.ts +47 -0
- package/money2/result/AllocateSubscriptionStatusResult.d.ts +14 -0
- package/money2/result/AllocateSubscriptionStatusResult.js +48 -0
- package/money2/result/AllocateSubscriptionStatusResult.js.map +1 -0
- package/money2/result/AllocateSubscriptionStatusResult.ts +47 -0
- package/money2/result/TakeoverSubscriptionStatusByUserIdResult.d.ts +14 -0
- package/money2/result/TakeoverSubscriptionStatusByUserIdResult.js +48 -0
- package/money2/result/TakeoverSubscriptionStatusByUserIdResult.js.map +1 -0
- package/money2/result/TakeoverSubscriptionStatusByUserIdResult.ts +47 -0
- package/money2/result/TakeoverSubscriptionStatusResult.d.ts +14 -0
- package/money2/result/TakeoverSubscriptionStatusResult.js +48 -0
- package/money2/result/TakeoverSubscriptionStatusResult.js.map +1 -0
- package/money2/result/TakeoverSubscriptionStatusResult.ts +47 -0
- package/money2/result/index.d.ts +5 -1
- package/money2/result/index.js +10 -2
- package/money2/result/index.js.map +1 -1
- package/money2/result/index.ts +8 -0
- package/package.json +1 -1
|
@@ -0,0 +1,126 @@
|
|
|
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 tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Money2 = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var TakeoverSubscriptionStatusByUserIdRequest = /** @class */ (function () {
|
|
21
|
+
function TakeoverSubscriptionStatusByUserIdRequest() {
|
|
22
|
+
this.requestId = null;
|
|
23
|
+
this.contextStack = null;
|
|
24
|
+
this.namespaceName = null;
|
|
25
|
+
this.userId = null;
|
|
26
|
+
this.receipt = null;
|
|
27
|
+
this.timeOffsetToken = null;
|
|
28
|
+
this.duplicationAvoider = null;
|
|
29
|
+
}
|
|
30
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.getRequestId = function () {
|
|
31
|
+
return this.requestId;
|
|
32
|
+
};
|
|
33
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.setRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.withRequestId = function (requestId) {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.getContextStack = function () {
|
|
42
|
+
return this.contextStack;
|
|
43
|
+
};
|
|
44
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.setContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.withContextStack = function (contextStack) {
|
|
49
|
+
this.contextStack = contextStack;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.getNamespaceName = function () {
|
|
53
|
+
return this.namespaceName;
|
|
54
|
+
};
|
|
55
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
56
|
+
this.namespaceName = namespaceName;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
60
|
+
this.namespaceName = namespaceName;
|
|
61
|
+
return this;
|
|
62
|
+
};
|
|
63
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.getUserId = function () {
|
|
64
|
+
return this.userId;
|
|
65
|
+
};
|
|
66
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.setUserId = function (userId) {
|
|
67
|
+
this.userId = userId;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.withUserId = function (userId) {
|
|
71
|
+
this.userId = userId;
|
|
72
|
+
return this;
|
|
73
|
+
};
|
|
74
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.getReceipt = function () {
|
|
75
|
+
return this.receipt;
|
|
76
|
+
};
|
|
77
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.setReceipt = function (receipt) {
|
|
78
|
+
this.receipt = receipt;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.withReceipt = function (receipt) {
|
|
82
|
+
this.receipt = receipt;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.getTimeOffsetToken = function () {
|
|
86
|
+
return this.timeOffsetToken;
|
|
87
|
+
};
|
|
88
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
|
|
89
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
90
|
+
return this;
|
|
91
|
+
};
|
|
92
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
|
|
93
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
94
|
+
return this;
|
|
95
|
+
};
|
|
96
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.getDuplicationAvoider = function () {
|
|
97
|
+
return this.duplicationAvoider;
|
|
98
|
+
};
|
|
99
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
100
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
101
|
+
return this;
|
|
102
|
+
};
|
|
103
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
104
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
105
|
+
return this;
|
|
106
|
+
};
|
|
107
|
+
TakeoverSubscriptionStatusByUserIdRequest.fromDict = function (data) {
|
|
108
|
+
return new TakeoverSubscriptionStatusByUserIdRequest()
|
|
109
|
+
.withNamespaceName(data["namespaceName"])
|
|
110
|
+
.withUserId(data["userId"])
|
|
111
|
+
.withReceipt(Gs2Money2.Receipt.fromDict(data["receipt"]))
|
|
112
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
113
|
+
};
|
|
114
|
+
TakeoverSubscriptionStatusByUserIdRequest.prototype.toDict = function () {
|
|
115
|
+
var _a;
|
|
116
|
+
return {
|
|
117
|
+
"namespaceName": this.getNamespaceName(),
|
|
118
|
+
"userId": this.getUserId(),
|
|
119
|
+
"receipt": (_a = this.getReceipt()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
120
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
return TakeoverSubscriptionStatusByUserIdRequest;
|
|
124
|
+
}());
|
|
125
|
+
exports.default = TakeoverSubscriptionStatusByUserIdRequest;
|
|
126
|
+
//# sourceMappingURL=TakeoverSubscriptionStatusByUserIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TakeoverSubscriptionStatusByUserIdRequest.js","sourceRoot":"","sources":["TakeoverSubscriptionStatusByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,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;aACxC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC1B,WAAW,CAAC,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;aACxD,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,CAAC;IAEM,0DAAM,GAAb;;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,SAAS,EAAE,MAAA,IAAI,CAAC,UAAU,EAAE,0CAAE,MAAM,EAAE;YACtC,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,gDAAC;AAAD,CAAC,AAhHD,IAgHC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
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 Gs2Money2 from '../model'
|
|
20
|
+
|
|
21
|
+
export default class TakeoverSubscriptionStatusByUserIdRequest implements IRequest {
|
|
22
|
+
|
|
23
|
+
private requestId: string|null = null;
|
|
24
|
+
private contextStack: string|null = null;
|
|
25
|
+
private namespaceName: string|null = null;
|
|
26
|
+
private userId: string|null = null;
|
|
27
|
+
private receipt: Gs2Money2.Receipt|null = null;
|
|
28
|
+
private timeOffsetToken: string|null = null;
|
|
29
|
+
private duplicationAvoider: string|null = null;
|
|
30
|
+
|
|
31
|
+
public getRequestId(): string|null {
|
|
32
|
+
return this.requestId;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public setRequestId(requestId: string|null) {
|
|
36
|
+
this.requestId = requestId;
|
|
37
|
+
return this;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public withRequestId(requestId: string|null): this {
|
|
41
|
+
this.requestId = requestId;
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public getContextStack(): string|null {
|
|
46
|
+
return this.contextStack;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
public setContextStack(contextStack: string|null) {
|
|
50
|
+
this.contextStack = contextStack;
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public withContextStack(contextStack: string|null): this {
|
|
55
|
+
this.contextStack = contextStack;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
public getNamespaceName(): string|null {
|
|
59
|
+
return this.namespaceName;
|
|
60
|
+
}
|
|
61
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
62
|
+
this.namespaceName = namespaceName;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
66
|
+
this.namespaceName = namespaceName;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
public getUserId(): string|null {
|
|
70
|
+
return this.userId;
|
|
71
|
+
}
|
|
72
|
+
public setUserId(userId: string|null) {
|
|
73
|
+
this.userId = userId;
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
public withUserId(userId: string|null): this {
|
|
77
|
+
this.userId = userId;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
public getReceipt(): Gs2Money2.Receipt|null {
|
|
81
|
+
return this.receipt;
|
|
82
|
+
}
|
|
83
|
+
public setReceipt(receipt: Gs2Money2.Receipt|null) {
|
|
84
|
+
this.receipt = receipt;
|
|
85
|
+
return this;
|
|
86
|
+
}
|
|
87
|
+
public withReceipt(receipt: Gs2Money2.Receipt|null): this {
|
|
88
|
+
this.receipt = receipt;
|
|
89
|
+
return this;
|
|
90
|
+
}
|
|
91
|
+
public getTimeOffsetToken(): string|null {
|
|
92
|
+
return this.timeOffsetToken;
|
|
93
|
+
}
|
|
94
|
+
public setTimeOffsetToken(timeOffsetToken: string|null) {
|
|
95
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
96
|
+
return this;
|
|
97
|
+
}
|
|
98
|
+
public withTimeOffsetToken(timeOffsetToken: string|null): this {
|
|
99
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
100
|
+
return this;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
public getDuplicationAvoider(): string|null {
|
|
104
|
+
return this.duplicationAvoider;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
108
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
113
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
114
|
+
return this;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
public static fromDict(data: {[key: string]: any}): TakeoverSubscriptionStatusByUserIdRequest {
|
|
118
|
+
return new TakeoverSubscriptionStatusByUserIdRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withUserId(data["userId"])
|
|
121
|
+
.withReceipt(Gs2Money2.Receipt.fromDict(data["receipt"]))
|
|
122
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
public toDict(): {[key: string]: any} {
|
|
126
|
+
return {
|
|
127
|
+
"namespaceName": this.getNamespaceName(),
|
|
128
|
+
"userId": this.getUserId(),
|
|
129
|
+
"receipt": this.getReceipt()?.toDict(),
|
|
130
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
import * as Gs2Money2 from '../model';
|
|
3
|
+
export default class TakeoverSubscriptionStatusRequest implements IRequest {
|
|
4
|
+
private requestId;
|
|
5
|
+
private contextStack;
|
|
6
|
+
private namespaceName;
|
|
7
|
+
private accessToken;
|
|
8
|
+
private receipt;
|
|
9
|
+
private duplicationAvoider;
|
|
10
|
+
getRequestId(): string | null;
|
|
11
|
+
setRequestId(requestId: string | null): this;
|
|
12
|
+
withRequestId(requestId: string | null): this;
|
|
13
|
+
getContextStack(): string | null;
|
|
14
|
+
setContextStack(contextStack: string | null): this;
|
|
15
|
+
withContextStack(contextStack: string | null): this;
|
|
16
|
+
getNamespaceName(): string | null;
|
|
17
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
18
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
getAccessToken(): string | null;
|
|
20
|
+
setAccessToken(accessToken: string | null): this;
|
|
21
|
+
withAccessToken(accessToken: string | null): this;
|
|
22
|
+
getReceipt(): Gs2Money2.Receipt | null;
|
|
23
|
+
setReceipt(receipt: Gs2Money2.Receipt | null): this;
|
|
24
|
+
withReceipt(receipt: Gs2Money2.Receipt | null): this;
|
|
25
|
+
getDuplicationAvoider(): string | null;
|
|
26
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
27
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
28
|
+
static fromDict(data: {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}): TakeoverSubscriptionStatusRequest;
|
|
31
|
+
toDict(): {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
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 tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Money2 = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var TakeoverSubscriptionStatusRequest = /** @class */ (function () {
|
|
21
|
+
function TakeoverSubscriptionStatusRequest() {
|
|
22
|
+
this.requestId = null;
|
|
23
|
+
this.contextStack = null;
|
|
24
|
+
this.namespaceName = null;
|
|
25
|
+
this.accessToken = null;
|
|
26
|
+
this.receipt = null;
|
|
27
|
+
this.duplicationAvoider = null;
|
|
28
|
+
}
|
|
29
|
+
TakeoverSubscriptionStatusRequest.prototype.getRequestId = function () {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
};
|
|
32
|
+
TakeoverSubscriptionStatusRequest.prototype.setRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
TakeoverSubscriptionStatusRequest.prototype.withRequestId = function (requestId) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
TakeoverSubscriptionStatusRequest.prototype.getContextStack = function () {
|
|
41
|
+
return this.contextStack;
|
|
42
|
+
};
|
|
43
|
+
TakeoverSubscriptionStatusRequest.prototype.setContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
TakeoverSubscriptionStatusRequest.prototype.withContextStack = function (contextStack) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
TakeoverSubscriptionStatusRequest.prototype.getNamespaceName = function () {
|
|
52
|
+
return this.namespaceName;
|
|
53
|
+
};
|
|
54
|
+
TakeoverSubscriptionStatusRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
55
|
+
this.namespaceName = namespaceName;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
TakeoverSubscriptionStatusRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
59
|
+
this.namespaceName = namespaceName;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
TakeoverSubscriptionStatusRequest.prototype.getAccessToken = function () {
|
|
63
|
+
return this.accessToken;
|
|
64
|
+
};
|
|
65
|
+
TakeoverSubscriptionStatusRequest.prototype.setAccessToken = function (accessToken) {
|
|
66
|
+
this.accessToken = accessToken;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
TakeoverSubscriptionStatusRequest.prototype.withAccessToken = function (accessToken) {
|
|
70
|
+
this.accessToken = accessToken;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
TakeoverSubscriptionStatusRequest.prototype.getReceipt = function () {
|
|
74
|
+
return this.receipt;
|
|
75
|
+
};
|
|
76
|
+
TakeoverSubscriptionStatusRequest.prototype.setReceipt = function (receipt) {
|
|
77
|
+
this.receipt = receipt;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
TakeoverSubscriptionStatusRequest.prototype.withReceipt = function (receipt) {
|
|
81
|
+
this.receipt = receipt;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
TakeoverSubscriptionStatusRequest.prototype.getDuplicationAvoider = function () {
|
|
85
|
+
return this.duplicationAvoider;
|
|
86
|
+
};
|
|
87
|
+
TakeoverSubscriptionStatusRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
88
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
TakeoverSubscriptionStatusRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
92
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
95
|
+
TakeoverSubscriptionStatusRequest.fromDict = function (data) {
|
|
96
|
+
return new TakeoverSubscriptionStatusRequest()
|
|
97
|
+
.withNamespaceName(data["namespaceName"])
|
|
98
|
+
.withAccessToken(data["accessToken"])
|
|
99
|
+
.withReceipt(Gs2Money2.Receipt.fromDict(data["receipt"]));
|
|
100
|
+
};
|
|
101
|
+
TakeoverSubscriptionStatusRequest.prototype.toDict = function () {
|
|
102
|
+
var _a;
|
|
103
|
+
return {
|
|
104
|
+
"namespaceName": this.getNamespaceName(),
|
|
105
|
+
"accessToken": this.getAccessToken(),
|
|
106
|
+
"receipt": (_a = this.getReceipt()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
return TakeoverSubscriptionStatusRequest;
|
|
110
|
+
}());
|
|
111
|
+
exports.default = TakeoverSubscriptionStatusRequest;
|
|
112
|
+
//# sourceMappingURL=TakeoverSubscriptionStatusRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TakeoverSubscriptionStatusRequest.js","sourceRoot":"","sources":["TakeoverSubscriptionStatusRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,0DAAqC;AAErC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa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 +1,119 @@
|
|
|
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 Gs2Money2 from '../model'
|
|
20
|
+
|
|
21
|
+
export default class TakeoverSubscriptionStatusRequest 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 receipt: Gs2Money2.Receipt|null = null;
|
|
28
|
+
private duplicationAvoider: string|null = null;
|
|
29
|
+
|
|
30
|
+
public getRequestId(): string|null {
|
|
31
|
+
return this.requestId;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public setRequestId(requestId: string|null) {
|
|
35
|
+
this.requestId = requestId;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public withRequestId(requestId: string|null): this {
|
|
40
|
+
this.requestId = requestId;
|
|
41
|
+
return this;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
public getContextStack(): string|null {
|
|
45
|
+
return this.contextStack;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public setContextStack(contextStack: string|null) {
|
|
49
|
+
this.contextStack = contextStack;
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public withContextStack(contextStack: string|null): this {
|
|
54
|
+
this.contextStack = contextStack;
|
|
55
|
+
return this;
|
|
56
|
+
}
|
|
57
|
+
public getNamespaceName(): string|null {
|
|
58
|
+
return this.namespaceName;
|
|
59
|
+
}
|
|
60
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
61
|
+
this.namespaceName = namespaceName;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
65
|
+
this.namespaceName = namespaceName;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
public getAccessToken(): string|null {
|
|
69
|
+
return this.accessToken;
|
|
70
|
+
}
|
|
71
|
+
public setAccessToken(accessToken: string|null) {
|
|
72
|
+
this.accessToken = accessToken;
|
|
73
|
+
return this;
|
|
74
|
+
}
|
|
75
|
+
public withAccessToken(accessToken: string|null): this {
|
|
76
|
+
this.accessToken = accessToken;
|
|
77
|
+
return this;
|
|
78
|
+
}
|
|
79
|
+
public getReceipt(): Gs2Money2.Receipt|null {
|
|
80
|
+
return this.receipt;
|
|
81
|
+
}
|
|
82
|
+
public setReceipt(receipt: Gs2Money2.Receipt|null) {
|
|
83
|
+
this.receipt = receipt;
|
|
84
|
+
return this;
|
|
85
|
+
}
|
|
86
|
+
public withReceipt(receipt: Gs2Money2.Receipt|null): this {
|
|
87
|
+
this.receipt = receipt;
|
|
88
|
+
return this;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
public getDuplicationAvoider(): string|null {
|
|
92
|
+
return this.duplicationAvoider;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
96
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
97
|
+
return this;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
101
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
102
|
+
return this;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
public static fromDict(data: {[key: string]: any}): TakeoverSubscriptionStatusRequest {
|
|
106
|
+
return new TakeoverSubscriptionStatusRequest()
|
|
107
|
+
.withNamespaceName(data["namespaceName"])
|
|
108
|
+
.withAccessToken(data["accessToken"])
|
|
109
|
+
.withReceipt(Gs2Money2.Receipt.fromDict(data["receipt"]));
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
public toDict(): {[key: string]: any} {
|
|
113
|
+
return {
|
|
114
|
+
"namespaceName": this.getNamespaceName(),
|
|
115
|
+
"accessToken": this.getAccessToken(),
|
|
116
|
+
"receipt": this.getReceipt()?.toDict(),
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -9,6 +9,11 @@ export default class UpdateNamespaceRequest implements IRequest {
|
|
|
9
9
|
private platformSetting;
|
|
10
10
|
private depositBalanceScript;
|
|
11
11
|
private withdrawBalanceScript;
|
|
12
|
+
private subscribeScript;
|
|
13
|
+
private renewScript;
|
|
14
|
+
private unsubscribeScript;
|
|
15
|
+
private takeOverScript;
|
|
16
|
+
private changeSubscriptionStatusNotification;
|
|
12
17
|
private logSetting;
|
|
13
18
|
getRequestId(): string | null;
|
|
14
19
|
setRequestId(requestId: string | null): this;
|
|
@@ -34,6 +39,21 @@ export default class UpdateNamespaceRequest implements IRequest {
|
|
|
34
39
|
getWithdrawBalanceScript(): Gs2Money2.ScriptSetting | null;
|
|
35
40
|
setWithdrawBalanceScript(withdrawBalanceScript: Gs2Money2.ScriptSetting | null): this;
|
|
36
41
|
withWithdrawBalanceScript(withdrawBalanceScript: Gs2Money2.ScriptSetting | null): this;
|
|
42
|
+
getSubscribeScript(): string | null;
|
|
43
|
+
setSubscribeScript(subscribeScript: string | null): this;
|
|
44
|
+
withSubscribeScript(subscribeScript: string | null): this;
|
|
45
|
+
getRenewScript(): string | null;
|
|
46
|
+
setRenewScript(renewScript: string | null): this;
|
|
47
|
+
withRenewScript(renewScript: string | null): this;
|
|
48
|
+
getUnsubscribeScript(): string | null;
|
|
49
|
+
setUnsubscribeScript(unsubscribeScript: string | null): this;
|
|
50
|
+
withUnsubscribeScript(unsubscribeScript: string | null): this;
|
|
51
|
+
getTakeOverScript(): Gs2Money2.ScriptSetting | null;
|
|
52
|
+
setTakeOverScript(takeOverScript: Gs2Money2.ScriptSetting | null): this;
|
|
53
|
+
withTakeOverScript(takeOverScript: Gs2Money2.ScriptSetting | null): this;
|
|
54
|
+
getChangeSubscriptionStatusNotification(): Gs2Money2.NotificationSetting | null;
|
|
55
|
+
setChangeSubscriptionStatusNotification(changeSubscriptionStatusNotification: Gs2Money2.NotificationSetting | null): this;
|
|
56
|
+
withChangeSubscriptionStatusNotification(changeSubscriptionStatusNotification: Gs2Money2.NotificationSetting | null): this;
|
|
37
57
|
getLogSetting(): Gs2Money2.LogSetting | null;
|
|
38
58
|
setLogSetting(logSetting: Gs2Money2.LogSetting | null): this;
|
|
39
59
|
withLogSetting(logSetting: Gs2Money2.LogSetting | null): this;
|
|
@@ -27,6 +27,11 @@ var UpdateNamespaceRequest = /** @class */ (function () {
|
|
|
27
27
|
this.platformSetting = null;
|
|
28
28
|
this.depositBalanceScript = null;
|
|
29
29
|
this.withdrawBalanceScript = null;
|
|
30
|
+
this.subscribeScript = null;
|
|
31
|
+
this.renewScript = null;
|
|
32
|
+
this.unsubscribeScript = null;
|
|
33
|
+
this.takeOverScript = null;
|
|
34
|
+
this.changeSubscriptionStatusNotification = null;
|
|
30
35
|
this.logSetting = null;
|
|
31
36
|
}
|
|
32
37
|
UpdateNamespaceRequest.prototype.getRequestId = function () {
|
|
@@ -117,6 +122,61 @@ var UpdateNamespaceRequest = /** @class */ (function () {
|
|
|
117
122
|
this.withdrawBalanceScript = withdrawBalanceScript;
|
|
118
123
|
return this;
|
|
119
124
|
};
|
|
125
|
+
UpdateNamespaceRequest.prototype.getSubscribeScript = function () {
|
|
126
|
+
return this.subscribeScript;
|
|
127
|
+
};
|
|
128
|
+
UpdateNamespaceRequest.prototype.setSubscribeScript = function (subscribeScript) {
|
|
129
|
+
this.subscribeScript = subscribeScript;
|
|
130
|
+
return this;
|
|
131
|
+
};
|
|
132
|
+
UpdateNamespaceRequest.prototype.withSubscribeScript = function (subscribeScript) {
|
|
133
|
+
this.subscribeScript = subscribeScript;
|
|
134
|
+
return this;
|
|
135
|
+
};
|
|
136
|
+
UpdateNamespaceRequest.prototype.getRenewScript = function () {
|
|
137
|
+
return this.renewScript;
|
|
138
|
+
};
|
|
139
|
+
UpdateNamespaceRequest.prototype.setRenewScript = function (renewScript) {
|
|
140
|
+
this.renewScript = renewScript;
|
|
141
|
+
return this;
|
|
142
|
+
};
|
|
143
|
+
UpdateNamespaceRequest.prototype.withRenewScript = function (renewScript) {
|
|
144
|
+
this.renewScript = renewScript;
|
|
145
|
+
return this;
|
|
146
|
+
};
|
|
147
|
+
UpdateNamespaceRequest.prototype.getUnsubscribeScript = function () {
|
|
148
|
+
return this.unsubscribeScript;
|
|
149
|
+
};
|
|
150
|
+
UpdateNamespaceRequest.prototype.setUnsubscribeScript = function (unsubscribeScript) {
|
|
151
|
+
this.unsubscribeScript = unsubscribeScript;
|
|
152
|
+
return this;
|
|
153
|
+
};
|
|
154
|
+
UpdateNamespaceRequest.prototype.withUnsubscribeScript = function (unsubscribeScript) {
|
|
155
|
+
this.unsubscribeScript = unsubscribeScript;
|
|
156
|
+
return this;
|
|
157
|
+
};
|
|
158
|
+
UpdateNamespaceRequest.prototype.getTakeOverScript = function () {
|
|
159
|
+
return this.takeOverScript;
|
|
160
|
+
};
|
|
161
|
+
UpdateNamespaceRequest.prototype.setTakeOverScript = function (takeOverScript) {
|
|
162
|
+
this.takeOverScript = takeOverScript;
|
|
163
|
+
return this;
|
|
164
|
+
};
|
|
165
|
+
UpdateNamespaceRequest.prototype.withTakeOverScript = function (takeOverScript) {
|
|
166
|
+
this.takeOverScript = takeOverScript;
|
|
167
|
+
return this;
|
|
168
|
+
};
|
|
169
|
+
UpdateNamespaceRequest.prototype.getChangeSubscriptionStatusNotification = function () {
|
|
170
|
+
return this.changeSubscriptionStatusNotification;
|
|
171
|
+
};
|
|
172
|
+
UpdateNamespaceRequest.prototype.setChangeSubscriptionStatusNotification = function (changeSubscriptionStatusNotification) {
|
|
173
|
+
this.changeSubscriptionStatusNotification = changeSubscriptionStatusNotification;
|
|
174
|
+
return this;
|
|
175
|
+
};
|
|
176
|
+
UpdateNamespaceRequest.prototype.withChangeSubscriptionStatusNotification = function (changeSubscriptionStatusNotification) {
|
|
177
|
+
this.changeSubscriptionStatusNotification = changeSubscriptionStatusNotification;
|
|
178
|
+
return this;
|
|
179
|
+
};
|
|
120
180
|
UpdateNamespaceRequest.prototype.getLogSetting = function () {
|
|
121
181
|
return this.logSetting;
|
|
122
182
|
};
|
|
@@ -136,10 +196,15 @@ var UpdateNamespaceRequest = /** @class */ (function () {
|
|
|
136
196
|
.withPlatformSetting(Gs2Money2.PlatformSetting.fromDict(data["platformSetting"]))
|
|
137
197
|
.withDepositBalanceScript(Gs2Money2.ScriptSetting.fromDict(data["depositBalanceScript"]))
|
|
138
198
|
.withWithdrawBalanceScript(Gs2Money2.ScriptSetting.fromDict(data["withdrawBalanceScript"]))
|
|
199
|
+
.withSubscribeScript(data["subscribeScript"])
|
|
200
|
+
.withRenewScript(data["renewScript"])
|
|
201
|
+
.withUnsubscribeScript(data["unsubscribeScript"])
|
|
202
|
+
.withTakeOverScript(Gs2Money2.ScriptSetting.fromDict(data["takeOverScript"]))
|
|
203
|
+
.withChangeSubscriptionStatusNotification(Gs2Money2.NotificationSetting.fromDict(data["changeSubscriptionStatusNotification"]))
|
|
139
204
|
.withLogSetting(Gs2Money2.LogSetting.fromDict(data["logSetting"]));
|
|
140
205
|
};
|
|
141
206
|
UpdateNamespaceRequest.prototype.toDict = function () {
|
|
142
|
-
var _a, _b, _c, _d;
|
|
207
|
+
var _a, _b, _c, _d, _e, _f;
|
|
143
208
|
return {
|
|
144
209
|
"namespaceName": this.getNamespaceName(),
|
|
145
210
|
"currencyUsagePriority": this.getCurrencyUsagePriority(),
|
|
@@ -147,7 +212,12 @@ var UpdateNamespaceRequest = /** @class */ (function () {
|
|
|
147
212
|
"platformSetting": (_a = this.getPlatformSetting()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
148
213
|
"depositBalanceScript": (_b = this.getDepositBalanceScript()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
149
214
|
"withdrawBalanceScript": (_c = this.getWithdrawBalanceScript()) === null || _c === void 0 ? void 0 : _c.toDict(),
|
|
150
|
-
"
|
|
215
|
+
"subscribeScript": this.getSubscribeScript(),
|
|
216
|
+
"renewScript": this.getRenewScript(),
|
|
217
|
+
"unsubscribeScript": this.getUnsubscribeScript(),
|
|
218
|
+
"takeOverScript": (_d = this.getTakeOverScript()) === null || _d === void 0 ? void 0 : _d.toDict(),
|
|
219
|
+
"changeSubscriptionStatusNotification": (_e = this.getChangeSubscriptionStatusNotification()) === null || _e === void 0 ? void 0 : _e.toDict(),
|
|
220
|
+
"logSetting": (_f = this.getLogSetting()) === null || _f === void 0 ? void 0 : _f.toDict(),
|
|
151
221
|
};
|
|
152
222
|
};
|
|
153
223
|
return UpdateNamespaceRequest;
|