gs2-cdk 1.0.25 → 1.0.27

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 (121) hide show
  1. package/distributor/model/StampSheetResult.d.ts +1 -0
  2. package/distributor/model/StampSheetResult.js +3 -1
  3. package/distributor/model/StampSheetResult.js.map +1 -1
  4. package/distributor/model/StampSheetResult.ts +2 -0
  5. package/distributor/model/options/StampSheetResultOptions.d.ts +1 -0
  6. package/distributor/model/options/StampSheetResultOptions.ts +1 -0
  7. package/identifier/model/options/AttachSecurityPolicyOptions.d.ts +1 -0
  8. package/identifier/model/options/AttachSecurityPolicyOptions.ts +1 -0
  9. package/inventory/model/BigInventoryModel.d.ts +11 -0
  10. package/inventory/model/BigInventoryModel.js +26 -0
  11. package/inventory/model/BigInventoryModel.js.map +1 -0
  12. package/inventory/model/BigInventoryModel.ts +51 -0
  13. package/inventory/model/BigItemModel.d.ts +9 -0
  14. package/inventory/model/BigItemModel.js +22 -0
  15. package/inventory/model/BigItemModel.js.map +1 -0
  16. package/inventory/model/BigItemModel.ts +43 -0
  17. package/inventory/model/CurrentMasterData.d.ts +3 -1
  18. package/inventory/model/CurrentMasterData.js +5 -1
  19. package/inventory/model/CurrentMasterData.js.map +1 -1
  20. package/inventory/model/CurrentMasterData.ts +8 -0
  21. package/inventory/model/Namespace.d.ts +2 -1
  22. package/inventory/model/Namespace.js +2 -2
  23. package/inventory/model/Namespace.js.map +1 -1
  24. package/inventory/model/Namespace.ts +3 -0
  25. package/inventory/model/index.d.ts +5 -1
  26. package/inventory/model/index.js +5 -1
  27. package/inventory/model/index.js.map +1 -1
  28. package/inventory/model/index.ts +8 -0
  29. package/inventory/model/options/BigInventoryModelOptions.d.ts +3 -0
  30. package/inventory/model/options/BigInventoryModelOptions.js +3 -0
  31. package/inventory/model/options/BigInventoryModelOptions.js.map +1 -0
  32. package/inventory/model/options/BigInventoryModelOptions.ts +21 -0
  33. package/inventory/model/options/BigItemModelOptions.d.ts +3 -0
  34. package/inventory/model/options/BigItemModelOptions.js +18 -0
  35. package/inventory/model/options/BigItemModelOptions.js.map +1 -0
  36. package/inventory/model/options/BigItemModelOptions.ts +20 -0
  37. package/inventory/ref/BigInventoryModelRef.d.ts +12 -0
  38. package/inventory/ref/BigInventoryModelRef.js +52 -0
  39. package/inventory/ref/BigInventoryModelRef.js.map +1 -0
  40. package/inventory/ref/BigInventoryModelRef.ts +94 -0
  41. package/inventory/ref/BigItemModelRef.d.ts +11 -0
  42. package/inventory/ref/BigItemModelRef.js +51 -0
  43. package/inventory/ref/BigItemModelRef.js.map +1 -0
  44. package/inventory/ref/BigItemModelRef.ts +86 -0
  45. package/inventory/ref/index.d.ts +3 -1
  46. package/inventory/ref/index.js +5 -1
  47. package/inventory/ref/index.js.map +1 -1
  48. package/inventory/ref/index.ts +4 -0
  49. package/inventory/stampSheet/AcquireBigItemByUserId.d.ts +4 -0
  50. package/inventory/stampSheet/AcquireBigItemByUserId.js +31 -0
  51. package/inventory/stampSheet/AcquireBigItemByUserId.js.map +1 -0
  52. package/inventory/stampSheet/AcquireBigItemByUserId.ts +41 -0
  53. package/inventory/stampSheet/ConsumeBigItemByUserId.d.ts +4 -0
  54. package/inventory/stampSheet/ConsumeBigItemByUserId.js +31 -0
  55. package/inventory/stampSheet/ConsumeBigItemByUserId.js.map +1 -0
  56. package/inventory/stampSheet/ConsumeBigItemByUserId.ts +41 -0
  57. package/inventory/stampSheet/index.d.ts +3 -1
  58. package/inventory/stampSheet/index.js +5 -1
  59. package/inventory/stampSheet/index.js.map +1 -1
  60. package/inventory/stampSheet/index.ts +4 -0
  61. package/key/model/GitHubApiKey.d.ts +1 -0
  62. package/key/model/GitHubApiKey.js +3 -1
  63. package/key/model/GitHubApiKey.js.map +1 -1
  64. package/key/model/GitHubApiKey.ts +2 -0
  65. package/key/model/options/GitHubApiKeyOptions.d.ts +1 -0
  66. package/key/model/options/GitHubApiKeyOptions.ts +1 -0
  67. package/log/model/options/NamespaceTypeIsBigqueryOptions.d.ts +1 -0
  68. package/log/model/options/NamespaceTypeIsBigqueryOptions.ts +1 -0
  69. package/log/model/options/NamespaceTypeIsFirehoseOptions.d.ts +1 -0
  70. package/log/model/options/NamespaceTypeIsFirehoseOptions.ts +1 -0
  71. package/log/model/options/NamespaceTypeIsGs2Options.d.ts +1 -0
  72. package/log/model/options/NamespaceTypeIsGs2Options.ts +1 -0
  73. package/lottery/model/PrizeLimit.d.ts +1 -0
  74. package/lottery/model/PrizeLimit.js +3 -0
  75. package/lottery/model/PrizeLimit.js.map +1 -1
  76. package/lottery/model/PrizeLimit.ts +2 -0
  77. package/lottery/model/options/PrizeLimitOptions.d.ts +1 -0
  78. package/lottery/model/options/PrizeLimitOptions.ts +1 -0
  79. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2RealtimeOptions.d.ts +1 -0
  80. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2RealtimeOptions.ts +1 -0
  81. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2ScriptOptions.d.ts +1 -0
  82. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsGs2ScriptOptions.ts +1 -0
  83. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsNoneOptions.d.ts +1 -0
  84. package/matchmaking/model/options/NamespaceCompleteMatchmakingTriggerTypeIsNoneOptions.ts +1 -0
  85. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2RealtimeOptions.d.ts +1 -0
  86. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2RealtimeOptions.ts +1 -0
  87. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2ScriptOptions.d.ts +1 -0
  88. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsGs2ScriptOptions.ts +1 -0
  89. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsNoneOptions.d.ts +1 -0
  90. package/matchmaking/model/options/NamespaceCreateGatheringTriggerTypeIsNoneOptions.ts +1 -0
  91. package/news/model/Output.d.ts +1 -0
  92. package/news/model/Output.js +3 -0
  93. package/news/model/Output.js.map +1 -1
  94. package/news/model/Output.ts +2 -0
  95. package/news/model/Progress.d.ts +1 -0
  96. package/news/model/Progress.js +3 -0
  97. package/news/model/Progress.js.map +1 -1
  98. package/news/model/Progress.ts +2 -0
  99. package/news/model/options/OutputOptions.d.ts +1 -0
  100. package/news/model/options/OutputOptions.ts +1 -0
  101. package/news/model/options/ProgressOptions.d.ts +1 -0
  102. package/news/model/options/ProgressOptions.ts +1 -0
  103. package/package.json +1 -1
  104. package/schedule/ref/NamespaceRef.d.ts +2 -0
  105. package/schedule/ref/NamespaceRef.js +5 -0
  106. package/schedule/ref/NamespaceRef.js.map +1 -1
  107. package/schedule/ref/NamespaceRef.ts +16 -0
  108. package/schedule/stampSheet/TriggerByUserId.d.ts +4 -0
  109. package/schedule/stampSheet/TriggerByUserId.js +31 -0
  110. package/schedule/stampSheet/TriggerByUserId.js.map +1 -0
  111. package/schedule/stampSheet/TriggerByUserId.ts +41 -0
  112. package/schedule/stampSheet/index.d.ts +2 -1
  113. package/schedule/stampSheet/index.js +5 -1
  114. package/schedule/stampSheet/index.js.map +1 -1
  115. package/schedule/stampSheet/index.ts +2 -0
  116. package/serialKey/model/IssueJob.d.ts +1 -0
  117. package/serialKey/model/IssueJob.js +3 -1
  118. package/serialKey/model/IssueJob.js.map +1 -1
  119. package/serialKey/model/IssueJob.ts +2 -0
  120. package/serialKey/model/options/IssueJobOptions.d.ts +1 -0
  121. package/serialKey/model/options/IssueJobOptions.ts +1 -0
@@ -16,5 +16,6 @@
16
16
 
17
17
  export interface GitHubApiKeyOptions {
18
18
  description?: string|null;
19
+ revision?: number|null;
19
20
  }
20
21
 
@@ -1,4 +1,5 @@
1
1
  export interface NamespaceTypeIsBigqueryOptions {
2
2
  description?: string | null;
3
3
  status?: string | null;
4
+ revision?: number | null;
4
5
  }
@@ -18,4 +18,5 @@ import { NamespaceType } from "../enum/NamespaceType";
18
18
  export interface NamespaceTypeIsBigqueryOptions {
19
19
  description?: string|null;
20
20
  status?: string|null;
21
+ revision?: number|null;
21
22
  }
@@ -1,4 +1,5 @@
1
1
  export interface NamespaceTypeIsFirehoseOptions {
2
2
  description?: string | null;
3
3
  status?: string | null;
4
+ revision?: number | null;
4
5
  }
@@ -18,4 +18,5 @@ import { NamespaceType } from "../enum/NamespaceType";
18
18
  export interface NamespaceTypeIsFirehoseOptions {
19
19
  description?: string|null;
20
20
  status?: string|null;
21
+ revision?: number|null;
21
22
  }
@@ -1,4 +1,5 @@
1
1
  export interface NamespaceTypeIsGs2Options {
2
2
  description?: string | null;
3
3
  status?: string | null;
4
+ revision?: number | null;
4
5
  }
@@ -18,4 +18,5 @@ import { NamespaceType } from "../enum/NamespaceType";
18
18
  export interface NamespaceTypeIsGs2Options {
19
19
  description?: string|null;
20
20
  status?: string|null;
21
+ revision?: number|null;
21
22
  }
@@ -2,6 +2,7 @@ import { PrizeLimitOptions } from "./options/PrizeLimitOptions";
2
2
  export default class PrizeLimit {
3
3
  private readonly prizeId;
4
4
  private readonly drawnCount;
5
+ private readonly revision;
5
6
  constructor(prizeId: string, drawnCount: number, options?: PrizeLimitOptions | null);
6
7
  properties(): {
7
8
  [name: string]: any;
@@ -2,8 +2,11 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class PrizeLimit {
4
4
  constructor(prizeId, drawnCount, options = null) {
5
+ var _a;
6
+ this.revision = null;
5
7
  this.prizeId = prizeId;
6
8
  this.drawnCount = drawnCount;
9
+ this.revision = (_a = options === null || options === void 0 ? void 0 : options.revision) !== null && _a !== void 0 ? _a : null;
7
10
  }
8
11
  properties() {
9
12
  let properties = {};
@@ -1 +1 @@
1
- {"version":3,"file":"PrizeLimit.js","sourceRoot":"","sources":["PrizeLimit.ts"],"names":[],"mappings":";;AAiBA,MAAqB,UAAU;IAI3B,YACI,OAAe,EACf,U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18
18
  export default class PrizeLimit {
19
19
  private readonly prizeId: string;
20
20
  private readonly drawnCount: number;
21
+ private readonly revision: number|null = null;
21
22
 
22
23
  public constructor(
23
24
  prizeId: string,
@@ -26,6 +27,7 @@ export default class PrizeLimit {
26
27
  ) {
27
28
  this.prizeId = prizeId;
28
29
  this.drawnCount = drawnCount;
30
+ this.revision = options?.revision ?? null;
29
31
  }
30
32
 
31
33
  public properties(
@@ -1,2 +1,3 @@
1
1
  export interface PrizeLimitOptions {
2
+ revision?: number | null;
2
3
  }
@@ -15,5 +15,6 @@
15
15
  */
16
16
 
17
17
  export interface PrizeLimitOptions {
18
+ revision?: number|null;
18
19
  }
19
20
 
@@ -9,4 +9,5 @@ export interface NamespaceCompleteMatchmakingTriggerTypeIsGs2RealtimeOptions {
9
9
  completeNotification?: NotificationSetting | null;
10
10
  changeRatingNotification?: NotificationSetting | null;
11
11
  logSetting?: LogSetting | null;
12
+ revision?: number | null;
12
13
  }
@@ -27,4 +27,5 @@ export interface NamespaceCompleteMatchmakingTriggerTypeIsGs2RealtimeOptions {
27
27
  completeNotification?: NotificationSetting|null;
28
28
  changeRatingNotification?: NotificationSetting|null;
29
29
  logSetting?: LogSetting|null;
30
+ revision?: number|null;
30
31
  }
@@ -9,4 +9,5 @@ export interface NamespaceCompleteMatchmakingTriggerTypeIsGs2ScriptOptions {
9
9
  completeNotification?: NotificationSetting | null;
10
10
  changeRatingNotification?: NotificationSetting | null;
11
11
  logSetting?: LogSetting | null;
12
+ revision?: number | null;
12
13
  }
@@ -27,4 +27,5 @@ export interface NamespaceCompleteMatchmakingTriggerTypeIsGs2ScriptOptions {
27
27
  completeNotification?: NotificationSetting|null;
28
28
  changeRatingNotification?: NotificationSetting|null;
29
29
  logSetting?: LogSetting|null;
30
+ revision?: number|null;
30
31
  }
@@ -9,4 +9,5 @@ export interface NamespaceCompleteMatchmakingTriggerTypeIsNoneOptions {
9
9
  completeNotification?: NotificationSetting | null;
10
10
  changeRatingNotification?: NotificationSetting | null;
11
11
  logSetting?: LogSetting | null;
12
+ revision?: number | null;
12
13
  }
@@ -27,4 +27,5 @@ export interface NamespaceCompleteMatchmakingTriggerTypeIsNoneOptions {
27
27
  completeNotification?: NotificationSetting|null;
28
28
  changeRatingNotification?: NotificationSetting|null;
29
29
  logSetting?: LogSetting|null;
30
+ revision?: number|null;
30
31
  }
@@ -9,4 +9,5 @@ export interface NamespaceCreateGatheringTriggerTypeIsGs2RealtimeOptions {
9
9
  completeNotification?: NotificationSetting | null;
10
10
  changeRatingNotification?: NotificationSetting | null;
11
11
  logSetting?: LogSetting | null;
12
+ revision?: number | null;
12
13
  }
@@ -27,4 +27,5 @@ export interface NamespaceCreateGatheringTriggerTypeIsGs2RealtimeOptions {
27
27
  completeNotification?: NotificationSetting|null;
28
28
  changeRatingNotification?: NotificationSetting|null;
29
29
  logSetting?: LogSetting|null;
30
+ revision?: number|null;
30
31
  }
@@ -9,4 +9,5 @@ export interface NamespaceCreateGatheringTriggerTypeIsGs2ScriptOptions {
9
9
  completeNotification?: NotificationSetting | null;
10
10
  changeRatingNotification?: NotificationSetting | null;
11
11
  logSetting?: LogSetting | null;
12
+ revision?: number | null;
12
13
  }
@@ -27,4 +27,5 @@ export interface NamespaceCreateGatheringTriggerTypeIsGs2ScriptOptions {
27
27
  completeNotification?: NotificationSetting|null;
28
28
  changeRatingNotification?: NotificationSetting|null;
29
29
  logSetting?: LogSetting|null;
30
+ revision?: number|null;
30
31
  }
@@ -9,4 +9,5 @@ export interface NamespaceCreateGatheringTriggerTypeIsNoneOptions {
9
9
  completeNotification?: NotificationSetting | null;
10
10
  changeRatingNotification?: NotificationSetting | null;
11
11
  logSetting?: LogSetting | null;
12
+ revision?: number | null;
12
13
  }
@@ -27,4 +27,5 @@ export interface NamespaceCreateGatheringTriggerTypeIsNoneOptions {
27
27
  completeNotification?: NotificationSetting|null;
28
28
  changeRatingNotification?: NotificationSetting|null;
29
29
  logSetting?: LogSetting|null;
30
+ revision?: number|null;
30
31
  }
@@ -1,6 +1,7 @@
1
1
  import { OutputOptions } from "./options/OutputOptions";
2
2
  export default class Output {
3
3
  private readonly text;
4
+ private readonly revision;
4
5
  constructor(text: string, options?: OutputOptions | null);
5
6
  properties(): {
6
7
  [name: string]: any;
@@ -2,7 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class Output {
4
4
  constructor(text, options = null) {
5
+ var _a;
6
+ this.revision = null;
5
7
  this.text = text;
8
+ this.revision = (_a = options === null || options === void 0 ? void 0 : options.revision) !== null && _a !== void 0 ? _a : null;
6
9
  }
7
10
  properties() {
8
11
  let properties = {};
@@ -1 +1 @@
1
- {"version":3,"file":"Output.js","sourceRoot":"","sources":["Output.ts"],"names":[],"mappings":";;AAiBA,MAAqB,MAAM;IAGvB,YACI,IAAY,EACZ,UAA8B,IAAI;QAElC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,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;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AApBD,yBAoBC"}
1
+ {"version":3,"file":"Output.js","sourceRoot":"","sources":["Output.ts"],"names":[],"mappings":";;AAiBA,MAAqB,MAAM;IAIvB,YACI,IAAY,EACZ,UAA8B,IAAI;;QAJrB,aAAQ,GAAgB,IAAI,CAAC;QAM1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;IAC9C,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;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAtBD,yBAsBC"}
@@ -17,12 +17,14 @@ import { OutputOptions } from "./options/OutputOptions";
17
17
 
18
18
  export default class Output {
19
19
  private readonly text: string;
20
+ private readonly revision: number|null = null;
20
21
 
21
22
  public constructor(
22
23
  text: string,
23
24
  options: OutputOptions|null = null,
24
25
  ) {
25
26
  this.text = text;
27
+ this.revision = options?.revision ?? null;
26
28
  }
27
29
 
28
30
  public properties(
@@ -3,6 +3,7 @@ export default class Progress {
3
3
  private readonly uploadToken;
4
4
  private readonly generated;
5
5
  private readonly patternCount;
6
+ private readonly revision;
6
7
  constructor(uploadToken: string, generated: number, patternCount: number, options?: ProgressOptions | null);
7
8
  properties(): {
8
9
  [name: string]: any;
@@ -2,9 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class Progress {
4
4
  constructor(uploadToken, generated, patternCount, options = null) {
5
+ var _a;
6
+ this.revision = null;
5
7
  this.uploadToken = uploadToken;
6
8
  this.generated = generated;
7
9
  this.patternCount = patternCount;
10
+ this.revision = (_a = options === null || options === void 0 ? void 0 : options.revision) !== null && _a !== void 0 ? _a : null;
8
11
  }
9
12
  properties() {
10
13
  let properties = {};
@@ -1 +1 @@
1
- {"version":3,"file":"Progress.js","sourceRoot":"","sources":["Progress.ts"],"names":[],"mappings":";;AAiBA,MAAqB,QAAQ;IAKzB,YACI,WAAmB,EACnB,SAAiB,EACjB,YAAoB,EACpB,UAAgC,IAAI;QAEpC,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,YAAY,GAAG,YAAY,CAAC;IACrC,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,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export default class Progress {
19
19
  private readonly uploadToken: string;
20
20
  private readonly generated: number;
21
21
  private readonly patternCount: number;
22
+ private readonly revision: number|null = null;
22
23
 
23
24
  public constructor(
24
25
  uploadToken: string,
@@ -29,6 +30,7 @@ export default class Progress {
29
30
  this.uploadToken = uploadToken;
30
31
  this.generated = generated;
31
32
  this.patternCount = patternCount;
33
+ this.revision = options?.revision ?? null;
32
34
  }
33
35
 
34
36
  public properties(
@@ -1,2 +1,3 @@
1
1
  export interface OutputOptions {
2
+ revision?: number | null;
2
3
  }
@@ -15,5 +15,6 @@
15
15
  */
16
16
 
17
17
  export interface OutputOptions {
18
+ revision?: number|null;
18
19
  }
19
20
 
@@ -1,2 +1,3 @@
1
1
  export interface ProgressOptions {
2
+ revision?: number | null;
2
3
  }
@@ -15,5 +15,6 @@
15
15
  */
16
16
 
17
17
  export interface ProgressOptions {
18
+ revision?: number|null;
18
19
  }
19
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.25",
3
+ "version": "1.0.27",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"
@@ -1,5 +1,7 @@
1
+ import TriggerByUserId from "../stampSheet/TriggerByUserId";
1
2
  export default class NamespaceRef {
2
3
  private readonly namespaceName;
3
4
  constructor(namespaceName: string);
5
+ trigger(triggerName: string, triggerStrategy: string, ttl: number, userId?: string | null): TriggerByUserId;
4
6
  grn(): string;
5
7
  }
@@ -15,11 +15,16 @@
15
15
  * permissions and limitations under the License.
16
16
  */
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
+ const tslib_1 = require("tslib");
18
19
  const func_1 = require("../../core/func");
20
+ const TriggerByUserId_1 = tslib_1.__importDefault(require("../stampSheet/TriggerByUserId"));
19
21
  class NamespaceRef {
20
22
  constructor(namespaceName) {
21
23
  this.namespaceName = namespaceName;
22
24
  }
25
+ trigger(triggerName, triggerStrategy, ttl, userId = "#{userId}") {
26
+ return new TriggerByUserId_1.default(this.namespaceName, triggerName, triggerStrategy, ttl, userId);
27
+ }
23
28
  grn() {
24
29
  return new func_1.Join(":", [
25
30
  "grn",
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAE9C,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,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,UAAU;YACV,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA5BD,+BA4BC"}
1
+ {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,4FAA4D;AAE5D,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,OAAO,CACV,WAAmB,EACnB,eAAuB,EACvB,GAAW,EACX,SAAsB,WAAW;QAEjC,OAAO,IAAI,yBAAe,CACtB,IAAI,CAAC,aAAa,EAClB,WAAW,EACX,eAAe,EACf,GAAG,EACH,MAAM,CACT,CAAC;IACN,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,UAAU;YACV,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA3CD,+BA2CC"}
@@ -15,6 +15,7 @@
15
15
  */
16
16
 
17
17
  import {GetAttr, Join} from "../../core/func";
18
+ import TriggerByUserId from "../stampSheet/TriggerByUserId";
18
19
 
19
20
  export default class NamespaceRef {
20
21
  private readonly namespaceName: string;
@@ -25,6 +26,21 @@ export default class NamespaceRef {
25
26
  this.namespaceName = namespaceName;
26
27
  }
27
28
 
29
+ public trigger(
30
+ triggerName: string,
31
+ triggerStrategy: string,
32
+ ttl: number,
33
+ userId: string|null = "#{userId}",
34
+ ): TriggerByUserId {
35
+ return new TriggerByUserId(
36
+ this.namespaceName,
37
+ triggerName,
38
+ triggerStrategy,
39
+ ttl,
40
+ userId,
41
+ );
42
+ }
43
+
28
44
  public grn(
29
45
  ): string {
30
46
  return new Join(
@@ -0,0 +1,4 @@
1
+ import { AcquireAction } from "../../core/model";
2
+ export default class TriggerByUserId extends AcquireAction {
3
+ constructor(namespaceName: string, triggerName: string, triggerStrategy: string, ttl: number, userId?: string | null);
4
+ }
@@ -0,0 +1,31 @@
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 model_1 = require("../../core/model");
19
+ class TriggerByUserId extends model_1.AcquireAction {
20
+ constructor(namespaceName, triggerName, triggerStrategy, ttl, userId = "#{userId}") {
21
+ let properties = {};
22
+ properties["namespaceName"] = namespaceName;
23
+ properties["triggerName"] = triggerName;
24
+ properties["triggerStrategy"] = triggerStrategy;
25
+ properties["ttl"] = ttl;
26
+ properties["userId"] = userId;
27
+ super("Gs2Schedule:TriggerByUserId", properties);
28
+ }
29
+ }
30
+ exports.default = TriggerByUserId;
31
+ //# sourceMappingURL=TriggerByUserId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TriggerByUserId.js","sourceRoot":"","sources":["TriggerByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,eAAgB,SAAQ,qBAAa;IAEtD,YACI,aAAqB,EACrB,WAAmB,EACnB,eAAuB,EACvB,GAAW,EACX,SAAsB,WAAW;QAEjC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAA;QAC3C,UAAU,CAAC,aAAa,CAAC,GAAG,WAAW,CAAA;QACvC,UAAU,CAAC,iBAAiB,CAAC,GAAG,eAAe,CAAA;QAC/C,UAAU,CAAC,KAAK,CAAC,GAAG,GAAG,CAAA;QACvB,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAA;QAE7B,KAAK,CACD,6BAA6B,EAC7B,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAtBD,kCAsBC"}
@@ -0,0 +1,41 @@
1
+ /*
2
+ * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
3
+ * Reserved.
4
+ *
5
+ * Licensed under the Apache License, Version 2.0 (the "License").
6
+ * You may not use this file except in compliance with the License.
7
+ * A copy of the License is located at
8
+ *
9
+ * http://www.apache.org/licenses/LICENSE-2.0
10
+ *
11
+ * or in the "license" file accompanying this file. This file is distributed
12
+ * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
13
+ * express or implied. See the License for the specific language governing
14
+ * permissions and limitations under the License.
15
+ */
16
+
17
+ import {AcquireAction, ConsumeAction} from "../../core/model";
18
+
19
+ export default class TriggerByUserId extends AcquireAction {
20
+
21
+ public constructor(
22
+ namespaceName: string,
23
+ triggerName: string,
24
+ triggerStrategy: string,
25
+ ttl: number,
26
+ userId: string|null = "#{userId}",
27
+ ) {
28
+ let properties: {[name: string]: any} = {};
29
+
30
+ properties["namespaceName"] = namespaceName
31
+ properties["triggerName"] = triggerName
32
+ properties["triggerStrategy"] = triggerStrategy
33
+ properties["ttl"] = ttl
34
+ properties["userId"] = userId
35
+
36
+ super(
37
+ "Gs2Schedule:TriggerByUserId",
38
+ properties,
39
+ );
40
+ }
41
+ }
@@ -1 +1,2 @@
1
- export {};
1
+ import TriggerByUserId from "./TriggerByUserId";
2
+ export { TriggerByUserId, };
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TriggerByUserId = void 0;
4
+ const tslib_1 = require("tslib");
2
5
  /*
3
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
4
7
  * Reserved.
@@ -14,5 +17,6 @@
14
17
  * express or implied. See the License for the specific language governing
15
18
  * permissions and limitations under the License.
16
19
  */
17
- Object.defineProperty(exports, "__esModule", { value: true });
20
+ const TriggerByUserId_1 = tslib_1.__importDefault(require("./TriggerByUserId"));
21
+ exports.TriggerByUserId = TriggerByUserId_1.default;
18
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gFAAgD;AAG5C,0BAHG,yBAAe,CAGH"}
@@ -13,6 +13,8 @@
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 TriggerByUserId from "./TriggerByUserId";
16
17
 
17
18
  export {
19
+ TriggerByUserId,
18
20
  }
@@ -6,6 +6,7 @@ export default class IssueJob {
6
6
  private readonly issueRequestCount;
7
7
  private readonly status;
8
8
  private readonly metadata;
9
+ private readonly revision;
9
10
  constructor(name: string, issuedCount: number, issueRequestCount: number, status: IssueJobStatus, options?: IssueJobOptions | null);
10
11
  properties(): {
11
12
  [name: string]: any;
@@ -2,13 +2,15 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class IssueJob {
4
4
  constructor(name, issuedCount, issueRequestCount, status, options = null) {
5
- var _a;
5
+ var _a, _b;
6
6
  this.metadata = null;
7
+ this.revision = null;
7
8
  this.name = name;
8
9
  this.issuedCount = issuedCount;
9
10
  this.issueRequestCount = issueRequestCount;
10
11
  this.status = status;
11
12
  this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
13
+ this.revision = (_b = options === null || options === void 0 ? void 0 : options.revision) !== null && _b !== void 0 ? _b : null;
12
14
  }
13
15
  properties() {
14
16
  let properties = {};
@@ -1 +1 @@
1
- {"version":3,"file":"IssueJob.js","sourceRoot":"","sources":["IssueJob.ts"],"names":[],"mappings":";;AAkBA,MAAqB,QAAQ;IAOzB,YACI,IAAY,EACZ,WAAmB,EACnB,iBAAyB,EACzB,MAAsB,EACtB,UAAgC,IAAI;;QAPvB,aAAQ,GAAgB,IAAI,CAAC;QAS1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,WAAW,CAAC;QAC/B,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;IAC9C,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI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E3C,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,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,iBAAiB,IAAI,IAAI,EAAE;YAChC,UAAU,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,iBAAiB,CAAC;SAC5D;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;AA7CD,2BA6CC"}
@@ -22,6 +22,7 @@ export default class IssueJob {
22
22
  private readonly issueRequestCount: number;
23
23
  private readonly status: IssueJobStatus;
24
24
  private readonly metadata: string|null = null;
25
+ private readonly revision: number|null = null;
25
26
 
26
27
  public constructor(
27
28
  name: string,
@@ -35,6 +36,7 @@ export default class IssueJob {
35
36
  this.issueRequestCount = issueRequestCount;
36
37
  this.status = status;
37
38
  this.metadata = options?.metadata ?? null;
39
+ this.revision = options?.revision ?? null;
38
40
  }
39
41
 
40
42
  public properties(
@@ -1,3 +1,4 @@
1
1
  export interface IssueJobOptions {
2
2
  metadata?: string | null;
3
+ revision?: number | null;
3
4
  }
@@ -17,5 +17,6 @@ import { IssueJobStatus } from "../enum/IssueJobStatus";
17
17
 
18
18
  export interface IssueJobOptions {
19
19
  metadata?: string|null;
20
+ revision?: number|null;
20
21
  }
21
22