gs2-cdk 1.0.95 → 1.0.97

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 (139) hide show
  1. package/account/model/OpenIdConnectSetting.d.ts +2 -0
  2. package/account/model/OpenIdConnectSetting.js +11 -1
  3. package/account/model/OpenIdConnectSetting.js.map +1 -1
  4. package/account/model/OpenIdConnectSetting.ts +12 -0
  5. package/account/model/ScopeValue.d.ts +9 -0
  6. package/account/model/ScopeValue.js +22 -0
  7. package/account/model/ScopeValue.js.map +1 -0
  8. package/account/model/ScopeValue.ts +43 -0
  9. package/account/model/TakeOverTypeModel.js.map +1 -1
  10. package/account/model/TakeOverTypeModel.ts +1 -0
  11. package/account/model/index.d.ts +3 -1
  12. package/account/model/index.js +3 -1
  13. package/account/model/index.js.map +1 -1
  14. package/account/model/index.ts +4 -0
  15. package/account/model/options/OpenIdConnectSettingOptions.d.ts +3 -0
  16. package/account/model/options/OpenIdConnectSettingOptions.js +0 -15
  17. package/account/model/options/OpenIdConnectSettingOptions.js.map +1 -1
  18. package/account/model/options/OpenIdConnectSettingOptions.ts +3 -0
  19. package/account/model/options/ScopeValueOptions.d.ts +3 -0
  20. package/account/model/options/ScopeValueOptions.js +18 -0
  21. package/account/model/options/ScopeValueOptions.js.map +1 -0
  22. package/account/model/options/ScopeValueOptions.ts +20 -0
  23. package/account/model/options/TakeOverTypeModelOptions.ts +1 -0
  24. package/distributor/model/BatchRequestPayload.d.ts +12 -0
  25. package/distributor/model/BatchRequestPayload.js +28 -0
  26. package/distributor/model/BatchRequestPayload.js.map +1 -0
  27. package/distributor/model/BatchRequestPayload.ts +57 -0
  28. package/distributor/model/BatchResultPayload.d.ts +10 -0
  29. package/distributor/model/BatchResultPayload.js +24 -0
  30. package/distributor/model/BatchResultPayload.js.map +1 -0
  31. package/distributor/model/BatchResultPayload.ts +50 -0
  32. package/distributor/model/enum/BatchRequestPayloadService.d.ts +52 -0
  33. package/distributor/model/enum/BatchRequestPayloadService.js +70 -0
  34. package/distributor/model/enum/BatchRequestPayloadService.js.map +1 -0
  35. package/distributor/model/enum/BatchRequestPayloadService.ts +70 -0
  36. package/distributor/model/index.d.ts +6 -1
  37. package/distributor/model/index.js +7 -1
  38. package/distributor/model/index.js.map +1 -1
  39. package/distributor/model/index.ts +10 -0
  40. package/distributor/model/options/BatchRequestPayloadOptions.d.ts +2 -0
  41. package/distributor/model/options/BatchRequestPayloadOptions.js +3 -0
  42. package/distributor/model/options/BatchRequestPayloadOptions.js.map +1 -0
  43. package/distributor/model/options/BatchRequestPayloadOptions.ts +20 -0
  44. package/distributor/model/options/BatchResultPayloadOptions.d.ts +2 -0
  45. package/distributor/model/options/BatchResultPayloadOptions.js +18 -0
  46. package/distributor/model/options/BatchResultPayloadOptions.js.map +1 -0
  47. package/distributor/model/options/BatchResultPayloadOptions.ts +19 -0
  48. package/guild/model/Inbox.d.ts +1 -0
  49. package/guild/model/Inbox.js +7 -2
  50. package/guild/model/Inbox.js.map +1 -1
  51. package/guild/model/Inbox.ts +7 -0
  52. package/guild/model/Member.d.ts +1 -0
  53. package/guild/model/Member.js +6 -0
  54. package/guild/model/Member.js.map +1 -1
  55. package/guild/model/Member.ts +5 -0
  56. package/guild/model/ReceiveMemberRequest.d.ts +1 -0
  57. package/guild/model/ReceiveMemberRequest.js +6 -0
  58. package/guild/model/ReceiveMemberRequest.js.map +1 -1
  59. package/guild/model/ReceiveMemberRequest.ts +5 -0
  60. package/guild/model/options/GuildOptions.d.ts +2 -0
  61. package/guild/model/options/GuildOptions.ts +2 -0
  62. package/guild/model/options/InboxOptions.d.ts +2 -0
  63. package/guild/model/options/InboxOptions.js +0 -15
  64. package/guild/model/options/InboxOptions.js.map +1 -1
  65. package/guild/model/options/InboxOptions.ts +2 -0
  66. package/guild/model/options/MemberOptions.d.ts +1 -0
  67. package/guild/model/options/MemberOptions.ts +1 -0
  68. package/guild/model/options/ReceiveMemberRequestOptions.d.ts +1 -0
  69. package/guild/model/options/ReceiveMemberRequestOptions.ts +1 -0
  70. package/mission/model/CounterScopeModel.d.ts +4 -0
  71. package/mission/model/CounterScopeModel.js +17 -1
  72. package/mission/model/CounterScopeModel.js.map +1 -1
  73. package/mission/model/CounterScopeModel.ts +26 -0
  74. package/mission/model/MissionGroupModel.d.ts +4 -0
  75. package/mission/model/MissionGroupModel.js +20 -1
  76. package/mission/model/MissionGroupModel.js.map +1 -1
  77. package/mission/model/MissionGroupModel.ts +30 -0
  78. package/mission/model/enum/CounterScopeModelResetType.d.ts +1 -0
  79. package/mission/model/enum/CounterScopeModelResetType.js +1 -0
  80. package/mission/model/enum/CounterScopeModelResetType.js.map +1 -1
  81. package/mission/model/enum/CounterScopeModelResetType.ts +1 -0
  82. package/mission/model/enum/MissionGroupModelResetType.d.ts +1 -0
  83. package/mission/model/enum/MissionGroupModelResetType.js +1 -0
  84. package/mission/model/enum/MissionGroupModelResetType.js.map +1 -1
  85. package/mission/model/enum/MissionGroupModelResetType.ts +1 -0
  86. package/mission/model/enum/MissionTaskModelTargetResetType.d.ts +1 -0
  87. package/mission/model/enum/MissionTaskModelTargetResetType.js +1 -0
  88. package/mission/model/enum/MissionTaskModelTargetResetType.js.map +1 -1
  89. package/mission/model/enum/MissionTaskModelTargetResetType.ts +1 -0
  90. package/mission/model/enum/ScopedValueResetType.d.ts +1 -0
  91. package/mission/model/enum/ScopedValueResetType.js +1 -0
  92. package/mission/model/enum/ScopedValueResetType.js.map +1 -1
  93. package/mission/model/enum/ScopedValueResetType.ts +1 -0
  94. package/mission/model/enum/TargetCounterModelResetType.d.ts +1 -0
  95. package/mission/model/enum/TargetCounterModelResetType.js +1 -0
  96. package/mission/model/enum/TargetCounterModelResetType.js.map +1 -1
  97. package/mission/model/enum/TargetCounterModelResetType.ts +1 -0
  98. package/mission/model/index.d.ts +3 -1
  99. package/mission/model/index.js.map +1 -1
  100. package/mission/model/index.ts +4 -0
  101. package/mission/model/options/CounterScopeModelOptions.d.ts +2 -0
  102. package/mission/model/options/CounterScopeModelOptions.ts +2 -0
  103. package/mission/model/options/CounterScopeModelResetTypeIsDaysOptions.d.ts +2 -0
  104. package/mission/model/options/CounterScopeModelResetTypeIsDaysOptions.js +3 -0
  105. package/mission/model/options/CounterScopeModelResetTypeIsDaysOptions.js.map +1 -0
  106. package/mission/model/options/CounterScopeModelResetTypeIsDaysOptions.ts +22 -0
  107. package/mission/model/options/MissionGroupModelOptions.d.ts +2 -0
  108. package/mission/model/options/MissionGroupModelOptions.ts +2 -0
  109. package/mission/model/options/MissionGroupModelResetTypeIsDaysOptions.d.ts +6 -0
  110. package/mission/model/options/MissionGroupModelResetTypeIsDaysOptions.js +3 -0
  111. package/mission/model/options/MissionGroupModelResetTypeIsDaysOptions.js.map +1 -0
  112. package/mission/model/options/MissionGroupModelResetTypeIsDaysOptions.ts +27 -0
  113. package/mission/stampSheet/enum/CounterResetType.d.ts +1 -0
  114. package/mission/stampSheet/enum/CounterResetType.js +1 -0
  115. package/mission/stampSheet/enum/CounterResetType.js.map +1 -1
  116. package/mission/stampSheet/enum/CounterResetType.ts +1 -0
  117. package/package.json +1 -1
  118. package/ranking2/model/ClusterRankingModel.d.ts +3 -1
  119. package/ranking2/model/ClusterRankingModel.js +5 -1
  120. package/ranking2/model/ClusterRankingModel.js.map +1 -1
  121. package/ranking2/model/ClusterRankingModel.ts +7 -0
  122. package/ranking2/model/GlobalRankingModel.d.ts +3 -1
  123. package/ranking2/model/GlobalRankingModel.js +5 -1
  124. package/ranking2/model/GlobalRankingModel.js.map +1 -1
  125. package/ranking2/model/GlobalRankingModel.ts +7 -0
  126. package/ranking2/model/enum/ClusterRankingModelRewardCalculationIndex.d.ts +5 -0
  127. package/ranking2/model/enum/ClusterRankingModelRewardCalculationIndex.js +23 -0
  128. package/ranking2/model/enum/ClusterRankingModelRewardCalculationIndex.js.map +1 -0
  129. package/ranking2/model/enum/ClusterRankingModelRewardCalculationIndex.ts +23 -0
  130. package/ranking2/model/enum/GlobalRankingModelRewardCalculationIndex.d.ts +5 -0
  131. package/ranking2/model/enum/GlobalRankingModelRewardCalculationIndex.js +23 -0
  132. package/ranking2/model/enum/GlobalRankingModelRewardCalculationIndex.js.map +1 -0
  133. package/ranking2/model/enum/GlobalRankingModelRewardCalculationIndex.ts +23 -0
  134. package/ranking2/model/index.d.ts +3 -1
  135. package/ranking2/model/index.js +5 -1
  136. package/ranking2/model/index.js.map +1 -1
  137. package/ranking2/model/index.ts +4 -0
  138. package/ranking2/model/options/ClusterRankingModelOptions.ts +1 -0
  139. package/ranking2/model/options/GlobalRankingModelOptions.ts +1 -0
@@ -0,0 +1,27 @@
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 TargetCounterModel from "../TargetCounterModel";
17
+ import { VerifyAction } from "../../../core/model";
18
+ import { AcquireAction } from "../../../core/model";
19
+ import MissionTaskModel from "../MissionTaskModel";
20
+ import { MissionGroupModelResetType } from "../enum/MissionGroupModelResetType";
21
+ import { MissionGroupModelResetDayOfWeek } from "../enum/MissionGroupModelResetDayOfWeek";
22
+
23
+ export interface MissionGroupModelResetTypeIsDaysOptions {
24
+ metadata?: string|null;
25
+ tasks?: MissionTaskModel[]|null;
26
+ completeNotificationNamespaceId?: string|null;
27
+ }
@@ -3,5 +3,6 @@ export declare const CounterResetType: {
3
3
  readonly DAILY: "daily";
4
4
  readonly WEEKLY: "weekly";
5
5
  readonly MONTHLY: "monthly";
6
+ readonly DAYS: "days";
6
7
  };
7
8
  export type CounterResetType = typeof CounterResetType[keyof typeof CounterResetType];
@@ -21,5 +21,6 @@ exports.CounterResetType = {
21
21
  DAILY: "daily",
22
22
  WEEKLY: "weekly",
23
23
  MONTHLY: "monthly",
24
+ DAYS: "days",
24
25
  };
25
26
  //# sourceMappingURL=CounterResetType.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"CounterResetType.js","sourceRoot":"","sources":["CounterResetType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,gBAAgB,GAAG;IAC5B,SAAS,EAAE,UAAU;IACrB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;CACZ,CAAC"}
1
+ {"version":3,"file":"CounterResetType.js","sourceRoot":"","sources":["CounterResetType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,gBAAgB,GAAG;IAC5B,SAAS,EAAE,UAAU;IACrB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,IAAI,EAAE,MAAM;CACN,CAAC"}
@@ -21,5 +21,6 @@ export const CounterResetType = {
21
21
  DAILY: "daily",
22
22
  WEEKLY: "weekly",
23
23
  MONTHLY: "monthly",
24
+ DAYS: "days",
24
25
  } as const;
25
26
  export type CounterResetType = typeof CounterResetType[keyof typeof CounterResetType];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.95",
3
+ "version": "1.0.97",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -1,18 +1,20 @@
1
1
  import { ClusterRankingModelOptions } from "./options/ClusterRankingModelOptions";
2
2
  import { ClusterRankingModelClusterType } from "./enum/ClusterRankingModelClusterType";
3
3
  import { ClusterRankingModelOrderDirection } from "./enum/ClusterRankingModelOrderDirection";
4
+ import { ClusterRankingModelRewardCalculationIndex } from "./enum/ClusterRankingModelRewardCalculationIndex";
4
5
  export default class ClusterRankingModel {
5
6
  private readonly name;
6
7
  private readonly clusterType;
7
8
  private readonly sum;
8
9
  private readonly orderDirection;
10
+ private readonly rewardCalculationIndex;
9
11
  private readonly metadata;
10
12
  private readonly minimumValue;
11
13
  private readonly maximumValue;
12
14
  private readonly entryPeriodEventId;
13
15
  private readonly rankingRewards;
14
16
  private readonly accessPeriodEventId;
15
- constructor(name: string, clusterType: ClusterRankingModelClusterType, sum: boolean, orderDirection: ClusterRankingModelOrderDirection, options?: ClusterRankingModelOptions | null);
17
+ constructor(name: string, clusterType: ClusterRankingModelClusterType, sum: boolean, orderDirection: ClusterRankingModelOrderDirection, rewardCalculationIndex: ClusterRankingModelRewardCalculationIndex, options?: ClusterRankingModelOptions | null);
16
18
  properties(): {
17
19
  [name: string]: any;
18
20
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class ClusterRankingModel {
4
- constructor(name, clusterType, sum, orderDirection, options = null) {
4
+ constructor(name, clusterType, sum, orderDirection, rewardCalculationIndex, options = null) {
5
5
  var _a, _b, _c, _d, _e, _f;
6
6
  this.metadata = null;
7
7
  this.minimumValue = null;
@@ -13,6 +13,7 @@ class ClusterRankingModel {
13
13
  this.clusterType = clusterType;
14
14
  this.sum = sum;
15
15
  this.orderDirection = orderDirection;
16
+ this.rewardCalculationIndex = rewardCalculationIndex;
16
17
  this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
17
18
  this.minimumValue = (_b = options === null || options === void 0 ? void 0 : options.minimumValue) !== null && _b !== void 0 ? _b : null;
18
19
  this.maximumValue = (_c = options === null || options === void 0 ? void 0 : options.maximumValue) !== null && _c !== void 0 ? _c : null;
@@ -52,6 +53,9 @@ class ClusterRankingModel {
52
53
  if (this.accessPeriodEventId != null) {
53
54
  properties["accessPeriodEventId"] = this.accessPeriodEventId;
54
55
  }
56
+ if (this.rewardCalculationIndex != null) {
57
+ properties["rewardCalculationIndex"] = this.rewardCalculationIndex;
58
+ }
55
59
  return properties;
56
60
  }
57
61
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ClusterRankingModel.js","sourceRoot":"","sources":["ClusterRankingModel.ts"],"names":[],"mappings":";;AAqBA,MAAqB,mBAAmB;IAYpC,YACI,IAAY,EACZ,WAA2C,EAC3C,GAAY,EACZ,cAAiD,EACjD,UAA2C,IAAI;;QAZlC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,iBAAY,GAAgB,IAAI,CAAC;QACjC,iBAAY,GAAgB,IAAI,CAAC;QACjC,uBAAkB,GAAgB,IAAI,CAAC;QACvC,mBAAc,GAAyB,IAAI,CAAC;QAC5C,wBAAmB,GAAgB,IAAI,CAAC;QASrD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,YAAY,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY,mCAAI,IAAI,CAAC;QAClD,IAAI,CAAC,YAAY,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY,mCAAI,IAAI,CAAC;QAClD,IAAI,CAAC,kBAAkB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB,mCAAI,IAAI,CAAC;QAC9D,IAAI,CAAC,cAAc,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,mCAAI,IAAI,CAAC;QACtD,IAAI,CAAC,mBAAmB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,mBAAmB,mC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AAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACnE,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,mBAAmB,IAAI,IAAI,EAAE;YAClC,UAAU,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,mBAAmB,CAAC;SAChE;QACD,IAAI,IAAI,CAAC,sBAAsB,IAAI,IAAI,EAAE;YACrC,UAAU,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,sBAAsB,CAAC;SACtE;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA3ED,sCA2EC"}
@@ -18,12 +18,14 @@ import RankingReward from "./RankingReward";
18
18
  import { ClusterRankingModelOptions } from "./options/ClusterRankingModelOptions";
19
19
  import { ClusterRankingModelClusterType } from "./enum/ClusterRankingModelClusterType";
20
20
  import { ClusterRankingModelOrderDirection } from "./enum/ClusterRankingModelOrderDirection";
21
+ import { ClusterRankingModelRewardCalculationIndex } from "./enum/ClusterRankingModelRewardCalculationIndex";
21
22
 
22
23
  export default class ClusterRankingModel {
23
24
  private readonly name: string;
24
25
  private readonly clusterType: ClusterRankingModelClusterType;
25
26
  private readonly sum: boolean;
26
27
  private readonly orderDirection: ClusterRankingModelOrderDirection;
28
+ private readonly rewardCalculationIndex: ClusterRankingModelRewardCalculationIndex;
27
29
  private readonly metadata: string|null = null;
28
30
  private readonly minimumValue: number|null = null;
29
31
  private readonly maximumValue: number|null = null;
@@ -36,12 +38,14 @@ export default class ClusterRankingModel {
36
38
  clusterType: ClusterRankingModelClusterType,
37
39
  sum: boolean,
38
40
  orderDirection: ClusterRankingModelOrderDirection,
41
+ rewardCalculationIndex: ClusterRankingModelRewardCalculationIndex,
39
42
  options: ClusterRankingModelOptions|null = null,
40
43
  ) {
41
44
  this.name = name;
42
45
  this.clusterType = clusterType;
43
46
  this.sum = sum;
44
47
  this.orderDirection = orderDirection;
48
+ this.rewardCalculationIndex = rewardCalculationIndex;
45
49
  this.metadata = options?.metadata ?? null;
46
50
  this.minimumValue = options?.minimumValue ?? null;
47
51
  this.maximumValue = options?.maximumValue ?? null;
@@ -85,6 +89,9 @@ export default class ClusterRankingModel {
85
89
  if (this.accessPeriodEventId != null) {
86
90
  properties["accessPeriodEventId"] = this.accessPeriodEventId;
87
91
  }
92
+ if (this.rewardCalculationIndex != null) {
93
+ properties["rewardCalculationIndex"] = this.rewardCalculationIndex;
94
+ }
88
95
 
89
96
  return properties;
90
97
  }
@@ -1,16 +1,18 @@
1
1
  import { GlobalRankingModelOptions } from "./options/GlobalRankingModelOptions";
2
2
  import { GlobalRankingModelOrderDirection } from "./enum/GlobalRankingModelOrderDirection";
3
+ import { GlobalRankingModelRewardCalculationIndex } from "./enum/GlobalRankingModelRewardCalculationIndex";
3
4
  export default class GlobalRankingModel {
4
5
  private readonly name;
5
6
  private readonly sum;
6
7
  private readonly orderDirection;
8
+ private readonly rewardCalculationIndex;
7
9
  private readonly metadata;
8
10
  private readonly minimumValue;
9
11
  private readonly maximumValue;
10
12
  private readonly entryPeriodEventId;
11
13
  private readonly rankingRewards;
12
14
  private readonly accessPeriodEventId;
13
- constructor(name: string, sum: boolean, orderDirection: GlobalRankingModelOrderDirection, options?: GlobalRankingModelOptions | null);
15
+ constructor(name: string, sum: boolean, orderDirection: GlobalRankingModelOrderDirection, rewardCalculationIndex: GlobalRankingModelRewardCalculationIndex, options?: GlobalRankingModelOptions | null);
14
16
  properties(): {
15
17
  [name: string]: any;
16
18
  };
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class GlobalRankingModel {
4
- constructor(name, sum, orderDirection, options = null) {
4
+ constructor(name, sum, orderDirection, rewardCalculationIndex, options = null) {
5
5
  var _a, _b, _c, _d, _e, _f;
6
6
  this.metadata = null;
7
7
  this.minimumValue = null;
@@ -12,6 +12,7 @@ class GlobalRankingModel {
12
12
  this.name = name;
13
13
  this.sum = sum;
14
14
  this.orderDirection = orderDirection;
15
+ this.rewardCalculationIndex = rewardCalculationIndex;
15
16
  this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
16
17
  this.minimumValue = (_b = options === null || options === void 0 ? void 0 : options.minimumValue) !== null && _b !== void 0 ? _b : null;
17
18
  this.maximumValue = (_c = options === null || options === void 0 ? void 0 : options.maximumValue) !== null && _c !== void 0 ? _c : null;
@@ -48,6 +49,9 @@ class GlobalRankingModel {
48
49
  if (this.accessPeriodEventId != null) {
49
50
  properties["accessPeriodEventId"] = this.accessPeriodEventId;
50
51
  }
52
+ if (this.rewardCalculationIndex != null) {
53
+ properties["rewardCalculationIndex"] = this.rewardCalculationIndex;
54
+ }
51
55
  return properties;
52
56
  }
53
57
  }
@@ -1 +1 @@
1
- {"version":3,"file":"GlobalRankingModel.js","sourceRoot":"","sources":["GlobalRankingModel.ts"],"names":[],"mappings":";;AAoBA,MAAqB,kBAAkB;IAWnC,YACI,IAAY,EACZ,GAAY,EACZ,cAAgD,EAChD,UAA0C,IAAI;;QAXjC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,iBAAY,GAAgB,IAAI,CAAC;QACjC,iBAAY,GAAgB,IAAI,CAAC;QACjC,uBAAkB,GAAgB,IAAI,CAAC;QACvC,mBAAc,GAAyB,IAAI,CAAC;QAC5C,wBAAmB,GAAgB,IAAI,CAAC;QAQrD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,GAAG,GAAG,GAAG,CAAC;QACf,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,YAAY,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY,mCAAI,IAAI,CAAC;QAClD,IAAI,CAAC,YAAY,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,YAAY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C,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACnE,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,mBAAmB,IAAI,IAAI,EAAE;YAClC,UAAU,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,mBAAmB,CAAC;SAChE;QACD,IAAI,IAAI,CAAC,sBAAsB,IAAI,IAAI,EAAE;YACrC,UAAU,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,sBAAsB,CAAC;SACtE;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AArED,qCAqEC"}
@@ -17,11 +17,13 @@ import { AcquireAction } from "../../core/model";
17
17
  import RankingReward from "./RankingReward";
18
18
  import { GlobalRankingModelOptions } from "./options/GlobalRankingModelOptions";
19
19
  import { GlobalRankingModelOrderDirection } from "./enum/GlobalRankingModelOrderDirection";
20
+ import { GlobalRankingModelRewardCalculationIndex } from "./enum/GlobalRankingModelRewardCalculationIndex";
20
21
 
21
22
  export default class GlobalRankingModel {
22
23
  private readonly name: string;
23
24
  private readonly sum: boolean;
24
25
  private readonly orderDirection: GlobalRankingModelOrderDirection;
26
+ private readonly rewardCalculationIndex: GlobalRankingModelRewardCalculationIndex;
25
27
  private readonly metadata: string|null = null;
26
28
  private readonly minimumValue: number|null = null;
27
29
  private readonly maximumValue: number|null = null;
@@ -33,11 +35,13 @@ export default class GlobalRankingModel {
33
35
  name: string,
34
36
  sum: boolean,
35
37
  orderDirection: GlobalRankingModelOrderDirection,
38
+ rewardCalculationIndex: GlobalRankingModelRewardCalculationIndex,
36
39
  options: GlobalRankingModelOptions|null = null,
37
40
  ) {
38
41
  this.name = name;
39
42
  this.sum = sum;
40
43
  this.orderDirection = orderDirection;
44
+ this.rewardCalculationIndex = rewardCalculationIndex;
41
45
  this.metadata = options?.metadata ?? null;
42
46
  this.minimumValue = options?.minimumValue ?? null;
43
47
  this.maximumValue = options?.maximumValue ?? null;
@@ -78,6 +82,9 @@ export default class GlobalRankingModel {
78
82
  if (this.accessPeriodEventId != null) {
79
83
  properties["accessPeriodEventId"] = this.accessPeriodEventId;
80
84
  }
85
+ if (this.rewardCalculationIndex != null) {
86
+ properties["rewardCalculationIndex"] = this.rewardCalculationIndex;
87
+ }
81
88
 
82
89
  return properties;
83
90
  }
@@ -0,0 +1,5 @@
1
+ export declare const ClusterRankingModelRewardCalculationIndex: {
2
+ readonly RANK: "rank";
3
+ readonly INDEX: "index";
4
+ };
5
+ export type ClusterRankingModelRewardCalculationIndex = typeof ClusterRankingModelRewardCalculationIndex[keyof typeof ClusterRankingModelRewardCalculationIndex];
@@ -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.ClusterRankingModelRewardCalculationIndex = void 0;
19
+ exports.ClusterRankingModelRewardCalculationIndex = {
20
+ RANK: "rank",
21
+ INDEX: "index",
22
+ };
23
+ //# sourceMappingURL=ClusterRankingModelRewardCalculationIndex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ClusterRankingModelRewardCalculationIndex.js","sourceRoot":"","sources":["ClusterRankingModelRewardCalculationIndex.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,yCAAyC,GAAG;IACrD,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACR,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 ClusterRankingModelRewardCalculationIndex = {
20
+ RANK: "rank",
21
+ INDEX: "index",
22
+ } as const;
23
+ export type ClusterRankingModelRewardCalculationIndex = typeof ClusterRankingModelRewardCalculationIndex[keyof typeof ClusterRankingModelRewardCalculationIndex];
@@ -0,0 +1,5 @@
1
+ export declare const GlobalRankingModelRewardCalculationIndex: {
2
+ readonly RANK: "rank";
3
+ readonly INDEX: "index";
4
+ };
5
+ export type GlobalRankingModelRewardCalculationIndex = typeof GlobalRankingModelRewardCalculationIndex[keyof typeof GlobalRankingModelRewardCalculationIndex];
@@ -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.GlobalRankingModelRewardCalculationIndex = void 0;
19
+ exports.GlobalRankingModelRewardCalculationIndex = {
20
+ RANK: "rank",
21
+ INDEX: "index",
22
+ };
23
+ //# sourceMappingURL=GlobalRankingModelRewardCalculationIndex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GlobalRankingModelRewardCalculationIndex.js","sourceRoot":"","sources":["GlobalRankingModelRewardCalculationIndex.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,wCAAwC,GAAG;IACpD,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;CACR,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 GlobalRankingModelRewardCalculationIndex = {
20
+ RANK: "rank",
21
+ INDEX: "index",
22
+ } as const;
23
+ export type GlobalRankingModelRewardCalculationIndex = typeof GlobalRankingModelRewardCalculationIndex[keyof typeof GlobalRankingModelRewardCalculationIndex];
@@ -3,10 +3,12 @@ import { NamespaceOptions } from "./options/NamespaceOptions";
3
3
  import GlobalRankingModel from "./GlobalRankingModel";
4
4
  import { GlobalRankingModelOptions } from "./options/GlobalRankingModelOptions";
5
5
  import { GlobalRankingModelOrderDirection } from "./enum/GlobalRankingModelOrderDirection";
6
+ import { GlobalRankingModelRewardCalculationIndex } from "./enum/GlobalRankingModelRewardCalculationIndex";
6
7
  import ClusterRankingModel from "./ClusterRankingModel";
7
8
  import { ClusterRankingModelOptions } from "./options/ClusterRankingModelOptions";
8
9
  import { ClusterRankingModelClusterType } from "./enum/ClusterRankingModelClusterType";
9
10
  import { ClusterRankingModelOrderDirection } from "./enum/ClusterRankingModelOrderDirection";
11
+ import { ClusterRankingModelRewardCalculationIndex } from "./enum/ClusterRankingModelRewardCalculationIndex";
10
12
  import SubscribeRankingModel from "./SubscribeRankingModel";
11
13
  import { SubscribeRankingModelOptions } from "./options/SubscribeRankingModelOptions";
12
14
  import { SubscribeRankingModelOrderDirection } from "./enum/SubscribeRankingModelOrderDirection";
@@ -21,4 +23,4 @@ import { AcquireActionResultOptions } from "./options/AcquireActionResultOptions
21
23
  import TransactionResult from "./TransactionResult";
22
24
  import { TransactionResultOptions } from "./options/TransactionResultOptions";
23
25
  import CurrentMasterData from "./CurrentMasterData";
24
- export { Namespace, NamespaceOptions, GlobalRankingModel, GlobalRankingModelOptions, GlobalRankingModelOrderDirection, ClusterRankingModel, ClusterRankingModelOptions, ClusterRankingModelClusterType, ClusterRankingModelOrderDirection, SubscribeRankingModel, SubscribeRankingModelOptions, SubscribeRankingModelOrderDirection, RankingReward, RankingRewardOptions, VerifyActionResult, VerifyActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, AcquireActionResult, AcquireActionResultOptions, TransactionResult, TransactionResultOptions, CurrentMasterData, };
26
+ export { Namespace, NamespaceOptions, GlobalRankingModel, GlobalRankingModelOptions, GlobalRankingModelOrderDirection, GlobalRankingModelRewardCalculationIndex, ClusterRankingModel, ClusterRankingModelOptions, ClusterRankingModelClusterType, ClusterRankingModelOrderDirection, ClusterRankingModelRewardCalculationIndex, SubscribeRankingModel, SubscribeRankingModelOptions, SubscribeRankingModelOrderDirection, RankingReward, RankingRewardOptions, VerifyActionResult, VerifyActionResultOptions, ConsumeActionResult, ConsumeActionResultOptions, AcquireActionResult, AcquireActionResultOptions, TransactionResult, TransactionResultOptions, CurrentMasterData, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CurrentMasterData = exports.TransactionResult = exports.AcquireActionResult = exports.ConsumeActionResult = exports.VerifyActionResult = exports.RankingReward = exports.SubscribeRankingModelOrderDirection = exports.SubscribeRankingModel = exports.ClusterRankingModelOrderDirection = exports.ClusterRankingModelClusterType = exports.ClusterRankingModel = exports.GlobalRankingModelOrderDirection = exports.GlobalRankingModel = exports.Namespace = void 0;
3
+ exports.CurrentMasterData = exports.TransactionResult = exports.AcquireActionResult = exports.ConsumeActionResult = exports.VerifyActionResult = exports.RankingReward = exports.SubscribeRankingModelOrderDirection = exports.SubscribeRankingModel = exports.ClusterRankingModelRewardCalculationIndex = exports.ClusterRankingModelOrderDirection = exports.ClusterRankingModelClusterType = exports.ClusterRankingModel = exports.GlobalRankingModelRewardCalculationIndex = exports.GlobalRankingModelOrderDirection = exports.GlobalRankingModel = 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
@@ -23,12 +23,16 @@ const GlobalRankingModel_1 = tslib_1.__importDefault(require("./GlobalRankingMod
23
23
  exports.GlobalRankingModel = GlobalRankingModel_1.default;
24
24
  const GlobalRankingModelOrderDirection_1 = require("./enum/GlobalRankingModelOrderDirection");
25
25
  Object.defineProperty(exports, "GlobalRankingModelOrderDirection", { enumerable: true, get: function () { return GlobalRankingModelOrderDirection_1.GlobalRankingModelOrderDirection; } });
26
+ const GlobalRankingModelRewardCalculationIndex_1 = require("./enum/GlobalRankingModelRewardCalculationIndex");
27
+ Object.defineProperty(exports, "GlobalRankingModelRewardCalculationIndex", { enumerable: true, get: function () { return GlobalRankingModelRewardCalculationIndex_1.GlobalRankingModelRewardCalculationIndex; } });
26
28
  const ClusterRankingModel_1 = tslib_1.__importDefault(require("./ClusterRankingModel"));
27
29
  exports.ClusterRankingModel = ClusterRankingModel_1.default;
28
30
  const ClusterRankingModelClusterType_1 = require("./enum/ClusterRankingModelClusterType");
29
31
  Object.defineProperty(exports, "ClusterRankingModelClusterType", { enumerable: true, get: function () { return ClusterRankingModelClusterType_1.ClusterRankingModelClusterType; } });
30
32
  const ClusterRankingModelOrderDirection_1 = require("./enum/ClusterRankingModelOrderDirection");
31
33
  Object.defineProperty(exports, "ClusterRankingModelOrderDirection", { enumerable: true, get: function () { return ClusterRankingModelOrderDirection_1.ClusterRankingModelOrderDirection; } });
34
+ const ClusterRankingModelRewardCalculationIndex_1 = require("./enum/ClusterRankingModelRewardCalculationIndex");
35
+ Object.defineProperty(exports, "ClusterRankingModelRewardCalculationIndex", { enumerable: true, get: function () { return ClusterRankingModelRewardCalculationIndex_1.ClusterRankingModelRewardCalculationIndex; } });
32
36
  const SubscribeRankingModel_1 = tslib_1.__importDefault(require("./SubscribeRankingModel"));
33
37
  exports.SubscribeRankingModel = SubscribeRankingModel_1.default;
34
38
  const SubscribeRankingModelOrderDirection_1 = require("./enum/SubscribeRankingModelOrderDirection");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AAyBhC,oBAzBG,mBAAS,CAyBH;AAvBb,sFAAsD;AAyBlD,6BAzBG,4BAAkB,CAyBH;AAvBtB,8FAA2F;AAyBvF,iHAzBK,mEAAgC,OAyBL;AAxBpC,wFAAwD;AAyBpD,8BAzBG,6BAAmB,CAyBH;AAvBvB,0FAAuF;AAyBnF,+GAzBK,+DAA8B,OAyBL;AAxBlC,gGAA6F;AAyBzF,kHAzBK,qEAAiC,OAyBL;AAxBrC,4FAA4D;AAyBxD,gCAzBG,+BAAqB,CAyBH;AAvBzB,oGAAiG;AAyB7F,oHAzBK,yEAAmC,OAyBL;AAxBvC,4EAA4C;AAyBxC,wBAzBG,uBAAa,CAyBH;AAvBjB,sFAAsD;AAyBlD,6BAzBG,4BAAkB,CAyBH;AAvBtB,wFAAwD;AAyBpD,8BAzBG,6BAAmB,CAyBH;AAvBvB,wFAAwD;AAyBpD,8BAzBG,6BAAmB,CAyBH;AAvBvB,oFAAoD;AAyBhD,4BAzBG,2BAAiB,CAyBH;AAvBrB,oFAAoD;AAyBhD,4BAzBG,2BAAiB,CAyBH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,oEAAoC;AA2BhC,oBA3BG,mBAAS,CA2BH;AAzBb,sFAAsD;AA2BlD,6BA3BG,4BAAkB,CA2BH;AAzBtB,8FAA2F;AA2BvF,iHA3BK,mEAAgC,OA2BL;AA1BpC,8GAA2G;AA2BvG,yHA3BK,mFAAwC,OA2BL;AA1B5C,wFAAwD;AA2BpD,8BA3BG,6BAAmB,CA2BH;AAzBvB,0FAAuF;AA2BnF,+GA3BK,+DAA8B,OA2BL;AA1BlC,gGAA6F;AA2BzF,kHA3BK,qEAAiC,OA2BL;AA1BrC,gHAA6G;AA2BzG,0HA3BK,qFAAyC,OA2BL;AA1B7C,4FAA4D;AA2BxD,gCA3BG,+BAAqB,CA2BH;AAzBzB,oGAAiG;AA2B7F,oHA3BK,yEAAmC,OA2BL;AA1BvC,4EAA4C;AA2BxC,wBA3BG,uBAAa,CA2BH;AAzBjB,sFAAsD;AA2BlD,6BA3BG,4BAAkB,CA2BH;AAzBtB,wFAAwD;AA2BpD,8BA3BG,6BAAmB,CA2BH;AAzBvB,wFAAwD;AA2BpD,8BA3BG,6BAAmB,CA2BH;AAzBvB,oFAAoD;AA2BhD,4BA3BG,2BAAiB,CA2BH;AAzBrB,oFAAoD;AA2BhD,4BA3BG,2BAAiB,CA2BH"}
@@ -18,10 +18,12 @@ import { NamespaceOptions } from "./options/NamespaceOptions";
18
18
  import GlobalRankingModel from "./GlobalRankingModel";
19
19
  import { GlobalRankingModelOptions } from "./options/GlobalRankingModelOptions";
20
20
  import { GlobalRankingModelOrderDirection } from "./enum/GlobalRankingModelOrderDirection";
21
+ import { GlobalRankingModelRewardCalculationIndex } from "./enum/GlobalRankingModelRewardCalculationIndex";
21
22
  import ClusterRankingModel from "./ClusterRankingModel";
22
23
  import { ClusterRankingModelOptions } from "./options/ClusterRankingModelOptions";
23
24
  import { ClusterRankingModelClusterType } from "./enum/ClusterRankingModelClusterType";
24
25
  import { ClusterRankingModelOrderDirection } from "./enum/ClusterRankingModelOrderDirection";
26
+ import { ClusterRankingModelRewardCalculationIndex } from "./enum/ClusterRankingModelRewardCalculationIndex";
25
27
  import SubscribeRankingModel from "./SubscribeRankingModel";
26
28
  import { SubscribeRankingModelOptions } from "./options/SubscribeRankingModelOptions";
27
29
  import { SubscribeRankingModelOrderDirection } from "./enum/SubscribeRankingModelOrderDirection";
@@ -43,10 +45,12 @@ export {
43
45
  GlobalRankingModel,
44
46
  GlobalRankingModelOptions,
45
47
  GlobalRankingModelOrderDirection,
48
+ GlobalRankingModelRewardCalculationIndex,
46
49
  ClusterRankingModel,
47
50
  ClusterRankingModelOptions,
48
51
  ClusterRankingModelClusterType,
49
52
  ClusterRankingModelOrderDirection,
53
+ ClusterRankingModelRewardCalculationIndex,
50
54
  SubscribeRankingModel,
51
55
  SubscribeRankingModelOptions,
52
56
  SubscribeRankingModelOrderDirection,
@@ -17,6 +17,7 @@ import { AcquireAction } from "../../../core/model";
17
17
  import RankingReward from "../RankingReward";
18
18
  import { ClusterRankingModelClusterType } from "../enum/ClusterRankingModelClusterType";
19
19
  import { ClusterRankingModelOrderDirection } from "../enum/ClusterRankingModelOrderDirection";
20
+ import { ClusterRankingModelRewardCalculationIndex } from "../enum/ClusterRankingModelRewardCalculationIndex";
20
21
 
21
22
  export interface ClusterRankingModelOptions {
22
23
  metadata?: string|null;
@@ -16,6 +16,7 @@
16
16
  import { AcquireAction } from "../../../core/model";
17
17
  import RankingReward from "../RankingReward";
18
18
  import { GlobalRankingModelOrderDirection } from "../enum/GlobalRankingModelOrderDirection";
19
+ import { GlobalRankingModelRewardCalculationIndex } from "../enum/GlobalRankingModelRewardCalculationIndex";
19
20
 
20
21
  export interface GlobalRankingModelOptions {
21
22
  metadata?: string|null;