gs2 1.4.57 → 1.4.59
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 +37 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.js +123 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.js.map +1 -0
- package/money2/request/AllocateSubscriptionStatusByUserIdRequest.ts +133 -0
- package/money2/request/AllocateSubscriptionStatusRequest.d.ts +33 -0
- package/money2/request/AllocateSubscriptionStatusRequest.js +109 -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 +37 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.js +123 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.js.map +1 -0
- package/money2/request/TakeoverSubscriptionStatusByUserIdRequest.ts +133 -0
- package/money2/request/TakeoverSubscriptionStatusRequest.d.ts +33 -0
- package/money2/request/TakeoverSubscriptionStatusRequest.js +109 -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
|
@@ -1 +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,cAA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CAAgC,CAAC,QAAQ,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC;aAC7F,cAAc,CAAC,SAAS,CAAC,6BAA6B,CAAC,QAAQ,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC;aACpF,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;aAChC,YAAY,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC;IACxC,CAAC;IAEM,oDAAM,GAAb;;QACI,OAAO;YACH,iCAAiC,EAAE,IAAI,CAAC,kCAAkC,EAAE;YAC5E,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,qBAAqB,EAAE,IAAI,CAAC,sBAAsB,EAAE;YACpD,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,oBAAoB,EAAE,IAAI,CAAC,qBAAqB,EAAE;YAClD,eAAe,EAAE,MAAA,IAAI,CAAC,gBAAgB,EAAE,0CAAE,MAAM,EAAE;YAClD,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,0CAAC;AAAD,CAAC,AAtQD,IAsQC"}
|
|
@@ -28,6 +28,7 @@ export default class StoreSubscriptionContentModelMaster implements IModel {
|
|
|
28
28
|
private metadata: string|null = null;
|
|
29
29
|
private scheduleNamespaceId: string|null = null;
|
|
30
30
|
private triggerName: string|null = null;
|
|
31
|
+
private reallocateSpanDays: number|null = null;
|
|
31
32
|
private appleAppStore: Gs2Money2.AppleAppStoreSubscriptionContent|null = null;
|
|
32
33
|
private googlePlay: Gs2Money2.GooglePlaySubscriptionContent|null = null;
|
|
33
34
|
private createdAt: number|null = null;
|
|
@@ -180,6 +181,17 @@ export default class StoreSubscriptionContentModelMaster implements IModel {
|
|
|
180
181
|
this.triggerName = triggerName;
|
|
181
182
|
return this;
|
|
182
183
|
}
|
|
184
|
+
public getReallocateSpanDays(): number|null {
|
|
185
|
+
return this.reallocateSpanDays;
|
|
186
|
+
}
|
|
187
|
+
public setReallocateSpanDays(reallocateSpanDays: number|null) {
|
|
188
|
+
this.reallocateSpanDays = reallocateSpanDays;
|
|
189
|
+
return this;
|
|
190
|
+
}
|
|
191
|
+
public withReallocateSpanDays(reallocateSpanDays: number|null): this {
|
|
192
|
+
this.reallocateSpanDays = reallocateSpanDays;
|
|
193
|
+
return this;
|
|
194
|
+
}
|
|
183
195
|
public getAppleAppStore(): Gs2Money2.AppleAppStoreSubscriptionContent|null {
|
|
184
196
|
return this.appleAppStore;
|
|
185
197
|
}
|
|
@@ -247,6 +259,7 @@ export default class StoreSubscriptionContentModelMaster implements IModel {
|
|
|
247
259
|
.withMetadata(data["metadata"])
|
|
248
260
|
.withScheduleNamespaceId(data["scheduleNamespaceId"])
|
|
249
261
|
.withTriggerName(data["triggerName"])
|
|
262
|
+
.withReallocateSpanDays(data["reallocateSpanDays"])
|
|
250
263
|
.withAppleAppStore(Gs2Money2.AppleAppStoreSubscriptionContent.fromDict(data["appleAppStore"]))
|
|
251
264
|
.withGooglePlay(Gs2Money2.GooglePlaySubscriptionContent.fromDict(data["googlePlay"]))
|
|
252
265
|
.withCreatedAt(data["createdAt"])
|
|
@@ -262,6 +275,7 @@ export default class StoreSubscriptionContentModelMaster implements IModel {
|
|
|
262
275
|
"metadata": this.getMetadata(),
|
|
263
276
|
"scheduleNamespaceId": this.getScheduleNamespaceId(),
|
|
264
277
|
"triggerName": this.getTriggerName(),
|
|
278
|
+
"reallocateSpanDays": this.getReallocateSpanDays(),
|
|
265
279
|
"appleAppStore": this.getAppleAppStore()?.toDict(),
|
|
266
280
|
"googlePlay": this.getGooglePlay()?.toDict(),
|
|
267
281
|
"createdAt": this.getCreatedAt(),
|
|
@@ -7,6 +7,7 @@ export default class SubscribeTransaction implements IModel {
|
|
|
7
7
|
private userId;
|
|
8
8
|
private statusDetail;
|
|
9
9
|
private expiresAt;
|
|
10
|
+
private lastAllocatedAt;
|
|
10
11
|
private createdAt;
|
|
11
12
|
private updatedAt;
|
|
12
13
|
private revision;
|
|
@@ -38,6 +39,9 @@ export default class SubscribeTransaction implements IModel {
|
|
|
38
39
|
getExpiresAt(): number | null;
|
|
39
40
|
setExpiresAt(expiresAt: number | null): this;
|
|
40
41
|
withExpiresAt(expiresAt: number | null): this;
|
|
42
|
+
getLastAllocatedAt(): number | null;
|
|
43
|
+
setLastAllocatedAt(lastAllocatedAt: number | null): this;
|
|
44
|
+
withLastAllocatedAt(lastAllocatedAt: number | null): this;
|
|
41
45
|
getCreatedAt(): number | null;
|
|
42
46
|
setCreatedAt(createdAt: number | null): this;
|
|
43
47
|
withCreatedAt(createdAt: number | null): this;
|
|
@@ -25,6 +25,7 @@ var SubscribeTransaction = /** @class */ (function () {
|
|
|
25
25
|
this.userId = null;
|
|
26
26
|
this.statusDetail = null;
|
|
27
27
|
this.expiresAt = null;
|
|
28
|
+
this.lastAllocatedAt = null;
|
|
28
29
|
this.createdAt = null;
|
|
29
30
|
this.updatedAt = null;
|
|
30
31
|
this.revision = null;
|
|
@@ -192,6 +193,17 @@ var SubscribeTransaction = /** @class */ (function () {
|
|
|
192
193
|
this.expiresAt = expiresAt;
|
|
193
194
|
return this;
|
|
194
195
|
};
|
|
196
|
+
SubscribeTransaction.prototype.getLastAllocatedAt = function () {
|
|
197
|
+
return this.lastAllocatedAt;
|
|
198
|
+
};
|
|
199
|
+
SubscribeTransaction.prototype.setLastAllocatedAt = function (lastAllocatedAt) {
|
|
200
|
+
this.lastAllocatedAt = lastAllocatedAt;
|
|
201
|
+
return this;
|
|
202
|
+
};
|
|
203
|
+
SubscribeTransaction.prototype.withLastAllocatedAt = function (lastAllocatedAt) {
|
|
204
|
+
this.lastAllocatedAt = lastAllocatedAt;
|
|
205
|
+
return this;
|
|
206
|
+
};
|
|
195
207
|
SubscribeTransaction.prototype.getCreatedAt = function () {
|
|
196
208
|
return this.createdAt;
|
|
197
209
|
};
|
|
@@ -237,6 +249,7 @@ var SubscribeTransaction = /** @class */ (function () {
|
|
|
237
249
|
.withUserId(data["userId"])
|
|
238
250
|
.withStatusDetail(data["statusDetail"])
|
|
239
251
|
.withExpiresAt(data["expiresAt"])
|
|
252
|
+
.withLastAllocatedAt(data["lastAllocatedAt"])
|
|
240
253
|
.withCreatedAt(data["createdAt"])
|
|
241
254
|
.withUpdatedAt(data["updatedAt"])
|
|
242
255
|
.withRevision(data["revision"]);
|
|
@@ -250,6 +263,7 @@ var SubscribeTransaction = /** @class */ (function () {
|
|
|
250
263
|
"userId": this.getUserId(),
|
|
251
264
|
"statusDetail": this.getStatusDetail(),
|
|
252
265
|
"expiresAt": this.getExpiresAt(),
|
|
266
|
+
"lastAllocatedAt": this.getLastAllocatedAt(),
|
|
253
267
|
"createdAt": this.getCreatedAt(),
|
|
254
268
|
"updatedAt": this.getUpdatedAt(),
|
|
255
269
|
"revision": this.getRevision(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SubscribeTransaction.js","sourceRoot":"","sources":["SubscribeTransaction.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAKH,IAAM,SAAS,GAAW,yGAAyG,CAAC;AAEpI;IAAA;QACY,2BAAsB,GAAgB,IAAI,CAAC;QAC3C,gBAAW,GAAgB,IAAI,CAAC;QAChC,kBAAa,GAAgB,IAAI,CAAC;QAClC,UAAK,GAAgB,IAAI,CAAC;QAC1B,WAAM,GAAgB,IAAI,CAAC;QAC3B,iBAAY,GAAgB,IAAI,CAAC;QACjC,cAAS,GAAgB,IAAI,CAAC;QAC9B,cAAS,GAAgB,IAAI,CAA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|
@@ -27,6 +27,7 @@ export default class SubscribeTransaction implements IModel {
|
|
|
27
27
|
private userId: string|null = null;
|
|
28
28
|
private statusDetail: string|null = null;
|
|
29
29
|
private expiresAt: number|null = null;
|
|
30
|
+
private lastAllocatedAt: number|null = null;
|
|
30
31
|
private createdAt: number|null = null;
|
|
31
32
|
private updatedAt: number|null = null;
|
|
32
33
|
private revision: number|null = null;
|
|
@@ -211,6 +212,17 @@ export default class SubscribeTransaction implements IModel {
|
|
|
211
212
|
this.expiresAt = expiresAt;
|
|
212
213
|
return this;
|
|
213
214
|
}
|
|
215
|
+
public getLastAllocatedAt(): number|null {
|
|
216
|
+
return this.lastAllocatedAt;
|
|
217
|
+
}
|
|
218
|
+
public setLastAllocatedAt(lastAllocatedAt: number|null) {
|
|
219
|
+
this.lastAllocatedAt = lastAllocatedAt;
|
|
220
|
+
return this;
|
|
221
|
+
}
|
|
222
|
+
public withLastAllocatedAt(lastAllocatedAt: number|null): this {
|
|
223
|
+
this.lastAllocatedAt = lastAllocatedAt;
|
|
224
|
+
return this;
|
|
225
|
+
}
|
|
214
226
|
public getCreatedAt(): number|null {
|
|
215
227
|
return this.createdAt;
|
|
216
228
|
}
|
|
@@ -257,6 +269,7 @@ export default class SubscribeTransaction implements IModel {
|
|
|
257
269
|
.withUserId(data["userId"])
|
|
258
270
|
.withStatusDetail(data["statusDetail"])
|
|
259
271
|
.withExpiresAt(data["expiresAt"])
|
|
272
|
+
.withLastAllocatedAt(data["lastAllocatedAt"])
|
|
260
273
|
.withCreatedAt(data["createdAt"])
|
|
261
274
|
.withUpdatedAt(data["updatedAt"])
|
|
262
275
|
.withRevision(data["revision"]);
|
|
@@ -271,6 +284,7 @@ export default class SubscribeTransaction implements IModel {
|
|
|
271
284
|
"userId": this.getUserId(),
|
|
272
285
|
"statusDetail": this.getStatusDetail(),
|
|
273
286
|
"expiresAt": this.getExpiresAt(),
|
|
287
|
+
"lastAllocatedAt": this.getLastAllocatedAt(),
|
|
274
288
|
"createdAt": this.getCreatedAt(),
|
|
275
289
|
"updatedAt": this.getUpdatedAt(),
|
|
276
290
|
"revision": this.getRevision(),
|
package/money2/model/index.d.ts
CHANGED
|
@@ -28,7 +28,8 @@ import GooglePlaySubscriptionContent from "./GooglePlaySubscriptionContent";
|
|
|
28
28
|
import GooglePlayRealtimeNotificationMessage from "./GooglePlayRealtimeNotificationMessage";
|
|
29
29
|
import GitHubCheckoutSetting from "./GitHubCheckoutSetting";
|
|
30
30
|
import ScriptSetting from "./ScriptSetting";
|
|
31
|
+
import NotificationSetting from "./NotificationSetting";
|
|
31
32
|
import LogSetting from "./LogSetting";
|
|
32
33
|
import DailyTransactionHistory from "./DailyTransactionHistory";
|
|
33
34
|
import UnusedBalance from "./UnusedBalance";
|
|
34
|
-
export { Namespace, Wallet, Event, SubscribeTransaction, SubscriptionStatus, StoreContentModel, StoreContentModelMaster, StoreSubscriptionContentModel, StoreSubscriptionContentModelMaster, CurrentModelMaster, Receipt, PlatformSetting, AppleAppStoreSetting, GooglePlaySetting, FakeSetting, WalletSummary, DepositTransaction, VerifyReceiptEvent, DepositEvent, WithdrawEvent, RefundEvent, AppleAppStoreVerifyReceiptEvent, GooglePlayVerifyReceiptEvent, AppleAppStoreContent, GooglePlayContent, AppleAppStoreSubscriptionContent, GooglePlaySubscriptionContent, GooglePlayRealtimeNotificationMessage, GitHubCheckoutSetting, ScriptSetting, LogSetting, DailyTransactionHistory, UnusedBalance, };
|
|
35
|
+
export { Namespace, Wallet, Event, SubscribeTransaction, SubscriptionStatus, StoreContentModel, StoreContentModelMaster, StoreSubscriptionContentModel, StoreSubscriptionContentModelMaster, CurrentModelMaster, Receipt, PlatformSetting, AppleAppStoreSetting, GooglePlaySetting, FakeSetting, WalletSummary, DepositTransaction, VerifyReceiptEvent, DepositEvent, WithdrawEvent, RefundEvent, AppleAppStoreVerifyReceiptEvent, GooglePlayVerifyReceiptEvent, AppleAppStoreContent, GooglePlayContent, AppleAppStoreSubscriptionContent, GooglePlaySubscriptionContent, GooglePlayRealtimeNotificationMessage, GitHubCheckoutSetting, ScriptSetting, NotificationSetting, LogSetting, DailyTransactionHistory, UnusedBalance, };
|
package/money2/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UnusedBalance = exports.DailyTransactionHistory = exports.LogSetting = exports.ScriptSetting = exports.GitHubCheckoutSetting = exports.GooglePlayRealtimeNotificationMessage = exports.GooglePlaySubscriptionContent = exports.AppleAppStoreSubscriptionContent = exports.GooglePlayContent = exports.AppleAppStoreContent = exports.GooglePlayVerifyReceiptEvent = exports.AppleAppStoreVerifyReceiptEvent = exports.RefundEvent = exports.WithdrawEvent = exports.DepositEvent = exports.VerifyReceiptEvent = exports.DepositTransaction = exports.WalletSummary = exports.FakeSetting = exports.GooglePlaySetting = exports.AppleAppStoreSetting = exports.PlatformSetting = exports.Receipt = exports.CurrentModelMaster = exports.StoreSubscriptionContentModelMaster = exports.StoreSubscriptionContentModel = exports.StoreContentModelMaster = exports.StoreContentModel = exports.SubscriptionStatus = exports.SubscribeTransaction = exports.Event = exports.Wallet = exports.Namespace = void 0;
|
|
3
|
+
exports.UnusedBalance = exports.DailyTransactionHistory = exports.LogSetting = exports.NotificationSetting = exports.ScriptSetting = exports.GitHubCheckoutSetting = exports.GooglePlayRealtimeNotificationMessage = exports.GooglePlaySubscriptionContent = exports.AppleAppStoreSubscriptionContent = exports.GooglePlayContent = exports.AppleAppStoreContent = exports.GooglePlayVerifyReceiptEvent = exports.AppleAppStoreVerifyReceiptEvent = exports.RefundEvent = exports.WithdrawEvent = exports.DepositEvent = exports.VerifyReceiptEvent = exports.DepositTransaction = exports.WalletSummary = exports.FakeSetting = exports.GooglePlaySetting = exports.AppleAppStoreSetting = exports.PlatformSetting = exports.Receipt = exports.CurrentModelMaster = exports.StoreSubscriptionContentModelMaster = exports.StoreSubscriptionContentModel = exports.StoreContentModelMaster = exports.StoreContentModel = exports.SubscriptionStatus = exports.SubscribeTransaction = exports.Event = exports.Wallet = exports.Namespace = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -77,6 +77,8 @@ var GitHubCheckoutSetting_1 = tslib_1.__importDefault(require("./GitHubCheckoutS
|
|
|
77
77
|
exports.GitHubCheckoutSetting = GitHubCheckoutSetting_1.default;
|
|
78
78
|
var ScriptSetting_1 = tslib_1.__importDefault(require("./ScriptSetting"));
|
|
79
79
|
exports.ScriptSetting = ScriptSetting_1.default;
|
|
80
|
+
var NotificationSetting_1 = tslib_1.__importDefault(require("./NotificationSetting"));
|
|
81
|
+
exports.NotificationSetting = NotificationSetting_1.default;
|
|
80
82
|
var LogSetting_1 = tslib_1.__importDefault(require("./LogSetting"));
|
|
81
83
|
exports.LogSetting = LogSetting_1.default;
|
|
82
84
|
var DailyTransactionHistory_1 = tslib_1.__importDefault(require("./DailyTransactionHistory"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAmC;AAoC/B,oBApCG,mBAAS,CAoCH;AAnCb,4DAA6B;AAoCzB,iBApCG,gBAAM,CAoCH;AAnCV,0DAA2B;AAoCvB,gBApCG,eAAK,CAoCH;AAnCT,wFAAyD;AAoCrD,+BApCG,8BAAoB,CAoCH;AAnCxB,oFAAqD;AAoCjD,6BApCG,4BAAkB,CAoCH;AAnCtB,kFAAmD;AAoC/C,4BApCG,2BAAiB,CAoCH;AAnCrB,8FAA+D;AAoC3D,kCApCG,iCAAuB,CAoCH;AAnC3B,0GAA2E;AAoCvE,wCApCG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G,uBAAa,CAoCH"}
|
package/money2/model/index.ts
CHANGED
|
@@ -43,6 +43,7 @@ import GooglePlaySubscriptionContent from "./GooglePlaySubscriptionContent"
|
|
|
43
43
|
import GooglePlayRealtimeNotificationMessage from "./GooglePlayRealtimeNotificationMessage"
|
|
44
44
|
import GitHubCheckoutSetting from "./GitHubCheckoutSetting"
|
|
45
45
|
import ScriptSetting from "./ScriptSetting"
|
|
46
|
+
import NotificationSetting from "./NotificationSetting"
|
|
46
47
|
import LogSetting from "./LogSetting"
|
|
47
48
|
import DailyTransactionHistory from "./DailyTransactionHistory"
|
|
48
49
|
import UnusedBalance from "./UnusedBalance"
|
|
@@ -78,6 +79,7 @@ export {
|
|
|
78
79
|
GooglePlayRealtimeNotificationMessage,
|
|
79
80
|
GitHubCheckoutSetting,
|
|
80
81
|
ScriptSetting,
|
|
82
|
+
NotificationSetting,
|
|
81
83
|
LogSetting,
|
|
82
84
|
DailyTransactionHistory,
|
|
83
85
|
UnusedBalance,
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class AllocateSubscriptionStatusByUserIdRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private userId;
|
|
7
|
+
private receipt;
|
|
8
|
+
private timeOffsetToken;
|
|
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
|
+
getUserId(): string | null;
|
|
20
|
+
setUserId(userId: string | null): this;
|
|
21
|
+
withUserId(userId: string | null): this;
|
|
22
|
+
getReceipt(): string | null;
|
|
23
|
+
setReceipt(receipt: string | null): this;
|
|
24
|
+
withReceipt(receipt: string | null): this;
|
|
25
|
+
getTimeOffsetToken(): string | null;
|
|
26
|
+
setTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
27
|
+
withTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
28
|
+
getDuplicationAvoider(): string | null;
|
|
29
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
30
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
31
|
+
static fromDict(data: {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}): AllocateSubscriptionStatusByUserIdRequest;
|
|
34
|
+
toDict(): {
|
|
35
|
+
[key: string]: any;
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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 AllocateSubscriptionStatusByUserIdRequest = /** @class */ (function () {
|
|
19
|
+
function AllocateSubscriptionStatusByUserIdRequest() {
|
|
20
|
+
this.requestId = null;
|
|
21
|
+
this.contextStack = null;
|
|
22
|
+
this.namespaceName = null;
|
|
23
|
+
this.userId = null;
|
|
24
|
+
this.receipt = null;
|
|
25
|
+
this.timeOffsetToken = null;
|
|
26
|
+
this.duplicationAvoider = null;
|
|
27
|
+
}
|
|
28
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.getRequestId = function () {
|
|
29
|
+
return this.requestId;
|
|
30
|
+
};
|
|
31
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.setRequestId = function (requestId) {
|
|
32
|
+
this.requestId = requestId;
|
|
33
|
+
return this;
|
|
34
|
+
};
|
|
35
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.withRequestId = function (requestId) {
|
|
36
|
+
this.requestId = requestId;
|
|
37
|
+
return this;
|
|
38
|
+
};
|
|
39
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.getContextStack = function () {
|
|
40
|
+
return this.contextStack;
|
|
41
|
+
};
|
|
42
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.setContextStack = function (contextStack) {
|
|
43
|
+
this.contextStack = contextStack;
|
|
44
|
+
return this;
|
|
45
|
+
};
|
|
46
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.withContextStack = function (contextStack) {
|
|
47
|
+
this.contextStack = contextStack;
|
|
48
|
+
return this;
|
|
49
|
+
};
|
|
50
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.getNamespaceName = function () {
|
|
51
|
+
return this.namespaceName;
|
|
52
|
+
};
|
|
53
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
54
|
+
this.namespaceName = namespaceName;
|
|
55
|
+
return this;
|
|
56
|
+
};
|
|
57
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
58
|
+
this.namespaceName = namespaceName;
|
|
59
|
+
return this;
|
|
60
|
+
};
|
|
61
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.getUserId = function () {
|
|
62
|
+
return this.userId;
|
|
63
|
+
};
|
|
64
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.setUserId = function (userId) {
|
|
65
|
+
this.userId = userId;
|
|
66
|
+
return this;
|
|
67
|
+
};
|
|
68
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.withUserId = function (userId) {
|
|
69
|
+
this.userId = userId;
|
|
70
|
+
return this;
|
|
71
|
+
};
|
|
72
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.getReceipt = function () {
|
|
73
|
+
return this.receipt;
|
|
74
|
+
};
|
|
75
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.setReceipt = function (receipt) {
|
|
76
|
+
this.receipt = receipt;
|
|
77
|
+
return this;
|
|
78
|
+
};
|
|
79
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.withReceipt = function (receipt) {
|
|
80
|
+
this.receipt = receipt;
|
|
81
|
+
return this;
|
|
82
|
+
};
|
|
83
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.getTimeOffsetToken = function () {
|
|
84
|
+
return this.timeOffsetToken;
|
|
85
|
+
};
|
|
86
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
|
|
87
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
88
|
+
return this;
|
|
89
|
+
};
|
|
90
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
|
|
91
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
92
|
+
return this;
|
|
93
|
+
};
|
|
94
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.getDuplicationAvoider = function () {
|
|
95
|
+
return this.duplicationAvoider;
|
|
96
|
+
};
|
|
97
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
98
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
99
|
+
return this;
|
|
100
|
+
};
|
|
101
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
102
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
103
|
+
return this;
|
|
104
|
+
};
|
|
105
|
+
AllocateSubscriptionStatusByUserIdRequest.fromDict = function (data) {
|
|
106
|
+
return new AllocateSubscriptionStatusByUserIdRequest()
|
|
107
|
+
.withNamespaceName(data["namespaceName"])
|
|
108
|
+
.withUserId(data["userId"])
|
|
109
|
+
.withReceipt(data["receipt"])
|
|
110
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
111
|
+
};
|
|
112
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.toDict = function () {
|
|
113
|
+
return {
|
|
114
|
+
"namespaceName": this.getNamespaceName(),
|
|
115
|
+
"userId": this.getUserId(),
|
|
116
|
+
"receipt": this.getReceipt(),
|
|
117
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
return AllocateSubscriptionStatusByUserIdRequest;
|
|
121
|
+
}());
|
|
122
|
+
exports.default = AllocateSubscriptionStatusByUserIdRequest;
|
|
123
|
+
//# sourceMappingURL=AllocateSubscriptionStatusByUserIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AllocateSubscriptionStatusByUserIdRequest.js","sourceRoot":"","sources":["AllocateSubscriptionStatusByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,WAAM,GAAgB,IAAI,CAAC;QAC3B,YAAO,GAAgB,IAAI,CAAC;QAC5B,oBAAe,GAAgB,IAAI,CAAC;QACpC,uBAAkB,GAAgB,IAAI,CAAC;IAwGnD,CAAC;IAtGU,gEAAY,GAAnB;QACI,OAAO,IAAI,CAAC,SAAS,CAAC;IAC1B,CAAC;IAEM,gEAAY,GAAnB,UAAoB,SAAsB;QACtC,IAAI,CAAC,SAAS,GAAG,SAAS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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 AllocateSubscriptionStatusByUserIdRequest 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: string|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(): string|null {
|
|
81
|
+
return this.receipt;
|
|
82
|
+
}
|
|
83
|
+
public setReceipt(receipt: string|null) {
|
|
84
|
+
this.receipt = receipt;
|
|
85
|
+
return this;
|
|
86
|
+
}
|
|
87
|
+
public withReceipt(receipt: string|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}): AllocateSubscriptionStatusByUserIdRequest {
|
|
118
|
+
return new AllocateSubscriptionStatusByUserIdRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withUserId(data["userId"])
|
|
121
|
+
.withReceipt(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(),
|
|
130
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
export default class AllocateSubscriptionStatusRequest implements IRequest {
|
|
3
|
+
private requestId;
|
|
4
|
+
private contextStack;
|
|
5
|
+
private namespaceName;
|
|
6
|
+
private accessToken;
|
|
7
|
+
private receipt;
|
|
8
|
+
private duplicationAvoider;
|
|
9
|
+
getRequestId(): string | null;
|
|
10
|
+
setRequestId(requestId: string | null): this;
|
|
11
|
+
withRequestId(requestId: string | null): this;
|
|
12
|
+
getContextStack(): string | null;
|
|
13
|
+
setContextStack(contextStack: string | null): this;
|
|
14
|
+
withContextStack(contextStack: string | null): this;
|
|
15
|
+
getNamespaceName(): string | null;
|
|
16
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
17
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
18
|
+
getAccessToken(): string | null;
|
|
19
|
+
setAccessToken(accessToken: string | null): this;
|
|
20
|
+
withAccessToken(accessToken: string | null): this;
|
|
21
|
+
getReceipt(): string | null;
|
|
22
|
+
setReceipt(receipt: string | null): this;
|
|
23
|
+
withReceipt(receipt: string | null): this;
|
|
24
|
+
getDuplicationAvoider(): string | null;
|
|
25
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
26
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
27
|
+
static fromDict(data: {
|
|
28
|
+
[key: string]: any;
|
|
29
|
+
}): AllocateSubscriptionStatusRequest;
|
|
30
|
+
toDict(): {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
};
|
|
33
|
+
}
|