gs2-cdk 1.0.54 → 1.0.56

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 (91) hide show
  1. package/distributor/model/StampSheetResult.d.ts +2 -0
  2. package/distributor/model/StampSheetResult.js +15 -5
  3. package/distributor/model/StampSheetResult.js.map +1 -1
  4. package/distributor/model/StampSheetResult.ts +10 -0
  5. package/distributor/model/options/StampSheetResultOptions.d.ts +2 -0
  6. package/distributor/model/options/StampSheetResultOptions.ts +2 -0
  7. package/exchange/ref/NamespaceRef.d.ts +1 -1
  8. package/exchange/ref/NamespaceRef.js +2 -2
  9. package/exchange/ref/NamespaceRef.js.map +1 -1
  10. package/exchange/ref/NamespaceRef.ts +2 -0
  11. package/exchange/stampSheet/CreateAwaitByUserId.d.ts +3 -1
  12. package/exchange/stampSheet/CreateAwaitByUserId.js +6 -1
  13. package/exchange/stampSheet/CreateAwaitByUserId.js.map +1 -1
  14. package/exchange/stampSheet/CreateAwaitByUserId.ts +8 -0
  15. package/formation/model/Namespace.d.ts +1 -0
  16. package/formation/model/Namespace.js +9 -4
  17. package/formation/model/Namespace.js.map +1 -1
  18. package/formation/model/Namespace.ts +6 -0
  19. package/formation/model/options/NamespaceOptions.d.ts +1 -0
  20. package/formation/model/options/NamespaceOptions.ts +1 -0
  21. package/idle/ref/NamespaceRef.d.ts +2 -0
  22. package/idle/ref/NamespaceRef.js +4 -0
  23. package/idle/ref/NamespaceRef.js.map +1 -1
  24. package/idle/ref/NamespaceRef.ts +14 -0
  25. package/idle/stampSheet/SetMaximumIdleMinutesByUserId.d.ts +12 -0
  26. package/idle/stampSheet/SetMaximumIdleMinutesByUserId.js +49 -0
  27. package/idle/stampSheet/SetMaximumIdleMinutesByUserId.js.map +1 -0
  28. package/idle/stampSheet/SetMaximumIdleMinutesByUserId.ts +63 -0
  29. package/idle/stampSheet/index.d.ts +2 -1
  30. package/idle/stampSheet/index.js +3 -1
  31. package/idle/stampSheet/index.js.map +1 -1
  32. package/idle/stampSheet/index.ts +2 -0
  33. package/inventory/model/Namespace.d.ts +2 -0
  34. package/inventory/model/Namespace.js +14 -4
  35. package/inventory/model/Namespace.js.map +1 -1
  36. package/inventory/model/Namespace.ts +12 -0
  37. package/inventory/model/options/NamespaceOptions.d.ts +2 -0
  38. package/inventory/model/options/NamespaceOptions.ts +2 -0
  39. package/log/model/AccessLogWithTelemetry.d.ts +18 -0
  40. package/log/model/AccessLogWithTelemetry.js +54 -0
  41. package/log/model/AccessLogWithTelemetry.js.map +1 -0
  42. package/log/model/AccessLogWithTelemetry.ts +92 -0
  43. package/log/model/enum/AccessLogWithTelemetryStatus.d.ts +5 -0
  44. package/log/model/enum/AccessLogWithTelemetryStatus.js +23 -0
  45. package/log/model/enum/AccessLogWithTelemetryStatus.js.map +1 -0
  46. package/log/model/enum/AccessLogWithTelemetryStatus.ts +23 -0
  47. package/log/model/index.d.ts +4 -1
  48. package/log/model/index.js +5 -1
  49. package/log/model/index.js.map +1 -1
  50. package/log/model/index.ts +6 -0
  51. package/log/model/options/AccessLogWithTelemetryOptions.d.ts +3 -0
  52. package/log/model/options/AccessLogWithTelemetryOptions.js +3 -0
  53. package/log/model/options/AccessLogWithTelemetryOptions.js.map +1 -0
  54. package/log/model/options/AccessLogWithTelemetryOptions.ts +21 -0
  55. package/package.json +1 -1
  56. package/schedule/ref/NamespaceRef.d.ts +3 -0
  57. package/schedule/ref/NamespaceRef.js +4 -0
  58. package/schedule/ref/NamespaceRef.js.map +1 -1
  59. package/schedule/ref/NamespaceRef.ts +15 -0
  60. package/schedule/stampSheet/VerifyEventByUserId.d.ts +13 -0
  61. package/schedule/stampSheet/VerifyEventByUserId.js +48 -0
  62. package/schedule/stampSheet/VerifyEventByUserId.js.map +1 -0
  63. package/schedule/stampSheet/VerifyEventByUserId.ts +64 -0
  64. package/schedule/stampSheet/enum/EventVerifyType.d.ts +5 -0
  65. package/schedule/stampSheet/enum/EventVerifyType.js +23 -0
  66. package/schedule/stampSheet/enum/EventVerifyType.js.map +1 -0
  67. package/schedule/stampSheet/enum/EventVerifyType.ts +23 -0
  68. package/schedule/stampSheet/index.d.ts +2 -1
  69. package/schedule/stampSheet/index.js +3 -1
  70. package/schedule/stampSheet/index.js.map +1 -1
  71. package/schedule/stampSheet/index.ts +2 -0
  72. package/script/model/Transaction.d.ts +1 -0
  73. package/script/model/Transaction.js +8 -3
  74. package/script/model/Transaction.js.map +1 -1
  75. package/script/model/Transaction.ts +5 -0
  76. package/script/model/options/NamespaceOptions.d.ts +2 -0
  77. package/script/model/options/NamespaceOptions.ts +2 -0
  78. package/script/model/options/TransactionOptions.d.ts +1 -0
  79. package/script/model/options/TransactionOptions.ts +1 -0
  80. package/skillTree/ref/NamespaceRef.d.ts +2 -2
  81. package/skillTree/ref/NamespaceRef.js +4 -4
  82. package/skillTree/ref/NamespaceRef.js.map +1 -1
  83. package/skillTree/ref/NamespaceRef.ts +4 -0
  84. package/skillTree/stampSheet/MarkReleaseByUserId.d.ts +2 -1
  85. package/skillTree/stampSheet/MarkReleaseByUserId.js +5 -1
  86. package/skillTree/stampSheet/MarkReleaseByUserId.js.map +1 -1
  87. package/skillTree/stampSheet/MarkReleaseByUserId.ts +6 -0
  88. package/skillTree/stampSheet/MarkRestrainByUserId.d.ts +2 -1
  89. package/skillTree/stampSheet/MarkRestrainByUserId.js +5 -1
  90. package/skillTree/stampSheet/MarkRestrainByUserId.js.map +1 -1
  91. package/skillTree/stampSheet/MarkRestrainByUserId.ts +6 -0
@@ -0,0 +1,64 @@
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
+ import { EventVerifyType } from "./enum/EventVerifyType";
19
+
20
+ export default class VerifyEventByUserId extends ConsumeAction {
21
+ private readonly namespaceName: string;
22
+ private readonly userId: string;
23
+ private readonly eventName: string;
24
+ private readonly verifyType: EventVerifyType;
25
+
26
+
27
+ public constructor(
28
+ namespaceName: string,
29
+ eventName: string,
30
+ verifyType: EventVerifyType,
31
+ userId: string = "#{userId}",
32
+ ) {
33
+ super();
34
+
35
+ this.namespaceName = namespaceName;
36
+ this.eventName = eventName;
37
+ this.verifyType = verifyType;
38
+ this.userId = userId;
39
+ }
40
+
41
+ public request(
42
+ ): {[name: string]: any} {
43
+ let properties: {[name: string]: any} = {};
44
+
45
+ if (this.namespaceName != null) {
46
+ properties["namespaceName"] = this.namespaceName;
47
+ }
48
+ if (this.userId != null) {
49
+ properties["userId"] = this.userId;
50
+ }
51
+ if (this.eventName != null) {
52
+ properties["eventName"] = this.eventName;
53
+ }
54
+ if (this.verifyType != null) {
55
+ properties["verifyType"] = this.verifyType;
56
+ }
57
+
58
+ return properties;
59
+ }
60
+
61
+ public action(): string {
62
+ return "Gs2Schedule:VerifyEventByUserId";
63
+ }
64
+ }
@@ -0,0 +1,5 @@
1
+ export declare const EventVerifyType: {
2
+ readonly IN_SCHEDULE: "inSchedule";
3
+ readonly NOT_IN_SCHEDULE: "notInSchedule";
4
+ };
5
+ export type EventVerifyType = typeof EventVerifyType[keyof typeof EventVerifyType];
@@ -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.EventVerifyType = void 0;
19
+ exports.EventVerifyType = {
20
+ IN_SCHEDULE: "inSchedule",
21
+ NOT_IN_SCHEDULE: "notInSchedule",
22
+ };
23
+ //# sourceMappingURL=EventVerifyType.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EventVerifyType.js","sourceRoot":"","sources":["EventVerifyType.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIU,QAAA,eAAe,GAAG;IAC3B,WAAW,EAAE,YAAY;IACzB,eAAe,EAAE,eAAe;CAC1B,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 EventVerifyType = {
20
+ IN_SCHEDULE: "inSchedule",
21
+ NOT_IN_SCHEDULE: "notInSchedule",
22
+ } as const;
23
+ export type EventVerifyType = typeof EventVerifyType[keyof typeof EventVerifyType];
@@ -1,3 +1,4 @@
1
1
  import TriggerByUserId from "./TriggerByUserId";
2
2
  import DeleteTriggerByUserId from "./DeleteTriggerByUserId";
3
- export { TriggerByUserId, DeleteTriggerByUserId, };
3
+ import VerifyEventByUserId from "./VerifyEventByUserId";
4
+ export { TriggerByUserId, DeleteTriggerByUserId, VerifyEventByUserId, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.DeleteTriggerByUserId = exports.TriggerByUserId = void 0;
3
+ exports.VerifyEventByUserId = exports.DeleteTriggerByUserId = exports.TriggerByUserId = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  /*
6
6
  * Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
@@ -21,4 +21,6 @@ const TriggerByUserId_1 = tslib_1.__importDefault(require("./TriggerByUserId"));
21
21
  exports.TriggerByUserId = TriggerByUserId_1.default;
22
22
  const DeleteTriggerByUserId_1 = tslib_1.__importDefault(require("./DeleteTriggerByUserId"));
23
23
  exports.DeleteTriggerByUserId = DeleteTriggerByUserId_1.default;
24
+ const VerifyEventByUserId_1 = tslib_1.__importDefault(require("./VerifyEventByUserId"));
25
+ exports.VerifyEventByUserId = VerifyEventByUserId_1.default;
24
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gFAAgD;AAI5C,0BAJG,yBAAe,CAIH;AAHnB,4FAA4D;AAIxD,gCAJG,+BAAqB,CAIH"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,gFAAgD;AAK5C,0BALG,yBAAe,CAKH;AAJnB,4FAA4D;AAKxD,gCALG,+BAAqB,CAKH;AAJzB,wFAAwD;AAKpD,8BALG,6BAAmB,CAKH"}
@@ -15,8 +15,10 @@
15
15
  */
16
16
  import TriggerByUserId from "./TriggerByUserId";
17
17
  import DeleteTriggerByUserId from "./DeleteTriggerByUserId";
18
+ import VerifyEventByUserId from "./VerifyEventByUserId";
18
19
 
19
20
  export {
20
21
  TriggerByUserId,
21
22
  DeleteTriggerByUserId,
23
+ VerifyEventByUserId,
22
24
  }
@@ -1,5 +1,6 @@
1
1
  import { TransactionOptions } from "./options/TransactionOptions";
2
2
  export default class Transaction {
3
+ private readonly transactionId;
3
4
  private readonly consumeActions;
4
5
  private readonly acquireActions;
5
6
  constructor(options?: TransactionOptions | null);
@@ -2,14 +2,19 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  class Transaction {
4
4
  constructor(options = null) {
5
- var _a, _b;
5
+ var _a, _b, _c;
6
+ this.transactionId = null;
6
7
  this.consumeActions = null;
7
8
  this.acquireActions = null;
8
- this.consumeActions = (_a = options === null || options === void 0 ? void 0 : options.consumeActions) !== null && _a !== void 0 ? _a : null;
9
- this.acquireActions = (_b = options === null || options === void 0 ? void 0 : options.acquireActions) !== null && _b !== void 0 ? _b : null;
9
+ 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;
10
12
  }
11
13
  properties() {
12
14
  let properties = {};
15
+ if (this.transactionId != null) {
16
+ properties["transactionId"] = this.transactionId;
17
+ }
13
18
  if (this.consumeActions != null) {
14
19
  properties["consumeActions"] = this.consumeActions.map(v => v.properties());
15
20
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Transaction.js","sourceRoot":"","sources":["Transaction.ts"],"names":[],"mappings":";;AAmBA,MAAqB,WAAW;IAI5B,YACI,UAAmC,IAAI;;QAJ1B,mBAAc,GAAyB,IAAI,CAAC;QAC5C,mBAAc,GAAyB,IAAI,CAAC;QAKzD,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,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AAc,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;AA/BD,8BA+BC"}
@@ -18,12 +18,14 @@ import { AcquireAction } from "../../core/model";
18
18
  import { TransactionOptions } from "./options/TransactionOptions";
19
19
 
20
20
  export default class Transaction {
21
+ private readonly transactionId: string|null = null;
21
22
  private readonly consumeActions: ConsumeAction[]|null = null;
22
23
  private readonly acquireActions: AcquireAction[]|null = null;
23
24
 
24
25
  public constructor(
25
26
  options: TransactionOptions|null = null,
26
27
  ) {
28
+ this.transactionId = options?.transactionId ?? null;
27
29
  this.consumeActions = options?.consumeActions ?? null;
28
30
  this.acquireActions = options?.acquireActions ?? null;
29
31
  }
@@ -32,6 +34,9 @@ export default class Transaction {
32
34
  ): {[name: string]: any} {
33
35
  let properties: {[name: string]: any} = {};
34
36
 
37
+ if (this.transactionId != null) {
38
+ properties["transactionId"] = this.transactionId;
39
+ }
35
40
  if (this.consumeActions != null) {
36
41
  properties["consumeActions"] = this.consumeActions.map(v => v.properties(
37
42
  ));
@@ -1,5 +1,7 @@
1
+ import TransactionSetting from "../../../core/model/TransactionSetting";
1
2
  import LogSetting from "../../../core/model/LogSetting";
2
3
  export interface NamespaceOptions {
3
4
  description?: string | null;
5
+ transactionSetting?: TransactionSetting | null;
4
6
  logSetting?: LogSetting | null;
5
7
  }
@@ -13,10 +13,12 @@
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 TransactionSetting from "../../../core/model/TransactionSetting";
16
17
  import LogSetting from "../../../core/model/LogSetting";
17
18
 
18
19
  export interface NamespaceOptions {
19
20
  description?: string|null;
21
+ transactionSetting?: TransactionSetting|null;
20
22
  logSetting?: LogSetting|null;
21
23
  }
22
24
 
@@ -1,6 +1,7 @@
1
1
  import { ConsumeAction } from "../../../core/model";
2
2
  import { AcquireAction } from "../../../core/model";
3
3
  export interface TransactionOptions {
4
+ transactionId?: string | null;
4
5
  consumeActions?: ConsumeAction[] | null;
5
6
  acquireActions?: AcquireAction[] | null;
6
7
  }
@@ -17,6 +17,7 @@ import { ConsumeAction } from "../../../core/model";
17
17
  import { AcquireAction } from "../../../core/model";
18
18
 
19
19
  export interface TransactionOptions {
20
+ transactionId?: string|null;
20
21
  consumeActions?: ConsumeAction[]|null;
21
22
  acquireActions?: AcquireAction[]|null;
22
23
  }
@@ -5,7 +5,7 @@ export default class NamespaceRef {
5
5
  private readonly namespaceName;
6
6
  constructor(namespaceName: string);
7
7
  nodeModel(nodeModelName: string): NodeModelRef;
8
- markRelease(nodeModelNames: string[], userId?: string): MarkReleaseByUserId;
9
- markRestrain(nodeModelNames: string[], userId?: string): MarkRestrainByUserId;
8
+ markRelease(propertyId: string, nodeModelNames: string[], userId?: string): MarkReleaseByUserId;
9
+ markRestrain(propertyId: string, nodeModelNames: string[], userId?: string): MarkRestrainByUserId;
10
10
  grn(): string;
11
11
  }
@@ -27,11 +27,11 @@ class NamespaceRef {
27
27
  nodeModel(nodeModelName) {
28
28
  return new NodeModelRef_1.default(this.namespaceName, nodeModelName);
29
29
  }
30
- markRelease(nodeModelNames, userId = "#{userId}") {
31
- return new MarkReleaseByUserId_1.default(this.namespaceName, nodeModelNames, userId);
30
+ markRelease(propertyId, nodeModelNames, userId = "#{userId}") {
31
+ return new MarkReleaseByUserId_1.default(this.namespaceName, propertyId, nodeModelNames, userId);
32
32
  }
33
- markRestrain(nodeModelNames, userId = "#{userId}") {
34
- return new MarkRestrainByUserId_1.default(this.namespaceName, nodeModelNames, userId);
33
+ markRestrain(propertyId, nodeModelNames, userId = "#{userId}") {
34
+ return new MarkRestrainByUserId_1.default(this.namespaceName, propertyId, nodeModelNames, userId);
35
35
  }
36
36
  grn() {
37
37
  return new func_1.Join(":", [
@@ -1 +1 @@
1
- {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0EAA0C;AAC1C,oGAAoE;AACpE,sGAAsE;AAEtE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,SAAS,CACZ,aAAqB;QAErB,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,aAAa,EAClB,aAAa,CAChB,CAAC;IACN,CAAC;IAEM,WAAW,CACd,cAAwB,EACxB,SAAiB,WAAW;QAE5B,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,cAAc,EACd,MAAM,CACT,CAAC;IACN,CAAC;IAEM,YAAY,CACf,cAAwB,EACxB,SAAiB,WAAW;QAE5B,OAAO,IAAI,8BAAoB,CAC3B,IAAI,CAAC,aAAa,EAClB,cAAc,EACd,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,WAAW;YACX,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA3DD,+BA2DC"}
1
+ {"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,0EAA0C;AAC1C,oGAAoE;AACpE,sGAAsE;AAEtE,MAAqB,YAAY;IAG7B,YACI,aAAqB;QAErB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,SAAS,CACZ,aAAqB;QAErB,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,aAAa,EAClB,aAAa,CAChB,CAAC;IACN,CAAC;IAEM,WAAW,CACd,UAAkB,EAClB,cAAwB,EACxB,SAAiB,WAAW;QAE5B,OAAO,IAAI,6BAAmB,CAC1B,IAAI,CAAC,aAAa,EAClB,UAAU,EACV,cAAc,EACd,MAAM,CACT,CAAC;IACN,CAAC;IAEM,YAAY,CACf,UAAkB,EAClB,cAAwB,EACxB,SAAiB,WAAW;QAE5B,OAAO,IAAI,8BAAoB,CAC3B,IAAI,CAAC,aAAa,EAClB,UAAU,EACV,cAAc,EACd,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,WAAW;YACX,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EACJ,CAAC;IACN,CAAC;CACJ;AA/DD,+BA+DC"}
@@ -38,22 +38,26 @@ export default class NamespaceRef {
38
38
  }
39
39
 
40
40
  public markRelease(
41
+ propertyId: string,
41
42
  nodeModelNames: string[],
42
43
  userId: string = "#{userId}",
43
44
  ): MarkReleaseByUserId {
44
45
  return new MarkReleaseByUserId(
45
46
  this.namespaceName,
47
+ propertyId,
46
48
  nodeModelNames,
47
49
  userId,
48
50
  );
49
51
  }
50
52
 
51
53
  public markRestrain(
54
+ propertyId: string,
52
55
  nodeModelNames: string[],
53
56
  userId: string = "#{userId}",
54
57
  ): MarkRestrainByUserId {
55
58
  return new MarkRestrainByUserId(
56
59
  this.namespaceName,
60
+ propertyId,
57
61
  nodeModelNames,
58
62
  userId,
59
63
  );
@@ -2,8 +2,9 @@ import { AcquireAction } from "../../core/model";
2
2
  export default class MarkReleaseByUserId extends AcquireAction {
3
3
  private readonly namespaceName;
4
4
  private readonly userId;
5
+ private readonly propertyId;
5
6
  private readonly nodeModelNames;
6
- constructor(namespaceName: string, nodeModelNames: string[], userId?: string);
7
+ constructor(namespaceName: string, propertyId: string, nodeModelNames: string[], userId?: string);
7
8
  request(): {
8
9
  [name: string]: any;
9
10
  };
@@ -17,9 +17,10 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  const model_1 = require("../../core/model");
19
19
  class MarkReleaseByUserId extends model_1.AcquireAction {
20
- constructor(namespaceName, nodeModelNames, userId = "#{userId}") {
20
+ constructor(namespaceName, propertyId, nodeModelNames, userId = "#{userId}") {
21
21
  super();
22
22
  this.namespaceName = namespaceName;
23
+ this.propertyId = propertyId;
23
24
  this.nodeModelNames = nodeModelNames;
24
25
  this.userId = userId;
25
26
  }
@@ -31,6 +32,9 @@ class MarkReleaseByUserId extends model_1.AcquireAction {
31
32
  if (this.userId != null) {
32
33
  properties["userId"] = this.userId;
33
34
  }
35
+ if (this.propertyId != null) {
36
+ properties["propertyId"] = this.propertyId;
37
+ }
34
38
  if (this.nodeModelNames != null) {
35
39
  properties["nodeModelNames"] = this.nodeModelNames;
36
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MarkReleaseByUserId.js","sourceRoot":"","sources":["MarkReleaseByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,mBAAoB,SAAQ,qBAAa;IAM1D,YACI,aAAqB,EACrB,cAAwB,EACxB,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;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QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC;SACtD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,MAAM;QACT,OAAO,kCAAkC,CAAC;IAC9C,CAAC;CACJ;AA5CD,sCA4CC"}
@@ -19,17 +19,20 @@ import {AcquireAction, ConsumeAction} from "../../core/model";
19
19
  export default class MarkReleaseByUserId extends AcquireAction {
20
20
  private readonly namespaceName: string;
21
21
  private readonly userId: string;
22
+ private readonly propertyId: string;
22
23
  private readonly nodeModelNames: string[];
23
24
 
24
25
 
25
26
  public constructor(
26
27
  namespaceName: string,
28
+ propertyId: string,
27
29
  nodeModelNames: string[],
28
30
  userId: string = "#{userId}",
29
31
  ) {
30
32
  super();
31
33
 
32
34
  this.namespaceName = namespaceName;
35
+ this.propertyId = propertyId;
33
36
  this.nodeModelNames = nodeModelNames;
34
37
  this.userId = userId;
35
38
  }
@@ -44,6 +47,9 @@ export default class MarkReleaseByUserId extends AcquireAction {
44
47
  if (this.userId != null) {
45
48
  properties["userId"] = this.userId;
46
49
  }
50
+ if (this.propertyId != null) {
51
+ properties["propertyId"] = this.propertyId;
52
+ }
47
53
  if (this.nodeModelNames != null) {
48
54
  properties["nodeModelNames"] = this.nodeModelNames;
49
55
  }
@@ -2,8 +2,9 @@ import { ConsumeAction } from "../../core/model";
2
2
  export default class MarkRestrainByUserId extends ConsumeAction {
3
3
  private readonly namespaceName;
4
4
  private readonly userId;
5
+ private readonly propertyId;
5
6
  private readonly nodeModelNames;
6
- constructor(namespaceName: string, nodeModelNames: string[], userId?: string);
7
+ constructor(namespaceName: string, propertyId: string, nodeModelNames: string[], userId?: string);
7
8
  request(): {
8
9
  [name: string]: any;
9
10
  };
@@ -17,9 +17,10 @@
17
17
  Object.defineProperty(exports, "__esModule", { value: true });
18
18
  const model_1 = require("../../core/model");
19
19
  class MarkRestrainByUserId extends model_1.ConsumeAction {
20
- constructor(namespaceName, nodeModelNames, userId = "#{userId}") {
20
+ constructor(namespaceName, propertyId, nodeModelNames, userId = "#{userId}") {
21
21
  super();
22
22
  this.namespaceName = namespaceName;
23
+ this.propertyId = propertyId;
23
24
  this.nodeModelNames = nodeModelNames;
24
25
  this.userId = userId;
25
26
  }
@@ -31,6 +32,9 @@ class MarkRestrainByUserId extends model_1.ConsumeAction {
31
32
  if (this.userId != null) {
32
33
  properties["userId"] = this.userId;
33
34
  }
35
+ if (this.propertyId != null) {
36
+ properties["propertyId"] = this.propertyId;
37
+ }
34
38
  if (this.nodeModelNames != null) {
35
39
  properties["nodeModelNames"] = this.nodeModelNames;
36
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"MarkRestrainByUserId.js","sourceRoot":"","sources":["MarkRestrainByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAE9D,MAAqB,oBAAqB,SAAQ,qBAAa;IAM3D,YACI,aAAqB,EACrB,cAAwB,EACxB,SAAiB,WAAW;QAE5B,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,cAAc,GAAG,cAAc,CAAC;QACrC,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,OAAO;QAEV,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,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAA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AC;CACJ;AA5CD,uCA4CC"}
@@ -19,17 +19,20 @@ import {AcquireAction, ConsumeAction} from "../../core/model";
19
19
  export default class MarkRestrainByUserId extends ConsumeAction {
20
20
  private readonly namespaceName: string;
21
21
  private readonly userId: string;
22
+ private readonly propertyId: string;
22
23
  private readonly nodeModelNames: string[];
23
24
 
24
25
 
25
26
  public constructor(
26
27
  namespaceName: string,
28
+ propertyId: string,
27
29
  nodeModelNames: string[],
28
30
  userId: string = "#{userId}",
29
31
  ) {
30
32
  super();
31
33
 
32
34
  this.namespaceName = namespaceName;
35
+ this.propertyId = propertyId;
33
36
  this.nodeModelNames = nodeModelNames;
34
37
  this.userId = userId;
35
38
  }
@@ -44,6 +47,9 @@ export default class MarkRestrainByUserId extends ConsumeAction {
44
47
  if (this.userId != null) {
45
48
  properties["userId"] = this.userId;
46
49
  }
50
+ if (this.propertyId != null) {
51
+ properties["propertyId"] = this.propertyId;
52
+ }
47
53
  if (this.nodeModelNames != null) {
48
54
  properties["nodeModelNames"] = this.nodeModelNames;
49
55
  }