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
package/money2/model/index.d.ts
CHANGED
|
@@ -2,8 +2,11 @@ import Namespace from "./Namespace";
|
|
|
2
2
|
import Wallet from "./Wallet";
|
|
3
3
|
import Event from "./Event";
|
|
4
4
|
import SubscribeTransaction from "./SubscribeTransaction";
|
|
5
|
+
import SubscriptionStatus from "./SubscriptionStatus";
|
|
5
6
|
import StoreContentModel from "./StoreContentModel";
|
|
6
7
|
import StoreContentModelMaster from "./StoreContentModelMaster";
|
|
8
|
+
import StoreSubscriptionContentModel from "./StoreSubscriptionContentModel";
|
|
9
|
+
import StoreSubscriptionContentModelMaster from "./StoreSubscriptionContentModelMaster";
|
|
7
10
|
import CurrentModelMaster from "./CurrentModelMaster";
|
|
8
11
|
import Receipt from "./Receipt";
|
|
9
12
|
import PlatformSetting from "./PlatformSetting";
|
|
@@ -20,10 +23,13 @@ import AppleAppStoreVerifyReceiptEvent from "./AppleAppStoreVerifyReceiptEvent";
|
|
|
20
23
|
import GooglePlayVerifyReceiptEvent from "./GooglePlayVerifyReceiptEvent";
|
|
21
24
|
import AppleAppStoreContent from "./AppleAppStoreContent";
|
|
22
25
|
import GooglePlayContent from "./GooglePlayContent";
|
|
26
|
+
import AppleAppStoreSubscriptionContent from "./AppleAppStoreSubscriptionContent";
|
|
27
|
+
import GooglePlaySubscriptionContent from "./GooglePlaySubscriptionContent";
|
|
23
28
|
import GooglePlayRealtimeNotificationMessage from "./GooglePlayRealtimeNotificationMessage";
|
|
24
29
|
import GitHubCheckoutSetting from "./GitHubCheckoutSetting";
|
|
25
30
|
import ScriptSetting from "./ScriptSetting";
|
|
31
|
+
import NotificationSetting from "./NotificationSetting";
|
|
26
32
|
import LogSetting from "./LogSetting";
|
|
27
33
|
import DailyTransactionHistory from "./DailyTransactionHistory";
|
|
28
34
|
import UnusedBalance from "./UnusedBalance";
|
|
29
|
-
export { Namespace, Wallet, Event, SubscribeTransaction, StoreContentModel, StoreContentModelMaster, CurrentModelMaster, Receipt, PlatformSetting, AppleAppStoreSetting, GooglePlaySetting, FakeSetting, WalletSummary, DepositTransaction, VerifyReceiptEvent, DepositEvent, WithdrawEvent, RefundEvent, AppleAppStoreVerifyReceiptEvent, GooglePlayVerifyReceiptEvent, AppleAppStoreContent, GooglePlayContent, 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.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.StoreContentModelMaster = exports.StoreContentModel = 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
|
|
@@ -25,10 +25,16 @@ var Event_1 = tslib_1.__importDefault(require("./Event"));
|
|
|
25
25
|
exports.Event = Event_1.default;
|
|
26
26
|
var SubscribeTransaction_1 = tslib_1.__importDefault(require("./SubscribeTransaction"));
|
|
27
27
|
exports.SubscribeTransaction = SubscribeTransaction_1.default;
|
|
28
|
+
var SubscriptionStatus_1 = tslib_1.__importDefault(require("./SubscriptionStatus"));
|
|
29
|
+
exports.SubscriptionStatus = SubscriptionStatus_1.default;
|
|
28
30
|
var StoreContentModel_1 = tslib_1.__importDefault(require("./StoreContentModel"));
|
|
29
31
|
exports.StoreContentModel = StoreContentModel_1.default;
|
|
30
32
|
var StoreContentModelMaster_1 = tslib_1.__importDefault(require("./StoreContentModelMaster"));
|
|
31
33
|
exports.StoreContentModelMaster = StoreContentModelMaster_1.default;
|
|
34
|
+
var StoreSubscriptionContentModel_1 = tslib_1.__importDefault(require("./StoreSubscriptionContentModel"));
|
|
35
|
+
exports.StoreSubscriptionContentModel = StoreSubscriptionContentModel_1.default;
|
|
36
|
+
var StoreSubscriptionContentModelMaster_1 = tslib_1.__importDefault(require("./StoreSubscriptionContentModelMaster"));
|
|
37
|
+
exports.StoreSubscriptionContentModelMaster = StoreSubscriptionContentModelMaster_1.default;
|
|
32
38
|
var CurrentModelMaster_1 = tslib_1.__importDefault(require("./CurrentModelMaster"));
|
|
33
39
|
exports.CurrentModelMaster = CurrentModelMaster_1.default;
|
|
34
40
|
var Receipt_1 = tslib_1.__importDefault(require("./Receipt"));
|
|
@@ -61,12 +67,18 @@ var AppleAppStoreContent_1 = tslib_1.__importDefault(require("./AppleAppStoreCon
|
|
|
61
67
|
exports.AppleAppStoreContent = AppleAppStoreContent_1.default;
|
|
62
68
|
var GooglePlayContent_1 = tslib_1.__importDefault(require("./GooglePlayContent"));
|
|
63
69
|
exports.GooglePlayContent = GooglePlayContent_1.default;
|
|
70
|
+
var AppleAppStoreSubscriptionContent_1 = tslib_1.__importDefault(require("./AppleAppStoreSubscriptionContent"));
|
|
71
|
+
exports.AppleAppStoreSubscriptionContent = AppleAppStoreSubscriptionContent_1.default;
|
|
72
|
+
var GooglePlaySubscriptionContent_1 = tslib_1.__importDefault(require("./GooglePlaySubscriptionContent"));
|
|
73
|
+
exports.GooglePlaySubscriptionContent = GooglePlaySubscriptionContent_1.default;
|
|
64
74
|
var GooglePlayRealtimeNotificationMessage_1 = tslib_1.__importDefault(require("./GooglePlayRealtimeNotificationMessage"));
|
|
65
75
|
exports.GooglePlayRealtimeNotificationMessage = GooglePlayRealtimeNotificationMessage_1.default;
|
|
66
76
|
var GitHubCheckoutSetting_1 = tslib_1.__importDefault(require("./GitHubCheckoutSetting"));
|
|
67
77
|
exports.GitHubCheckoutSetting = GitHubCheckoutSetting_1.default;
|
|
68
78
|
var ScriptSetting_1 = tslib_1.__importDefault(require("./ScriptSetting"));
|
|
69
79
|
exports.ScriptSetting = ScriptSetting_1.default;
|
|
80
|
+
var NotificationSetting_1 = tslib_1.__importDefault(require("./NotificationSetting"));
|
|
81
|
+
exports.NotificationSetting = NotificationSetting_1.default;
|
|
70
82
|
var LogSetting_1 = tslib_1.__importDefault(require("./LogSetting"));
|
|
71
83
|
exports.LogSetting = LogSetting_1.default;
|
|
72
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,uCAA6B,CAoCH;AAnCjC,sHAAuF;AAoCnF,8CApCG,6CAAmC,CAoCH;AAnCvC,oFAAqD;AAoCjD,6BApCG,4BAAkB,CAoCH;AAnCtB,8DAA+B;AAoC3B,kBApCG,iBAAO,CAoCH;AAnCX,8EAA+C;AAoC3C,0BApCG,yBAAe,CAoCH;AAnCnB,wFAAyD;AAoCrD,+BApCG,8BAAoB,CAoCH;AAnCxB,kFAAmD;AAoC/C,4BApCG,2BAAiB,CAoCH;AAnCrB,sEAAuC;AAoCnC,sBApCG,qBAAW,CAoCH;AAnCf,0EAA2C;AAoCvC,wBApCG,uBAAa,CAoCH;AAnCjB,oFAAqD;AAoCjD,6BApCG,4BAAkB,CAoCH;AAnCtB,oFAAqD;AAoCjD,6BApCG,4BAAkB,CAoCH;AAnCtB,wEAAyC;AAoCrC,uBApCG,sBAAY,CAoCH;AAnChB,0EAA2C;AAoCvC,wBApCG,uBAAa,CAoCH;AAnCjB,sEAAuC;AAoCnC,sBApCG,qBAAW,CAoCH;AAnCf,8GAA+E;AAoC3E,0CApCG,yCAA+B,CAoCH;AAnCnC,wGAAyE;AAoCrE,uCApCG,sCAA4B,CAoCH;AAnChC,wFAAyD;AAoCrD,+BApCG,8BAAoB,CAoCH;AAnCxB,kFAAmD;AAoC/C,4BApCG,2BAAiB,CAoCH;AAnCrB,gHAAiF;AAoC7E,2CApCG,0CAAgC,CAoCH;AAnCpC,0GAA2E;AAoCvE,wCApCG,uCAA6B,CAoCH;AAnCjC,0HAA2F;AAoCvF,gDApCG,+CAAqC,CAoCH;AAnCzC,0FAA2D;AAoCvD,gCApCG,+BAAqB,CAoCH;AAnCzB,0EAA2C;AAoCvC,wBApCG,uBAAa,CAoCH;AAnCjB,sFAAuD;AAoCnD,8BApCG,6BAAmB,CAoCH;AAnCvB,oEAAqC;AAoCjC,qBApCG,oBAAU,CAoCH;AAnCd,8FAA+D;AAoC3D,kCApCG,iCAAuB,CAoCH;AAnC3B,0EAA2C;AAoCvC,wBApCG,uBAAa,CAoCH"}
|
package/money2/model/index.ts
CHANGED
|
@@ -17,8 +17,11 @@ import Namespace from "./Namespace"
|
|
|
17
17
|
import Wallet from "./Wallet"
|
|
18
18
|
import Event from "./Event"
|
|
19
19
|
import SubscribeTransaction from "./SubscribeTransaction"
|
|
20
|
+
import SubscriptionStatus from "./SubscriptionStatus"
|
|
20
21
|
import StoreContentModel from "./StoreContentModel"
|
|
21
22
|
import StoreContentModelMaster from "./StoreContentModelMaster"
|
|
23
|
+
import StoreSubscriptionContentModel from "./StoreSubscriptionContentModel"
|
|
24
|
+
import StoreSubscriptionContentModelMaster from "./StoreSubscriptionContentModelMaster"
|
|
22
25
|
import CurrentModelMaster from "./CurrentModelMaster"
|
|
23
26
|
import Receipt from "./Receipt"
|
|
24
27
|
import PlatformSetting from "./PlatformSetting"
|
|
@@ -35,9 +38,12 @@ import AppleAppStoreVerifyReceiptEvent from "./AppleAppStoreVerifyReceiptEvent"
|
|
|
35
38
|
import GooglePlayVerifyReceiptEvent from "./GooglePlayVerifyReceiptEvent"
|
|
36
39
|
import AppleAppStoreContent from "./AppleAppStoreContent"
|
|
37
40
|
import GooglePlayContent from "./GooglePlayContent"
|
|
41
|
+
import AppleAppStoreSubscriptionContent from "./AppleAppStoreSubscriptionContent"
|
|
42
|
+
import GooglePlaySubscriptionContent from "./GooglePlaySubscriptionContent"
|
|
38
43
|
import GooglePlayRealtimeNotificationMessage from "./GooglePlayRealtimeNotificationMessage"
|
|
39
44
|
import GitHubCheckoutSetting from "./GitHubCheckoutSetting"
|
|
40
45
|
import ScriptSetting from "./ScriptSetting"
|
|
46
|
+
import NotificationSetting from "./NotificationSetting"
|
|
41
47
|
import LogSetting from "./LogSetting"
|
|
42
48
|
import DailyTransactionHistory from "./DailyTransactionHistory"
|
|
43
49
|
import UnusedBalance from "./UnusedBalance"
|
|
@@ -47,8 +53,11 @@ export {
|
|
|
47
53
|
Wallet,
|
|
48
54
|
Event,
|
|
49
55
|
SubscribeTransaction,
|
|
56
|
+
SubscriptionStatus,
|
|
50
57
|
StoreContentModel,
|
|
51
58
|
StoreContentModelMaster,
|
|
59
|
+
StoreSubscriptionContentModel,
|
|
60
|
+
StoreSubscriptionContentModelMaster,
|
|
52
61
|
CurrentModelMaster,
|
|
53
62
|
Receipt,
|
|
54
63
|
PlatformSetting,
|
|
@@ -65,9 +74,12 @@ export {
|
|
|
65
74
|
GooglePlayVerifyReceiptEvent,
|
|
66
75
|
AppleAppStoreContent,
|
|
67
76
|
GooglePlayContent,
|
|
77
|
+
AppleAppStoreSubscriptionContent,
|
|
78
|
+
GooglePlaySubscriptionContent,
|
|
68
79
|
GooglePlayRealtimeNotificationMessage,
|
|
69
80
|
GitHubCheckoutSetting,
|
|
70
81
|
ScriptSetting,
|
|
82
|
+
NotificationSetting,
|
|
71
83
|
LogSetting,
|
|
72
84
|
DailyTransactionHistory,
|
|
73
85
|
UnusedBalance,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
import * as Gs2Money2 from '../model';
|
|
3
|
+
export default class AllocateSubscriptionStatusByUserIdRequest implements IRequest {
|
|
4
|
+
private requestId;
|
|
5
|
+
private contextStack;
|
|
6
|
+
private namespaceName;
|
|
7
|
+
private userId;
|
|
8
|
+
private receipt;
|
|
9
|
+
private timeOffsetToken;
|
|
10
|
+
private duplicationAvoider;
|
|
11
|
+
getRequestId(): string | null;
|
|
12
|
+
setRequestId(requestId: string | null): this;
|
|
13
|
+
withRequestId(requestId: string | null): this;
|
|
14
|
+
getContextStack(): string | null;
|
|
15
|
+
setContextStack(contextStack: string | null): this;
|
|
16
|
+
withContextStack(contextStack: string | null): this;
|
|
17
|
+
getNamespaceName(): string | null;
|
|
18
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
20
|
+
getUserId(): string | null;
|
|
21
|
+
setUserId(userId: string | null): this;
|
|
22
|
+
withUserId(userId: string | null): this;
|
|
23
|
+
getReceipt(): Gs2Money2.Receipt | null;
|
|
24
|
+
setReceipt(receipt: Gs2Money2.Receipt | null): this;
|
|
25
|
+
withReceipt(receipt: Gs2Money2.Receipt | null): this;
|
|
26
|
+
getTimeOffsetToken(): string | null;
|
|
27
|
+
setTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
28
|
+
withTimeOffsetToken(timeOffsetToken: string | null): this;
|
|
29
|
+
getDuplicationAvoider(): string | null;
|
|
30
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
31
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
32
|
+
static fromDict(data: {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}): AllocateSubscriptionStatusByUserIdRequest;
|
|
35
|
+
toDict(): {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
};
|
|
38
|
+
}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Money2 = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var AllocateSubscriptionStatusByUserIdRequest = /** @class */ (function () {
|
|
21
|
+
function AllocateSubscriptionStatusByUserIdRequest() {
|
|
22
|
+
this.requestId = null;
|
|
23
|
+
this.contextStack = null;
|
|
24
|
+
this.namespaceName = null;
|
|
25
|
+
this.userId = null;
|
|
26
|
+
this.receipt = null;
|
|
27
|
+
this.timeOffsetToken = null;
|
|
28
|
+
this.duplicationAvoider = null;
|
|
29
|
+
}
|
|
30
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.getRequestId = function () {
|
|
31
|
+
return this.requestId;
|
|
32
|
+
};
|
|
33
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.setRequestId = function (requestId) {
|
|
34
|
+
this.requestId = requestId;
|
|
35
|
+
return this;
|
|
36
|
+
};
|
|
37
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.withRequestId = function (requestId) {
|
|
38
|
+
this.requestId = requestId;
|
|
39
|
+
return this;
|
|
40
|
+
};
|
|
41
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.getContextStack = function () {
|
|
42
|
+
return this.contextStack;
|
|
43
|
+
};
|
|
44
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.setContextStack = function (contextStack) {
|
|
45
|
+
this.contextStack = contextStack;
|
|
46
|
+
return this;
|
|
47
|
+
};
|
|
48
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.withContextStack = function (contextStack) {
|
|
49
|
+
this.contextStack = contextStack;
|
|
50
|
+
return this;
|
|
51
|
+
};
|
|
52
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.getNamespaceName = function () {
|
|
53
|
+
return this.namespaceName;
|
|
54
|
+
};
|
|
55
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
56
|
+
this.namespaceName = namespaceName;
|
|
57
|
+
return this;
|
|
58
|
+
};
|
|
59
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
60
|
+
this.namespaceName = namespaceName;
|
|
61
|
+
return this;
|
|
62
|
+
};
|
|
63
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.getUserId = function () {
|
|
64
|
+
return this.userId;
|
|
65
|
+
};
|
|
66
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.setUserId = function (userId) {
|
|
67
|
+
this.userId = userId;
|
|
68
|
+
return this;
|
|
69
|
+
};
|
|
70
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.withUserId = function (userId) {
|
|
71
|
+
this.userId = userId;
|
|
72
|
+
return this;
|
|
73
|
+
};
|
|
74
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.getReceipt = function () {
|
|
75
|
+
return this.receipt;
|
|
76
|
+
};
|
|
77
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.setReceipt = function (receipt) {
|
|
78
|
+
this.receipt = receipt;
|
|
79
|
+
return this;
|
|
80
|
+
};
|
|
81
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.withReceipt = function (receipt) {
|
|
82
|
+
this.receipt = receipt;
|
|
83
|
+
return this;
|
|
84
|
+
};
|
|
85
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.getTimeOffsetToken = function () {
|
|
86
|
+
return this.timeOffsetToken;
|
|
87
|
+
};
|
|
88
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.setTimeOffsetToken = function (timeOffsetToken) {
|
|
89
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
90
|
+
return this;
|
|
91
|
+
};
|
|
92
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.withTimeOffsetToken = function (timeOffsetToken) {
|
|
93
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
94
|
+
return this;
|
|
95
|
+
};
|
|
96
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.getDuplicationAvoider = function () {
|
|
97
|
+
return this.duplicationAvoider;
|
|
98
|
+
};
|
|
99
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
100
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
101
|
+
return this;
|
|
102
|
+
};
|
|
103
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
104
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
105
|
+
return this;
|
|
106
|
+
};
|
|
107
|
+
AllocateSubscriptionStatusByUserIdRequest.fromDict = function (data) {
|
|
108
|
+
return new AllocateSubscriptionStatusByUserIdRequest()
|
|
109
|
+
.withNamespaceName(data["namespaceName"])
|
|
110
|
+
.withUserId(data["userId"])
|
|
111
|
+
.withReceipt(Gs2Money2.Receipt.fromDict(data["receipt"]))
|
|
112
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
113
|
+
};
|
|
114
|
+
AllocateSubscriptionStatusByUserIdRequest.prototype.toDict = function () {
|
|
115
|
+
var _a;
|
|
116
|
+
return {
|
|
117
|
+
"namespaceName": this.getNamespaceName(),
|
|
118
|
+
"userId": this.getUserId(),
|
|
119
|
+
"receipt": (_a = this.getReceipt()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
120
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
return AllocateSubscriptionStatusByUserIdRequest;
|
|
124
|
+
}());
|
|
125
|
+
exports.default = AllocateSubscriptionStatusByUserIdRequest;
|
|
126
|
+
//# sourceMappingURL=AllocateSubscriptionStatusByUserIdRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AllocateSubscriptionStatusByUserIdRequest.js","sourceRoot":"","sources":["AllocateSubscriptionStatusByUserIdRequest.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,0DAAqC;AAErC;IAAA;QAEY,cAAS,GAAgB,IAAI,CAAC;QAC9B,iBAAY,GAAgB,IAAI,CAAC;QACjC,kBAAa,GAAgB,IAAI,CAAC;QAClC,WAAM,GAAgB,IAAI,CAAC;QAC3B,YAAO,GAA2B,IAAI,CAAC;QACvC,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,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,iEAAa,GAApB,UAAqB,SAAsB;QACvC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,mEAAe,GAAtB;QACI,OAAO,IAAI,CAAC,YAAY,CAAC;IAC7B,CAAC;IAEM,mEAAe,GAAtB,UAAuB,YAAyB;QAC5C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,oEAAgB,GAAvB,UAAwB,YAAyB;QAC7C,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,oEAAgB,GAAvB;QACI,OAAO,IAAI,CAAC,aAAa,CAAC;IAC9B,CAAC;IACM,oEAAgB,GAAvB,UAAwB,aAA0B;QAC9C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,qEAAiB,GAAxB,UAAyB,aAA0B;QAC/C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,6DAAS,GAAhB;QACI,OAAO,IAAI,CAAC,MAAM,CAAC;IACvB,CAAC;IACM,6DAAS,GAAhB,UAAiB,MAAmB;QAChC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8DAAU,GAAjB,UAAkB,MAAmB;QACjC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8DAAU,GAAjB;QACI,OAAO,IAAI,CAAC,OAAO,CAAC;IACxB,CAAC;IACM,8DAAU,GAAjB,UAAkB,OAA+B;QAC7C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,+DAAW,GAAlB,UAAmB,OAA+B;QAC9C,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,sEAAkB,GAAzB;QACI,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IACM,sEAAkB,GAAzB,UAA0B,eAA4B;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,uEAAmB,GAA1B,UAA2B,eAA4B;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,yEAAqB,GAA5B;QACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACnC,CAAC;IAEM,yEAAqB,GAA5B,UAA6B,kBAA+B;QACxD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,0EAAsB,GAA7B,UAA8B,kBAA+B;QACzD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,kDAAQ,GAAtB,UAAuB,IAA0B;QAC7C,OAAO,IAAI,yCAAyC,EAAE;aACjD,iBAAiB,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;aACxC,UAAU,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;aAC1B,WAAW,CAAC,SAAS,CAAC,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC;aACxD,mBAAmB,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC;IACtD,CAAC;IAEM,0DAAM,GAAb;;QACI,OAAO;YACH,eAAe,EAAE,IAAI,CAAC,gBAAgB,EAAE;YACxC,QAAQ,EAAE,IAAI,CAAC,SAAS,EAAE;YAC1B,SAAS,EAAE,MAAA,IAAI,CAAC,UAAU,EAAE,0CAAE,MAAM,EAAE;YACtC,iBAAiB,EAAE,IAAI,CAAC,kBAAkB,EAAE;SAC/C,CAAC;IACN,CAAC;IACL,gDAAC;AAAD,CAAC,AAhHD,IAgHC"}
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
Reserved.
|
|
4
|
+
|
|
5
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
You may not use this file except in compliance with the License.
|
|
7
|
+
A copy of the License is located at
|
|
8
|
+
|
|
9
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
|
|
11
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
express or implied. See the License for the specific language governing
|
|
14
|
+
permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import IRequest from '../../core/interface/IRequest';
|
|
18
|
+
|
|
19
|
+
import * as Gs2Money2 from '../model'
|
|
20
|
+
|
|
21
|
+
export default class 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: Gs2Money2.Receipt|null = null;
|
|
28
|
+
private timeOffsetToken: string|null = null;
|
|
29
|
+
private duplicationAvoider: string|null = null;
|
|
30
|
+
|
|
31
|
+
public getRequestId(): string|null {
|
|
32
|
+
return this.requestId;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
public setRequestId(requestId: string|null) {
|
|
36
|
+
this.requestId = requestId;
|
|
37
|
+
return this;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public withRequestId(requestId: string|null): this {
|
|
41
|
+
this.requestId = requestId;
|
|
42
|
+
return this;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public getContextStack(): string|null {
|
|
46
|
+
return this.contextStack;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
public setContextStack(contextStack: string|null) {
|
|
50
|
+
this.contextStack = contextStack;
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public withContextStack(contextStack: string|null): this {
|
|
55
|
+
this.contextStack = contextStack;
|
|
56
|
+
return this;
|
|
57
|
+
}
|
|
58
|
+
public getNamespaceName(): string|null {
|
|
59
|
+
return this.namespaceName;
|
|
60
|
+
}
|
|
61
|
+
public setNamespaceName(namespaceName: string|null) {
|
|
62
|
+
this.namespaceName = namespaceName;
|
|
63
|
+
return this;
|
|
64
|
+
}
|
|
65
|
+
public withNamespaceName(namespaceName: string|null): this {
|
|
66
|
+
this.namespaceName = namespaceName;
|
|
67
|
+
return this;
|
|
68
|
+
}
|
|
69
|
+
public getUserId(): string|null {
|
|
70
|
+
return this.userId;
|
|
71
|
+
}
|
|
72
|
+
public setUserId(userId: string|null) {
|
|
73
|
+
this.userId = userId;
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
public withUserId(userId: string|null): this {
|
|
77
|
+
this.userId = userId;
|
|
78
|
+
return this;
|
|
79
|
+
}
|
|
80
|
+
public getReceipt(): Gs2Money2.Receipt|null {
|
|
81
|
+
return this.receipt;
|
|
82
|
+
}
|
|
83
|
+
public setReceipt(receipt: Gs2Money2.Receipt|null) {
|
|
84
|
+
this.receipt = receipt;
|
|
85
|
+
return this;
|
|
86
|
+
}
|
|
87
|
+
public withReceipt(receipt: Gs2Money2.Receipt|null): this {
|
|
88
|
+
this.receipt = receipt;
|
|
89
|
+
return this;
|
|
90
|
+
}
|
|
91
|
+
public getTimeOffsetToken(): string|null {
|
|
92
|
+
return this.timeOffsetToken;
|
|
93
|
+
}
|
|
94
|
+
public setTimeOffsetToken(timeOffsetToken: string|null) {
|
|
95
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
96
|
+
return this;
|
|
97
|
+
}
|
|
98
|
+
public withTimeOffsetToken(timeOffsetToken: string|null): this {
|
|
99
|
+
this.timeOffsetToken = timeOffsetToken;
|
|
100
|
+
return this;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
public getDuplicationAvoider(): string|null {
|
|
104
|
+
return this.duplicationAvoider;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
public setDuplicationAvoider(duplicationAvoider: string|null) {
|
|
108
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
public withDuplicationAvoider(duplicationAvoider: string|null): this {
|
|
113
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
114
|
+
return this;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
public static fromDict(data: {[key: string]: any}): AllocateSubscriptionStatusByUserIdRequest {
|
|
118
|
+
return new AllocateSubscriptionStatusByUserIdRequest()
|
|
119
|
+
.withNamespaceName(data["namespaceName"])
|
|
120
|
+
.withUserId(data["userId"])
|
|
121
|
+
.withReceipt(Gs2Money2.Receipt.fromDict(data["receipt"]))
|
|
122
|
+
.withTimeOffsetToken(data["timeOffsetToken"]);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
public toDict(): {[key: string]: any} {
|
|
126
|
+
return {
|
|
127
|
+
"namespaceName": this.getNamespaceName(),
|
|
128
|
+
"userId": this.getUserId(),
|
|
129
|
+
"receipt": this.getReceipt()?.toDict(),
|
|
130
|
+
"timeOffsetToken": this.getTimeOffsetToken(),
|
|
131
|
+
};
|
|
132
|
+
}
|
|
133
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import IRequest from '../../core/interface/IRequest';
|
|
2
|
+
import * as Gs2Money2 from '../model';
|
|
3
|
+
export default class AllocateSubscriptionStatusRequest implements IRequest {
|
|
4
|
+
private requestId;
|
|
5
|
+
private contextStack;
|
|
6
|
+
private namespaceName;
|
|
7
|
+
private accessToken;
|
|
8
|
+
private receipt;
|
|
9
|
+
private duplicationAvoider;
|
|
10
|
+
getRequestId(): string | null;
|
|
11
|
+
setRequestId(requestId: string | null): this;
|
|
12
|
+
withRequestId(requestId: string | null): this;
|
|
13
|
+
getContextStack(): string | null;
|
|
14
|
+
setContextStack(contextStack: string | null): this;
|
|
15
|
+
withContextStack(contextStack: string | null): this;
|
|
16
|
+
getNamespaceName(): string | null;
|
|
17
|
+
setNamespaceName(namespaceName: string | null): this;
|
|
18
|
+
withNamespaceName(namespaceName: string | null): this;
|
|
19
|
+
getAccessToken(): string | null;
|
|
20
|
+
setAccessToken(accessToken: string | null): this;
|
|
21
|
+
withAccessToken(accessToken: string | null): this;
|
|
22
|
+
getReceipt(): Gs2Money2.Receipt | null;
|
|
23
|
+
setReceipt(receipt: Gs2Money2.Receipt | null): this;
|
|
24
|
+
withReceipt(receipt: Gs2Money2.Receipt | null): this;
|
|
25
|
+
getDuplicationAvoider(): string | null;
|
|
26
|
+
setDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
27
|
+
withDuplicationAvoider(duplicationAvoider: string | null): this;
|
|
28
|
+
static fromDict(data: {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
}): AllocateSubscriptionStatusRequest;
|
|
31
|
+
toDict(): {
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
Reserved.
|
|
5
|
+
|
|
6
|
+
Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
You may not use this file except in compliance with the License.
|
|
8
|
+
A copy of the License is located at
|
|
9
|
+
|
|
10
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
|
|
12
|
+
or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
express or implied. See the License for the specific language governing
|
|
15
|
+
permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var Gs2Money2 = tslib_1.__importStar(require("../model"));
|
|
20
|
+
var AllocateSubscriptionStatusRequest = /** @class */ (function () {
|
|
21
|
+
function AllocateSubscriptionStatusRequest() {
|
|
22
|
+
this.requestId = null;
|
|
23
|
+
this.contextStack = null;
|
|
24
|
+
this.namespaceName = null;
|
|
25
|
+
this.accessToken = null;
|
|
26
|
+
this.receipt = null;
|
|
27
|
+
this.duplicationAvoider = null;
|
|
28
|
+
}
|
|
29
|
+
AllocateSubscriptionStatusRequest.prototype.getRequestId = function () {
|
|
30
|
+
return this.requestId;
|
|
31
|
+
};
|
|
32
|
+
AllocateSubscriptionStatusRequest.prototype.setRequestId = function (requestId) {
|
|
33
|
+
this.requestId = requestId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
AllocateSubscriptionStatusRequest.prototype.withRequestId = function (requestId) {
|
|
37
|
+
this.requestId = requestId;
|
|
38
|
+
return this;
|
|
39
|
+
};
|
|
40
|
+
AllocateSubscriptionStatusRequest.prototype.getContextStack = function () {
|
|
41
|
+
return this.contextStack;
|
|
42
|
+
};
|
|
43
|
+
AllocateSubscriptionStatusRequest.prototype.setContextStack = function (contextStack) {
|
|
44
|
+
this.contextStack = contextStack;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
AllocateSubscriptionStatusRequest.prototype.withContextStack = function (contextStack) {
|
|
48
|
+
this.contextStack = contextStack;
|
|
49
|
+
return this;
|
|
50
|
+
};
|
|
51
|
+
AllocateSubscriptionStatusRequest.prototype.getNamespaceName = function () {
|
|
52
|
+
return this.namespaceName;
|
|
53
|
+
};
|
|
54
|
+
AllocateSubscriptionStatusRequest.prototype.setNamespaceName = function (namespaceName) {
|
|
55
|
+
this.namespaceName = namespaceName;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
AllocateSubscriptionStatusRequest.prototype.withNamespaceName = function (namespaceName) {
|
|
59
|
+
this.namespaceName = namespaceName;
|
|
60
|
+
return this;
|
|
61
|
+
};
|
|
62
|
+
AllocateSubscriptionStatusRequest.prototype.getAccessToken = function () {
|
|
63
|
+
return this.accessToken;
|
|
64
|
+
};
|
|
65
|
+
AllocateSubscriptionStatusRequest.prototype.setAccessToken = function (accessToken) {
|
|
66
|
+
this.accessToken = accessToken;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
AllocateSubscriptionStatusRequest.prototype.withAccessToken = function (accessToken) {
|
|
70
|
+
this.accessToken = accessToken;
|
|
71
|
+
return this;
|
|
72
|
+
};
|
|
73
|
+
AllocateSubscriptionStatusRequest.prototype.getReceipt = function () {
|
|
74
|
+
return this.receipt;
|
|
75
|
+
};
|
|
76
|
+
AllocateSubscriptionStatusRequest.prototype.setReceipt = function (receipt) {
|
|
77
|
+
this.receipt = receipt;
|
|
78
|
+
return this;
|
|
79
|
+
};
|
|
80
|
+
AllocateSubscriptionStatusRequest.prototype.withReceipt = function (receipt) {
|
|
81
|
+
this.receipt = receipt;
|
|
82
|
+
return this;
|
|
83
|
+
};
|
|
84
|
+
AllocateSubscriptionStatusRequest.prototype.getDuplicationAvoider = function () {
|
|
85
|
+
return this.duplicationAvoider;
|
|
86
|
+
};
|
|
87
|
+
AllocateSubscriptionStatusRequest.prototype.setDuplicationAvoider = function (duplicationAvoider) {
|
|
88
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
89
|
+
return this;
|
|
90
|
+
};
|
|
91
|
+
AllocateSubscriptionStatusRequest.prototype.withDuplicationAvoider = function (duplicationAvoider) {
|
|
92
|
+
this.duplicationAvoider = duplicationAvoider;
|
|
93
|
+
return this;
|
|
94
|
+
};
|
|
95
|
+
AllocateSubscriptionStatusRequest.fromDict = function (data) {
|
|
96
|
+
return new AllocateSubscriptionStatusRequest()
|
|
97
|
+
.withNamespaceName(data["namespaceName"])
|
|
98
|
+
.withAccessToken(data["accessToken"])
|
|
99
|
+
.withReceipt(Gs2Money2.Receipt.fromDict(data["receipt"]));
|
|
100
|
+
};
|
|
101
|
+
AllocateSubscriptionStatusRequest.prototype.toDict = function () {
|
|
102
|
+
var _a;
|
|
103
|
+
return {
|
|
104
|
+
"namespaceName": this.getNamespaceName(),
|
|
105
|
+
"accessToken": this.getAccessToken(),
|
|
106
|
+
"receipt": (_a = this.getReceipt()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
return AllocateSubscriptionStatusRequest;
|
|
110
|
+
}());
|
|
111
|
+
exports.default = AllocateSubscriptionStatusRequest;
|
|
112
|
+
//# sourceMappingURL=AllocateSubscriptionStatusRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AllocateSubscriptionStatusRequest.js","sourceRoot":"","sources":["AllocateSubscriptionStatusRequest.ts"],"names":[],"mappings":"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"}
|