gs2 1.4.56 → 1.4.57
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/StoreSubscriptionContentModel.d.ts +44 -0
- package/money2/model/StoreSubscriptionContentModel.js +202 -0
- package/money2/model/StoreSubscriptionContentModel.js.map +1 -0
- package/money2/model/StoreSubscriptionContentModel.ts +216 -0
- package/money2/model/StoreSubscriptionContentModelMaster.d.ts +60 -0
- package/money2/model/StoreSubscriptionContentModelMaster.js +258 -0
- package/money2/model/StoreSubscriptionContentModelMaster.js.map +1 -0
- package/money2/model/StoreSubscriptionContentModelMaster.ts +272 -0
- package/money2/model/SubscribeTransaction.d.ts +6 -5
- package/money2/model/SubscribeTransaction.js +36 -16
- package/money2/model/SubscribeTransaction.js.map +1 -1
- package/money2/model/SubscribeTransaction.ts +38 -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 +6 -1
- package/money2/model/index.js +11 -1
- package/money2/model/index.js.map +1 -1
- package/money2/model/index.ts +10 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.d.ts +50 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js +170 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.js.map +1 -0
- package/money2/request/CreateStoreSubscriptionContentModelMasterRequest.ts +174 -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/UpdateStoreSubscriptionContentModelMasterRequest.d.ts +50 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js +170 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.js.map +1 -0
- package/money2/request/UpdateStoreSubscriptionContentModelMasterRequest.ts +174 -0
- package/money2/request/index.d.ts +12 -1
- package/money2/request/index.js +24 -1
- package/money2/request/index.js.map +1 -1
- package/money2/request/index.ts +22 -0
- package/money2/rest.d.ts +11 -0
- package/money2/rest.js +285 -0
- package/money2/rest.js.map +1 -1
- package/money2/rest.ts +329 -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/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 +12 -1
- package/money2/result/index.js +24 -1
- package/money2/result/index.js.map +1 -1
- package/money2/result/index.ts +22 -0
- package/package.json +1 -1
|
@@ -0,0 +1,216 @@
|
|
|
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
|
+
import AppleAppStoreSubscriptionContent from './AppleAppStoreSubscriptionContent';
|
|
21
|
+
import GooglePlaySubscriptionContent from './GooglePlaySubscriptionContent';
|
|
22
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:money2:{namespaceName}:model:subscription:content:{contentName}";
|
|
23
|
+
|
|
24
|
+
export default class StoreSubscriptionContentModel implements IModel {
|
|
25
|
+
private storeSubscriptionContentModelId: string|null = null;
|
|
26
|
+
private name: string|null = null;
|
|
27
|
+
private metadata: string|null = null;
|
|
28
|
+
private scheduleNamespaceId: string|null = null;
|
|
29
|
+
private triggerName: string|null = null;
|
|
30
|
+
private appleAppStore: Gs2Money2.AppleAppStoreSubscriptionContent|null = null;
|
|
31
|
+
private googlePlay: Gs2Money2.GooglePlaySubscriptionContent|null = null;
|
|
32
|
+
|
|
33
|
+
public static getRegion(grn: string): string|null {
|
|
34
|
+
const match = grn.match(grnFormat
|
|
35
|
+
.replace('{region}', '(.*)')
|
|
36
|
+
.replace('{ownerId}', '.*')
|
|
37
|
+
.replace('{namespaceName}', '.*')
|
|
38
|
+
.replace('{contentName}', '.*')
|
|
39
|
+
);
|
|
40
|
+
if (match) {
|
|
41
|
+
return match[1];
|
|
42
|
+
}
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public static getOwnerId(grn: string): string|null {
|
|
47
|
+
const match = grn.match(grnFormat
|
|
48
|
+
.replace('{region}', '.*')
|
|
49
|
+
.replace('{ownerId}', '(.*)')
|
|
50
|
+
.replace('{namespaceName}', '.*')
|
|
51
|
+
.replace('{contentName}', '.*')
|
|
52
|
+
);
|
|
53
|
+
if (match) {
|
|
54
|
+
return match[1];
|
|
55
|
+
}
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public static getNamespaceName(grn: string): string|null {
|
|
60
|
+
const match = grn.match(grnFormat
|
|
61
|
+
.replace('{region}', '.*')
|
|
62
|
+
.replace('{ownerId}', '.*')
|
|
63
|
+
.replace('{namespaceName}', '(.*)')
|
|
64
|
+
.replace('{contentName}', '.*')
|
|
65
|
+
);
|
|
66
|
+
if (match) {
|
|
67
|
+
return match[1];
|
|
68
|
+
}
|
|
69
|
+
return null;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
public static getContentName(grn: string): string|null {
|
|
73
|
+
const match = grn.match(grnFormat
|
|
74
|
+
.replace('{region}', '.*')
|
|
75
|
+
.replace('{ownerId}', '.*')
|
|
76
|
+
.replace('{namespaceName}', '.*')
|
|
77
|
+
.replace('{contentName}', '(.*)')
|
|
78
|
+
);
|
|
79
|
+
if (match) {
|
|
80
|
+
return match[1];
|
|
81
|
+
}
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
public static isValid(grn: string): boolean {
|
|
86
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
if (this.getContentName(grn) == null || this.getContentName(grn) === '') {
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
return true;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
public static createGrn(
|
|
102
|
+
region: string|null,
|
|
103
|
+
ownerId: string|null,
|
|
104
|
+
namespaceName: string|null,
|
|
105
|
+
contentName: string|null,
|
|
106
|
+
): string|null {
|
|
107
|
+
return grnFormat
|
|
108
|
+
.replace('{region}', region ?? '')
|
|
109
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
110
|
+
.replace('{namespaceName}', namespaceName ?? '')
|
|
111
|
+
.replace('{contentName}', contentName ?? '');
|
|
112
|
+
}
|
|
113
|
+
public getStoreSubscriptionContentModelId(): string|null {
|
|
114
|
+
return this.storeSubscriptionContentModelId;
|
|
115
|
+
}
|
|
116
|
+
public setStoreSubscriptionContentModelId(storeSubscriptionContentModelId: string|null) {
|
|
117
|
+
this.storeSubscriptionContentModelId = storeSubscriptionContentModelId;
|
|
118
|
+
return this;
|
|
119
|
+
}
|
|
120
|
+
public withStoreSubscriptionContentModelId(storeSubscriptionContentModelId: string|null): this {
|
|
121
|
+
this.storeSubscriptionContentModelId = storeSubscriptionContentModelId;
|
|
122
|
+
return this;
|
|
123
|
+
}
|
|
124
|
+
public getName(): string|null {
|
|
125
|
+
return this.name;
|
|
126
|
+
}
|
|
127
|
+
public setName(name: string|null) {
|
|
128
|
+
this.name = name;
|
|
129
|
+
return this;
|
|
130
|
+
}
|
|
131
|
+
public withName(name: string|null): this {
|
|
132
|
+
this.name = name;
|
|
133
|
+
return this;
|
|
134
|
+
}
|
|
135
|
+
public getMetadata(): string|null {
|
|
136
|
+
return this.metadata;
|
|
137
|
+
}
|
|
138
|
+
public setMetadata(metadata: string|null) {
|
|
139
|
+
this.metadata = metadata;
|
|
140
|
+
return this;
|
|
141
|
+
}
|
|
142
|
+
public withMetadata(metadata: string|null): this {
|
|
143
|
+
this.metadata = metadata;
|
|
144
|
+
return this;
|
|
145
|
+
}
|
|
146
|
+
public getScheduleNamespaceId(): string|null {
|
|
147
|
+
return this.scheduleNamespaceId;
|
|
148
|
+
}
|
|
149
|
+
public setScheduleNamespaceId(scheduleNamespaceId: string|null) {
|
|
150
|
+
this.scheduleNamespaceId = scheduleNamespaceId;
|
|
151
|
+
return this;
|
|
152
|
+
}
|
|
153
|
+
public withScheduleNamespaceId(scheduleNamespaceId: string|null): this {
|
|
154
|
+
this.scheduleNamespaceId = scheduleNamespaceId;
|
|
155
|
+
return this;
|
|
156
|
+
}
|
|
157
|
+
public getTriggerName(): string|null {
|
|
158
|
+
return this.triggerName;
|
|
159
|
+
}
|
|
160
|
+
public setTriggerName(triggerName: string|null) {
|
|
161
|
+
this.triggerName = triggerName;
|
|
162
|
+
return this;
|
|
163
|
+
}
|
|
164
|
+
public withTriggerName(triggerName: string|null): this {
|
|
165
|
+
this.triggerName = triggerName;
|
|
166
|
+
return this;
|
|
167
|
+
}
|
|
168
|
+
public getAppleAppStore(): Gs2Money2.AppleAppStoreSubscriptionContent|null {
|
|
169
|
+
return this.appleAppStore;
|
|
170
|
+
}
|
|
171
|
+
public setAppleAppStore(appleAppStore: Gs2Money2.AppleAppStoreSubscriptionContent|null) {
|
|
172
|
+
this.appleAppStore = appleAppStore;
|
|
173
|
+
return this;
|
|
174
|
+
}
|
|
175
|
+
public withAppleAppStore(appleAppStore: Gs2Money2.AppleAppStoreSubscriptionContent|null): this {
|
|
176
|
+
this.appleAppStore = appleAppStore;
|
|
177
|
+
return this;
|
|
178
|
+
}
|
|
179
|
+
public getGooglePlay(): Gs2Money2.GooglePlaySubscriptionContent|null {
|
|
180
|
+
return this.googlePlay;
|
|
181
|
+
}
|
|
182
|
+
public setGooglePlay(googlePlay: Gs2Money2.GooglePlaySubscriptionContent|null) {
|
|
183
|
+
this.googlePlay = googlePlay;
|
|
184
|
+
return this;
|
|
185
|
+
}
|
|
186
|
+
public withGooglePlay(googlePlay: Gs2Money2.GooglePlaySubscriptionContent|null): this {
|
|
187
|
+
this.googlePlay = googlePlay;
|
|
188
|
+
return this;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
public static fromDict(data: {[key: string]: any}): StoreSubscriptionContentModel|null {
|
|
192
|
+
if (data == undefined || data == null) {
|
|
193
|
+
return null;
|
|
194
|
+
}
|
|
195
|
+
return new StoreSubscriptionContentModel()
|
|
196
|
+
.withStoreSubscriptionContentModelId(data["storeSubscriptionContentModelId"])
|
|
197
|
+
.withName(data["name"])
|
|
198
|
+
.withMetadata(data["metadata"])
|
|
199
|
+
.withScheduleNamespaceId(data["scheduleNamespaceId"])
|
|
200
|
+
.withTriggerName(data["triggerName"])
|
|
201
|
+
.withAppleAppStore(Gs2Money2.AppleAppStoreSubscriptionContent.fromDict(data["appleAppStore"]))
|
|
202
|
+
.withGooglePlay(Gs2Money2.GooglePlaySubscriptionContent.fromDict(data["googlePlay"]));
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
public toDict(): {[key: string]: any} {
|
|
206
|
+
return {
|
|
207
|
+
"storeSubscriptionContentModelId": this.getStoreSubscriptionContentModelId(),
|
|
208
|
+
"name": this.getName(),
|
|
209
|
+
"metadata": this.getMetadata(),
|
|
210
|
+
"scheduleNamespaceId": this.getScheduleNamespaceId(),
|
|
211
|
+
"triggerName": this.getTriggerName(),
|
|
212
|
+
"appleAppStore": this.getAppleAppStore()?.toDict(),
|
|
213
|
+
"googlePlay": this.getGooglePlay()?.toDict(),
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import * as Gs2Money2 from '../../money2/model';
|
|
3
|
+
export default class StoreSubscriptionContentModelMaster implements IModel {
|
|
4
|
+
private storeSubscriptionContentModelId;
|
|
5
|
+
private name;
|
|
6
|
+
private description;
|
|
7
|
+
private metadata;
|
|
8
|
+
private scheduleNamespaceId;
|
|
9
|
+
private triggerName;
|
|
10
|
+
private appleAppStore;
|
|
11
|
+
private googlePlay;
|
|
12
|
+
private createdAt;
|
|
13
|
+
private updatedAt;
|
|
14
|
+
private revision;
|
|
15
|
+
static getRegion(grn: string): string | null;
|
|
16
|
+
static getOwnerId(grn: string): string | null;
|
|
17
|
+
static getNamespaceName(grn: string): string | null;
|
|
18
|
+
static getContentName(grn: string): string | null;
|
|
19
|
+
static isValid(grn: string): boolean;
|
|
20
|
+
static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, contentName: string | null): string | null;
|
|
21
|
+
getStoreSubscriptionContentModelId(): string | null;
|
|
22
|
+
setStoreSubscriptionContentModelId(storeSubscriptionContentModelId: string | null): this;
|
|
23
|
+
withStoreSubscriptionContentModelId(storeSubscriptionContentModelId: string | null): this;
|
|
24
|
+
getName(): string | null;
|
|
25
|
+
setName(name: string | null): this;
|
|
26
|
+
withName(name: string | null): this;
|
|
27
|
+
getDescription(): string | null;
|
|
28
|
+
setDescription(description: string | null): this;
|
|
29
|
+
withDescription(description: string | null): this;
|
|
30
|
+
getMetadata(): string | null;
|
|
31
|
+
setMetadata(metadata: string | null): this;
|
|
32
|
+
withMetadata(metadata: string | null): this;
|
|
33
|
+
getScheduleNamespaceId(): string | null;
|
|
34
|
+
setScheduleNamespaceId(scheduleNamespaceId: string | null): this;
|
|
35
|
+
withScheduleNamespaceId(scheduleNamespaceId: string | null): this;
|
|
36
|
+
getTriggerName(): string | null;
|
|
37
|
+
setTriggerName(triggerName: string | null): this;
|
|
38
|
+
withTriggerName(triggerName: string | null): this;
|
|
39
|
+
getAppleAppStore(): Gs2Money2.AppleAppStoreSubscriptionContent | null;
|
|
40
|
+
setAppleAppStore(appleAppStore: Gs2Money2.AppleAppStoreSubscriptionContent | null): this;
|
|
41
|
+
withAppleAppStore(appleAppStore: Gs2Money2.AppleAppStoreSubscriptionContent | null): this;
|
|
42
|
+
getGooglePlay(): Gs2Money2.GooglePlaySubscriptionContent | null;
|
|
43
|
+
setGooglePlay(googlePlay: Gs2Money2.GooglePlaySubscriptionContent | null): this;
|
|
44
|
+
withGooglePlay(googlePlay: Gs2Money2.GooglePlaySubscriptionContent | null): this;
|
|
45
|
+
getCreatedAt(): number | null;
|
|
46
|
+
setCreatedAt(createdAt: number | null): this;
|
|
47
|
+
withCreatedAt(createdAt: number | null): this;
|
|
48
|
+
getUpdatedAt(): number | null;
|
|
49
|
+
setUpdatedAt(updatedAt: number | null): this;
|
|
50
|
+
withUpdatedAt(updatedAt: number | null): this;
|
|
51
|
+
getRevision(): number | null;
|
|
52
|
+
setRevision(revision: number | null): this;
|
|
53
|
+
withRevision(revision: number | null): this;
|
|
54
|
+
static fromDict(data: {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
}): StoreSubscriptionContentModelMaster | null;
|
|
57
|
+
toDict(): {
|
|
58
|
+
[key: string]: any;
|
|
59
|
+
};
|
|
60
|
+
}
|
|
@@ -0,0 +1,258 @@
|
|
|
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("../../money2/model"));
|
|
20
|
+
var grnFormat = "grn:gs2:{region}:{ownerId}:money2:{namespaceName}:master:subscription:content:{contentName}";
|
|
21
|
+
var StoreSubscriptionContentModelMaster = /** @class */ (function () {
|
|
22
|
+
function StoreSubscriptionContentModelMaster() {
|
|
23
|
+
this.storeSubscriptionContentModelId = null;
|
|
24
|
+
this.name = null;
|
|
25
|
+
this.description = null;
|
|
26
|
+
this.metadata = null;
|
|
27
|
+
this.scheduleNamespaceId = null;
|
|
28
|
+
this.triggerName = null;
|
|
29
|
+
this.appleAppStore = null;
|
|
30
|
+
this.googlePlay = null;
|
|
31
|
+
this.createdAt = null;
|
|
32
|
+
this.updatedAt = null;
|
|
33
|
+
this.revision = null;
|
|
34
|
+
}
|
|
35
|
+
StoreSubscriptionContentModelMaster.getRegion = function (grn) {
|
|
36
|
+
var match = grn.match(grnFormat
|
|
37
|
+
.replace('{region}', '(.*)')
|
|
38
|
+
.replace('{ownerId}', '.*')
|
|
39
|
+
.replace('{namespaceName}', '.*')
|
|
40
|
+
.replace('{contentName}', '.*'));
|
|
41
|
+
if (match) {
|
|
42
|
+
return match[1];
|
|
43
|
+
}
|
|
44
|
+
return null;
|
|
45
|
+
};
|
|
46
|
+
StoreSubscriptionContentModelMaster.getOwnerId = function (grn) {
|
|
47
|
+
var match = grn.match(grnFormat
|
|
48
|
+
.replace('{region}', '.*')
|
|
49
|
+
.replace('{ownerId}', '(.*)')
|
|
50
|
+
.replace('{namespaceName}', '.*')
|
|
51
|
+
.replace('{contentName}', '.*'));
|
|
52
|
+
if (match) {
|
|
53
|
+
return match[1];
|
|
54
|
+
}
|
|
55
|
+
return null;
|
|
56
|
+
};
|
|
57
|
+
StoreSubscriptionContentModelMaster.getNamespaceName = function (grn) {
|
|
58
|
+
var match = grn.match(grnFormat
|
|
59
|
+
.replace('{region}', '.*')
|
|
60
|
+
.replace('{ownerId}', '.*')
|
|
61
|
+
.replace('{namespaceName}', '(.*)')
|
|
62
|
+
.replace('{contentName}', '.*'));
|
|
63
|
+
if (match) {
|
|
64
|
+
return match[1];
|
|
65
|
+
}
|
|
66
|
+
return null;
|
|
67
|
+
};
|
|
68
|
+
StoreSubscriptionContentModelMaster.getContentName = function (grn) {
|
|
69
|
+
var match = grn.match(grnFormat
|
|
70
|
+
.replace('{region}', '.*')
|
|
71
|
+
.replace('{ownerId}', '.*')
|
|
72
|
+
.replace('{namespaceName}', '.*')
|
|
73
|
+
.replace('{contentName}', '(.*)'));
|
|
74
|
+
if (match) {
|
|
75
|
+
return match[1];
|
|
76
|
+
}
|
|
77
|
+
return null;
|
|
78
|
+
};
|
|
79
|
+
StoreSubscriptionContentModelMaster.isValid = function (grn) {
|
|
80
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
if (this.getContentName(grn) == null || this.getContentName(grn) === '') {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
return true;
|
|
93
|
+
};
|
|
94
|
+
StoreSubscriptionContentModelMaster.createGrn = function (region, ownerId, namespaceName, contentName) {
|
|
95
|
+
return grnFormat
|
|
96
|
+
.replace('{region}', region !== null && region !== void 0 ? region : '')
|
|
97
|
+
.replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
|
|
98
|
+
.replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
|
|
99
|
+
.replace('{contentName}', contentName !== null && contentName !== void 0 ? contentName : '');
|
|
100
|
+
};
|
|
101
|
+
StoreSubscriptionContentModelMaster.prototype.getStoreSubscriptionContentModelId = function () {
|
|
102
|
+
return this.storeSubscriptionContentModelId;
|
|
103
|
+
};
|
|
104
|
+
StoreSubscriptionContentModelMaster.prototype.setStoreSubscriptionContentModelId = function (storeSubscriptionContentModelId) {
|
|
105
|
+
this.storeSubscriptionContentModelId = storeSubscriptionContentModelId;
|
|
106
|
+
return this;
|
|
107
|
+
};
|
|
108
|
+
StoreSubscriptionContentModelMaster.prototype.withStoreSubscriptionContentModelId = function (storeSubscriptionContentModelId) {
|
|
109
|
+
this.storeSubscriptionContentModelId = storeSubscriptionContentModelId;
|
|
110
|
+
return this;
|
|
111
|
+
};
|
|
112
|
+
StoreSubscriptionContentModelMaster.prototype.getName = function () {
|
|
113
|
+
return this.name;
|
|
114
|
+
};
|
|
115
|
+
StoreSubscriptionContentModelMaster.prototype.setName = function (name) {
|
|
116
|
+
this.name = name;
|
|
117
|
+
return this;
|
|
118
|
+
};
|
|
119
|
+
StoreSubscriptionContentModelMaster.prototype.withName = function (name) {
|
|
120
|
+
this.name = name;
|
|
121
|
+
return this;
|
|
122
|
+
};
|
|
123
|
+
StoreSubscriptionContentModelMaster.prototype.getDescription = function () {
|
|
124
|
+
return this.description;
|
|
125
|
+
};
|
|
126
|
+
StoreSubscriptionContentModelMaster.prototype.setDescription = function (description) {
|
|
127
|
+
this.description = description;
|
|
128
|
+
return this;
|
|
129
|
+
};
|
|
130
|
+
StoreSubscriptionContentModelMaster.prototype.withDescription = function (description) {
|
|
131
|
+
this.description = description;
|
|
132
|
+
return this;
|
|
133
|
+
};
|
|
134
|
+
StoreSubscriptionContentModelMaster.prototype.getMetadata = function () {
|
|
135
|
+
return this.metadata;
|
|
136
|
+
};
|
|
137
|
+
StoreSubscriptionContentModelMaster.prototype.setMetadata = function (metadata) {
|
|
138
|
+
this.metadata = metadata;
|
|
139
|
+
return this;
|
|
140
|
+
};
|
|
141
|
+
StoreSubscriptionContentModelMaster.prototype.withMetadata = function (metadata) {
|
|
142
|
+
this.metadata = metadata;
|
|
143
|
+
return this;
|
|
144
|
+
};
|
|
145
|
+
StoreSubscriptionContentModelMaster.prototype.getScheduleNamespaceId = function () {
|
|
146
|
+
return this.scheduleNamespaceId;
|
|
147
|
+
};
|
|
148
|
+
StoreSubscriptionContentModelMaster.prototype.setScheduleNamespaceId = function (scheduleNamespaceId) {
|
|
149
|
+
this.scheduleNamespaceId = scheduleNamespaceId;
|
|
150
|
+
return this;
|
|
151
|
+
};
|
|
152
|
+
StoreSubscriptionContentModelMaster.prototype.withScheduleNamespaceId = function (scheduleNamespaceId) {
|
|
153
|
+
this.scheduleNamespaceId = scheduleNamespaceId;
|
|
154
|
+
return this;
|
|
155
|
+
};
|
|
156
|
+
StoreSubscriptionContentModelMaster.prototype.getTriggerName = function () {
|
|
157
|
+
return this.triggerName;
|
|
158
|
+
};
|
|
159
|
+
StoreSubscriptionContentModelMaster.prototype.setTriggerName = function (triggerName) {
|
|
160
|
+
this.triggerName = triggerName;
|
|
161
|
+
return this;
|
|
162
|
+
};
|
|
163
|
+
StoreSubscriptionContentModelMaster.prototype.withTriggerName = function (triggerName) {
|
|
164
|
+
this.triggerName = triggerName;
|
|
165
|
+
return this;
|
|
166
|
+
};
|
|
167
|
+
StoreSubscriptionContentModelMaster.prototype.getAppleAppStore = function () {
|
|
168
|
+
return this.appleAppStore;
|
|
169
|
+
};
|
|
170
|
+
StoreSubscriptionContentModelMaster.prototype.setAppleAppStore = function (appleAppStore) {
|
|
171
|
+
this.appleAppStore = appleAppStore;
|
|
172
|
+
return this;
|
|
173
|
+
};
|
|
174
|
+
StoreSubscriptionContentModelMaster.prototype.withAppleAppStore = function (appleAppStore) {
|
|
175
|
+
this.appleAppStore = appleAppStore;
|
|
176
|
+
return this;
|
|
177
|
+
};
|
|
178
|
+
StoreSubscriptionContentModelMaster.prototype.getGooglePlay = function () {
|
|
179
|
+
return this.googlePlay;
|
|
180
|
+
};
|
|
181
|
+
StoreSubscriptionContentModelMaster.prototype.setGooglePlay = function (googlePlay) {
|
|
182
|
+
this.googlePlay = googlePlay;
|
|
183
|
+
return this;
|
|
184
|
+
};
|
|
185
|
+
StoreSubscriptionContentModelMaster.prototype.withGooglePlay = function (googlePlay) {
|
|
186
|
+
this.googlePlay = googlePlay;
|
|
187
|
+
return this;
|
|
188
|
+
};
|
|
189
|
+
StoreSubscriptionContentModelMaster.prototype.getCreatedAt = function () {
|
|
190
|
+
return this.createdAt;
|
|
191
|
+
};
|
|
192
|
+
StoreSubscriptionContentModelMaster.prototype.setCreatedAt = function (createdAt) {
|
|
193
|
+
this.createdAt = createdAt;
|
|
194
|
+
return this;
|
|
195
|
+
};
|
|
196
|
+
StoreSubscriptionContentModelMaster.prototype.withCreatedAt = function (createdAt) {
|
|
197
|
+
this.createdAt = createdAt;
|
|
198
|
+
return this;
|
|
199
|
+
};
|
|
200
|
+
StoreSubscriptionContentModelMaster.prototype.getUpdatedAt = function () {
|
|
201
|
+
return this.updatedAt;
|
|
202
|
+
};
|
|
203
|
+
StoreSubscriptionContentModelMaster.prototype.setUpdatedAt = function (updatedAt) {
|
|
204
|
+
this.updatedAt = updatedAt;
|
|
205
|
+
return this;
|
|
206
|
+
};
|
|
207
|
+
StoreSubscriptionContentModelMaster.prototype.withUpdatedAt = function (updatedAt) {
|
|
208
|
+
this.updatedAt = updatedAt;
|
|
209
|
+
return this;
|
|
210
|
+
};
|
|
211
|
+
StoreSubscriptionContentModelMaster.prototype.getRevision = function () {
|
|
212
|
+
return this.revision;
|
|
213
|
+
};
|
|
214
|
+
StoreSubscriptionContentModelMaster.prototype.setRevision = function (revision) {
|
|
215
|
+
this.revision = revision;
|
|
216
|
+
return this;
|
|
217
|
+
};
|
|
218
|
+
StoreSubscriptionContentModelMaster.prototype.withRevision = function (revision) {
|
|
219
|
+
this.revision = revision;
|
|
220
|
+
return this;
|
|
221
|
+
};
|
|
222
|
+
StoreSubscriptionContentModelMaster.fromDict = function (data) {
|
|
223
|
+
if (data == undefined || data == null) {
|
|
224
|
+
return null;
|
|
225
|
+
}
|
|
226
|
+
return new StoreSubscriptionContentModelMaster()
|
|
227
|
+
.withStoreSubscriptionContentModelId(data["storeSubscriptionContentModelId"])
|
|
228
|
+
.withName(data["name"])
|
|
229
|
+
.withDescription(data["description"])
|
|
230
|
+
.withMetadata(data["metadata"])
|
|
231
|
+
.withScheduleNamespaceId(data["scheduleNamespaceId"])
|
|
232
|
+
.withTriggerName(data["triggerName"])
|
|
233
|
+
.withAppleAppStore(Gs2Money2.AppleAppStoreSubscriptionContent.fromDict(data["appleAppStore"]))
|
|
234
|
+
.withGooglePlay(Gs2Money2.GooglePlaySubscriptionContent.fromDict(data["googlePlay"]))
|
|
235
|
+
.withCreatedAt(data["createdAt"])
|
|
236
|
+
.withUpdatedAt(data["updatedAt"])
|
|
237
|
+
.withRevision(data["revision"]);
|
|
238
|
+
};
|
|
239
|
+
StoreSubscriptionContentModelMaster.prototype.toDict = function () {
|
|
240
|
+
var _a, _b;
|
|
241
|
+
return {
|
|
242
|
+
"storeSubscriptionContentModelId": this.getStoreSubscriptionContentModelId(),
|
|
243
|
+
"name": this.getName(),
|
|
244
|
+
"description": this.getDescription(),
|
|
245
|
+
"metadata": this.getMetadata(),
|
|
246
|
+
"scheduleNamespaceId": this.getScheduleNamespaceId(),
|
|
247
|
+
"triggerName": this.getTriggerName(),
|
|
248
|
+
"appleAppStore": (_a = this.getAppleAppStore()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
249
|
+
"googlePlay": (_b = this.getGooglePlay()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
250
|
+
"createdAt": this.getCreatedAt(),
|
|
251
|
+
"updatedAt": this.getUpdatedAt(),
|
|
252
|
+
"revision": this.getRevision(),
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
return StoreSubscriptionContentModelMaster;
|
|
256
|
+
}());
|
|
257
|
+
exports.default = StoreSubscriptionContentModelMaster;
|
|
258
|
+
//# sourceMappingURL=StoreSubscriptionContentModelMaster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StoreSubscriptionContentModelMaster.js","sourceRoot":"","sources":["StoreSubscriptionContentModelMaster.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,oEAA+C;AAG/C,IAAM,SAAS,GAAW,6FAA6F,CAAC;AAExH;IAAA;QACY,oCAA+B,GAAgB,IAAI,CAAC;QACpD,SAAI,GAAgB,IAAI,CAAC;QACzB,gBAAW,GAAgB,IAAI,CAAC;QAChC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,wBAAmB,GAAgB,IAAI,CAAC;QACxC,gBAAW,GAAgB,IAAI,CAAC;QAChC,kBAAa,GAAoD,IAAI,CAAC;QACtE,eAAU,GAAiD,IAAI,CAAC;QAChE,cAAS,GAAgB,IAAI,CAAC;QAC9B,cAAS,GAAgB,IAAI,CAAC;QAC9B,aAAQ,GAAgB,IAAI,CAAC;IA6OzC,CAAC;IA3OiB,6CAAS,GAAvB,UAAwB,GAAW;QAC/B,IAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,SAAS;aAC5B,OAAO,CAAC,UAAU,EAAE,MAAM,CAAC;aAC3B,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC;aAC1B,OAAO,CAAC,iBAAiB,EAAE,IAAI,CAAC;aAChC,OAAO,CAAC,eAAe,EAAE,IAAI,CAAC,CAClC,CAAC;QACF,IAAI,KAAK,EAAE;YACP,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC;SACnB;QACD,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,8CAAU,GAAxB,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