gs2-cdk 1.0.105 → 1.0.106
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/RefundHistory.d.ts +14 -0
- package/money2/model/RefundHistory.js +39 -0
- package/money2/model/RefundHistory.js.map +1 -0
- package/money2/model/RefundHistory.ts +71 -0
- package/money2/model/index.d.ts +3 -1
- package/money2/model/index.js +3 -1
- package/money2/model/index.js.map +1 -1
- package/money2/model/index.ts +4 -0
- package/money2/model/options/RefundHistoryOptions.d.ts +3 -0
- package/money2/model/options/RefundHistoryOptions.js +3 -0
- package/money2/model/options/RefundHistoryOptions.js.map +1 -0
- package/money2/model/options/RefundHistoryOptions.ts +23 -0
- package/money2/ref/RefundHistoryRef.d.ts +6 -0
- package/money2/ref/RefundHistoryRef.js +38 -0
- package/money2/ref/RefundHistoryRef.js.map +1 -0
- package/money2/ref/RefundHistoryRef.ts +52 -0
- package/money2/ref/index.d.ts +2 -1
- package/money2/ref/index.js +3 -1
- package/money2/ref/index.js.map +1 -1
- package/money2/ref/index.ts +2 -0
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import RefundEvent from "./RefundEvent";
|
|
2
|
+
import { RefundHistoryOptions } from "./options/RefundHistoryOptions";
|
|
3
|
+
export default class RefundHistory {
|
|
4
|
+
private readonly transactionId;
|
|
5
|
+
private readonly year;
|
|
6
|
+
private readonly month;
|
|
7
|
+
private readonly day;
|
|
8
|
+
private readonly detail;
|
|
9
|
+
private readonly userId;
|
|
10
|
+
constructor(transactionId: string, year: number, month: number, day: number, detail: RefundEvent, options?: RefundHistoryOptions | null);
|
|
11
|
+
properties(): {
|
|
12
|
+
[name: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class RefundHistory {
|
|
4
|
+
constructor(transactionId, year, month, day, detail, options = null) {
|
|
5
|
+
var _a;
|
|
6
|
+
this.userId = null;
|
|
7
|
+
this.transactionId = transactionId;
|
|
8
|
+
this.year = year;
|
|
9
|
+
this.month = month;
|
|
10
|
+
this.day = day;
|
|
11
|
+
this.detail = detail;
|
|
12
|
+
this.userId = (_a = options === null || options === void 0 ? void 0 : options.userId) !== null && _a !== void 0 ? _a : null;
|
|
13
|
+
}
|
|
14
|
+
properties() {
|
|
15
|
+
var _a;
|
|
16
|
+
let properties = {};
|
|
17
|
+
if (this.transactionId != null) {
|
|
18
|
+
properties["transactionId"] = this.transactionId;
|
|
19
|
+
}
|
|
20
|
+
if (this.year != null) {
|
|
21
|
+
properties["year"] = this.year;
|
|
22
|
+
}
|
|
23
|
+
if (this.month != null) {
|
|
24
|
+
properties["month"] = this.month;
|
|
25
|
+
}
|
|
26
|
+
if (this.day != null) {
|
|
27
|
+
properties["day"] = this.day;
|
|
28
|
+
}
|
|
29
|
+
if (this.userId != null) {
|
|
30
|
+
properties["userId"] = this.userId;
|
|
31
|
+
}
|
|
32
|
+
if (this.detail != null) {
|
|
33
|
+
properties["detail"] = (_a = this.detail) === null || _a === void 0 ? void 0 : _a.properties();
|
|
34
|
+
}
|
|
35
|
+
return properties;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.default = RefundHistory;
|
|
39
|
+
//# sourceMappingURL=RefundHistory.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RefundHistory.js","sourceRoot":"","sources":["RefundHistory.ts"],"names":[],"mappings":";;AAoBA,MAAqB,aAAa;IAQ9B,YACI,aAAqB,EACrB,IAAY,EACZ,KAAa,EACb,GAAW,EACX,MAAmB,EACnB,UAAqC,IAAI;;QAR5B,WAAM,GAAgB,IAAI,CAAC;QAUxC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,IAAI,CAAC;IAC1C,CAAC;IAEM,UAAU;;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,GAAG,IAAI,IAAI,EAAE;YAClB,UAAU,CAAC,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC;SAChC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAA,IAAI,CAAC,MAAM,0CAAE,UAAU,EAC7C,CAAC;SACL;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAlDD,gCAkDC"}
|
|
@@ -0,0 +1,71 @@
|
|
|
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
|
+
import AppleAppStoreVerifyReceiptEvent from "./AppleAppStoreVerifyReceiptEvent";
|
|
17
|
+
import GooglePlayVerifyReceiptEvent from "./GooglePlayVerifyReceiptEvent";
|
|
18
|
+
import RefundEvent from "./RefundEvent";
|
|
19
|
+
import { RefundHistoryOptions } from "./options/RefundHistoryOptions";
|
|
20
|
+
|
|
21
|
+
export default class RefundHistory {
|
|
22
|
+
private readonly transactionId: string;
|
|
23
|
+
private readonly year: number;
|
|
24
|
+
private readonly month: number;
|
|
25
|
+
private readonly day: number;
|
|
26
|
+
private readonly detail: RefundEvent;
|
|
27
|
+
private readonly userId: string|null = null;
|
|
28
|
+
|
|
29
|
+
public constructor(
|
|
30
|
+
transactionId: string,
|
|
31
|
+
year: number,
|
|
32
|
+
month: number,
|
|
33
|
+
day: number,
|
|
34
|
+
detail: RefundEvent,
|
|
35
|
+
options: RefundHistoryOptions|null = null,
|
|
36
|
+
) {
|
|
37
|
+
this.transactionId = transactionId;
|
|
38
|
+
this.year = year;
|
|
39
|
+
this.month = month;
|
|
40
|
+
this.day = day;
|
|
41
|
+
this.detail = detail;
|
|
42
|
+
this.userId = options?.userId ?? null;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
public properties(
|
|
46
|
+
): {[name: string]: any} {
|
|
47
|
+
let properties: {[name: string]: any} = {};
|
|
48
|
+
|
|
49
|
+
if (this.transactionId != null) {
|
|
50
|
+
properties["transactionId"] = this.transactionId;
|
|
51
|
+
}
|
|
52
|
+
if (this.year != null) {
|
|
53
|
+
properties["year"] = this.year;
|
|
54
|
+
}
|
|
55
|
+
if (this.month != null) {
|
|
56
|
+
properties["month"] = this.month;
|
|
57
|
+
}
|
|
58
|
+
if (this.day != null) {
|
|
59
|
+
properties["day"] = this.day;
|
|
60
|
+
}
|
|
61
|
+
if (this.userId != null) {
|
|
62
|
+
properties["userId"] = this.userId;
|
|
63
|
+
}
|
|
64
|
+
if (this.detail != null) {
|
|
65
|
+
properties["detail"] = this.detail?.properties(
|
|
66
|
+
);
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
return properties;
|
|
70
|
+
}
|
|
71
|
+
}
|
package/money2/model/index.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ import SubscribeTransaction from "./SubscribeTransaction";
|
|
|
5
5
|
import { SubscribeTransactionOptions } from "./options/SubscribeTransactionOptions";
|
|
6
6
|
import { SubscribeTransactionStore } from "./enums/SubscribeTransactionStore";
|
|
7
7
|
import { SubscribeTransactionStatusDetail } from "./enums/SubscribeTransactionStatusDetail";
|
|
8
|
+
import RefundHistory from "./RefundHistory";
|
|
9
|
+
import { RefundHistoryOptions } from "./options/RefundHistoryOptions";
|
|
8
10
|
import StoreContentModel from "./StoreContentModel";
|
|
9
11
|
import { StoreContentModelOptions } from "./options/StoreContentModelOptions";
|
|
10
12
|
import StoreSubscriptionContentModel from "./StoreSubscriptionContentModel";
|
|
@@ -58,4 +60,4 @@ import { DailyTransactionHistoryOptions } from "./options/DailyTransactionHistor
|
|
|
58
60
|
import UnusedBalance from "./UnusedBalance";
|
|
59
61
|
import { UnusedBalanceOptions } from "./options/UnusedBalanceOptions";
|
|
60
62
|
import CurrentMasterData from "./CurrentMasterData";
|
|
61
|
-
export { Namespace, NamespaceOptions, NamespaceCurrencyUsagePriority, SubscribeTransaction, SubscribeTransactionOptions, SubscribeTransactionStore, SubscribeTransactionStatusDetail, StoreContentModel, StoreContentModelOptions, StoreSubscriptionContentModel, StoreSubscriptionContentModelOptions, StoreSubscriptionContentModelTriggerExtendMode, StoreSubscriptionContentModelTriggerExtendModeIsJustOptions, StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions, Receipt, ReceiptOptions, ReceiptStore, PlatformSetting, PlatformSettingOptions, AppleAppStoreSetting, AppleAppStoreSettingOptions, GooglePlaySetting, GooglePlaySettingOptions, FakeSetting, FakeSettingOptions, FakeSettingAcceptFakeReceipt, WalletSummary, WalletSummaryOptions, DepositTransaction, DepositTransactionOptions, VerifyReceiptEvent, VerifyReceiptEventOptions, VerifyReceiptEventPlatform, DepositEvent, DepositEventOptions, WithdrawEvent, WithdrawEventOptions, RefundEvent, RefundEventOptions, RefundEventPlatform, AppleAppStoreVerifyReceiptEvent, AppleAppStoreVerifyReceiptEventOptions, AppleAppStoreVerifyReceiptEventEnvironment, GooglePlayVerifyReceiptEvent, GooglePlayVerifyReceiptEventOptions, AppleAppStoreContent, AppleAppStoreContentOptions, GooglePlayContent, GooglePlayContentOptions, AppleAppStoreSubscriptionContent, AppleAppStoreSubscriptionContentOptions, GooglePlaySubscriptionContent, GooglePlaySubscriptionContentOptions, GooglePlayRealtimeNotificationMessage, GooglePlayRealtimeNotificationMessageOptions, DailyTransactionHistory, DailyTransactionHistoryOptions, UnusedBalance, UnusedBalanceOptions, CurrentMasterData, };
|
|
63
|
+
export { Namespace, NamespaceOptions, NamespaceCurrencyUsagePriority, SubscribeTransaction, SubscribeTransactionOptions, SubscribeTransactionStore, SubscribeTransactionStatusDetail, RefundHistory, RefundHistoryOptions, StoreContentModel, StoreContentModelOptions, StoreSubscriptionContentModel, StoreSubscriptionContentModelOptions, StoreSubscriptionContentModelTriggerExtendMode, StoreSubscriptionContentModelTriggerExtendModeIsJustOptions, StoreSubscriptionContentModelTriggerExtendModeIsRollupHourOptions, Receipt, ReceiptOptions, ReceiptStore, PlatformSetting, PlatformSettingOptions, AppleAppStoreSetting, AppleAppStoreSettingOptions, GooglePlaySetting, GooglePlaySettingOptions, FakeSetting, FakeSettingOptions, FakeSettingAcceptFakeReceipt, WalletSummary, WalletSummaryOptions, DepositTransaction, DepositTransactionOptions, VerifyReceiptEvent, VerifyReceiptEventOptions, VerifyReceiptEventPlatform, DepositEvent, DepositEventOptions, WithdrawEvent, WithdrawEventOptions, RefundEvent, RefundEventOptions, RefundEventPlatform, AppleAppStoreVerifyReceiptEvent, AppleAppStoreVerifyReceiptEventOptions, AppleAppStoreVerifyReceiptEventEnvironment, GooglePlayVerifyReceiptEvent, GooglePlayVerifyReceiptEventOptions, AppleAppStoreContent, AppleAppStoreContentOptions, GooglePlayContent, GooglePlayContentOptions, AppleAppStoreSubscriptionContent, AppleAppStoreSubscriptionContentOptions, GooglePlaySubscriptionContent, GooglePlaySubscriptionContentOptions, GooglePlayRealtimeNotificationMessage, GooglePlayRealtimeNotificationMessageOptions, DailyTransactionHistory, DailyTransactionHistoryOptions, UnusedBalance, UnusedBalanceOptions, CurrentMasterData, };
|
package/money2/model/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CurrentMasterData = exports.UnusedBalance = exports.DailyTransactionHistory = exports.GooglePlayRealtimeNotificationMessage = exports.GooglePlaySubscriptionContent = exports.AppleAppStoreSubscriptionContent = exports.GooglePlayContent = exports.AppleAppStoreContent = exports.GooglePlayVerifyReceiptEvent = exports.AppleAppStoreVerifyReceiptEventEnvironment = exports.AppleAppStoreVerifyReceiptEvent = exports.RefundEventPlatform = exports.RefundEvent = exports.WithdrawEvent = exports.DepositEvent = exports.VerifyReceiptEventPlatform = exports.VerifyReceiptEvent = exports.DepositTransaction = exports.WalletSummary = exports.FakeSettingAcceptFakeReceipt = exports.FakeSetting = exports.GooglePlaySetting = exports.AppleAppStoreSetting = exports.PlatformSetting = exports.ReceiptStore = exports.Receipt = exports.StoreSubscriptionContentModelTriggerExtendMode = exports.StoreSubscriptionContentModel = exports.StoreContentModel = exports.SubscribeTransactionStatusDetail = exports.SubscribeTransactionStore = exports.SubscribeTransaction = exports.NamespaceCurrencyUsagePriority = exports.Namespace = void 0;
|
|
3
|
+
exports.CurrentMasterData = exports.UnusedBalance = exports.DailyTransactionHistory = exports.GooglePlayRealtimeNotificationMessage = exports.GooglePlaySubscriptionContent = exports.AppleAppStoreSubscriptionContent = exports.GooglePlayContent = exports.AppleAppStoreContent = exports.GooglePlayVerifyReceiptEvent = exports.AppleAppStoreVerifyReceiptEventEnvironment = exports.AppleAppStoreVerifyReceiptEvent = exports.RefundEventPlatform = exports.RefundEvent = exports.WithdrawEvent = exports.DepositEvent = exports.VerifyReceiptEventPlatform = exports.VerifyReceiptEvent = exports.DepositTransaction = exports.WalletSummary = exports.FakeSettingAcceptFakeReceipt = exports.FakeSetting = exports.GooglePlaySetting = exports.AppleAppStoreSetting = exports.PlatformSetting = exports.ReceiptStore = exports.Receipt = exports.StoreSubscriptionContentModelTriggerExtendMode = exports.StoreSubscriptionContentModel = exports.StoreContentModel = exports.RefundHistory = exports.SubscribeTransactionStatusDetail = exports.SubscribeTransactionStore = exports.SubscribeTransaction = exports.NamespaceCurrencyUsagePriority = exports.Namespace = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -27,6 +27,8 @@ const SubscribeTransactionStore_1 = require("./enums/SubscribeTransactionStore")
|
|
|
27
27
|
Object.defineProperty(exports, "SubscribeTransactionStore", { enumerable: true, get: function () { return SubscribeTransactionStore_1.SubscribeTransactionStore; } });
|
|
28
28
|
const SubscribeTransactionStatusDetail_1 = require("./enums/SubscribeTransactionStatusDetail");
|
|
29
29
|
Object.defineProperty(exports, "SubscribeTransactionStatusDetail", { enumerable: true, get: function () { return SubscribeTransactionStatusDetail_1.SubscribeTransactionStatusDetail; } });
|
|
30
|
+
const RefundHistory_1 = tslib_1.__importDefault(require("./RefundHistory"));
|
|
31
|
+
exports.RefundHistory = RefundHistory_1.default;
|
|
30
32
|
const StoreContentModel_1 = tslib_1.__importDefault(require("./StoreContentModel"));
|
|
31
33
|
exports.StoreContentModel = StoreContentModel_1.default;
|
|
32
34
|
const StoreSubscriptionContentModel_1 = tslib_1.__importDefault(require("./StoreSubscriptionContentModel"));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAgEhC,oBAhEG,mBAAS,CAgEH;AA9Db,2FAAwF;AAgEpF,+GAhEK,+DAA8B,OAgEL;AA/DlC,0FAA0D;AAgEtD,+BAhEG,8BAAoB,CAgEH;AA9DxB,iFAA8E;AAgE1E,0GAhEK,qDAAyB,OAgEL;AA/D7B,+FAA4F;AAgExF,iHAhEK,mEAAgC,OAgEL;AA/DpC,4EAA4C;AAgExC,wBAhEG,uBAAa,CAgEH;AA9DjB,oFAAoD;AAgEhD,4BAhEG,2BAAiB,CAgEH;AA9DrB,4GAA4E;AAgExE,wCAhEG,uCAA6B,CAgEH;AA9DjC,2HAAwH;AAgEpH,+HAhEK,+FAA8C,OAgEL;AA7DlD,gEAAgC;AAgE5B,kBAhEG,iBAAO,CAgEH;AA9DX,uDAAoD;AAgEhD,6FAhEK,2BAAY,OAgEL;AA/DhB,gFAAgD;AAgE5C,0BAhEG,yBAAe,CAgEH;AA9DnB,0FAA0D;AAgEtD,+BAhEG,8BAAoB,CAgEH;AA9DxB,oFAAoD;AAgEhD,4BAhEG,2BAAiB,CAgEH;AA9DrB,wEAAwC;AAgEpC,sBAhEG,qBAAW,CAgEH;AA9Df,uFAAoF;AAgEhF,6GAhEK,2DAA4B,OAgEL;AA/DhC,4EAA4C;AAgExC,wBAhEG,uBAAa,CAgEH;AA9DjB,sFAAsD;AAgElD,6BAhEG,4BAAkB,CAgEH;AA9DtB,sFAAsD;AAgElD,6BAhEG,4BAAkB,CAgEH;AA9DtB,mFAAgF;AAgE5E,2GAhEK,uDAA0B,OAgEL;AA/D9B,0EAA0C;AAgEtC,uBAhEG,sBAAY,CAgEH;AA9DhB,4EAA4C;AAgExC,wBAhEG,uBAAa,CAgEH;AA9DjB,wEAAwC;AAgEpC,sBAhEG,qBAAW,CAgEH;AA9Df,qEAAkE;AAgE9D,oGAhEK,yCAAmB,OAgEL;AA/DvB,gHAAgF;AAgE5E,0CAhEG,yCAA+B,CAgEH;AA9DnC,mHAAgH;AAgE5G,2HAhEK,uFAA0C,OAgEL;AA/D9C,0GAA0E;AAgEtE,uCAhEG,sCAA4B,CAgEH;AA9DhC,0FAA0D;AAgEtD,+BAhEG,8BAAoB,CAgEH;AA9DxB,oFAAoD;AAgEhD,4BAhEG,2BAAiB,CAgEH;AA9DrB,kHAAkF;AAgE9E,2CAhEG,0CAAgC,CAgEH;AA9DpC,4GAA4E;AAgExE,wCAhEG,uCAA6B,CAgEH;AA9DjC,4HAA4F;AAgExF,gDAhEG,+CAAqC,CAgEH;AA9DzC,gGAAgE;AAgE5D,kCAhEG,iCAAuB,CAgEH;AA9D3B,4EAA4C;AAgExC,wBAhEG,uBAAa,CAgEH;AA9DjB,oFAAoD;AAgEhD,4BAhEG,2BAAiB,CAgEH"}
|
package/money2/model/index.ts
CHANGED
|
@@ -20,6 +20,8 @@ import SubscribeTransaction from "./SubscribeTransaction";
|
|
|
20
20
|
import { SubscribeTransactionOptions } from "./options/SubscribeTransactionOptions";
|
|
21
21
|
import { SubscribeTransactionStore } from "./enums/SubscribeTransactionStore";
|
|
22
22
|
import { SubscribeTransactionStatusDetail } from "./enums/SubscribeTransactionStatusDetail";
|
|
23
|
+
import RefundHistory from "./RefundHistory";
|
|
24
|
+
import { RefundHistoryOptions } from "./options/RefundHistoryOptions";
|
|
23
25
|
import StoreContentModel from "./StoreContentModel";
|
|
24
26
|
import { StoreContentModelOptions } from "./options/StoreContentModelOptions";
|
|
25
27
|
import StoreSubscriptionContentModel from "./StoreSubscriptionContentModel";
|
|
@@ -82,6 +84,8 @@ export {
|
|
|
82
84
|
SubscribeTransactionOptions,
|
|
83
85
|
SubscribeTransactionStore,
|
|
84
86
|
SubscribeTransactionStatusDetail,
|
|
87
|
+
RefundHistory,
|
|
88
|
+
RefundHistoryOptions,
|
|
85
89
|
StoreContentModel,
|
|
86
90
|
StoreContentModelOptions,
|
|
87
91
|
StoreSubscriptionContentModel,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RefundHistoryOptions.js","sourceRoot":"","sources":["RefundHistoryOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
import AppleAppStoreVerifyReceiptEvent from "../AppleAppStoreVerifyReceiptEvent";
|
|
17
|
+
import GooglePlayVerifyReceiptEvent from "../GooglePlayVerifyReceiptEvent";
|
|
18
|
+
import RefundEvent from "../RefundEvent";
|
|
19
|
+
|
|
20
|
+
export interface RefundHistoryOptions {
|
|
21
|
+
userId?: string|null;
|
|
22
|
+
}
|
|
23
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
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
|
+
const func_1 = require("../../core/func");
|
|
19
|
+
class RefundHistoryRef {
|
|
20
|
+
constructor(namespaceName, transactionId) {
|
|
21
|
+
this.namespaceName = namespaceName;
|
|
22
|
+
this.transactionId = transactionId;
|
|
23
|
+
}
|
|
24
|
+
grn() {
|
|
25
|
+
return new func_1.Join(":", [
|
|
26
|
+
"grn",
|
|
27
|
+
"gs2",
|
|
28
|
+
func_1.GetAttr.region().str(),
|
|
29
|
+
func_1.GetAttr.ownerId().str(),
|
|
30
|
+
"money2",
|
|
31
|
+
this.namespaceName,
|
|
32
|
+
"refundHistory",
|
|
33
|
+
this.transactionId,
|
|
34
|
+
]).str();
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
exports.default = RefundHistoryRef;
|
|
38
|
+
//# sourceMappingURL=RefundHistoryRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RefundHistoryRef.js","sourceRoot":"","sources":["RefundHistoryRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,gBAAgB;IAIjC,YACI,aAAqB,EACrB,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EACb,CAAC,GAAG,EACJ;YACD,cAAO,CAAC,OAAO,EACd,CAAC,GAAG,EACJ;YACD,QAAQ;YACR,IAAI,CAAC,aAAa;YAClB,eAAe;YACf,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AAjCD,mCAiCC"}
|
|
@@ -0,0 +1,52 @@
|
|
|
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 {GetAttr, Join} from "../../core/func";
|
|
18
|
+
|
|
19
|
+
export default class RefundHistoryRef {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly transactionId: string;
|
|
22
|
+
|
|
23
|
+
public constructor(
|
|
24
|
+
namespaceName: string,
|
|
25
|
+
transactionId: string,
|
|
26
|
+
) {
|
|
27
|
+
this.namespaceName = namespaceName;
|
|
28
|
+
this.transactionId = transactionId;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public grn(
|
|
32
|
+
): string {
|
|
33
|
+
return new Join(
|
|
34
|
+
":",
|
|
35
|
+
[
|
|
36
|
+
"grn",
|
|
37
|
+
"gs2",
|
|
38
|
+
GetAttr.region(
|
|
39
|
+
).str(
|
|
40
|
+
),
|
|
41
|
+
GetAttr.ownerId(
|
|
42
|
+
).str(
|
|
43
|
+
),
|
|
44
|
+
"money2",
|
|
45
|
+
this.namespaceName,
|
|
46
|
+
"refundHistory",
|
|
47
|
+
this.transactionId,
|
|
48
|
+
],
|
|
49
|
+
).str(
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
}
|
package/money2/ref/index.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import NamespaceRef from "./NamespaceRef";
|
|
2
2
|
import SubscribeTransactionRef from "./SubscribeTransactionRef";
|
|
3
|
+
import RefundHistoryRef from "./RefundHistoryRef";
|
|
3
4
|
import StoreContentModelRef from "./StoreContentModelRef";
|
|
4
5
|
import StoreSubscriptionContentModelRef from "./StoreSubscriptionContentModelRef";
|
|
5
6
|
import MasterDataVersionRef from "./MasterDataVersionRef";
|
|
6
7
|
import DailyTransactionHistoryRef from "./DailyTransactionHistoryRef";
|
|
7
8
|
import UnusedBalanceRef from "./UnusedBalanceRef";
|
|
8
|
-
export { NamespaceRef, SubscribeTransactionRef, StoreContentModelRef, StoreSubscriptionContentModelRef, MasterDataVersionRef, DailyTransactionHistoryRef, UnusedBalanceRef, };
|
|
9
|
+
export { NamespaceRef, SubscribeTransactionRef, RefundHistoryRef, StoreContentModelRef, StoreSubscriptionContentModelRef, MasterDataVersionRef, DailyTransactionHistoryRef, UnusedBalanceRef, };
|
package/money2/ref/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UnusedBalanceRef = exports.DailyTransactionHistoryRef = exports.MasterDataVersionRef = exports.StoreSubscriptionContentModelRef = exports.StoreContentModelRef = exports.SubscribeTransactionRef = exports.NamespaceRef = void 0;
|
|
3
|
+
exports.UnusedBalanceRef = exports.DailyTransactionHistoryRef = exports.MasterDataVersionRef = exports.StoreSubscriptionContentModelRef = exports.StoreContentModelRef = exports.RefundHistoryRef = exports.SubscribeTransactionRef = exports.NamespaceRef = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -21,6 +21,8 @@ const NamespaceRef_1 = tslib_1.__importDefault(require("./NamespaceRef"));
|
|
|
21
21
|
exports.NamespaceRef = NamespaceRef_1.default;
|
|
22
22
|
const SubscribeTransactionRef_1 = tslib_1.__importDefault(require("./SubscribeTransactionRef"));
|
|
23
23
|
exports.SubscribeTransactionRef = SubscribeTransactionRef_1.default;
|
|
24
|
+
const RefundHistoryRef_1 = tslib_1.__importDefault(require("./RefundHistoryRef"));
|
|
25
|
+
exports.RefundHistoryRef = RefundHistoryRef_1.default;
|
|
24
26
|
const StoreContentModelRef_1 = tslib_1.__importDefault(require("./StoreContentModelRef"));
|
|
25
27
|
exports.StoreContentModelRef = StoreContentModelRef_1.default;
|
|
26
28
|
const StoreSubscriptionContentModelRef_1 = tslib_1.__importDefault(require("./StoreSubscriptionContentModelRef"));
|
package/money2/ref/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAUtC,uBAVG,sBAAY,CAUH;AAThB,gGAAgE;AAU5D,kCAVG,iCAAuB,CAUH;AAT3B,kFAAkD;AAU9C,2BAVG,0BAAgB,CAUH;AATpB,0FAA0D;AAUtD,+BAVG,8BAAoB,CAUH;AATxB,kHAAkF;AAU9E,2CAVG,0CAAgC,CAUH;AATpC,0FAA0D;AAUtD,+BAVG,8BAAoB,CAUH;AATxB,sGAAsE;AAUlE,qCAVG,oCAA0B,CAUH;AAT9B,kFAAkD;AAU9C,2BAVG,0BAAgB,CAUH"}
|
package/money2/ref/index.ts
CHANGED
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import NamespaceRef from "./NamespaceRef";
|
|
17
17
|
import SubscribeTransactionRef from "./SubscribeTransactionRef";
|
|
18
|
+
import RefundHistoryRef from "./RefundHistoryRef";
|
|
18
19
|
import StoreContentModelRef from "./StoreContentModelRef";
|
|
19
20
|
import StoreSubscriptionContentModelRef from "./StoreSubscriptionContentModelRef";
|
|
20
21
|
import MasterDataVersionRef from "./MasterDataVersionRef";
|
|
@@ -24,6 +25,7 @@ import UnusedBalanceRef from "./UnusedBalanceRef";
|
|
|
24
25
|
export {
|
|
25
26
|
NamespaceRef,
|
|
26
27
|
SubscribeTransactionRef,
|
|
28
|
+
RefundHistoryRef,
|
|
27
29
|
StoreContentModelRef,
|
|
28
30
|
StoreSubscriptionContentModelRef,
|
|
29
31
|
MasterDataVersionRef,
|