gs2 1.4.56 → 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/AppleAppStoreSubscriptionContent.d.ts +13 -0
- package/money2/model/AppleAppStoreSubscriptionContent.js +48 -0
- package/money2/model/AppleAppStoreSubscriptionContent.js.map +1 -0
- package/money2/model/AppleAppStoreSubscriptionContent.ts +48 -0
- package/money2/model/GooglePlaySubscriptionContent.d.ts +13 -0
- package/money2/model/GooglePlaySubscriptionContent.js +48 -0
- package/money2/model/GooglePlaySubscriptionContent.js.map +1 -0
- package/money2/model/GooglePlaySubscriptionContent.ts +48 -0
- 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 +48 -0
- package/money2/model/StoreSubscriptionContentModel.js +216 -0
- package/money2/model/StoreSubscriptionContentModel.js.map +1 -0
- package/money2/model/StoreSubscriptionContentModel.ts +230 -0
- package/money2/model/StoreSubscriptionContentModelMaster.d.ts +64 -0
- package/money2/model/StoreSubscriptionContentModelMaster.js +272 -0
- package/money2/model/StoreSubscriptionContentModelMaster.js.map +1 -0
- package/money2/model/StoreSubscriptionContentModelMaster.ts +286 -0
- package/money2/model/SubscribeTransaction.d.ts +10 -5
- package/money2/model/SubscribeTransaction.js +50 -16
- package/money2/model/SubscribeTransaction.js.map +1 -1
- package/money2/model/SubscribeTransaction.ts +52 -15
- package/money2/model/SubscriptionStatus.d.ts +32 -0
- package/money2/model/SubscriptionStatus.js +119 -0
- package/money2/model/SubscriptionStatus.js.map +1 -0
- package/money2/model/SubscriptionStatus.ts +123 -0
- package/money2/model/index.d.ts +7 -1
- package/money2/model/index.js +13 -1
- package/money2/model/index.js.map +1 -1
- package/money2/model/index.ts +12 -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 +54 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js +184 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js.map +1 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.ts +188 -0
- package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.d.ts +25 -0
- package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.js +83 -0
- package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.js.map +1 -0
- package/money2/request/DeleteStoreSubscriptionContentModelMasterRequest.ts +90 -0
- package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.d.ts +29 -0
- package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.js +97 -0
- package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.js.map +1 -0
- package/money2/request/DescribeStoreSubscriptionContentModelMastersRequest.ts +104 -0
- package/money2/request/DescribeStoreSubscriptionContentModelsRequest.d.ts +21 -0
- package/money2/request/DescribeStoreSubscriptionContentModelsRequest.js +69 -0
- package/money2/request/DescribeStoreSubscriptionContentModelsRequest.js.map +1 -0
- package/money2/request/DescribeStoreSubscriptionContentModelsRequest.ts +76 -0
- package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.d.ts +29 -0
- package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.js +97 -0
- package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.js.map +1 -0
- package/money2/request/DescribeSubscriptionStatusesByUserIdRequest.ts +104 -0
- package/money2/request/DescribeSubscriptionStatusesRequest.d.ts +25 -0
- package/money2/request/DescribeSubscriptionStatusesRequest.js +83 -0
- package/money2/request/DescribeSubscriptionStatusesRequest.js.map +1 -0
- package/money2/request/DescribeSubscriptionStatusesRequest.ts +90 -0
- package/money2/request/GetStoreSubscriptionContentModelMasterRequest.d.ts +25 -0
- package/money2/request/GetStoreSubscriptionContentModelMasterRequest.js +83 -0
- package/money2/request/GetStoreSubscriptionContentModelMasterRequest.js.map +1 -0
- package/money2/request/GetStoreSubscriptionContentModelMasterRequest.ts +90 -0
- package/money2/request/GetStoreSubscriptionContentModelRequest.d.ts +25 -0
- package/money2/request/GetStoreSubscriptionContentModelRequest.js +83 -0
- package/money2/request/GetStoreSubscriptionContentModelRequest.js.map +1 -0
- package/money2/request/GetStoreSubscriptionContentModelRequest.ts +90 -0
- package/money2/request/GetSubscriptionStatusByUserIdRequest.d.ts +33 -0
- package/money2/request/GetSubscriptionStatusByUserIdRequest.js +111 -0
- package/money2/request/GetSubscriptionStatusByUserIdRequest.js.map +1 -0
- package/money2/request/GetSubscriptionStatusByUserIdRequest.ts +118 -0
- package/money2/request/GetSubscriptionStatusRequest.d.ts +29 -0
- package/money2/request/GetSubscriptionStatusRequest.js +97 -0
- package/money2/request/GetSubscriptionStatusRequest.js.map +1 -0
- package/money2/request/GetSubscriptionStatusRequest.ts +104 -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 +54 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js +184 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js.map +1 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.ts +188 -0
- package/money2/request/index.d.ts +16 -1
- package/money2/request/index.js +32 -1
- package/money2/request/index.js.map +1 -1
- package/money2/request/index.ts +30 -0
- package/money2/rest.d.ts +15 -0
- package/money2/rest.js +435 -4
- package/money2/rest.js.map +1 -1
- package/money2/rest.ts +491 -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/CreateStoreSubscriptionContentModelMasterResult.d.ts +14 -0
- package/money2/result/CreateStoreSubscriptionContentModelMasterResult.js +48 -0
- package/money2/result/CreateStoreSubscriptionContentModelMasterResult.js.map +1 -0
- package/money2/result/CreateStoreSubscriptionContentModelMasterResult.ts +47 -0
- package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.d.ts +14 -0
- package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.js +48 -0
- package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.js.map +1 -0
- package/money2/result/DeleteStoreSubscriptionContentModelMasterResult.ts +47 -0
- package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.d.ts +18 -0
- package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.js +67 -0
- package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.js.map +1 -0
- package/money2/result/DescribeStoreSubscriptionContentModelMastersResult.ts +72 -0
- package/money2/result/DescribeStoreSubscriptionContentModelsResult.d.ts +14 -0
- package/money2/result/DescribeStoreSubscriptionContentModelsResult.js +53 -0
- package/money2/result/DescribeStoreSubscriptionContentModelsResult.js.map +1 -0
- package/money2/result/DescribeStoreSubscriptionContentModelsResult.ts +55 -0
- package/money2/result/DescribeSubscriptionStatusesByUserIdResult.d.ts +14 -0
- package/money2/result/DescribeSubscriptionStatusesByUserIdResult.js +53 -0
- package/money2/result/DescribeSubscriptionStatusesByUserIdResult.js.map +1 -0
- package/money2/result/DescribeSubscriptionStatusesByUserIdResult.ts +55 -0
- package/money2/result/DescribeSubscriptionStatusesResult.d.ts +14 -0
- package/money2/result/DescribeSubscriptionStatusesResult.js +53 -0
- package/money2/result/DescribeSubscriptionStatusesResult.js.map +1 -0
- package/money2/result/DescribeSubscriptionStatusesResult.ts +55 -0
- package/money2/result/GetStoreSubscriptionContentModelMasterResult.d.ts +14 -0
- package/money2/result/GetStoreSubscriptionContentModelMasterResult.js +48 -0
- package/money2/result/GetStoreSubscriptionContentModelMasterResult.js.map +1 -0
- package/money2/result/GetStoreSubscriptionContentModelMasterResult.ts +47 -0
- package/money2/result/GetStoreSubscriptionContentModelResult.d.ts +14 -0
- package/money2/result/GetStoreSubscriptionContentModelResult.js +48 -0
- package/money2/result/GetStoreSubscriptionContentModelResult.js.map +1 -0
- package/money2/result/GetStoreSubscriptionContentModelResult.ts +47 -0
- package/money2/result/GetSubscriptionStatusByUserIdResult.d.ts +14 -0
- package/money2/result/GetSubscriptionStatusByUserIdResult.js +48 -0
- package/money2/result/GetSubscriptionStatusByUserIdResult.js.map +1 -0
- package/money2/result/GetSubscriptionStatusByUserIdResult.ts +47 -0
- package/money2/result/GetSubscriptionStatusResult.d.ts +14 -0
- package/money2/result/GetSubscriptionStatusResult.js +48 -0
- package/money2/result/GetSubscriptionStatusResult.js.map +1 -0
- package/money2/result/GetSubscriptionStatusResult.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/UpdateStoreSubscriptionContentModelMasterResult.d.ts +14 -0
- package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.js +48 -0
- package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.js.map +1 -0
- package/money2/result/UpdateStoreSubscriptionContentModelMasterResult.ts +47 -0
- package/money2/result/index.d.ts +16 -1
- package/money2/result/index.js +32 -1
- package/money2/result/index.js.map +1 -1
- package/money2/result/index.ts +30 -0
- package/package.json +1 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class AppleAppStoreSubscriptionContent implements IModel {
|
|
3
|
+
private subscriptionGroupIdentifier;
|
|
4
|
+
getSubscriptionGroupIdentifier(): string | null;
|
|
5
|
+
setSubscriptionGroupIdentifier(subscriptionGroupIdentifier: string | null): this;
|
|
6
|
+
withSubscriptionGroupIdentifier(subscriptionGroupIdentifier: string | null): this;
|
|
7
|
+
static fromDict(data: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}): AppleAppStoreSubscriptionContent | null;
|
|
10
|
+
toDict(): {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 AppleAppStoreSubscriptionContent = /** @class */ (function () {
|
|
19
|
+
function AppleAppStoreSubscriptionContent() {
|
|
20
|
+
this.subscriptionGroupIdentifier = null;
|
|
21
|
+
}
|
|
22
|
+
AppleAppStoreSubscriptionContent.prototype.getSubscriptionGroupIdentifier = function () {
|
|
23
|
+
return this.subscriptionGroupIdentifier;
|
|
24
|
+
};
|
|
25
|
+
AppleAppStoreSubscriptionContent.prototype.setSubscriptionGroupIdentifier = function (subscriptionGroupIdentifier) {
|
|
26
|
+
this.subscriptionGroupIdentifier = subscriptionGroupIdentifier;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
AppleAppStoreSubscriptionContent.prototype.withSubscriptionGroupIdentifier = function (subscriptionGroupIdentifier) {
|
|
30
|
+
this.subscriptionGroupIdentifier = subscriptionGroupIdentifier;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
AppleAppStoreSubscriptionContent.fromDict = function (data) {
|
|
34
|
+
if (data == undefined || data == null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return new AppleAppStoreSubscriptionContent()
|
|
38
|
+
.withSubscriptionGroupIdentifier(data["subscriptionGroupIdentifier"]);
|
|
39
|
+
};
|
|
40
|
+
AppleAppStoreSubscriptionContent.prototype.toDict = function () {
|
|
41
|
+
return {
|
|
42
|
+
"subscriptionGroupIdentifier": this.getSubscriptionGroupIdentifier(),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
return AppleAppStoreSubscriptionContent;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = AppleAppStoreSubscriptionContent;
|
|
48
|
+
//# sourceMappingURL=AppleAppStoreSubscriptionContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppleAppStoreSubscriptionContent.js","sourceRoot":"","sources":["AppleAppStoreSubscriptionContent.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QACY,gCAA2B,GAAgB,IAAI,CAAC;IA0B5D,CAAC;IAzBU,yEAA8B,GAArC;QACI,OAAO,IAAI,CAAC,2BAA2B,CAAC;IAC5C,CAAC;IACM,yEAA8B,GAArC,UAAsC,2BAAwC;QAC1E,IAAI,CAAC,2BAA2B,GAAG,2BAA2B,CAAC;QAC/D,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,0EAA+B,GAAtC,UAAuC,2BAAwC;QAC3E,IAAI,CAAC,2BAA2B,GAAG,2BAA2B,CAAC;QAC/D,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,yCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,gCAAgC,EAAE;aACxC,+BAA+B,CAAC,IAAI,CAAC,6BAA6B,CAAC,CAAC,CAAC;IAC9E,CAAC;IAEM,iDAAM,GAAb;QACI,OAAO;YACH,6BAA6B,EAAE,IAAI,CAAC,8BAA8B,EAAE;SACvE,CAAC;IACN,CAAC;IACL,uCAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 IModel from '../../core/interface/IModel';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Money2 from '../../money2/model'
|
|
20
|
+
|
|
21
|
+
export default class AppleAppStoreSubscriptionContent implements IModel {
|
|
22
|
+
private subscriptionGroupIdentifier: string|null = null;
|
|
23
|
+
public getSubscriptionGroupIdentifier(): string|null {
|
|
24
|
+
return this.subscriptionGroupIdentifier;
|
|
25
|
+
}
|
|
26
|
+
public setSubscriptionGroupIdentifier(subscriptionGroupIdentifier: string|null) {
|
|
27
|
+
this.subscriptionGroupIdentifier = subscriptionGroupIdentifier;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
public withSubscriptionGroupIdentifier(subscriptionGroupIdentifier: string|null): this {
|
|
31
|
+
this.subscriptionGroupIdentifier = subscriptionGroupIdentifier;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public static fromDict(data: {[key: string]: any}): AppleAppStoreSubscriptionContent|null {
|
|
36
|
+
if (data == undefined || data == null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return new AppleAppStoreSubscriptionContent()
|
|
40
|
+
.withSubscriptionGroupIdentifier(data["subscriptionGroupIdentifier"]);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"subscriptionGroupIdentifier": this.getSubscriptionGroupIdentifier(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class GooglePlaySubscriptionContent implements IModel {
|
|
3
|
+
private productId;
|
|
4
|
+
getProductId(): string | null;
|
|
5
|
+
setProductId(productId: string | null): this;
|
|
6
|
+
withProductId(productId: string | null): this;
|
|
7
|
+
static fromDict(data: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}): GooglePlaySubscriptionContent | null;
|
|
10
|
+
toDict(): {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 GooglePlaySubscriptionContent = /** @class */ (function () {
|
|
19
|
+
function GooglePlaySubscriptionContent() {
|
|
20
|
+
this.productId = null;
|
|
21
|
+
}
|
|
22
|
+
GooglePlaySubscriptionContent.prototype.getProductId = function () {
|
|
23
|
+
return this.productId;
|
|
24
|
+
};
|
|
25
|
+
GooglePlaySubscriptionContent.prototype.setProductId = function (productId) {
|
|
26
|
+
this.productId = productId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
GooglePlaySubscriptionContent.prototype.withProductId = function (productId) {
|
|
30
|
+
this.productId = productId;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
GooglePlaySubscriptionContent.fromDict = function (data) {
|
|
34
|
+
if (data == undefined || data == null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return new GooglePlaySubscriptionContent()
|
|
38
|
+
.withProductId(data["productId"]);
|
|
39
|
+
};
|
|
40
|
+
GooglePlaySubscriptionContent.prototype.toDict = function () {
|
|
41
|
+
return {
|
|
42
|
+
"productId": this.getProductId(),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
return GooglePlaySubscriptionContent;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = GooglePlaySubscriptionContent;
|
|
48
|
+
//# sourceMappingURL=GooglePlaySubscriptionContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GooglePlaySubscriptionContent.js","sourceRoot":"","sources":["GooglePlaySubscriptionContent.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QACY,cAAS,GAAgB,IAAI,CAAC;IA0B1C,CAAC;IAzBU,oDAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IACM,oDAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,qDAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,sCAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,6BAA6B,EAAE;aACrC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;IAC1C,CAAC;IAEM,8CAAM,GAAb;QACI,OAAO;YACH,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;SACnC,CAAC;IACN,CAAC;IACL,oCAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 IModel from '../../core/interface/IModel';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Money2 from '../../money2/model'
|
|
20
|
+
|
|
21
|
+
export default class GooglePlaySubscriptionContent implements IModel {
|
|
22
|
+
private productId: string|null = null;
|
|
23
|
+
public getProductId(): string|null {
|
|
24
|
+
return this.productId;
|
|
25
|
+
}
|
|
26
|
+
public setProductId(productId: string|null) {
|
|
27
|
+
this.productId = productId;
|
|
28
|
+
return this;
|
|
29
|
+
}
|
|
30
|
+
public withProductId(productId: string|null): this {
|
|
31
|
+
this.productId = productId;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public static fromDict(data: {[key: string]: any}): GooglePlaySubscriptionContent|null {
|
|
36
|
+
if (data == undefined || data == null) {
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
return new GooglePlaySubscriptionContent()
|
|
40
|
+
.withProductId(data["productId"]);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public toDict(): {[key: string]: any} {
|
|
44
|
+
return {
|
|
45
|
+
"productId": this.getProductId(),
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -9,6 +9,11 @@ export default class Namespace implements IModel {
|
|
|
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
|
private createdAt;
|
|
14
19
|
private updatedAt;
|
|
@@ -42,6 +47,21 @@ export default class Namespace implements IModel {
|
|
|
42
47
|
getWithdrawBalanceScript(): Gs2Money2.ScriptSetting | null;
|
|
43
48
|
setWithdrawBalanceScript(withdrawBalanceScript: Gs2Money2.ScriptSetting | null): this;
|
|
44
49
|
withWithdrawBalanceScript(withdrawBalanceScript: Gs2Money2.ScriptSetting | null): this;
|
|
50
|
+
getSubscribeScript(): string | null;
|
|
51
|
+
setSubscribeScript(subscribeScript: string | null): this;
|
|
52
|
+
withSubscribeScript(subscribeScript: string | null): this;
|
|
53
|
+
getRenewScript(): string | null;
|
|
54
|
+
setRenewScript(renewScript: string | null): this;
|
|
55
|
+
withRenewScript(renewScript: string | null): this;
|
|
56
|
+
getUnsubscribeScript(): string | null;
|
|
57
|
+
setUnsubscribeScript(unsubscribeScript: string | null): this;
|
|
58
|
+
withUnsubscribeScript(unsubscribeScript: string | null): this;
|
|
59
|
+
getTakeOverScript(): Gs2Money2.ScriptSetting | null;
|
|
60
|
+
setTakeOverScript(takeOverScript: Gs2Money2.ScriptSetting | null): this;
|
|
61
|
+
withTakeOverScript(takeOverScript: Gs2Money2.ScriptSetting | null): this;
|
|
62
|
+
getChangeSubscriptionStatusNotification(): Gs2Money2.NotificationSetting | null;
|
|
63
|
+
setChangeSubscriptionStatusNotification(changeSubscriptionStatusNotification: Gs2Money2.NotificationSetting | null): this;
|
|
64
|
+
withChangeSubscriptionStatusNotification(changeSubscriptionStatusNotification: Gs2Money2.NotificationSetting | null): this;
|
|
45
65
|
getLogSetting(): Gs2Money2.LogSetting | null;
|
|
46
66
|
setLogSetting(logSetting: Gs2Money2.LogSetting | null): this;
|
|
47
67
|
withLogSetting(logSetting: Gs2Money2.LogSetting | null): this;
|
|
@@ -28,6 +28,11 @@ var Namespace = /** @class */ (function () {
|
|
|
28
28
|
this.platformSetting = null;
|
|
29
29
|
this.depositBalanceScript = null;
|
|
30
30
|
this.withdrawBalanceScript = null;
|
|
31
|
+
this.subscribeScript = null;
|
|
32
|
+
this.renewScript = null;
|
|
33
|
+
this.unsubscribeScript = null;
|
|
34
|
+
this.takeOverScript = null;
|
|
35
|
+
this.changeSubscriptionStatusNotification = null;
|
|
31
36
|
this.logSetting = null;
|
|
32
37
|
this.createdAt = null;
|
|
33
38
|
this.updatedAt = null;
|
|
@@ -169,6 +174,61 @@ var Namespace = /** @class */ (function () {
|
|
|
169
174
|
this.withdrawBalanceScript = withdrawBalanceScript;
|
|
170
175
|
return this;
|
|
171
176
|
};
|
|
177
|
+
Namespace.prototype.getSubscribeScript = function () {
|
|
178
|
+
return this.subscribeScript;
|
|
179
|
+
};
|
|
180
|
+
Namespace.prototype.setSubscribeScript = function (subscribeScript) {
|
|
181
|
+
this.subscribeScript = subscribeScript;
|
|
182
|
+
return this;
|
|
183
|
+
};
|
|
184
|
+
Namespace.prototype.withSubscribeScript = function (subscribeScript) {
|
|
185
|
+
this.subscribeScript = subscribeScript;
|
|
186
|
+
return this;
|
|
187
|
+
};
|
|
188
|
+
Namespace.prototype.getRenewScript = function () {
|
|
189
|
+
return this.renewScript;
|
|
190
|
+
};
|
|
191
|
+
Namespace.prototype.setRenewScript = function (renewScript) {
|
|
192
|
+
this.renewScript = renewScript;
|
|
193
|
+
return this;
|
|
194
|
+
};
|
|
195
|
+
Namespace.prototype.withRenewScript = function (renewScript) {
|
|
196
|
+
this.renewScript = renewScript;
|
|
197
|
+
return this;
|
|
198
|
+
};
|
|
199
|
+
Namespace.prototype.getUnsubscribeScript = function () {
|
|
200
|
+
return this.unsubscribeScript;
|
|
201
|
+
};
|
|
202
|
+
Namespace.prototype.setUnsubscribeScript = function (unsubscribeScript) {
|
|
203
|
+
this.unsubscribeScript = unsubscribeScript;
|
|
204
|
+
return this;
|
|
205
|
+
};
|
|
206
|
+
Namespace.prototype.withUnsubscribeScript = function (unsubscribeScript) {
|
|
207
|
+
this.unsubscribeScript = unsubscribeScript;
|
|
208
|
+
return this;
|
|
209
|
+
};
|
|
210
|
+
Namespace.prototype.getTakeOverScript = function () {
|
|
211
|
+
return this.takeOverScript;
|
|
212
|
+
};
|
|
213
|
+
Namespace.prototype.setTakeOverScript = function (takeOverScript) {
|
|
214
|
+
this.takeOverScript = takeOverScript;
|
|
215
|
+
return this;
|
|
216
|
+
};
|
|
217
|
+
Namespace.prototype.withTakeOverScript = function (takeOverScript) {
|
|
218
|
+
this.takeOverScript = takeOverScript;
|
|
219
|
+
return this;
|
|
220
|
+
};
|
|
221
|
+
Namespace.prototype.getChangeSubscriptionStatusNotification = function () {
|
|
222
|
+
return this.changeSubscriptionStatusNotification;
|
|
223
|
+
};
|
|
224
|
+
Namespace.prototype.setChangeSubscriptionStatusNotification = function (changeSubscriptionStatusNotification) {
|
|
225
|
+
this.changeSubscriptionStatusNotification = changeSubscriptionStatusNotification;
|
|
226
|
+
return this;
|
|
227
|
+
};
|
|
228
|
+
Namespace.prototype.withChangeSubscriptionStatusNotification = function (changeSubscriptionStatusNotification) {
|
|
229
|
+
this.changeSubscriptionStatusNotification = changeSubscriptionStatusNotification;
|
|
230
|
+
return this;
|
|
231
|
+
};
|
|
172
232
|
Namespace.prototype.getLogSetting = function () {
|
|
173
233
|
return this.logSetting;
|
|
174
234
|
};
|
|
@@ -226,13 +286,18 @@ var Namespace = /** @class */ (function () {
|
|
|
226
286
|
.withPlatformSetting(Gs2Money2.PlatformSetting.fromDict(data["platformSetting"]))
|
|
227
287
|
.withDepositBalanceScript(Gs2Money2.ScriptSetting.fromDict(data["depositBalanceScript"]))
|
|
228
288
|
.withWithdrawBalanceScript(Gs2Money2.ScriptSetting.fromDict(data["withdrawBalanceScript"]))
|
|
289
|
+
.withSubscribeScript(data["subscribeScript"])
|
|
290
|
+
.withRenewScript(data["renewScript"])
|
|
291
|
+
.withUnsubscribeScript(data["unsubscribeScript"])
|
|
292
|
+
.withTakeOverScript(Gs2Money2.ScriptSetting.fromDict(data["takeOverScript"]))
|
|
293
|
+
.withChangeSubscriptionStatusNotification(Gs2Money2.NotificationSetting.fromDict(data["changeSubscriptionStatusNotification"]))
|
|
229
294
|
.withLogSetting(Gs2Money2.LogSetting.fromDict(data["logSetting"]))
|
|
230
295
|
.withCreatedAt(data["createdAt"])
|
|
231
296
|
.withUpdatedAt(data["updatedAt"])
|
|
232
297
|
.withRevision(data["revision"]);
|
|
233
298
|
};
|
|
234
299
|
Namespace.prototype.toDict = function () {
|
|
235
|
-
var _a, _b, _c, _d;
|
|
300
|
+
var _a, _b, _c, _d, _e, _f;
|
|
236
301
|
return {
|
|
237
302
|
"namespaceId": this.getNamespaceId(),
|
|
238
303
|
"name": this.getName(),
|
|
@@ -242,7 +307,12 @@ var Namespace = /** @class */ (function () {
|
|
|
242
307
|
"platformSetting": (_a = this.getPlatformSetting()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
243
308
|
"depositBalanceScript": (_b = this.getDepositBalanceScript()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
244
309
|
"withdrawBalanceScript": (_c = this.getWithdrawBalanceScript()) === null || _c === void 0 ? void 0 : _c.toDict(),
|
|
245
|
-
"
|
|
310
|
+
"subscribeScript": this.getSubscribeScript(),
|
|
311
|
+
"renewScript": this.getRenewScript(),
|
|
312
|
+
"unsubscribeScript": this.getUnsubscribeScript(),
|
|
313
|
+
"takeOverScript": (_d = this.getTakeOverScript()) === null || _d === void 0 ? void 0 : _d.toDict(),
|
|
314
|
+
"changeSubscriptionStatusNotification": (_e = this.getChangeSubscriptionStatusNotification()) === null || _e === void 0 ? void 0 : _e.toDict(),
|
|
315
|
+
"logSetting": (_f = this.getLogSetting()) === null || _f === void 0 ? void 0 : _f.toDict(),
|
|
246
316
|
"createdAt": this.getCreatedAt(),
|
|
247
317
|
"updatedAt": this.getUpdatedAt(),
|
|
248
318
|
"revision": this.getRevision(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,oEAA+C;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,oEAA+C;AAQ/C,IAAM,SAAS,GAAW,mDAAmD,CAAC;AAE9E;IAAA;QACY,gBAAW,GAAgB,IAAI,CAAC;QAChC,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAAW,GAAgB,IAAI,CAAC;QAChC,0BAAqB,GAAgB,IAAI,CAAC;QAC1C,uBAAkB,GAAiB,IAAI,CAAC;QACxC,oBAAe,GAAmC,IAAI,CAAC;QACvD,yBAAoB,GAAiC,IAAI,CAAC;QAC1D,0BAAqB,GAAiC,IAAI,CAAC;QA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Ac,EAAE;YACpC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,uBAAuB,EAAE,IAAI,CAAC,wBAAwB,EAAE;YACxD,oBAAoB,EAAE,IAAI,CAAC,qBAAqB,EAAE;YAClD,iBAAiB,EAAE,MAAA,IAAI,CAAC,kBAAkB,EAAE,0CAAE,MAAM,EAAE;YACtD,sBAAsB,EAAE,MAAA,IAAI,CAAC,uBAAuB,EAAE,0CAAE,MAAM,EAAE;YAChE,uBAAuB,EAAE,MAAA,IAAI,CAAC,wBAAwB,EAAE,0CAAE,MAAM,EAAE;YAClE,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;YAC5C,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,mBAAmB,EAAE,IAAI,CAAC,oBAAoB,EAAE;YAChD,gBAAgB,EAAE,MAAA,IAAI,CAAC,iBAAiB,EAAE,0CAAE,MAAM,EAAE;YACpD,sCAAsC,EAAE,MAAA,IAAI,CAAC,uCAAuC,EAAE,0CAAE,MAAM,EAAE;YAChG,YAAY,EAAE,MAAA,IAAI,CAAC,aAAa,EAAE,0CAAE,MAAM,EAAE;YAC5C,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;SACjC,CAAC;IACN,CAAC;IACL,gBAAC;AAAD,CAAC,AAvTD,IAuTC"}
|
|
@@ -22,6 +22,7 @@ import GooglePlaySetting from './GooglePlaySetting';
|
|
|
22
22
|
import FakeSetting from './FakeSetting';
|
|
23
23
|
import PlatformSetting from './PlatformSetting';
|
|
24
24
|
import ScriptSetting from './ScriptSetting';
|
|
25
|
+
import NotificationSetting from './NotificationSetting';
|
|
25
26
|
import LogSetting from './LogSetting';
|
|
26
27
|
const grnFormat: string = "grn:gs2:{region}:{ownerId}:money2:{namespaceName}";
|
|
27
28
|
|
|
@@ -34,6 +35,11 @@ export default class Namespace implements IModel {
|
|
|
34
35
|
private platformSetting: Gs2Money2.PlatformSetting|null = null;
|
|
35
36
|
private depositBalanceScript: Gs2Money2.ScriptSetting|null = null;
|
|
36
37
|
private withdrawBalanceScript: Gs2Money2.ScriptSetting|null = null;
|
|
38
|
+
private subscribeScript: string|null = null;
|
|
39
|
+
private renewScript: string|null = null;
|
|
40
|
+
private unsubscribeScript: string|null = null;
|
|
41
|
+
private takeOverScript: Gs2Money2.ScriptSetting|null = null;
|
|
42
|
+
private changeSubscriptionStatusNotification: Gs2Money2.NotificationSetting|null = null;
|
|
37
43
|
private logSetting: Gs2Money2.LogSetting|null = null;
|
|
38
44
|
private createdAt: number|null = null;
|
|
39
45
|
private updatedAt: number|null = null;
|
|
@@ -186,6 +192,61 @@ export default class Namespace implements IModel {
|
|
|
186
192
|
this.withdrawBalanceScript = withdrawBalanceScript;
|
|
187
193
|
return this;
|
|
188
194
|
}
|
|
195
|
+
public getSubscribeScript(): string|null {
|
|
196
|
+
return this.subscribeScript;
|
|
197
|
+
}
|
|
198
|
+
public setSubscribeScript(subscribeScript: string|null) {
|
|
199
|
+
this.subscribeScript = subscribeScript;
|
|
200
|
+
return this;
|
|
201
|
+
}
|
|
202
|
+
public withSubscribeScript(subscribeScript: string|null): this {
|
|
203
|
+
this.subscribeScript = subscribeScript;
|
|
204
|
+
return this;
|
|
205
|
+
}
|
|
206
|
+
public getRenewScript(): string|null {
|
|
207
|
+
return this.renewScript;
|
|
208
|
+
}
|
|
209
|
+
public setRenewScript(renewScript: string|null) {
|
|
210
|
+
this.renewScript = renewScript;
|
|
211
|
+
return this;
|
|
212
|
+
}
|
|
213
|
+
public withRenewScript(renewScript: string|null): this {
|
|
214
|
+
this.renewScript = renewScript;
|
|
215
|
+
return this;
|
|
216
|
+
}
|
|
217
|
+
public getUnsubscribeScript(): string|null {
|
|
218
|
+
return this.unsubscribeScript;
|
|
219
|
+
}
|
|
220
|
+
public setUnsubscribeScript(unsubscribeScript: string|null) {
|
|
221
|
+
this.unsubscribeScript = unsubscribeScript;
|
|
222
|
+
return this;
|
|
223
|
+
}
|
|
224
|
+
public withUnsubscribeScript(unsubscribeScript: string|null): this {
|
|
225
|
+
this.unsubscribeScript = unsubscribeScript;
|
|
226
|
+
return this;
|
|
227
|
+
}
|
|
228
|
+
public getTakeOverScript(): Gs2Money2.ScriptSetting|null {
|
|
229
|
+
return this.takeOverScript;
|
|
230
|
+
}
|
|
231
|
+
public setTakeOverScript(takeOverScript: Gs2Money2.ScriptSetting|null) {
|
|
232
|
+
this.takeOverScript = takeOverScript;
|
|
233
|
+
return this;
|
|
234
|
+
}
|
|
235
|
+
public withTakeOverScript(takeOverScript: Gs2Money2.ScriptSetting|null): this {
|
|
236
|
+
this.takeOverScript = takeOverScript;
|
|
237
|
+
return this;
|
|
238
|
+
}
|
|
239
|
+
public getChangeSubscriptionStatusNotification(): Gs2Money2.NotificationSetting|null {
|
|
240
|
+
return this.changeSubscriptionStatusNotification;
|
|
241
|
+
}
|
|
242
|
+
public setChangeSubscriptionStatusNotification(changeSubscriptionStatusNotification: Gs2Money2.NotificationSetting|null) {
|
|
243
|
+
this.changeSubscriptionStatusNotification = changeSubscriptionStatusNotification;
|
|
244
|
+
return this;
|
|
245
|
+
}
|
|
246
|
+
public withChangeSubscriptionStatusNotification(changeSubscriptionStatusNotification: Gs2Money2.NotificationSetting|null): this {
|
|
247
|
+
this.changeSubscriptionStatusNotification = changeSubscriptionStatusNotification;
|
|
248
|
+
return this;
|
|
249
|
+
}
|
|
189
250
|
public getLogSetting(): Gs2Money2.LogSetting|null {
|
|
190
251
|
return this.logSetting;
|
|
191
252
|
}
|
|
@@ -244,6 +305,11 @@ export default class Namespace implements IModel {
|
|
|
244
305
|
.withPlatformSetting(Gs2Money2.PlatformSetting.fromDict(data["platformSetting"]))
|
|
245
306
|
.withDepositBalanceScript(Gs2Money2.ScriptSetting.fromDict(data["depositBalanceScript"]))
|
|
246
307
|
.withWithdrawBalanceScript(Gs2Money2.ScriptSetting.fromDict(data["withdrawBalanceScript"]))
|
|
308
|
+
.withSubscribeScript(data["subscribeScript"])
|
|
309
|
+
.withRenewScript(data["renewScript"])
|
|
310
|
+
.withUnsubscribeScript(data["unsubscribeScript"])
|
|
311
|
+
.withTakeOverScript(Gs2Money2.ScriptSetting.fromDict(data["takeOverScript"]))
|
|
312
|
+
.withChangeSubscriptionStatusNotification(Gs2Money2.NotificationSetting.fromDict(data["changeSubscriptionStatusNotification"]))
|
|
247
313
|
.withLogSetting(Gs2Money2.LogSetting.fromDict(data["logSetting"]))
|
|
248
314
|
.withCreatedAt(data["createdAt"])
|
|
249
315
|
.withUpdatedAt(data["updatedAt"])
|
|
@@ -260,6 +326,11 @@ export default class Namespace implements IModel {
|
|
|
260
326
|
"platformSetting": this.getPlatformSetting()?.toDict(),
|
|
261
327
|
"depositBalanceScript": this.getDepositBalanceScript()?.toDict(),
|
|
262
328
|
"withdrawBalanceScript": this.getWithdrawBalanceScript()?.toDict(),
|
|
329
|
+
"subscribeScript": this.getSubscribeScript(),
|
|
330
|
+
"renewScript": this.getRenewScript(),
|
|
331
|
+
"unsubscribeScript": this.getUnsubscribeScript(),
|
|
332
|
+
"takeOverScript": this.getTakeOverScript()?.toDict(),
|
|
333
|
+
"changeSubscriptionStatusNotification": this.getChangeSubscriptionStatusNotification()?.toDict(),
|
|
263
334
|
"logSetting": this.getLogSetting()?.toDict(),
|
|
264
335
|
"createdAt": this.getCreatedAt(),
|
|
265
336
|
"updatedAt": this.getUpdatedAt(),
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class NotificationSetting implements IModel {
|
|
3
|
+
private gatewayNamespaceId;
|
|
4
|
+
private enableTransferMobileNotification;
|
|
5
|
+
private sound;
|
|
6
|
+
getGatewayNamespaceId(): string | null;
|
|
7
|
+
setGatewayNamespaceId(gatewayNamespaceId: string | null): this;
|
|
8
|
+
withGatewayNamespaceId(gatewayNamespaceId: string | null): this;
|
|
9
|
+
getEnableTransferMobileNotification(): boolean | null;
|
|
10
|
+
setEnableTransferMobileNotification(enableTransferMobileNotification: boolean | null): this;
|
|
11
|
+
withEnableTransferMobileNotification(enableTransferMobileNotification: boolean | null): this;
|
|
12
|
+
getSound(): string | null;
|
|
13
|
+
setSound(sound: string | null): this;
|
|
14
|
+
withSound(sound: string | null): this;
|
|
15
|
+
static fromDict(data: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
}): NotificationSetting | null;
|
|
18
|
+
toDict(): {
|
|
19
|
+
[key: string]: any;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
@@ -0,0 +1,76 @@
|
|
|
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 NotificationSetting = /** @class */ (function () {
|
|
19
|
+
function NotificationSetting() {
|
|
20
|
+
this.gatewayNamespaceId = null;
|
|
21
|
+
this.enableTransferMobileNotification = null;
|
|
22
|
+
this.sound = null;
|
|
23
|
+
}
|
|
24
|
+
NotificationSetting.prototype.getGatewayNamespaceId = function () {
|
|
25
|
+
return this.gatewayNamespaceId;
|
|
26
|
+
};
|
|
27
|
+
NotificationSetting.prototype.setGatewayNamespaceId = function (gatewayNamespaceId) {
|
|
28
|
+
this.gatewayNamespaceId = gatewayNamespaceId;
|
|
29
|
+
return this;
|
|
30
|
+
};
|
|
31
|
+
NotificationSetting.prototype.withGatewayNamespaceId = function (gatewayNamespaceId) {
|
|
32
|
+
this.gatewayNamespaceId = gatewayNamespaceId;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
NotificationSetting.prototype.getEnableTransferMobileNotification = function () {
|
|
36
|
+
return this.enableTransferMobileNotification;
|
|
37
|
+
};
|
|
38
|
+
NotificationSetting.prototype.setEnableTransferMobileNotification = function (enableTransferMobileNotification) {
|
|
39
|
+
this.enableTransferMobileNotification = enableTransferMobileNotification;
|
|
40
|
+
return this;
|
|
41
|
+
};
|
|
42
|
+
NotificationSetting.prototype.withEnableTransferMobileNotification = function (enableTransferMobileNotification) {
|
|
43
|
+
this.enableTransferMobileNotification = enableTransferMobileNotification;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
NotificationSetting.prototype.getSound = function () {
|
|
47
|
+
return this.sound;
|
|
48
|
+
};
|
|
49
|
+
NotificationSetting.prototype.setSound = function (sound) {
|
|
50
|
+
this.sound = sound;
|
|
51
|
+
return this;
|
|
52
|
+
};
|
|
53
|
+
NotificationSetting.prototype.withSound = function (sound) {
|
|
54
|
+
this.sound = sound;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
NotificationSetting.fromDict = function (data) {
|
|
58
|
+
if (data == undefined || data == null) {
|
|
59
|
+
return null;
|
|
60
|
+
}
|
|
61
|
+
return new NotificationSetting()
|
|
62
|
+
.withGatewayNamespaceId(data["gatewayNamespaceId"])
|
|
63
|
+
.withEnableTransferMobileNotification(data["enableTransferMobileNotification"])
|
|
64
|
+
.withSound(data["sound"]);
|
|
65
|
+
};
|
|
66
|
+
NotificationSetting.prototype.toDict = function () {
|
|
67
|
+
return {
|
|
68
|
+
"gatewayNamespaceId": this.getGatewayNamespaceId(),
|
|
69
|
+
"enableTransferMobileNotification": this.getEnableTransferMobileNotification(),
|
|
70
|
+
"sound": this.getSound(),
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
return NotificationSetting;
|
|
74
|
+
}());
|
|
75
|
+
exports.default = NotificationSetting;
|
|
76
|
+
//# sourceMappingURL=NotificationSetting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationSetting.js","sourceRoot":"","sources":["NotificationSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QACY,uBAAkB,GAAgB,IAAI,CAAC;QACvC,qCAAgC,GAAiB,IAAI,CAAC;QACtD,UAAK,GAAgB,IAAI,CAAC;IAoDtC,CAAC;IAnDU,mDAAqB,GAA5B;QACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACnC,CAAC;IACM,mDAAqB,GAA5B,UAA6B,kBAA+B;QACxD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,oDAAsB,GAA7B,UAA8B,kBAA+B;QACzD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,iEAAmC,GAA1C;QACI,OAAO,IAAI,CAAC,gCAAgC,CAAC;IACjD,CAAC;IACM,iEAAmC,GAA1C,UAA2C,gCAA8C;QACrF,IAAI,CAAC,gCAAgC,GAAG,gCAAgC,CAAC;QACzE,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,kEAAoC,GAA3C,UAA4C,gCAA8C;QACtF,IAAI,CAAC,gCAAgC,GAAG,gCAAgC,CAAC;QACzE,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,sCAAQ,GAAf;QACI,OAAO,IAAI,CAAC,KAAK,CAAC;IACtB,CAAC;IACM,sCAAQ,GAAf,UAAgB,KAAkB;QAC9B,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,OAAO,IAAI,CAAC;IAChB,CAA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