gs2-cdk 1.0.105 → 1.0.109

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.
Files changed (90) hide show
  1. package/idle/model/CategoryModel.d.ts +3 -1
  2. package/idle/model/CategoryModel.js +5 -1
  3. package/idle/model/CategoryModel.js.map +1 -1
  4. package/idle/model/CategoryModel.ts +7 -0
  5. package/idle/model/enums/CategoryModelRewardResetMode.d.ts +5 -0
  6. package/idle/model/enums/CategoryModelRewardResetMode.js +23 -0
  7. package/idle/model/enums/CategoryModelRewardResetMode.js.map +1 -0
  8. package/idle/model/enums/CategoryModelRewardResetMode.ts +23 -0
  9. package/idle/model/index.d.ts +2 -1
  10. package/idle/model/index.js +3 -1
  11. package/idle/model/index.js.map +1 -1
  12. package/idle/model/index.ts +2 -0
  13. package/idle/model/options/CategoryModelOptions.ts +1 -0
  14. package/money2/model/DailyTransactionHistory.d.ts +3 -1
  15. package/money2/model/DailyTransactionHistory.js +9 -1
  16. package/money2/model/DailyTransactionHistory.js.map +1 -1
  17. package/money2/model/DailyTransactionHistory.ts +12 -0
  18. package/money2/model/RefundHistory.d.ts +14 -0
  19. package/money2/model/RefundHistory.js +39 -0
  20. package/money2/model/RefundHistory.js.map +1 -0
  21. package/money2/model/RefundHistory.ts +71 -0
  22. package/money2/model/index.d.ts +3 -1
  23. package/money2/model/index.js +3 -1
  24. package/money2/model/index.js.map +1 -1
  25. package/money2/model/index.ts +4 -0
  26. package/money2/model/options/RefundHistoryOptions.d.ts +3 -0
  27. package/money2/model/options/RefundHistoryOptions.js +3 -0
  28. package/money2/model/options/RefundHistoryOptions.js.map +1 -0
  29. package/money2/model/options/RefundHistoryOptions.ts +23 -0
  30. package/money2/ref/RefundHistoryRef.d.ts +6 -0
  31. package/money2/ref/RefundHistoryRef.js +38 -0
  32. package/money2/ref/RefundHistoryRef.js.map +1 -0
  33. package/money2/ref/RefundHistoryRef.ts +52 -0
  34. package/money2/ref/index.d.ts +2 -1
  35. package/money2/ref/index.js +3 -1
  36. package/money2/ref/index.js.map +1 -1
  37. package/money2/ref/index.ts +2 -0
  38. package/package.json +1 -1
  39. package/ranking2/ref/index.d.ts +1 -5
  40. package/ranking2/ref/index.js +1 -9
  41. package/ranking2/ref/index.js.map +1 -1
  42. package/ranking2/ref/index.ts +0 -8
  43. package/script/ref/NamespaceRef.d.ts +1 -1
  44. package/script/ref/NamespaceRef.js +2 -2
  45. package/script/ref/NamespaceRef.js.map +1 -1
  46. package/script/ref/NamespaceRef.ts +0 -2
  47. package/script/ref/ScriptRef.d.ts +1 -1
  48. package/script/ref/ScriptRef.js +2 -2
  49. package/script/ref/ScriptRef.js.map +1 -1
  50. package/script/ref/ScriptRef.ts +0 -2
  51. package/script/stampSheet/InvokeScript.d.ts +1 -2
  52. package/script/stampSheet/InvokeScript.js +1 -6
  53. package/script/stampSheet/InvokeScript.js.map +1 -1
  54. package/script/stampSheet/InvokeScript.ts +0 -6
  55. package/stamina/ref/NamespaceRef.d.ts +11 -0
  56. package/stamina/ref/NamespaceRef.js +20 -0
  57. package/stamina/ref/NamespaceRef.js.map +1 -1
  58. package/stamina/ref/NamespaceRef.ts +91 -0
  59. package/stamina/ref/StaminaModelRef.d.ts +11 -0
  60. package/stamina/ref/StaminaModelRef.js +20 -0
  61. package/stamina/ref/StaminaModelRef.js.map +1 -1
  62. package/stamina/ref/StaminaModelRef.ts +86 -0
  63. package/stamina/stampSheet/VerifyStaminaMaxValueByUserId.d.ts +16 -0
  64. package/stamina/stampSheet/VerifyStaminaMaxValueByUserId.js +62 -0
  65. package/stamina/stampSheet/VerifyStaminaMaxValueByUserId.js.map +1 -0
  66. package/stamina/stampSheet/VerifyStaminaMaxValueByUserId.ts +82 -0
  67. package/stamina/stampSheet/VerifyStaminaOverflowValueByUserId.d.ts +16 -0
  68. package/stamina/stampSheet/VerifyStaminaOverflowValueByUserId.js +62 -0
  69. package/stamina/stampSheet/VerifyStaminaOverflowValueByUserId.js.map +1 -0
  70. package/stamina/stampSheet/VerifyStaminaOverflowValueByUserId.ts +82 -0
  71. package/stamina/stampSheet/VerifyStaminaRecoverIntervalMinutesByUserId.d.ts +16 -0
  72. package/stamina/stampSheet/VerifyStaminaRecoverIntervalMinutesByUserId.js +62 -0
  73. package/stamina/stampSheet/VerifyStaminaRecoverIntervalMinutesByUserId.js.map +1 -0
  74. package/stamina/stampSheet/VerifyStaminaRecoverIntervalMinutesByUserId.ts +82 -0
  75. package/stamina/stampSheet/VerifyStaminaRecoverValueByUserId.d.ts +16 -0
  76. package/stamina/stampSheet/VerifyStaminaRecoverValueByUserId.js +62 -0
  77. package/stamina/stampSheet/VerifyStaminaRecoverValueByUserId.js.map +1 -0
  78. package/stamina/stampSheet/VerifyStaminaRecoverValueByUserId.ts +82 -0
  79. package/stamina/stampSheet/VerifyStaminaValueByUserId.d.ts +16 -0
  80. package/stamina/stampSheet/VerifyStaminaValueByUserId.js +62 -0
  81. package/stamina/stampSheet/VerifyStaminaValueByUserId.js.map +1 -0
  82. package/stamina/stampSheet/VerifyStaminaValueByUserId.ts +82 -0
  83. package/stamina/stampSheet/enums/StaminaVerifyType.d.ts +9 -0
  84. package/stamina/stampSheet/enums/StaminaVerifyType.js +27 -0
  85. package/stamina/stampSheet/enums/StaminaVerifyType.js.map +1 -0
  86. package/stamina/stampSheet/enums/StaminaVerifyType.ts +27 -0
  87. package/stamina/stampSheet/index.d.ts +6 -1
  88. package/stamina/stampSheet/index.js +11 -1
  89. package/stamina/stampSheet/index.js.map +1 -1
  90. package/stamina/stampSheet/index.ts +10 -0
@@ -1,14 +1,16 @@
1
1
  import AcquireActionList from "./AcquireActionList";
2
2
  import { CategoryModelOptions } from "./options/CategoryModelOptions";
3
+ import { CategoryModelRewardResetMode } from "./enums/CategoryModelRewardResetMode";
3
4
  export default class CategoryModel {
4
5
  private readonly name;
5
6
  private readonly rewardIntervalMinutes;
6
7
  private readonly defaultMaximumIdleMinutes;
8
+ private readonly rewardResetMode;
7
9
  private readonly acquireActions;
8
10
  private readonly metadata;
9
11
  private readonly idlePeriodScheduleId;
10
12
  private readonly receivePeriodScheduleId;
11
- constructor(name: string, rewardIntervalMinutes: number, defaultMaximumIdleMinutes: number, acquireActions: AcquireActionList[], options?: CategoryModelOptions | null);
13
+ constructor(name: string, rewardIntervalMinutes: number, defaultMaximumIdleMinutes: number, rewardResetMode: CategoryModelRewardResetMode, acquireActions: AcquireActionList[], options?: CategoryModelOptions | null);
12
14
  properties(): {
13
15
  [name: string]: any;
14
16
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class CategoryModel {
4
- constructor(name, rewardIntervalMinutes, defaultMaximumIdleMinutes, acquireActions, options = null) {
4
+ constructor(name, rewardIntervalMinutes, defaultMaximumIdleMinutes, rewardResetMode, acquireActions, options = null) {
5
5
  var _a, _b, _c;
6
6
  this.metadata = null;
7
7
  this.idlePeriodScheduleId = null;
@@ -9,6 +9,7 @@ class CategoryModel {
9
9
  this.name = name;
10
10
  this.rewardIntervalMinutes = rewardIntervalMinutes;
11
11
  this.defaultMaximumIdleMinutes = defaultMaximumIdleMinutes;
12
+ this.rewardResetMode = rewardResetMode;
12
13
  this.acquireActions = acquireActions;
13
14
  this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
14
15
  this.idlePeriodScheduleId = (_b = options === null || options === void 0 ? void 0 : options.idlePeriodScheduleId) !== null && _b !== void 0 ? _b : null;
@@ -28,6 +29,9 @@ class CategoryModel {
28
29
  if (this.defaultMaximumIdleMinutes != null) {
29
30
  properties["defaultMaximumIdleMinutes"] = this.defaultMaximumIdleMinutes;
30
31
  }
32
+ if (this.rewardResetMode != null) {
33
+ properties["rewardResetMode"] = this.rewardResetMode;
34
+ }
31
35
  if (this.acquireActions != null) {
32
36
  properties["acquireActions"] = this.acquireActions.map(v => v.properties());
33
37
  }
@@ -1 +1 @@
1
- {"version":3,"file":"CategoryModel.js","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C;CACJ;AA5DD,gCA4DC"}
@@ -16,11 +16,13 @@
16
16
  import { AcquireAction } from "../../core/model";
17
17
  import AcquireActionList from "./AcquireActionList";
18
18
  import { CategoryModelOptions } from "./options/CategoryModelOptions";
19
+ import { CategoryModelRewardResetMode } from "./enums/CategoryModelRewardResetMode";
19
20
 
20
21
  export default class CategoryModel {
21
22
  private readonly name: string;
22
23
  private readonly rewardIntervalMinutes: number;
23
24
  private readonly defaultMaximumIdleMinutes: number;
25
+ private readonly rewardResetMode: CategoryModelRewardResetMode;
24
26
  private readonly acquireActions: AcquireActionList[];
25
27
  private readonly metadata: string|null = null;
26
28
  private readonly idlePeriodScheduleId: string|null = null;
@@ -30,12 +32,14 @@ export default class CategoryModel {
30
32
  name: string,
31
33
  rewardIntervalMinutes: number,
32
34
  defaultMaximumIdleMinutes: number,
35
+ rewardResetMode: CategoryModelRewardResetMode,
33
36
  acquireActions: AcquireActionList[],
34
37
  options: CategoryModelOptions|null = null,
35
38
  ) {
36
39
  this.name = name;
37
40
  this.rewardIntervalMinutes = rewardIntervalMinutes;
38
41
  this.defaultMaximumIdleMinutes = defaultMaximumIdleMinutes;
42
+ this.rewardResetMode = rewardResetMode;
39
43
  this.acquireActions = acquireActions;
40
44
  this.metadata = options?.metadata ?? null;
41
45
  this.idlePeriodScheduleId = options?.idlePeriodScheduleId ?? null;
@@ -58,6 +62,9 @@ export default class CategoryModel {
58
62
  if (this.defaultMaximumIdleMinutes != null) {
59
63
  properties["defaultMaximumIdleMinutes"] = this.defaultMaximumIdleMinutes;
60
64
  }
65
+ if (this.rewardResetMode != null) {
66
+ properties["rewardResetMode"] = this.rewardResetMode;
67
+ }
61
68
  if (this.acquireActions != null) {
62
69
  properties["acquireActions"] = this.acquireActions.map(v => v.properties(
63
70
  ));
@@ -0,0 +1,5 @@
1
+ export declare const CategoryModelRewardResetMode: {
2
+ readonly RESET: "Reset";
3
+ readonly CARRY_OVER: "CarryOver";
4
+ };
5
+ export type CategoryModelRewardResetMode = typeof CategoryModelRewardResetMode[keyof typeof CategoryModelRewardResetMode];
@@ -0,0 +1,23 @@
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
+ exports.CategoryModelRewardResetMode = void 0;
19
+ exports.CategoryModelRewardResetMode = {
20
+ RESET: "Reset",
21
+ CARRY_OVER: "CarryOver",
22
+ };
23
+ //# sourceMappingURL=CategoryModelRewardResetMode.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryModelRewardResetMode.js","sourceRoot":"","sources":["CategoryModelRewardResetMode.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,4BAA4B,GAAG;IACxC,KAAK,EAAE,OAAO;IACd,UAAU,EAAE,WAAW;CACjB,CAAC"}
@@ -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
+
17
+
18
+
19
+ export const CategoryModelRewardResetMode = {
20
+ RESET: "Reset",
21
+ CARRY_OVER: "CarryOver",
22
+ } as const;
23
+ export type CategoryModelRewardResetMode = typeof CategoryModelRewardResetMode[keyof typeof CategoryModelRewardResetMode];
@@ -2,6 +2,7 @@ import Namespace from "./Namespace";
2
2
  import { NamespaceOptions } from "./options/NamespaceOptions";
3
3
  import CategoryModel from "./CategoryModel";
4
4
  import { CategoryModelOptions } from "./options/CategoryModelOptions";
5
+ import { CategoryModelRewardResetMode } from "./enums/CategoryModelRewardResetMode";
5
6
  import VerifyActionResult from "./VerifyActionResult";
6
7
  import { VerifyActionResultOptions } from "./options/VerifyActionResultOptions";
7
8
  import ConsumeActionResult from "./ConsumeActionResult";
@@ -13,4 +14,4 @@ import { TransactionResultOptions } from "./options/TransactionResultOptions";
13
14
  import AcquireActionList from "./AcquireActionList";
14
15
  import { AcquireActionListOptions } from "./options/AcquireActionListOptions";
15
16
  import CurrentMasterData from "./CurrentMasterData";
16
- export { Namespace, NamespaceOptions, CategoryModel, CategoryModelOptions, VerifyActionResult, VerifyActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, AcquireActionResult, AcquireActionResultOptions, TransactionResult, TransactionResultOptions, AcquireActionList, AcquireActionListOptions, CurrentMasterData, };
17
+ export { Namespace, NamespaceOptions, CategoryModel, CategoryModelOptions, CategoryModelRewardResetMode, VerifyActionResult, VerifyActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, AcquireActionResult, AcquireActionResultOptions, TransactionResult, TransactionResultOptions, AcquireActionList, AcquireActionListOptions, CurrentMasterData, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CurrentMasterData = exports.AcquireActionList = exports.TransactionResult = exports.AcquireActionResult = exports.ConsumeActionResult = exports.VerifyActionResult = exports.CategoryModel = exports.Namespace = void 0;
3
+ exports.CurrentMasterData = exports.AcquireActionList = exports.TransactionResult = exports.AcquireActionResult = exports.ConsumeActionResult = exports.VerifyActionResult = exports.CategoryModelRewardResetMode = exports.CategoryModel = 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
@@ -21,6 +21,8 @@ const Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
21
21
  exports.Namespace = Namespace_1.default;
22
22
  const CategoryModel_1 = tslib_1.__importDefault(require("./CategoryModel"));
23
23
  exports.CategoryModel = CategoryModel_1.default;
24
+ const CategoryModelRewardResetMode_1 = require("./enums/CategoryModelRewardResetMode");
25
+ Object.defineProperty(exports, "CategoryModelRewardResetMode", { enumerable: true, get: function () { return CategoryModelRewardResetMode_1.CategoryModelRewardResetMode; } });
24
26
  const VerifyActionResult_1 = tslib_1.__importDefault(require("./VerifyActionResult"));
25
27
  exports.VerifyActionResult = VerifyActionResult_1.default;
26
28
  const ConsumeActionResult_1 = tslib_1.__importDefault(require("./ConsumeActionResult"));
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAiBhC,oBAjBG,mBAAS,CAiBH;AAfb,4EAA4C;AAiBxC,wBAjBG,uBAAa,CAiBH;AAfjB,sFAAsD;AAiBlD,6BAjBG,4BAAkB,CAiBH;AAftB,wFAAwD;AAiBpD,8BAjBG,6BAAmB,CAiBH;AAfvB,wFAAwD;AAiBpD,8BAjBG,6BAAmB,CAiBH;AAfvB,oFAAoD;AAiBhD,4BAjBG,2BAAiB,CAiBH;AAfrB,oFAAoD;AAiBhD,4BAjBG,2BAAiB,CAiBH;AAfrB,oFAAoD;AAiBhD,4BAjBG,2BAAiB,CAiBH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAkBhC,oBAlBG,mBAAS,CAkBH;AAhBb,4EAA4C;AAkBxC,wBAlBG,uBAAa,CAkBH;AAhBjB,uFAAoF;AAkBhF,6GAlBK,2DAA4B,OAkBL;AAjBhC,sFAAsD;AAkBlD,6BAlBG,4BAAkB,CAkBH;AAhBtB,wFAAwD;AAkBpD,8BAlBG,6BAAmB,CAkBH;AAhBvB,wFAAwD;AAkBpD,8BAlBG,6BAAmB,CAkBH;AAhBvB,oFAAoD;AAkBhD,4BAlBG,2BAAiB,CAkBH;AAhBrB,oFAAoD;AAkBhD,4BAlBG,2BAAiB,CAkBH;AAhBrB,oFAAoD;AAkBhD,4BAlBG,2BAAiB,CAkBH"}
@@ -17,6 +17,7 @@ import Namespace from "./Namespace";
17
17
  import { NamespaceOptions } from "./options/NamespaceOptions";
18
18
  import CategoryModel from "./CategoryModel";
19
19
  import { CategoryModelOptions } from "./options/CategoryModelOptions";
20
+ import { CategoryModelRewardResetMode } from "./enums/CategoryModelRewardResetMode";
20
21
  import VerifyActionResult from "./VerifyActionResult";
21
22
  import { VerifyActionResultOptions } from "./options/VerifyActionResultOptions";
22
23
  import ConsumeActionResult from "./ConsumeActionResult";
@@ -34,6 +35,7 @@ export {
34
35
  NamespaceOptions,
35
36
  CategoryModel,
36
37
  CategoryModelOptions,
38
+ CategoryModelRewardResetMode,
37
39
  VerifyActionResult,
38
40
  VerifyActionResultOptions,
39
41
  ConsumeActionResult,
@@ -15,6 +15,7 @@
15
15
  */
16
16
  import { AcquireAction } from "../../../core/model";
17
17
  import AcquireActionList from "../AcquireActionList";
18
+ import { CategoryModelRewardResetMode } from "../enums/CategoryModelRewardResetMode";
18
19
 
19
20
  export interface CategoryModelOptions {
20
21
  metadata?: string|null;
@@ -6,8 +6,10 @@ export default class DailyTransactionHistory {
6
6
  private readonly currency;
7
7
  private readonly depositAmount;
8
8
  private readonly withdrawAmount;
9
+ private readonly issueCount;
10
+ private readonly consumeCount;
9
11
  private readonly revision;
10
- constructor(year: number, month: number, day: number, currency: string, depositAmount: number, withdrawAmount: number, options?: DailyTransactionHistoryOptions | null);
12
+ constructor(year: number, month: number, day: number, currency: string, depositAmount: number, withdrawAmount: number, issueCount: number, consumeCount: number, options?: DailyTransactionHistoryOptions | null);
11
13
  properties(): {
12
14
  [name: string]: any;
13
15
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class DailyTransactionHistory {
4
- constructor(year, month, day, currency, depositAmount, withdrawAmount, options = null) {
4
+ constructor(year, month, day, currency, depositAmount, withdrawAmount, issueCount, consumeCount, options = null) {
5
5
  var _a;
6
6
  this.revision = null;
7
7
  this.year = year;
@@ -10,6 +10,8 @@ class DailyTransactionHistory {
10
10
  this.currency = currency;
11
11
  this.depositAmount = depositAmount;
12
12
  this.withdrawAmount = withdrawAmount;
13
+ this.issueCount = issueCount;
14
+ this.consumeCount = consumeCount;
13
15
  this.revision = (_a = options === null || options === void 0 ? void 0 : options.revision) !== null && _a !== void 0 ? _a : null;
14
16
  }
15
17
  properties() {
@@ -32,6 +34,12 @@ class DailyTransactionHistory {
32
34
  if (this.withdrawAmount != null) {
33
35
  properties["withdrawAmount"] = this.withdrawAmount;
34
36
  }
37
+ if (this.issueCount != null) {
38
+ properties["issueCount"] = this.issueCount;
39
+ }
40
+ if (this.consumeCount != null) {
41
+ properties["consumeCount"] = this.consumeCount;
42
+ }
35
43
  return properties;
36
44
  }
37
45
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DailyTransactionHistory.js","sourceRoot":"","sources":["DailyTransactionHistory.ts"],"names":[],"mappings":";;AAiBA,MAAqB,uBAAuB;IASxC,YACI,IAAY,EACZ,KAAa,EACb,GAAW,EACX,QAAgB,EAChB,aAAqB,EACrB,cAAsB,EACtB,UAA+C,IAAI;;QATtC,aAAQ,GAAgB,IAAI,CAAC;QAW1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,QAAQ,G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SACtD;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,EAAE;YAC3B,UAAU,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC;SAClD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAhED,0CAgEC"}
@@ -22,6 +22,8 @@ export default class DailyTransactionHistory {
22
22
  private readonly currency: string;
23
23
  private readonly depositAmount: number;
24
24
  private readonly withdrawAmount: number;
25
+ private readonly issueCount: number;
26
+ private readonly consumeCount: number;
25
27
  private readonly revision: number|null = null;
26
28
 
27
29
  public constructor(
@@ -31,6 +33,8 @@ export default class DailyTransactionHistory {
31
33
  currency: string,
32
34
  depositAmount: number,
33
35
  withdrawAmount: number,
36
+ issueCount: number,
37
+ consumeCount: number,
34
38
  options: DailyTransactionHistoryOptions|null = null,
35
39
  ) {
36
40
  this.year = year;
@@ -39,6 +43,8 @@ export default class DailyTransactionHistory {
39
43
  this.currency = currency;
40
44
  this.depositAmount = depositAmount;
41
45
  this.withdrawAmount = withdrawAmount;
46
+ this.issueCount = issueCount;
47
+ this.consumeCount = consumeCount;
42
48
  this.revision = options?.revision ?? null;
43
49
  }
44
50
 
@@ -64,6 +70,12 @@ export default class DailyTransactionHistory {
64
70
  if (this.withdrawAmount != null) {
65
71
  properties["withdrawAmount"] = this.withdrawAmount;
66
72
  }
73
+ if (this.issueCount != null) {
74
+ properties["issueCount"] = this.issueCount;
75
+ }
76
+ if (this.consumeCount != null) {
77
+ properties["consumeCount"] = this.consumeCount;
78
+ }
67
79
 
68
80
  return properties;
69
81
  }
@@ -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
+ }
@@ -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, };
@@ -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;AA8DhC,oBA9DG,mBAAS,CA8DH;AA5Db,2FAAwF;AA8DpF,+GA9DK,+DAA8B,OA8DL;AA7DlC,0FAA0D;AA8DtD,+BA9DG,8BAAoB,CA8DH;AA5DxB,iFAA8E;AA8D1E,0GA9DK,qDAAyB,OA8DL;AA7D7B,+FAA4F;AA8DxF,iHA9DK,mEAAgC,OA8DL;AA7DpC,oFAAoD;AA8DhD,4BA9DG,2BAAiB,CA8DH;AA5DrB,4GAA4E;AA8DxE,wCA9DG,uCAA6B,CA8DH;AA5DjC,2HAAwH;AA8DpH,+HA9DK,+FAA8C,OA8DL;AA3DlD,gEAAgC;AA8D5B,kBA9DG,iBAAO,CA8DH;AA5DX,uDAAoD;AA8DhD,6FA9DK,2BAAY,OA8DL;AA7DhB,gFAAgD;AA8D5C,0BA9DG,yBAAe,CA8DH;AA5DnB,0FAA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,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"}
@@ -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,3 @@
1
+ export interface RefundHistoryOptions {
2
+ userId?: string | null;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=RefundHistoryOptions.js.map
@@ -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,6 @@
1
+ export default class RefundHistoryRef {
2
+ private readonly namespaceName;
3
+ private readonly transactionId;
4
+ constructor(namespaceName: string, transactionId: string);
5
+ grn(): string;
6
+ }
@@ -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"}