gs2-cdk 1.0.75 → 1.0.77

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 (116) hide show
  1. package/enhance/model/Namespace.d.ts +0 -1
  2. package/enhance/model/Namespace.js +4 -9
  3. package/enhance/model/Namespace.js.map +1 -1
  4. package/enhance/model/Namespace.ts +0 -5
  5. package/enhance/model/options/NamespaceOptions.d.ts +1 -1
  6. package/enhance/model/options/NamespaceOptions.ts +1 -1
  7. package/exchange/model/RateModel.d.ts +1 -0
  8. package/exchange/model/RateModel.js +11 -4
  9. package/exchange/model/RateModel.js.map +1 -1
  10. package/exchange/model/RateModel.ts +9 -0
  11. package/exchange/model/options/RateModelOptions.d.ts +2 -0
  12. package/exchange/model/options/RateModelOptions.ts +2 -0
  13. package/exchange/model/options/RateModelTimingTypeIsAwaitOptions.d.ts +2 -0
  14. package/exchange/model/options/RateModelTimingTypeIsAwaitOptions.ts +2 -0
  15. package/exchange/model/options/RateModelTimingTypeIsImmediateOptions.d.ts +2 -0
  16. package/exchange/model/options/RateModelTimingTypeIsImmediateOptions.ts +2 -0
  17. package/exchange/ref/NamespaceRef.d.ts +0 -2
  18. package/exchange/ref/NamespaceRef.js +0 -4
  19. package/exchange/ref/NamespaceRef.js.map +1 -1
  20. package/exchange/ref/NamespaceRef.ts +0 -14
  21. package/exchange/stampSheet/index.d.ts +1 -2
  22. package/exchange/stampSheet/index.js +1 -3
  23. package/exchange/stampSheet/index.js.map +1 -1
  24. package/exchange/stampSheet/index.ts +0 -2
  25. package/friend/model/Namespace.d.ts +3 -0
  26. package/friend/model/Namespace.js +21 -6
  27. package/friend/model/Namespace.js.map +1 -1
  28. package/friend/model/Namespace.ts +18 -0
  29. package/friend/model/options/NamespaceOptions.d.ts +3 -0
  30. package/friend/model/options/NamespaceOptions.ts +3 -0
  31. package/loginReward/model/BonusModel.d.ts +1 -0
  32. package/loginReward/model/BonusModel.js +11 -2
  33. package/loginReward/model/BonusModel.js.map +1 -1
  34. package/loginReward/model/BonusModel.ts +11 -0
  35. package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.d.ts +2 -0
  36. package/loginReward/model/options/BonusModelMissedReceiveReliefIsDisabledOptions.ts +2 -0
  37. package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.d.ts +2 -0
  38. package/loginReward/model/options/BonusModelMissedReceiveReliefIsEnabledOptions.ts +2 -0
  39. package/loginReward/model/options/BonusModelModeIsScheduleOptions.d.ts +2 -0
  40. package/loginReward/model/options/BonusModelModeIsScheduleOptions.ts +2 -0
  41. package/loginReward/model/options/BonusModelModeIsStreamingOptions.d.ts +2 -0
  42. package/loginReward/model/options/BonusModelModeIsStreamingOptions.ts +2 -0
  43. package/loginReward/model/options/BonusModelOptions.d.ts +2 -0
  44. package/loginReward/model/options/BonusModelOptions.ts +2 -0
  45. package/mission/model/MissionGroupModel.ts +1 -1
  46. package/mission/model/MissionTaskModel.d.ts +2 -2
  47. package/mission/model/MissionTaskModel.js +2 -2
  48. package/mission/model/MissionTaskModel.js.map +1 -1
  49. package/mission/model/MissionTaskModel.ts +6 -6
  50. package/mission/model/enum/MissionTaskModelVerifyCompleteType.d.ts +1 -1
  51. package/mission/model/enum/MissionTaskModelVerifyCompleteType.js +1 -1
  52. package/mission/model/enum/MissionTaskModelVerifyCompleteType.js.map +1 -1
  53. package/mission/model/enum/MissionTaskModelVerifyCompleteType.ts +1 -1
  54. package/mission/model/index.d.ts +2 -2
  55. package/mission/model/index.ts +2 -2
  56. package/mission/model/options/MissionGroupModelOptions.ts +1 -1
  57. package/mission/model/options/MissionGroupModelResetTypeIsDailyOptions.ts +1 -1
  58. package/mission/model/options/MissionGroupModelResetTypeIsMonthlyOptions.ts +1 -1
  59. package/mission/model/options/MissionGroupModelResetTypeIsNotResetOptions.ts +1 -1
  60. package/mission/model/options/MissionGroupModelResetTypeIsWeeklyOptions.ts +1 -1
  61. package/mission/model/options/MissionTaskModelOptions.d.ts +2 -2
  62. package/mission/model/options/MissionTaskModelOptions.ts +2 -2
  63. package/mission/model/options/MissionTaskModelVerifyCompleteTypeIsCounterOptions.d.ts +2 -2
  64. package/mission/model/options/MissionTaskModelVerifyCompleteTypeIsCounterOptions.ts +2 -2
  65. package/mission/model/options/MissionTaskModelVerifyCompleteTypeIsVerifyActionsOptions.d.ts +11 -0
  66. package/mission/model/options/MissionTaskModelVerifyCompleteTypeIsVerifyActionsOptions.js +3 -0
  67. package/mission/model/options/MissionTaskModelVerifyCompleteTypeIsVerifyActionsOptions.js.map +1 -0
  68. package/mission/model/options/MissionTaskModelVerifyCompleteTypeIsVerifyActionsOptions.ts +29 -0
  69. package/package.json +1 -1
  70. package/quest/model/QuestGroupModel.js.map +1 -1
  71. package/quest/model/QuestGroupModel.ts +1 -0
  72. package/quest/model/QuestModel.d.ts +1 -0
  73. package/quest/model/QuestModel.js +9 -4
  74. package/quest/model/QuestModel.js.map +1 -1
  75. package/quest/model/QuestModel.ts +7 -0
  76. package/quest/model/options/QuestGroupModelOptions.ts +1 -0
  77. package/quest/model/options/QuestModelOptions.d.ts +2 -0
  78. package/quest/model/options/QuestModelOptions.ts +2 -0
  79. package/script/model/Transaction.d.ts +1 -0
  80. package/script/model/Transaction.js +8 -3
  81. package/script/model/Transaction.js.map +1 -1
  82. package/script/model/Transaction.ts +7 -0
  83. package/script/model/options/TransactionOptions.d.ts +2 -0
  84. package/script/model/options/TransactionOptions.ts +2 -0
  85. package/showcase/model/DisplayItem.js.map +1 -1
  86. package/showcase/model/DisplayItem.ts +1 -0
  87. package/showcase/model/RandomDisplayItemModel.d.ts +1 -0
  88. package/showcase/model/RandomDisplayItemModel.js +7 -2
  89. package/showcase/model/RandomDisplayItemModel.js.map +1 -1
  90. package/showcase/model/RandomDisplayItemModel.ts +7 -0
  91. package/showcase/model/RandomShowcase.js.map +1 -1
  92. package/showcase/model/RandomShowcase.ts +1 -0
  93. package/showcase/model/SalesItem.d.ts +1 -0
  94. package/showcase/model/SalesItem.js +7 -2
  95. package/showcase/model/SalesItem.js.map +1 -1
  96. package/showcase/model/SalesItem.ts +7 -0
  97. package/showcase/model/SalesItemGroup.js.map +1 -1
  98. package/showcase/model/SalesItemGroup.ts +1 -0
  99. package/showcase/model/Showcase.js.map +1 -1
  100. package/showcase/model/Showcase.ts +1 -0
  101. package/showcase/model/options/DisplayItemOptions.ts +1 -0
  102. package/showcase/model/options/DisplayItemTypeIsSalesItemGroupOptions.ts +1 -0
  103. package/showcase/model/options/DisplayItemTypeIsSalesItemOptions.ts +1 -0
  104. package/showcase/model/options/RandomDisplayItemModelOptions.d.ts +2 -0
  105. package/showcase/model/options/RandomDisplayItemModelOptions.ts +2 -0
  106. package/showcase/model/options/RandomShowcaseOptions.ts +1 -0
  107. package/showcase/model/options/SalesItemGroupOptions.ts +1 -0
  108. package/showcase/model/options/SalesItemOptions.d.ts +2 -0
  109. package/showcase/model/options/SalesItemOptions.ts +2 -0
  110. package/showcase/model/options/ShowcaseOptions.ts +1 -0
  111. package/skillTree/model/NodeModel.d.ts +1 -0
  112. package/skillTree/model/NodeModel.js +8 -3
  113. package/skillTree/model/NodeModel.js.map +1 -1
  114. package/skillTree/model/NodeModel.ts +7 -0
  115. package/skillTree/model/options/NodeModelOptions.d.ts +2 -0
  116. package/skillTree/model/options/NodeModelOptions.ts +2 -0
@@ -0,0 +1,29 @@
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 { MissionTaskModelVerifyCompleteType } from "../enum/MissionTaskModelVerifyCompleteType";
20
+ import { MissionTaskModelTargetResetType } from "../enum/MissionTaskModelTargetResetType";
21
+
22
+ export interface MissionTaskModelVerifyCompleteTypeIsVerifyActionsOptions {
23
+ metadata?: string|null;
24
+ verifyCompleteConsumeActions?: VerifyAction[]|null;
25
+ completeAcquireActions?: AcquireAction[]|null;
26
+ challengePeriodEventId?: string|null;
27
+ premiseMissionTaskName?: string|null;
28
+ targetResetType?: MissionTaskModelTargetResetType|null;
29
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.75",
3
+ "version": "1.0.77",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -1 +1 @@
1
- {"version":3,"file":"QuestGroupModel.js","sourceRoot":"","sources":["QuestGroupModel.ts"],"names":[],"mappings":";;AAqBA,MAAqB,eAAe;IAMhC,YACI,IAAY,EACZ,UAAuC,IAAI;;QAN9B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,WAAM,GAAsB,IAAI,CAAC;QACjC,2BAAsB,GAAgB,IAAI,CAAC;QAMxD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,IAAI,CAAC;QACtC,IAAI,CAAC,sBAAsB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,sBAAsB,mCAAI,IAAI,CAAC;IAC1E,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,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C,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACnD,CAAC,CAAC;SACV;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;AApCD,kCAoCC"}
@@ -15,6 +15,7 @@
15
15
  */
16
16
  import { AcquireAction } from "../../core/model";
17
17
  import Contents from "./Contents";
18
+ import { VerifyAction } from "../../core/model";
18
19
  import { ConsumeAction } from "../../core/model";
19
20
  import QuestModel from "./QuestModel";
20
21
  import { QuestGroupModelOptions } from "./options/QuestGroupModelOptions";
@@ -6,6 +6,7 @@ export default class QuestModel {
6
6
  private readonly metadata;
7
7
  private readonly challengePeriodEventId;
8
8
  private readonly firstCompleteAcquireActions;
9
+ private readonly verifyActions;
9
10
  private readonly consumeActions;
10
11
  private readonly failedAcquireActions;
11
12
  private readonly premiseQuestNames;
@@ -2,10 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class QuestModel {
4
4
  constructor(name, contents, options = null) {
5
- var _a, _b, _c, _d, _e, _f;
5
+ var _a, _b, _c, _d, _e, _f, _g;
6
6
  this.metadata = null;
7
7
  this.challengePeriodEventId = null;
8
8
  this.firstCompleteAcquireActions = null;
9
+ this.verifyActions = null;
9
10
  this.consumeActions = null;
10
11
  this.failedAcquireActions = null;
11
12
  this.premiseQuestNames = null;
@@ -14,9 +15,10 @@ class QuestModel {
14
15
  this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
15
16
  this.challengePeriodEventId = (_b = options === null || options === void 0 ? void 0 : options.challengePeriodEventId) !== null && _b !== void 0 ? _b : null;
16
17
  this.firstCompleteAcquireActions = (_c = options === null || options === void 0 ? void 0 : options.firstCompleteAcquireActions) !== null && _c !== void 0 ? _c : null;
17
- this.consumeActions = (_d = options === null || options === void 0 ? void 0 : options.consumeActions) !== null && _d !== void 0 ? _d : null;
18
- this.failedAcquireActions = (_e = options === null || options === void 0 ? void 0 : options.failedAcquireActions) !== null && _e !== void 0 ? _e : null;
19
- this.premiseQuestNames = (_f = options === null || options === void 0 ? void 0 : options.premiseQuestNames) !== null && _f !== void 0 ? _f : null;
18
+ this.verifyActions = (_d = options === null || options === void 0 ? void 0 : options.verifyActions) !== null && _d !== void 0 ? _d : null;
19
+ this.consumeActions = (_e = options === null || options === void 0 ? void 0 : options.consumeActions) !== null && _e !== void 0 ? _e : null;
20
+ this.failedAcquireActions = (_f = options === null || options === void 0 ? void 0 : options.failedAcquireActions) !== null && _f !== void 0 ? _f : null;
21
+ this.premiseQuestNames = (_g = options === null || options === void 0 ? void 0 : options.premiseQuestNames) !== null && _g !== void 0 ? _g : null;
20
22
  }
21
23
  properties() {
22
24
  let properties = {};
@@ -35,6 +37,9 @@ class QuestModel {
35
37
  if (this.firstCompleteAcquireActions != null) {
36
38
  properties["firstCompleteAcquireActions"] = this.firstCompleteAcquireActions.map(v => v.properties());
37
39
  }
40
+ if (this.verifyActions != null) {
41
+ properties["verifyActions"] = this.verifyActions.map(v => v.properties());
42
+ }
38
43
  if (this.consumeActions != null) {
39
44
  properties["consumeActions"] = this.consumeActions.map(v => v.properties());
40
45
  }
@@ -1 +1 @@
1
- {"version":3,"file":"QuestModel.js","sourceRoot":"","sources":["QuestModel.ts"],"names":[],"mappings":";;AAoB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U,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC;SAC5D;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAlED,6BAkEC"}
@@ -15,6 +15,7 @@
15
15
  */
16
16
  import { AcquireAction } from "../../core/model";
17
17
  import Contents from "./Contents";
18
+ import { VerifyAction } from "../../core/model";
18
19
  import { ConsumeAction } from "../../core/model";
19
20
  import { QuestModelOptions } from "./options/QuestModelOptions";
20
21
 
@@ -24,6 +25,7 @@ export default class QuestModel {
24
25
  private readonly metadata: string|null = null;
25
26
  private readonly challengePeriodEventId: string|null = null;
26
27
  private readonly firstCompleteAcquireActions: AcquireAction[]|null = null;
28
+ private readonly verifyActions: VerifyAction[]|null = null;
27
29
  private readonly consumeActions: ConsumeAction[]|null = null;
28
30
  private readonly failedAcquireActions: AcquireAction[]|null = null;
29
31
  private readonly premiseQuestNames: string[]|null = null;
@@ -38,6 +40,7 @@ export default class QuestModel {
38
40
  this.metadata = options?.metadata ?? null;
39
41
  this.challengePeriodEventId = options?.challengePeriodEventId ?? null;
40
42
  this.firstCompleteAcquireActions = options?.firstCompleteAcquireActions ?? null;
43
+ this.verifyActions = options?.verifyActions ?? null;
41
44
  this.consumeActions = options?.consumeActions ?? null;
42
45
  this.failedAcquireActions = options?.failedAcquireActions ?? null;
43
46
  this.premiseQuestNames = options?.premiseQuestNames ?? null;
@@ -64,6 +67,10 @@ export default class QuestModel {
64
67
  properties["firstCompleteAcquireActions"] = this.firstCompleteAcquireActions.map(v => v.properties(
65
68
  ));
66
69
  }
70
+ if (this.verifyActions != null) {
71
+ properties["verifyActions"] = this.verifyActions.map(v => v.properties(
72
+ ));
73
+ }
67
74
  if (this.consumeActions != null) {
68
75
  properties["consumeActions"] = this.consumeActions.map(v => v.properties(
69
76
  ));
@@ -15,6 +15,7 @@
15
15
  */
16
16
  import { AcquireAction } from "../../../core/model";
17
17
  import Contents from "../Contents";
18
+ import { VerifyAction } from "../../../core/model";
18
19
  import { ConsumeAction } from "../../../core/model";
19
20
  import QuestModel from "../QuestModel";
20
21
 
@@ -1,9 +1,11 @@
1
1
  import { AcquireAction } from "../../../core/model";
2
+ import { VerifyAction } from "../../../core/model";
2
3
  import { ConsumeAction } from "../../../core/model";
3
4
  export interface QuestModelOptions {
4
5
  metadata?: string | null;
5
6
  challengePeriodEventId?: string | null;
6
7
  firstCompleteAcquireActions?: AcquireAction[] | null;
8
+ verifyActions?: VerifyAction[] | null;
7
9
  consumeActions?: ConsumeAction[] | null;
8
10
  failedAcquireActions?: AcquireAction[] | null;
9
11
  premiseQuestNames?: string[] | null;
@@ -15,12 +15,14 @@
15
15
  */
16
16
  import { AcquireAction } from "../../../core/model";
17
17
  import Contents from "../Contents";
18
+ import { VerifyAction } from "../../../core/model";
18
19
  import { ConsumeAction } from "../../../core/model";
19
20
 
20
21
  export interface QuestModelOptions {
21
22
  metadata?: string|null;
22
23
  challengePeriodEventId?: string|null;
23
24
  firstCompleteAcquireActions?: AcquireAction[]|null;
25
+ verifyActions?: VerifyAction[]|null;
24
26
  consumeActions?: ConsumeAction[]|null;
25
27
  failedAcquireActions?: AcquireAction[]|null;
26
28
  premiseQuestNames?: string[]|null;
@@ -1,6 +1,7 @@
1
1
  import { TransactionOptions } from "./options/TransactionOptions";
2
2
  export default class Transaction {
3
3
  private readonly transactionId;
4
+ private readonly verifyActions;
4
5
  private readonly consumeActions;
5
6
  private readonly acquireActions;
6
7
  constructor(options?: TransactionOptions | null);
@@ -2,19 +2,24 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class Transaction {
4
4
  constructor(options = null) {
5
- var _a, _b, _c;
5
+ var _a, _b, _c, _d;
6
6
  this.transactionId = null;
7
+ this.verifyActions = null;
7
8
  this.consumeActions = null;
8
9
  this.acquireActions = null;
9
10
  this.transactionId = (_a = options === null || options === void 0 ? void 0 : options.transactionId) !== null && _a !== void 0 ? _a : null;
10
- this.consumeActions = (_b = options === null || options === void 0 ? void 0 : options.consumeActions) !== null && _b !== void 0 ? _b : null;
11
- this.acquireActions = (_c = options === null || options === void 0 ? void 0 : options.acquireActions) !== null && _c !== void 0 ? _c : null;
11
+ this.verifyActions = (_b = options === null || options === void 0 ? void 0 : options.verifyActions) !== null && _b !== void 0 ? _b : null;
12
+ this.consumeActions = (_c = options === null || options === void 0 ? void 0 : options.consumeActions) !== null && _c !== void 0 ? _c : null;
13
+ this.acquireActions = (_d = options === null || options === void 0 ? void 0 : options.acquireActions) !== null && _d !== void 0 ? _d : null;
12
14
  }
13
15
  properties() {
14
16
  let properties = {};
15
17
  if (this.transactionId != null) {
16
18
  properties["transactionId"] = this.transactionId;
17
19
  }
20
+ if (this.verifyActions != null) {
21
+ properties["verifyActions"] = this.verifyActions.map(v => v.properties());
22
+ }
18
23
  if (this.consumeActions != null) {
19
24
  properties["consumeActions"] = this.consumeActions.map(v => v.properties());
20
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Transaction.js","sourceRoot":"","sources":["Transaction.ts"],"names":[],"mappings":";;AAmBA,MAAqB,WAAW;IAK5B,YACI,UAAmC,IAAI;;QAL1B,kBAAa,GAAgB,IAAI,CAAC;QAClC,mBAAc,GAAyB,IAAI,CAAC;QAC5C,mBAAc,GAAyB,IAAI,CAAC;QAKzD,IAAI,CAAC,aAAa,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,mCAAI,IAAI,CAAC;QACpD,IAAI,CAAC,cAAc,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,mCAAI,IAAI,CAAC;QACtD,IAAI,CAAC,cAAc,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,mCAAI,IAAI,CAAC;IAC1D,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAA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e,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACjE,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACnE,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACnE,CAAC,CAAC;SACV;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AArCD,8BAqCC"}
@@ -13,12 +13,14 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../core/model";
16
17
  import { ConsumeAction } from "../../core/model";
17
18
  import { AcquireAction } from "../../core/model";
18
19
  import { TransactionOptions } from "./options/TransactionOptions";
19
20
 
20
21
  export default class Transaction {
21
22
  private readonly transactionId: string|null = null;
23
+ private readonly verifyActions: VerifyAction[]|null = null;
22
24
  private readonly consumeActions: ConsumeAction[]|null = null;
23
25
  private readonly acquireActions: AcquireAction[]|null = null;
24
26
 
@@ -26,6 +28,7 @@ export default class Transaction {
26
28
  options: TransactionOptions|null = null,
27
29
  ) {
28
30
  this.transactionId = options?.transactionId ?? null;
31
+ this.verifyActions = options?.verifyActions ?? null;
29
32
  this.consumeActions = options?.consumeActions ?? null;
30
33
  this.acquireActions = options?.acquireActions ?? null;
31
34
  }
@@ -37,6 +40,10 @@ export default class Transaction {
37
40
  if (this.transactionId != null) {
38
41
  properties["transactionId"] = this.transactionId;
39
42
  }
43
+ if (this.verifyActions != null) {
44
+ properties["verifyActions"] = this.verifyActions.map(v => v.properties(
45
+ ));
46
+ }
40
47
  if (this.consumeActions != null) {
41
48
  properties["consumeActions"] = this.consumeActions.map(v => v.properties(
42
49
  ));
@@ -1,7 +1,9 @@
1
+ import { VerifyAction } from "../../../core/model";
1
2
  import { ConsumeAction } from "../../../core/model";
2
3
  import { AcquireAction } from "../../../core/model";
3
4
  export interface TransactionOptions {
4
5
  transactionId?: string | null;
6
+ verifyActions?: VerifyAction[] | null;
5
7
  consumeActions?: ConsumeAction[] | null;
6
8
  acquireActions?: AcquireAction[] | null;
7
9
  }
@@ -13,11 +13,13 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../../core/model";
16
17
  import { ConsumeAction } from "../../../core/model";
17
18
  import { AcquireAction } from "../../../core/model";
18
19
 
19
20
  export interface TransactionOptions {
20
21
  transactionId?: string|null;
22
+ verifyActions?: VerifyAction[]|null;
21
23
  consumeActions?: ConsumeAction[]|null;
22
24
  acquireActions?: AcquireAction[]|null;
23
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"DisplayItem.js","sourceRoot":"","sources":["DisplayItem.ts"],"names":[],"mappings":";;AAsBA,4DAAyD;AAEzD,MAAqB,WAAW;IAO5B,YACI,aAAqB,EACrB,IAAqB,EACrB,UAAmC,IAAI;;QAP1B,cAAS,GAAmB,IAAI,CAAC;QACjC,mBAAc,GAAwB,IAAI,CAAC;QAC3C,uBAAkB,GAAgB,IAAI,CAAC;QAOpD,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,SAAS,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,SAAS,mCAAI,IAAI,CAAC;QAC5C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,OAAO,IAAI,WAAW,CAClB,aAAa,EACb,iCAAe,CAAC,gBAAgB,EAChC;YACI,cAAc,EAAE,cAAc;YAC9B,kBAAkB,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB;SAClD,CACJ,CAAC;IACN,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,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,MAAA,IAAI,CAAC,SAAS,0CAAE,UAAU,EACnD,CAAC;SACL;QACD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,MAAA,IAAI,CAAC,cAAc,0CAAE,UAAU,EAC7D,CAAC;SACL;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAzED,8BAyEC"}
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../core/model";
16
17
  import { ConsumeAction } from "../../core/model";
17
18
  import { AcquireAction } from "../../core/model";
18
19
  import SalesItem from "./SalesItem";
@@ -6,6 +6,7 @@ export default class RandomDisplayItemModel {
6
6
  private readonly stock;
7
7
  private readonly weight;
8
8
  private readonly metadata;
9
+ private readonly verifyActions;
9
10
  private readonly consumeActions;
10
11
  constructor(name: string, acquireActions: AcquireAction[], stock: number, weight: number, options?: RandomDisplayItemModelOptions | null);
11
12
  properties(): {
@@ -2,15 +2,17 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class RandomDisplayItemModel {
4
4
  constructor(name, acquireActions, stock, weight, options = null) {
5
- var _a, _b;
5
+ var _a, _b, _c;
6
6
  this.metadata = null;
7
+ this.verifyActions = null;
7
8
  this.consumeActions = null;
8
9
  this.name = name;
9
10
  this.acquireActions = acquireActions;
10
11
  this.stock = stock;
11
12
  this.weight = weight;
12
13
  this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
13
- this.consumeActions = (_b = options === null || options === void 0 ? void 0 : options.consumeActions) !== null && _b !== void 0 ? _b : null;
14
+ this.verifyActions = (_b = options === null || options === void 0 ? void 0 : options.verifyActions) !== null && _b !== void 0 ? _b : null;
15
+ this.consumeActions = (_c = options === null || options === void 0 ? void 0 : options.consumeActions) !== null && _c !== void 0 ? _c : null;
14
16
  }
15
17
  properties() {
16
18
  let properties = {};
@@ -20,6 +22,9 @@ class RandomDisplayItemModel {
20
22
  if (this.metadata != null) {
21
23
  properties["metadata"] = this.metadata;
22
24
  }
25
+ if (this.verifyActions != null) {
26
+ properties["verifyActions"] = this.verifyActions.map(v => v.properties());
27
+ }
23
28
  if (this.consumeActions != null) {
24
29
  properties["consumeActions"] = this.consumeActions.map(v => v.properties());
25
30
  }
@@ -1 +1 @@
1
- {"version":3,"file":"RandomDisplayItemModel.js","sourceRoot":"","sources":["RandomDisplayItemModel.ts"],"names":[],"mappings":";;AAmBA,MAAqB,sBAAsB;IAQvC,YACI,IAAY,EACZ,cAA+B,EAC/B,KAAa,EACb,MAAc,EACd,UAA8C,IAAI;;QARrC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,mBAAc,GAAyB,IAAI,CAAC;QASzD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,cAAc,G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ACjE,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACnE,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACnE,CAAC,CAAC;SACV;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAxDD,yCAwDC"}
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../core/model";
16
17
  import { ConsumeAction } from "../../core/model";
17
18
  import { AcquireAction } from "../../core/model";
18
19
  import { RandomDisplayItemModelOptions } from "./options/RandomDisplayItemModelOptions";
@@ -23,6 +24,7 @@ export default class RandomDisplayItemModel {
23
24
  private readonly stock: number;
24
25
  private readonly weight: number;
25
26
  private readonly metadata: string|null = null;
27
+ private readonly verifyActions: VerifyAction[]|null = null;
26
28
  private readonly consumeActions: ConsumeAction[]|null = null;
27
29
 
28
30
  public constructor(
@@ -37,6 +39,7 @@ export default class RandomDisplayItemModel {
37
39
  this.stock = stock;
38
40
  this.weight = weight;
39
41
  this.metadata = options?.metadata ?? null;
42
+ this.verifyActions = options?.verifyActions ?? null;
40
43
  this.consumeActions = options?.consumeActions ?? null;
41
44
  }
42
45
 
@@ -50,6 +53,10 @@ export default class RandomDisplayItemModel {
50
53
  if (this.metadata != null) {
51
54
  properties["metadata"] = this.metadata;
52
55
  }
56
+ if (this.verifyActions != null) {
57
+ properties["verifyActions"] = this.verifyActions.map(v => v.properties(
58
+ ));
59
+ }
53
60
  if (this.consumeActions != null) {
54
61
  properties["consumeActions"] = this.consumeActions.map(v => v.properties(
55
62
  ));
@@ -1 +1 @@
1
- {"version":3,"file":"RandomShowcase.js","sourceRoot":"","sources":["RandomShowcase.ts"],"names":[],"mappings":";;AAoBA,MAAqB,cAAc;IAS/B,YACI,IAAY,EACZ,qBAA6B,EAC7B,YAAsC,EACtC,aAAqB,EACrB,kBAA0B,EAC1B,UAAsC,IAAI;;QAT7B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,uBAAkB,GAAgB,IAAI,CAAC;QAUpD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACnD,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,kBAAkB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB,mCAAI,IAAI,CAAC;IAClE,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAA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 -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../core/model";
16
17
  import { ConsumeAction } from "../../core/model";
17
18
  import { AcquireAction } from "../../core/model";
18
19
  import RandomDisplayItemModel from "./RandomDisplayItemModel";
@@ -4,6 +4,7 @@ export default class SalesItem {
4
4
  private readonly name;
5
5
  private readonly acquireActions;
6
6
  private readonly metadata;
7
+ private readonly verifyActions;
7
8
  private readonly consumeActions;
8
9
  constructor(name: string, acquireActions: AcquireAction[], options?: SalesItemOptions | null);
9
10
  properties(): {
@@ -2,13 +2,15 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class SalesItem {
4
4
  constructor(name, acquireActions, options = null) {
5
- var _a, _b;
5
+ var _a, _b, _c;
6
6
  this.metadata = null;
7
+ this.verifyActions = null;
7
8
  this.consumeActions = null;
8
9
  this.name = name;
9
10
  this.acquireActions = acquireActions;
10
11
  this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
11
- this.consumeActions = (_b = options === null || options === void 0 ? void 0 : options.consumeActions) !== null && _b !== void 0 ? _b : null;
12
+ this.verifyActions = (_b = options === null || options === void 0 ? void 0 : options.verifyActions) !== null && _b !== void 0 ? _b : null;
13
+ this.consumeActions = (_c = options === null || options === void 0 ? void 0 : options.consumeActions) !== null && _c !== void 0 ? _c : null;
12
14
  }
13
15
  properties() {
14
16
  let properties = {};
@@ -18,6 +20,9 @@ class SalesItem {
18
20
  if (this.metadata != null) {
19
21
  properties["metadata"] = this.metadata;
20
22
  }
23
+ if (this.verifyActions != null) {
24
+ properties["verifyActions"] = this.verifyActions.map(v => v.properties());
25
+ }
21
26
  if (this.consumeActions != null) {
22
27
  properties["consumeActions"] = this.consumeActions.map(v => v.properties());
23
28
  }
@@ -1 +1 @@
1
- {"version":3,"file":"SalesItem.js","sourceRoot":"","sources":["SalesItem.ts"],"names":[],"mappings":";;AA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,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EACnE,CAAC,CAAC;SACV;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA5CD,4BA4CC"}
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../core/model";
16
17
  import { ConsumeAction } from "../../core/model";
17
18
  import { AcquireAction } from "../../core/model";
18
19
  import { SalesItemOptions } from "./options/SalesItemOptions";
@@ -21,6 +22,7 @@ export default class SalesItem {
21
22
  private readonly name: string;
22
23
  private readonly acquireActions: AcquireAction[];
23
24
  private readonly metadata: string|null = null;
25
+ private readonly verifyActions: VerifyAction[]|null = null;
24
26
  private readonly consumeActions: ConsumeAction[]|null = null;
25
27
 
26
28
  public constructor(
@@ -31,6 +33,7 @@ export default class SalesItem {
31
33
  this.name = name;
32
34
  this.acquireActions = acquireActions;
33
35
  this.metadata = options?.metadata ?? null;
36
+ this.verifyActions = options?.verifyActions ?? null;
34
37
  this.consumeActions = options?.consumeActions ?? null;
35
38
  }
36
39
 
@@ -44,6 +47,10 @@ export default class SalesItem {
44
47
  if (this.metadata != null) {
45
48
  properties["metadata"] = this.metadata;
46
49
  }
50
+ if (this.verifyActions != null) {
51
+ properties["verifyActions"] = this.verifyActions.map(v => v.properties(
52
+ ));
53
+ }
47
54
  if (this.consumeActions != null) {
48
55
  properties["consumeActions"] = this.consumeActions.map(v => v.properties(
49
56
  ));
@@ -1 +1 @@
1
- {"version":3,"file":"SalesItemGroup.js","sourceRoot":"","sources":["SalesItemGroup.ts"],"names":[],"mappings":";;AAoBA,MAAqB,cAAc;IAK/B,YACI,IAAY,EACZ,UAAuB,EACvB,UAAsC,IAAI;;QAL7B,aAAQ,GAAgB,IAAI,CAAC;QAO1C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GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAC3D,CAAC,CAAC;SACV;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAhCD,iCAgCC"}
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../core/model";
16
17
  import { ConsumeAction } from "../../core/model";
17
18
  import { AcquireAction } from "../../core/model";
18
19
  import SalesItem from "./SalesItem";
@@ -1 +1 @@
1
- {"version":3,"file":"Showcase.js","sourceRoot":"","sources":["Showcase.ts"],"names":[],"mappings":";;AAsBA,MAAqB,QAAQ;IAMzB,YACI,IAAY,EACZ,YAA2B,EAC3B,UAAgC,IAAI;;QANvB,aAAQ,GAAgB,IAAI,CAAC;QAC7B,uBAAkB,GAAgB,IAAI,CAAC;QAOpD,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;QACjC,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,kBAAkB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB,mCAAI,IAAI,CAAC;IAClE,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAA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,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;QACD,IAAI,IAAI,CAAC,YAAY,IAAI,IAAI,EAAE;YAC3B,UAAU,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,YAAY,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAC/D,CAAC,CAAC;SACV;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AArCD,2BAqCC"}
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../core/model";
16
17
  import { ConsumeAction } from "../../core/model";
17
18
  import { AcquireAction } from "../../core/model";
18
19
  import SalesItem from "./SalesItem";
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../../core/model";
16
17
  import { ConsumeAction } from "../../../core/model";
17
18
  import { AcquireAction } from "../../../core/model";
18
19
  import SalesItem from "../SalesItem";
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../../core/model";
16
17
  import { ConsumeAction } from "../../../core/model";
17
18
  import { AcquireAction } from "../../../core/model";
18
19
  import SalesItem from "../SalesItem";
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../../core/model";
16
17
  import { ConsumeAction } from "../../../core/model";
17
18
  import { AcquireAction } from "../../../core/model";
18
19
  import SalesItem from "../SalesItem";
@@ -1,5 +1,7 @@
1
+ import { VerifyAction } from "../../../core/model";
1
2
  import { ConsumeAction } from "../../../core/model";
2
3
  export interface RandomDisplayItemModelOptions {
3
4
  metadata?: string | null;
5
+ verifyActions?: VerifyAction[] | null;
4
6
  consumeActions?: ConsumeAction[] | null;
5
7
  }
@@ -13,11 +13,13 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../../core/model";
16
17
  import { ConsumeAction } from "../../../core/model";
17
18
  import { AcquireAction } from "../../../core/model";
18
19
 
19
20
  export interface RandomDisplayItemModelOptions {
20
21
  metadata?: string|null;
22
+ verifyActions?: VerifyAction[]|null;
21
23
  consumeActions?: ConsumeAction[]|null;
22
24
  }
23
25
 
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../../core/model";
16
17
  import { ConsumeAction } from "../../../core/model";
17
18
  import { AcquireAction } from "../../../core/model";
18
19
  import RandomDisplayItemModel from "../RandomDisplayItemModel";
@@ -13,6 +13,7 @@
13
13
  * express or implied. See the License for the specific language governing
14
14
  * permissions and limitations under the License.
15
15
  */
16
+ import { VerifyAction } from "../../../core/model";
16
17
  import { ConsumeAction } from "../../../core/model";
17
18
  import { AcquireAction } from "../../../core/model";
18
19
  import SalesItem from "../SalesItem";
@@ -1,5 +1,7 @@
1
+ import { VerifyAction } from "../../../core/model";
1
2
  import { ConsumeAction } from "../../../core/model";
2
3
  export interface SalesItemOptions {
3
4
  metadata?: string | null;
5
+ verifyActions?: VerifyAction[] | null;
4
6
  consumeActions?: ConsumeAction[] | null;
5
7
  }