gs2-cdk 1.0.119 → 1.0.120

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.
@@ -15,6 +15,7 @@ export default class Namespace extends CdkResource {
15
15
  private readonly description;
16
16
  private readonly depositBalanceScript;
17
17
  private readonly withdrawBalanceScript;
18
+ private readonly verifyReceiptScript;
18
19
  private readonly subscribeScript;
19
20
  private readonly renewScript;
20
21
  private readonly unsubscribeScript;
@@ -22,11 +22,12 @@ const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
22
22
  const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
23
23
  class Namespace extends model_1.CdkResource {
24
24
  constructor(stack, name, currencyUsagePriority, sharedFreeCurrency, platformSetting, options = null) {
25
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
25
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k;
26
26
  super("Money2_Namespace_" + name);
27
27
  this.description = null;
28
28
  this.depositBalanceScript = null;
29
29
  this.withdrawBalanceScript = null;
30
+ this.verifyReceiptScript = null;
30
31
  this.subscribeScript = null;
31
32
  this.renewScript = null;
32
33
  this.unsubscribeScript = null;
@@ -41,12 +42,13 @@ class Namespace extends model_1.CdkResource {
41
42
  this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
42
43
  this.depositBalanceScript = (_b = options === null || options === void 0 ? void 0 : options.depositBalanceScript) !== null && _b !== void 0 ? _b : null;
43
44
  this.withdrawBalanceScript = (_c = options === null || options === void 0 ? void 0 : options.withdrawBalanceScript) !== null && _c !== void 0 ? _c : null;
44
- this.subscribeScript = (_d = options === null || options === void 0 ? void 0 : options.subscribeScript) !== null && _d !== void 0 ? _d : null;
45
- this.renewScript = (_e = options === null || options === void 0 ? void 0 : options.renewScript) !== null && _e !== void 0 ? _e : null;
46
- this.unsubscribeScript = (_f = options === null || options === void 0 ? void 0 : options.unsubscribeScript) !== null && _f !== void 0 ? _f : null;
47
- this.takeOverScript = (_g = options === null || options === void 0 ? void 0 : options.takeOverScript) !== null && _g !== void 0 ? _g : null;
48
- this.changeSubscriptionStatusNotification = (_h = options === null || options === void 0 ? void 0 : options.changeSubscriptionStatusNotification) !== null && _h !== void 0 ? _h : null;
49
- this.logSetting = (_j = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _j !== void 0 ? _j : null;
45
+ this.verifyReceiptScript = (_d = options === null || options === void 0 ? void 0 : options.verifyReceiptScript) !== null && _d !== void 0 ? _d : null;
46
+ this.subscribeScript = (_e = options === null || options === void 0 ? void 0 : options.subscribeScript) !== null && _e !== void 0 ? _e : null;
47
+ this.renewScript = (_f = options === null || options === void 0 ? void 0 : options.renewScript) !== null && _f !== void 0 ? _f : null;
48
+ this.unsubscribeScript = (_g = options === null || options === void 0 ? void 0 : options.unsubscribeScript) !== null && _g !== void 0 ? _g : null;
49
+ this.takeOverScript = (_h = options === null || options === void 0 ? void 0 : options.takeOverScript) !== null && _h !== void 0 ? _h : null;
50
+ this.changeSubscriptionStatusNotification = (_j = options === null || options === void 0 ? void 0 : options.changeSubscriptionStatusNotification) !== null && _j !== void 0 ? _j : null;
51
+ this.logSetting = (_k = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _k !== void 0 ? _k : null;
50
52
  stack.addResource(this);
51
53
  }
52
54
  alternateKeys() {
@@ -56,7 +58,7 @@ class Namespace extends model_1.CdkResource {
56
58
  return "GS2::Money2::Namespace";
57
59
  }
58
60
  properties() {
59
- var _a, _b, _c, _d, _e, _f;
61
+ var _a, _b, _c, _d, _e, _f, _g;
60
62
  let properties = {};
61
63
  if (this.name != null) {
62
64
  properties["Name"] = this.name;
@@ -79,6 +81,9 @@ class Namespace extends model_1.CdkResource {
79
81
  if (this.withdrawBalanceScript != null) {
80
82
  properties["WithdrawBalanceScript"] = (_c = this.withdrawBalanceScript) === null || _c === void 0 ? void 0 : _c.properties();
81
83
  }
84
+ if (this.verifyReceiptScript != null) {
85
+ properties["VerifyReceiptScript"] = (_d = this.verifyReceiptScript) === null || _d === void 0 ? void 0 : _d.properties();
86
+ }
82
87
  if (this.subscribeScript != null) {
83
88
  properties["SubscribeScript"] = this.subscribeScript;
84
89
  }
@@ -89,13 +94,13 @@ class Namespace extends model_1.CdkResource {
89
94
  properties["UnsubscribeScript"] = this.unsubscribeScript;
90
95
  }
91
96
  if (this.takeOverScript != null) {
92
- properties["TakeOverScript"] = (_d = this.takeOverScript) === null || _d === void 0 ? void 0 : _d.properties();
97
+ properties["TakeOverScript"] = (_e = this.takeOverScript) === null || _e === void 0 ? void 0 : _e.properties();
93
98
  }
94
99
  if (this.changeSubscriptionStatusNotification != null) {
95
- properties["ChangeSubscriptionStatusNotification"] = (_e = this.changeSubscriptionStatusNotification) === null || _e === void 0 ? void 0 : _e.properties();
100
+ properties["ChangeSubscriptionStatusNotification"] = (_f = this.changeSubscriptionStatusNotification) === null || _f === void 0 ? void 0 : _f.properties();
96
101
  }
97
102
  if (this.logSetting != null) {
98
- properties["LogSetting"] = (_f = this.logSetting) === null || _f === void 0 ? void 0 : _f.properties();
103
+ properties["LogSetting"] = (_g = this.logSetting) === null || _g === void 0 ? void 0 : _g.properties();
99
104
  }
100
105
  return properties;
101
106
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAMxC,+EAA+C;AAC/C,oFAAoD;AAOpD,MAAqB,SAAU,SAAQ,mBAAW;IAgB9C,YACI,KAAY,EACZ,IAAY,EACZ,qBAAqD,EACrD,kBAA2B,EAC3B,eAAgC,EAChC,UAAiC,IAAI;;QAErC,KAAK,CACD,mBAAmB,GAAG,IAAI,CAC7B,CAAC;QApBW,gBAAW,GAAgB,IAAI,CAAC;QAChC,yBAAoB,GAAuB,IAAI,CAAC;QAChD,0BAAqB,GAAuB,IAAI,CAAC;QACjD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,GAAG,MAAA,IAAI,CAAC,oCAAoC,0CAAE,UAAU,EACzG,CAAC;SACL;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,MAAA,IAAI,CAAC,UAAU,0CAAE,UAAU,EACrD,CAAC;SACL;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,IAAK,CACb,CAAC;IACN,CAAC;IAEM,kBAAkB;QAErB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,kBAAkB,EAClB,IAAI,CACP,CAAC;IACN,CAAC;IAEM,UAAU,CACb,kBAAuC,EACvC,8BAA+D;QAE/D,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,kBAAkB,EAClB,8BAA8B,CACjC,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAnJD,4BAmJC"}
@@ -38,6 +38,7 @@ export default class Namespace extends CdkResource {
38
38
  private readonly description: string|null = null;
39
39
  private readonly depositBalanceScript: ScriptSetting|null = null;
40
40
  private readonly withdrawBalanceScript: ScriptSetting|null = null;
41
+ private readonly verifyReceiptScript: ScriptSetting|null = null;
41
42
  private readonly subscribeScript: string|null = null;
42
43
  private readonly renewScript: string|null = null;
43
44
  private readonly unsubscribeScript: string|null = null;
@@ -65,6 +66,7 @@ export default class Namespace extends CdkResource {
65
66
  this.description = options?.description ?? null;
66
67
  this.depositBalanceScript = options?.depositBalanceScript ?? null;
67
68
  this.withdrawBalanceScript = options?.withdrawBalanceScript ?? null;
69
+ this.verifyReceiptScript = options?.verifyReceiptScript ?? null;
68
70
  this.subscribeScript = options?.subscribeScript ?? null;
69
71
  this.renewScript = options?.renewScript ?? null;
70
72
  this.unsubscribeScript = options?.unsubscribeScript ?? null;
@@ -115,6 +117,10 @@ export default class Namespace extends CdkResource {
115
117
  properties["WithdrawBalanceScript"] = this.withdrawBalanceScript?.properties(
116
118
  );
117
119
  }
120
+ if (this.verifyReceiptScript != null) {
121
+ properties["VerifyReceiptScript"] = this.verifyReceiptScript?.properties(
122
+ );
123
+ }
118
124
  if (this.subscribeScript != null) {
119
125
  properties["SubscribeScript"] = this.subscribeScript;
120
126
  }
@@ -5,6 +5,7 @@ export interface NamespaceOptions {
5
5
  description?: string | null;
6
6
  depositBalanceScript?: ScriptSetting | null;
7
7
  withdrawBalanceScript?: ScriptSetting | null;
8
+ verifyReceiptScript?: ScriptSetting | null;
8
9
  subscribeScript?: string | null;
9
10
  renewScript?: string | null;
10
11
  unsubscribeScript?: string | null;
@@ -23,6 +23,7 @@ export interface NamespaceOptions {
23
23
  description?: string|null;
24
24
  depositBalanceScript?: ScriptSetting|null;
25
25
  withdrawBalanceScript?: ScriptSetting|null;
26
+ verifyReceiptScript?: ScriptSetting|null;
26
27
  subscribeScript?: string|null;
27
28
  renewScript?: string|null;
28
29
  unsubscribeScript?: string|null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "gs2-cdk",
3
- "version": "1.0.119",
3
+ "version": "1.0.120",
4
4
  "scripts": {
5
5
  "build": "tsc",
6
6
  "prepublishOnly": "npm run build"