gs2-cdk 1.0.101 → 1.0.104
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.
- package/account/model/Namespace.d.ts +1 -0
- package/account/model/Namespace.js +9 -4
- package/account/model/Namespace.js.map +1 -1
- package/account/model/Namespace.ts +6 -0
- package/account/model/options/NamespaceOptions.d.ts +1 -0
- package/account/model/options/NamespaceOptions.ts +1 -0
- package/core/model/NotificationSetting.d.ts +2 -1
- package/core/model/NotificationSetting.js +5 -4
- package/core/model/NotificationSetting.js.map +1 -1
- package/core/model/NotificationSetting.ts +6 -6
- package/core/model/NotificationSettingOptions.d.ts +5 -0
- package/core/model/NotificationSettingOptions.js +18 -0
- package/core/model/NotificationSettingOptions.js.map +1 -0
- package/core/model/NotificationSettingOptions.ts +22 -0
- package/core/model/TransactionSetting.d.ts +5 -1
- package/core/model/TransactionSetting.js +16 -3
- package/core/model/TransactionSetting.js.map +1 -1
- package/core/model/TransactionSetting.ts +20 -4
- package/core/model/TransactionSettingOptions.d.ts +7 -0
- package/core/model/TransactionSettingOptions.js +18 -0
- package/core/model/TransactionSettingOptions.js.map +1 -0
- package/core/model/TransactionSettingOptions.ts +24 -0
- package/money2/model/AppleAppStoreSetting.d.ts +3 -0
- package/money2/model/AppleAppStoreSetting.js +16 -1
- package/money2/model/AppleAppStoreSetting.js.map +1 -1
- package/money2/model/AppleAppStoreSetting.ts +15 -0
- package/money2/model/AppleAppStoreSubscriptionContent.d.ts +8 -0
- package/money2/model/AppleAppStoreSubscriptionContent.js +18 -0
- package/money2/model/AppleAppStoreSubscriptionContent.js.map +1 -0
- package/money2/model/AppleAppStoreSubscriptionContent.ts +37 -0
- package/money2/model/CurrentMasterData.d.ts +3 -1
- package/money2/model/CurrentMasterData.js +5 -1
- package/money2/model/CurrentMasterData.js.map +1 -1
- package/money2/model/CurrentMasterData.ts +8 -0
- package/money2/model/GooglePlayRealtimeNotificationMessage.d.ts +10 -0
- package/money2/model/GooglePlayRealtimeNotificationMessage.js +24 -0
- package/money2/model/GooglePlayRealtimeNotificationMessage.js.map +1 -0
- package/money2/model/GooglePlayRealtimeNotificationMessage.ts +50 -0
- package/money2/model/GooglePlaySetting.d.ts +1 -0
- package/money2/model/GooglePlaySetting.js +6 -1
- package/money2/model/GooglePlaySetting.js.map +1 -1
- package/money2/model/GooglePlaySetting.ts +5 -0
- package/money2/model/GooglePlaySubscriptionContent.d.ts +8 -0
- package/money2/model/GooglePlaySubscriptionContent.js +18 -0
- package/money2/model/GooglePlaySubscriptionContent.js.map +1 -0
- package/money2/model/GooglePlaySubscriptionContent.ts +37 -0
- package/money2/model/Namespace.d.ts +7 -1
- package/money2/model/Namespace.js +31 -6
- package/money2/model/Namespace.js.map +1 -1
- package/money2/model/Namespace.ts +31 -0
- package/money2/model/RefundEvent.d.ts +12 -0
- package/money2/model/RefundEvent.js +32 -0
- package/money2/model/RefundEvent.js.map +1 -0
- package/money2/model/RefundEvent.ts +59 -0
- package/money2/model/StoreSubscriptionContentModel.d.ts +14 -0
- package/money2/model/StoreSubscriptionContentModel.js +45 -0
- package/money2/model/StoreSubscriptionContentModel.js.map +1 -0
- package/money2/model/StoreSubscriptionContentModel.ts +75 -0
- package/money2/model/SubscribeTransaction.d.ts +18 -0
- package/money2/model/SubscribeTransaction.js +50 -0
- package/money2/model/SubscribeTransaction.js.map +1 -0
- package/money2/model/SubscribeTransaction.ts +81 -0
- package/money2/model/enums/RefundEventPlatform.d.ts +6 -0
- package/money2/model/enums/RefundEventPlatform.js +24 -0
- package/money2/model/enums/RefundEventPlatform.js.map +1 -0
- package/money2/model/enums/RefundEventPlatform.ts +24 -0
- package/money2/model/enums/SubscribeTransactionStatusDetail.d.ts +12 -0
- package/money2/model/enums/SubscribeTransactionStatusDetail.js +30 -0
- package/money2/model/enums/SubscribeTransactionStatusDetail.js.map +1 -0
- package/money2/model/enums/SubscribeTransactionStatusDetail.ts +30 -0
- package/money2/model/enums/SubscribeTransactionStore.d.ts +6 -0
- package/money2/model/enums/SubscribeTransactionStore.js +24 -0
- package/money2/model/enums/SubscribeTransactionStore.js.map +1 -0
- package/money2/model/enums/SubscribeTransactionStore.ts +24 -0
- package/money2/model/index.d.ts +16 -1
- package/money2/model/index.js +19 -1
- package/money2/model/index.js.map +1 -1
- package/money2/model/index.ts +30 -0
- package/money2/model/options/AppleAppStoreSettingOptions.d.ts +3 -0
- package/money2/model/options/AppleAppStoreSettingOptions.ts +3 -0
- package/money2/model/options/AppleAppStoreSubscriptionContentOptions.d.ts +3 -0
- package/money2/model/options/AppleAppStoreSubscriptionContentOptions.js +18 -0
- package/money2/model/options/AppleAppStoreSubscriptionContentOptions.js.map +1 -0
- package/money2/model/options/AppleAppStoreSubscriptionContentOptions.ts +20 -0
- package/money2/model/options/GooglePlayRealtimeNotificationMessageOptions.d.ts +2 -0
- package/money2/model/options/GooglePlayRealtimeNotificationMessageOptions.js +18 -0
- package/money2/model/options/GooglePlayRealtimeNotificationMessageOptions.js.map +1 -0
- package/money2/model/options/GooglePlayRealtimeNotificationMessageOptions.ts +19 -0
- package/money2/model/options/GooglePlaySettingOptions.d.ts +1 -0
- package/money2/model/options/GooglePlaySettingOptions.ts +1 -0
- package/money2/model/options/GooglePlaySubscriptionContentOptions.d.ts +3 -0
- package/money2/model/options/GooglePlaySubscriptionContentOptions.js +18 -0
- package/money2/model/options/GooglePlaySubscriptionContentOptions.js.map +1 -0
- package/money2/model/options/GooglePlaySubscriptionContentOptions.ts +20 -0
- package/money2/model/options/NamespaceOptions.d.ts +6 -0
- package/money2/model/options/NamespaceOptions.ts +6 -0
- package/money2/model/options/RefundEventOptions.d.ts +6 -0
- package/money2/model/options/RefundEventOptions.js +3 -0
- package/money2/model/options/RefundEventOptions.js.map +1 -0
- package/money2/model/options/RefundEventOptions.ts +24 -0
- package/money2/model/options/StoreSubscriptionContentModelOptions.d.ts +7 -0
- package/money2/model/options/StoreSubscriptionContentModelOptions.js +3 -0
- package/money2/model/options/StoreSubscriptionContentModelOptions.js.map +1 -0
- package/money2/model/options/StoreSubscriptionContentModelOptions.ts +24 -0
- package/money2/model/options/SubscribeTransactionOptions.d.ts +6 -0
- package/money2/model/options/SubscribeTransactionOptions.js +3 -0
- package/money2/model/options/SubscribeTransactionOptions.js.map +1 -0
- package/money2/model/options/SubscribeTransactionOptions.ts +25 -0
- package/money2/ref/StoreSubscriptionContentModelRef.d.ts +6 -0
- package/money2/ref/StoreSubscriptionContentModelRef.js +40 -0
- package/money2/ref/StoreSubscriptionContentModelRef.js.map +1 -0
- package/money2/ref/StoreSubscriptionContentModelRef.ts +54 -0
- package/money2/ref/SubscribeTransactionRef.d.ts +7 -0
- package/money2/ref/SubscribeTransactionRef.js +40 -0
- package/money2/ref/SubscribeTransactionRef.js.map +1 -0
- package/money2/ref/SubscribeTransactionRef.ts +56 -0
- package/money2/ref/index.d.ts +3 -1
- package/money2/ref/index.js +5 -1
- package/money2/ref/index.js.map +1 -1
- package/money2/ref/index.ts +4 -0
- package/package.json +1 -1
|
@@ -13,6 +13,7 @@ export default class Namespace extends CdkResource {
|
|
|
13
13
|
private readonly authenticationScript;
|
|
14
14
|
private readonly createTakeOverScript;
|
|
15
15
|
private readonly doTakeOverScript;
|
|
16
|
+
private readonly banScript;
|
|
16
17
|
private readonly logSetting;
|
|
17
18
|
constructor(stack: Stack, name: string, options?: NamespaceOptions | null);
|
|
18
19
|
alternateKeys(): string;
|
|
@@ -22,7 +22,7 @@ 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, options = null) {
|
|
25
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
25
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
26
26
|
super("Account_Namespace_" + name);
|
|
27
27
|
this.description = null;
|
|
28
28
|
this.changePasswordIfTakeOver = null;
|
|
@@ -31,6 +31,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
31
31
|
this.authenticationScript = null;
|
|
32
32
|
this.createTakeOverScript = null;
|
|
33
33
|
this.doTakeOverScript = null;
|
|
34
|
+
this.banScript = null;
|
|
34
35
|
this.logSetting = null;
|
|
35
36
|
this.stack = stack;
|
|
36
37
|
this.name = name;
|
|
@@ -41,7 +42,8 @@ class Namespace extends model_1.CdkResource {
|
|
|
41
42
|
this.authenticationScript = (_e = options === null || options === void 0 ? void 0 : options.authenticationScript) !== null && _e !== void 0 ? _e : null;
|
|
42
43
|
this.createTakeOverScript = (_f = options === null || options === void 0 ? void 0 : options.createTakeOverScript) !== null && _f !== void 0 ? _f : null;
|
|
43
44
|
this.doTakeOverScript = (_g = options === null || options === void 0 ? void 0 : options.doTakeOverScript) !== null && _g !== void 0 ? _g : null;
|
|
44
|
-
this.
|
|
45
|
+
this.banScript = (_h = options === null || options === void 0 ? void 0 : options.banScript) !== null && _h !== void 0 ? _h : null;
|
|
46
|
+
this.logSetting = (_j = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _j !== void 0 ? _j : null;
|
|
45
47
|
stack.addResource(this);
|
|
46
48
|
}
|
|
47
49
|
alternateKeys() {
|
|
@@ -51,7 +53,7 @@ class Namespace extends model_1.CdkResource {
|
|
|
51
53
|
return "GS2::Account::Namespace";
|
|
52
54
|
}
|
|
53
55
|
properties() {
|
|
54
|
-
var _a, _b, _c, _d, _e;
|
|
56
|
+
var _a, _b, _c, _d, _e, _f;
|
|
55
57
|
let properties = {};
|
|
56
58
|
if (this.name != null) {
|
|
57
59
|
properties["Name"] = this.name;
|
|
@@ -77,8 +79,11 @@ class Namespace extends model_1.CdkResource {
|
|
|
77
79
|
if (this.doTakeOverScript != null) {
|
|
78
80
|
properties["DoTakeOverScript"] = (_d = this.doTakeOverScript) === null || _d === void 0 ? void 0 : _d.properties();
|
|
79
81
|
}
|
|
82
|
+
if (this.banScript != null) {
|
|
83
|
+
properties["BanScript"] = (_e = this.banScript) === null || _e === void 0 ? void 0 : _e.properties();
|
|
84
|
+
}
|
|
80
85
|
if (this.logSetting != null) {
|
|
81
|
-
properties["LogSetting"] = (
|
|
86
|
+
properties["LogSetting"] = (_f = this.logSetting) === null || _f === void 0 ? void 0 : _f.properties();
|
|
82
87
|
}
|
|
83
88
|
return properties;
|
|
84
89
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAIxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAIxC,+EAA+C;AAC/C,oFAAoD;AAKpD,MAAqB,SAAU,SAAQ,mBAAW;IAa9C,YACI,KAAY,EACZ,IAAY,EACZ,UAAiC,IAAI;;QAErC,KAAK,CACD,oBAAoB,GAAG,IAAI,CAC9B,CAAC;QAjBW,gBAAW,GAAgB,IAAI,CAAC;QAChC,6BAAwB,GAAiB,IAAI,CAAC;QAC9C,4CAAuC,GAAiB,IAAI,CAAC;QAC7D,wBAAmB,GAAuB,IAAI,CAAC;QAC/C,yBAAoB,GAAuB,IAAI,CAAC;QAChD,yBAAoB,GAAuB,IAAI,CAAC;QAChD,qBAAgB,GAAuB,IAAI,CAAC;QAC5C,cAAS,GAAuB,IAAI,CAAC;QACrC,eAAU,GAAoB,IAAI,CAAC;QAWhD,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,I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b,CAAC;IACN,CAAC;IAEM,kBAAkB;QAErB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,kBAAkB,EAClB,IAAI,CACP,CAAC;IACN,CAAC;IAEM,UAAU,CACb,kBAAuC;QAEvC,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,kBAAkB,CACrB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAzHD,4BAyHC"}
|
|
@@ -35,6 +35,7 @@ export default class Namespace extends CdkResource {
|
|
|
35
35
|
private readonly authenticationScript: ScriptSetting|null = null;
|
|
36
36
|
private readonly createTakeOverScript: ScriptSetting|null = null;
|
|
37
37
|
private readonly doTakeOverScript: ScriptSetting|null = null;
|
|
38
|
+
private readonly banScript: ScriptSetting|null = null;
|
|
38
39
|
private readonly logSetting: LogSetting|null = null;
|
|
39
40
|
|
|
40
41
|
public constructor(
|
|
@@ -55,6 +56,7 @@ export default class Namespace extends CdkResource {
|
|
|
55
56
|
this.authenticationScript = options?.authenticationScript ?? null;
|
|
56
57
|
this.createTakeOverScript = options?.createTakeOverScript ?? null;
|
|
57
58
|
this.doTakeOverScript = options?.doTakeOverScript ?? null;
|
|
59
|
+
this.banScript = options?.banScript ?? null;
|
|
58
60
|
this.logSetting = options?.logSetting ?? null;
|
|
59
61
|
stack.addResource(
|
|
60
62
|
this,
|
|
@@ -104,6 +106,10 @@ export default class Namespace extends CdkResource {
|
|
|
104
106
|
properties["DoTakeOverScript"] = this.doTakeOverScript?.properties(
|
|
105
107
|
);
|
|
106
108
|
}
|
|
109
|
+
if (this.banScript != null) {
|
|
110
|
+
properties["BanScript"] = this.banScript?.properties(
|
|
111
|
+
);
|
|
112
|
+
}
|
|
107
113
|
if (this.logSetting != null) {
|
|
108
114
|
properties["LogSetting"] = this.logSetting?.properties(
|
|
109
115
|
);
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { NotificationSettingOptions } from "./NotificationSettingOptions";
|
|
1
2
|
export default class NotificationSetting {
|
|
2
3
|
gatewayNamespaceId: string | null;
|
|
3
4
|
enableTransferMobileNotification: boolean | null;
|
|
4
5
|
sound: string | null;
|
|
5
|
-
constructor(
|
|
6
|
+
constructor(options?: NotificationSettingOptions | null);
|
|
6
7
|
properties(): {
|
|
7
8
|
[name: string]: any;
|
|
8
9
|
};
|
|
@@ -16,10 +16,11 @@
|
|
|
16
16
|
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
class NotificationSetting {
|
|
19
|
-
constructor(
|
|
20
|
-
|
|
21
|
-
this.
|
|
22
|
-
this.
|
|
19
|
+
constructor(options = null) {
|
|
20
|
+
var _a, _b, _c;
|
|
21
|
+
this.gatewayNamespaceId = (_a = options === null || options === void 0 ? void 0 : options.gatewayNamespaceId) !== null && _a !== void 0 ? _a : null;
|
|
22
|
+
this.enableTransferMobileNotification = (_b = options === null || options === void 0 ? void 0 : options.enableTransferMobileNotification) !== null && _b !== void 0 ? _b : false;
|
|
23
|
+
this.sound = (_c = options === null || options === void 0 ? void 0 : options.sound) !== null && _c !== void 0 ? _c : null;
|
|
23
24
|
}
|
|
24
25
|
properties() {
|
|
25
26
|
let properties = {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationSetting.js","sourceRoot":"","sources":["NotificationSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;
|
|
1
|
+
{"version":3,"file":"NotificationSetting.js","sourceRoot":"","sources":["NotificationSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH,MAAqB,mBAAmB;IAMpC,YACI,UAA2C,IAAI;;QAE/C,IAAI,CAAC,kBAAkB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB,mCAAI,IAAI,CAAC;QAC9D,IAAI,CAAC,gCAAgC,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gCAAgC,mCAAI,KAAK,CAAC;QAC3F,IAAI,CAAC,KAAK,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,IAAI,CAAC;IACxC,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;QACD,IAAI,IAAI,CAAC,gCAAgC,IAAI,IAAI,EAAE;YAC/C,UAAU,CAAC,kCAAkC,CAAC,GAAG,IAAI,CAAC,gCAAgC,CAAC;SAC1F;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA7BD,sCA6BC"}
|
|
@@ -14,6 +14,8 @@
|
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
+
import { NotificationSettingOptions } from "./NotificationSettingOptions";
|
|
18
|
+
|
|
17
19
|
export default class NotificationSetting {
|
|
18
20
|
|
|
19
21
|
gatewayNamespaceId: string | null;
|
|
@@ -21,13 +23,11 @@ export default class NotificationSetting {
|
|
|
21
23
|
sound: string | null;
|
|
22
24
|
|
|
23
25
|
public constructor(
|
|
24
|
-
|
|
25
|
-
enableTransferMobileNotification: boolean | null = null,
|
|
26
|
-
sound: string | null = null,
|
|
26
|
+
options: NotificationSettingOptions|null = null,
|
|
27
27
|
) {
|
|
28
|
-
this.gatewayNamespaceId = gatewayNamespaceId;
|
|
29
|
-
this.enableTransferMobileNotification = enableTransferMobileNotification;
|
|
30
|
-
this.sound = sound;
|
|
28
|
+
this.gatewayNamespaceId = options?.gatewayNamespaceId ?? null;
|
|
29
|
+
this.enableTransferMobileNotification = options?.enableTransferMobileNotification ?? false;
|
|
30
|
+
this.sound = options?.sound ?? null;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
public properties(): { [name: string]: any } {
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
//# sourceMappingURL=NotificationSettingOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NotificationSettingOptions.js","sourceRoot":"","sources":["NotificationSettingOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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
|
+
export interface NotificationSettingOptions {
|
|
18
|
+
gatewayNamespaceId?: string|null;
|
|
19
|
+
enableTransferMobileNotification?: boolean|null;
|
|
20
|
+
sound?: string|null;
|
|
21
|
+
}
|
|
22
|
+
|
|
@@ -1,7 +1,11 @@
|
|
|
1
|
+
import { TransactionSettingOptions } from "./TransactionSettingOptions";
|
|
1
2
|
export default class TransactionSetting {
|
|
3
|
+
enableAtomicCommit?: boolean | null;
|
|
4
|
+
transactionUseDistributor?: boolean | null;
|
|
5
|
+
acquireActionUseJobQueue?: boolean | null;
|
|
2
6
|
distributorNamespaceId: string | null;
|
|
3
7
|
queueNamespaceId: string | null;
|
|
4
|
-
constructor(
|
|
8
|
+
constructor(options?: TransactionSettingOptions | null);
|
|
5
9
|
properties(): {
|
|
6
10
|
[name: string]: any;
|
|
7
11
|
};
|
|
@@ -16,13 +16,26 @@
|
|
|
16
16
|
*/
|
|
17
17
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
18
|
class TransactionSetting {
|
|
19
|
-
constructor(
|
|
20
|
-
|
|
21
|
-
this.
|
|
19
|
+
constructor(options = null) {
|
|
20
|
+
var _a, _b, _c, _d, _e;
|
|
21
|
+
this.enableAtomicCommit = (_a = options === null || options === void 0 ? void 0 : options.enableAtomicCommit) !== null && _a !== void 0 ? _a : false;
|
|
22
|
+
this.transactionUseDistributor = (_b = options === null || options === void 0 ? void 0 : options.transactionUseDistributor) !== null && _b !== void 0 ? _b : false;
|
|
23
|
+
this.acquireActionUseJobQueue = (_c = options === null || options === void 0 ? void 0 : options.acquireActionUseJobQueue) !== null && _c !== void 0 ? _c : false;
|
|
24
|
+
this.distributorNamespaceId = (_d = options === null || options === void 0 ? void 0 : options.distributorNamespaceId) !== null && _d !== void 0 ? _d : null;
|
|
25
|
+
this.queueNamespaceId = (_e = options === null || options === void 0 ? void 0 : options.queueNamespaceId) !== null && _e !== void 0 ? _e : null;
|
|
22
26
|
}
|
|
23
27
|
properties() {
|
|
24
28
|
let properties = {};
|
|
25
29
|
properties["EnableAutoRun"] = true;
|
|
30
|
+
if (this.enableAtomicCommit != null) {
|
|
31
|
+
properties["EnableAtomicCommit"] = this.enableAtomicCommit;
|
|
32
|
+
}
|
|
33
|
+
if (this.transactionUseDistributor != null) {
|
|
34
|
+
properties["TransactionUseDistributor"] = this.transactionUseDistributor;
|
|
35
|
+
}
|
|
36
|
+
if (this.acquireActionUseJobQueue != null) {
|
|
37
|
+
properties["AcquireActionUseJobQueue"] = this.acquireActionUseJobQueue;
|
|
38
|
+
}
|
|
26
39
|
if (this.distributorNamespaceId != null) {
|
|
27
40
|
properties["DistributorNamespaceId"] = this.distributorNamespaceId;
|
|
28
41
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionSetting.js","sourceRoot":"","sources":["TransactionSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;
|
|
1
|
+
{"version":3,"file":"TransactionSetting.js","sourceRoot":"","sources":["TransactionSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH,MAAqB,kBAAkB;IAQnC,YACI,UAA0C,IAAI;;QAE9C,IAAI,CAAC,kBAAkB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,kBAAkB,mCAAI,KAAK,CAAC;QAC/D,IAAI,CAAC,yBAAyB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,yBAAyB,mCAAI,KAAK,CAAC;QAC7E,IAAI,CAAC,wBAAwB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,wBAAwB,mCAAI,KAAK,CAAC;QAC3E,IAAI,CAAC,sBAAsB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,sBAAsB,mCAAI,IAAI,CAAC;QACtE,IAAI,CAAC,gBAAgB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,gBAAgB,mCAAI,IAAI,CAAC;IAC9D,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC;QACnC,IAAI,IAAI,CAAC,kBAAkB,IAAI,IAAI,EAAE;YACjC,UAAU,CAAC,oBAAoB,CAAC,GAAG,IAAI,CAAC,kBAAkB,CAAC;SAC9D;QACD,IAAI,IAAI,CAAC,yBAAyB,IAAI,IAAI,EAAE;YACxC,UAAU,CAAC,2BAA2B,CAAC,GAAG,IAAI,CAAC,yBAAyB,CAAC;SAC5E;QACD,IAAI,IAAI,CAAC,wBAAwB,IAAI,IAAI,EAAE;YACvC,UAAU,CAAC,0BAA0B,CAAC,GAAG,IAAI,CAAC,wBAAwB,CAAC;SAC1E;QACD,IAAI,IAAI,CAAC,sBAAsB,IAAI,IAAI,EAAE;YACrC,UAAU,CAAC,wBAAwB,CAAC,GAAG,IAAI,CAAC,sBAAsB,CAAC;SACtE;QACD,IAAI,IAAI,CAAC,gBAAgB,IAAI,IAAI,EAAE;YAC/B,UAAU,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,gBAAgB,CAAC;SAC1D;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAxCD,qCAwCC"}
|
|
@@ -14,23 +14,39 @@
|
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
|
+
import { TransactionSettingOptions } from "./TransactionSettingOptions";
|
|
18
|
+
|
|
17
19
|
export default class TransactionSetting {
|
|
18
20
|
|
|
21
|
+
enableAtomicCommit?: boolean|null;
|
|
22
|
+
transactionUseDistributor?: boolean|null;
|
|
23
|
+
acquireActionUseJobQueue?: boolean|null;
|
|
19
24
|
distributorNamespaceId: string | null;
|
|
20
25
|
queueNamespaceId: string | null;
|
|
21
26
|
|
|
22
27
|
public constructor(
|
|
23
|
-
|
|
24
|
-
queueNamespaceId: string | null = null,
|
|
28
|
+
options: TransactionSettingOptions|null = null,
|
|
25
29
|
) {
|
|
26
|
-
this.
|
|
27
|
-
this.
|
|
30
|
+
this.enableAtomicCommit = options?.enableAtomicCommit ?? false;
|
|
31
|
+
this.transactionUseDistributor = options?.transactionUseDistributor ?? false;
|
|
32
|
+
this.acquireActionUseJobQueue = options?.acquireActionUseJobQueue ?? false;
|
|
33
|
+
this.distributorNamespaceId = options?.distributorNamespaceId ?? null;
|
|
34
|
+
this.queueNamespaceId = options?.queueNamespaceId ?? null;
|
|
28
35
|
}
|
|
29
36
|
|
|
30
37
|
public properties(): { [name: string]: any } {
|
|
31
38
|
let properties: {[name: string]: any} = {};
|
|
32
39
|
|
|
33
40
|
properties["EnableAutoRun"] = true;
|
|
41
|
+
if (this.enableAtomicCommit != null) {
|
|
42
|
+
properties["EnableAtomicCommit"] = this.enableAtomicCommit;
|
|
43
|
+
}
|
|
44
|
+
if (this.transactionUseDistributor != null) {
|
|
45
|
+
properties["TransactionUseDistributor"] = this.transactionUseDistributor;
|
|
46
|
+
}
|
|
47
|
+
if (this.acquireActionUseJobQueue != null) {
|
|
48
|
+
properties["AcquireActionUseJobQueue"] = this.acquireActionUseJobQueue;
|
|
49
|
+
}
|
|
34
50
|
if (this.distributorNamespaceId != null) {
|
|
35
51
|
properties["DistributorNamespaceId"] = this.distributorNamespaceId;
|
|
36
52
|
}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
//# sourceMappingURL=TransactionSettingOptions.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TransactionSettingOptions.js","sourceRoot":"","sources":["TransactionSettingOptions.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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
|
+
export interface TransactionSettingOptions {
|
|
18
|
+
enableAtomicCommit?: boolean|null;
|
|
19
|
+
transactionUseDistributor?: boolean|null;
|
|
20
|
+
acquireActionUseJobQueue?: boolean|null;
|
|
21
|
+
distributorNamespaceId?: string|null;
|
|
22
|
+
queueNamespaceId?: string|null;
|
|
23
|
+
}
|
|
24
|
+
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { AppleAppStoreSettingOptions } from "./options/AppleAppStoreSettingOptions";
|
|
2
2
|
export default class AppleAppStoreSetting {
|
|
3
3
|
private readonly bundleId;
|
|
4
|
+
private readonly issuerId;
|
|
5
|
+
private readonly keyId;
|
|
6
|
+
private readonly privateKeyPem;
|
|
4
7
|
constructor(options?: AppleAppStoreSettingOptions | null);
|
|
5
8
|
properties(): {
|
|
6
9
|
[name: string]: any;
|
|
@@ -2,15 +2,30 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
class AppleAppStoreSetting {
|
|
4
4
|
constructor(options = null) {
|
|
5
|
-
var _a;
|
|
5
|
+
var _a, _b, _c, _d;
|
|
6
6
|
this.bundleId = null;
|
|
7
|
+
this.issuerId = null;
|
|
8
|
+
this.keyId = null;
|
|
9
|
+
this.privateKeyPem = null;
|
|
7
10
|
this.bundleId = (_a = options === null || options === void 0 ? void 0 : options.bundleId) !== null && _a !== void 0 ? _a : null;
|
|
11
|
+
this.issuerId = (_b = options === null || options === void 0 ? void 0 : options.issuerId) !== null && _b !== void 0 ? _b : null;
|
|
12
|
+
this.keyId = (_c = options === null || options === void 0 ? void 0 : options.keyId) !== null && _c !== void 0 ? _c : null;
|
|
13
|
+
this.privateKeyPem = (_d = options === null || options === void 0 ? void 0 : options.privateKeyPem) !== null && _d !== void 0 ? _d : null;
|
|
8
14
|
}
|
|
9
15
|
properties() {
|
|
10
16
|
let properties = {};
|
|
11
17
|
if (this.bundleId != null) {
|
|
12
18
|
properties["bundleId"] = this.bundleId;
|
|
13
19
|
}
|
|
20
|
+
if (this.issuerId != null) {
|
|
21
|
+
properties["issuerId"] = this.issuerId;
|
|
22
|
+
}
|
|
23
|
+
if (this.keyId != null) {
|
|
24
|
+
properties["keyId"] = this.keyId;
|
|
25
|
+
}
|
|
26
|
+
if (this.privateKeyPem != null) {
|
|
27
|
+
properties["privateKeyPem"] = this.privateKeyPem;
|
|
28
|
+
}
|
|
14
29
|
return properties;
|
|
15
30
|
}
|
|
16
31
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AppleAppStoreSetting.js","sourceRoot":"","sources":["AppleAppStoreSetting.ts"],"names":[],"mappings":";;AAiBA,MAAqB,oBAAoB;
|
|
1
|
+
{"version":3,"file":"AppleAppStoreSetting.js","sourceRoot":"","sources":["AppleAppStoreSetting.ts"],"names":[],"mappings":";;AAiBA,MAAqB,oBAAoB;IAMrC,YACI,UAA4C,IAAI;;QANnC,aAAQ,GAAgB,IAAI,CAAC;QAC7B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,UAAK,GAAgB,IAAI,CAAC;QAC1B,kBAAa,GAAgB,IAAI,CAAC;QAK/C,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,KAAK,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,mCAAI,IAAI,CAAC;QACpC,IAAI,CAAC,aAAa,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,mCAAI,IAAI,CAAC;IACxD,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC;SACpC;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAlCD,uCAkCC"}
|
|
@@ -17,11 +17,17 @@ import { AppleAppStoreSettingOptions } from "./options/AppleAppStoreSettingOptio
|
|
|
17
17
|
|
|
18
18
|
export default class AppleAppStoreSetting {
|
|
19
19
|
private readonly bundleId: string|null = null;
|
|
20
|
+
private readonly issuerId: string|null = null;
|
|
21
|
+
private readonly keyId: string|null = null;
|
|
22
|
+
private readonly privateKeyPem: string|null = null;
|
|
20
23
|
|
|
21
24
|
public constructor(
|
|
22
25
|
options: AppleAppStoreSettingOptions|null = null,
|
|
23
26
|
) {
|
|
24
27
|
this.bundleId = options?.bundleId ?? null;
|
|
28
|
+
this.issuerId = options?.issuerId ?? null;
|
|
29
|
+
this.keyId = options?.keyId ?? null;
|
|
30
|
+
this.privateKeyPem = options?.privateKeyPem ?? null;
|
|
25
31
|
}
|
|
26
32
|
|
|
27
33
|
public properties(
|
|
@@ -31,6 +37,15 @@ export default class AppleAppStoreSetting {
|
|
|
31
37
|
if (this.bundleId != null) {
|
|
32
38
|
properties["bundleId"] = this.bundleId;
|
|
33
39
|
}
|
|
40
|
+
if (this.issuerId != null) {
|
|
41
|
+
properties["issuerId"] = this.issuerId;
|
|
42
|
+
}
|
|
43
|
+
if (this.keyId != null) {
|
|
44
|
+
properties["keyId"] = this.keyId;
|
|
45
|
+
}
|
|
46
|
+
if (this.privateKeyPem != null) {
|
|
47
|
+
properties["privateKeyPem"] = this.privateKeyPem;
|
|
48
|
+
}
|
|
34
49
|
|
|
35
50
|
return properties;
|
|
36
51
|
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { AppleAppStoreSubscriptionContentOptions } from "./options/AppleAppStoreSubscriptionContentOptions";
|
|
2
|
+
export default class AppleAppStoreSubscriptionContent {
|
|
3
|
+
private readonly subscriptionGroupIdentifier;
|
|
4
|
+
constructor(options?: AppleAppStoreSubscriptionContentOptions | null);
|
|
5
|
+
properties(): {
|
|
6
|
+
[name: string]: any;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class AppleAppStoreSubscriptionContent {
|
|
4
|
+
constructor(options = null) {
|
|
5
|
+
var _a;
|
|
6
|
+
this.subscriptionGroupIdentifier = null;
|
|
7
|
+
this.subscriptionGroupIdentifier = (_a = options === null || options === void 0 ? void 0 : options.subscriptionGroupIdentifier) !== null && _a !== void 0 ? _a : null;
|
|
8
|
+
}
|
|
9
|
+
properties() {
|
|
10
|
+
let properties = {};
|
|
11
|
+
if (this.subscriptionGroupIdentifier != null) {
|
|
12
|
+
properties["subscriptionGroupIdentifier"] = this.subscriptionGroupIdentifier;
|
|
13
|
+
}
|
|
14
|
+
return properties;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.default = AppleAppStoreSubscriptionContent;
|
|
18
|
+
//# sourceMappingURL=AppleAppStoreSubscriptionContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AppleAppStoreSubscriptionContent.js","sourceRoot":"","sources":["AppleAppStoreSubscriptionContent.ts"],"names":[],"mappings":";;AAiBA,MAAqB,gCAAgC;IAGjD,YACI,UAAwD,IAAI;;QAH/C,gCAA2B,GAAgB,IAAI,CAAC;QAK7D,IAAI,CAAC,2BAA2B,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,2BAA2B,mCAAI,IAAI,CAAC;IACpF,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,2BAA2B,IAAI,IAAI,EAAE;YAC1C,UAAU,CAAC,6BAA6B,CAAC,GAAG,IAAI,CAAC,2BAA2B,CAAC;SAChF;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAnBD,mDAmBC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
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 { AppleAppStoreSubscriptionContentOptions } from "./options/AppleAppStoreSubscriptionContentOptions";
|
|
17
|
+
|
|
18
|
+
export default class AppleAppStoreSubscriptionContent {
|
|
19
|
+
private readonly subscriptionGroupIdentifier: string|null = null;
|
|
20
|
+
|
|
21
|
+
public constructor(
|
|
22
|
+
options: AppleAppStoreSubscriptionContentOptions|null = null,
|
|
23
|
+
) {
|
|
24
|
+
this.subscriptionGroupIdentifier = options?.subscriptionGroupIdentifier ?? null;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
public properties(
|
|
28
|
+
): {[name: string]: any} {
|
|
29
|
+
let properties: {[name: string]: any} = {};
|
|
30
|
+
|
|
31
|
+
if (this.subscriptionGroupIdentifier != null) {
|
|
32
|
+
properties["subscriptionGroupIdentifier"] = this.subscriptionGroupIdentifier;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return properties;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { CdkResource, Stack } from "../../core/model";
|
|
2
2
|
import StoreContentModel from "./StoreContentModel";
|
|
3
|
+
import StoreSubscriptionContentModel from "./StoreSubscriptionContentModel";
|
|
3
4
|
export default class CurrentMasterData extends CdkResource {
|
|
4
5
|
private readonly version;
|
|
5
6
|
private readonly namespaceName;
|
|
6
7
|
private readonly storeContentModels;
|
|
7
|
-
|
|
8
|
+
private readonly storeSubscriptionContentModels;
|
|
9
|
+
constructor(stack: Stack, namespaceName: string, storeContentModels: StoreContentModel[], storeSubscriptionContentModels: StoreSubscriptionContentModel[]);
|
|
8
10
|
alternateKeys(): string;
|
|
9
11
|
resourceType(): string;
|
|
10
12
|
properties(): {
|
|
@@ -17,11 +17,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
*/
|
|
18
18
|
const model_1 = require("../../core/model");
|
|
19
19
|
class CurrentMasterData extends model_1.CdkResource {
|
|
20
|
-
constructor(stack, namespaceName, storeContentModels) {
|
|
20
|
+
constructor(stack, namespaceName, storeContentModels, storeSubscriptionContentModels) {
|
|
21
21
|
super("Money2_CurrentModelMaster_" + namespaceName);
|
|
22
22
|
this.version = "2024-06-20";
|
|
23
23
|
this.namespaceName = namespaceName;
|
|
24
24
|
this.storeContentModels = storeContentModels;
|
|
25
|
+
this.storeSubscriptionContentModels = storeSubscriptionContentModels;
|
|
25
26
|
stack.addResource(this);
|
|
26
27
|
}
|
|
27
28
|
alternateKeys() {
|
|
@@ -37,6 +38,9 @@ class CurrentMasterData extends model_1.CdkResource {
|
|
|
37
38
|
if (this.storeContentModels != null) {
|
|
38
39
|
settings["storeContentModels"] = this.storeContentModels.map(v => v.properties());
|
|
39
40
|
}
|
|
41
|
+
if (this.storeSubscriptionContentModels != null) {
|
|
42
|
+
settings["storeSubscriptionContentModels"] = this.storeSubscriptionContentModels.map(v => v.properties());
|
|
43
|
+
}
|
|
40
44
|
if (this.namespaceName != null) {
|
|
41
45
|
properties["NamespaceName"] = this.namespaceName;
|
|
42
46
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CurrentMasterData.js","sourceRoot":"","sources":["CurrentMasterData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AAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,QAAQ,IAAI,IAAI,EAAE;YAClB,UAAU,CAAC,UAAU,CAAC,GAAG,QAAQ,CAAC;SACrC;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AA1DD,oCA0DC"}
|
|
@@ -15,16 +15,19 @@
|
|
|
15
15
|
*/
|
|
16
16
|
import {CdkResource, Stack} from "../../core/model";
|
|
17
17
|
import StoreContentModel from "./StoreContentModel";
|
|
18
|
+
import StoreSubscriptionContentModel from "./StoreSubscriptionContentModel";
|
|
18
19
|
|
|
19
20
|
export default class CurrentMasterData extends CdkResource {
|
|
20
21
|
private readonly version: string= "2024-06-20";
|
|
21
22
|
private readonly namespaceName: string;
|
|
22
23
|
private readonly storeContentModels: StoreContentModel[];
|
|
24
|
+
private readonly storeSubscriptionContentModels: StoreSubscriptionContentModel[];
|
|
23
25
|
|
|
24
26
|
public constructor(
|
|
25
27
|
stack: Stack,
|
|
26
28
|
namespaceName: string,
|
|
27
29
|
storeContentModels: StoreContentModel[],
|
|
30
|
+
storeSubscriptionContentModels: StoreSubscriptionContentModel[],
|
|
28
31
|
) {
|
|
29
32
|
super(
|
|
30
33
|
"Money2_CurrentModelMaster_" + namespaceName
|
|
@@ -32,6 +35,7 @@ export default class CurrentMasterData extends CdkResource {
|
|
|
32
35
|
|
|
33
36
|
this.namespaceName = namespaceName;
|
|
34
37
|
this.storeContentModels = storeContentModels;
|
|
38
|
+
this.storeSubscriptionContentModels = storeSubscriptionContentModels;
|
|
35
39
|
stack.addResource(
|
|
36
40
|
this,
|
|
37
41
|
);
|
|
@@ -57,6 +61,10 @@ export default class CurrentMasterData extends CdkResource {
|
|
|
57
61
|
settings["storeContentModels"] = this.storeContentModels.map(v => v.properties(
|
|
58
62
|
));
|
|
59
63
|
}
|
|
64
|
+
if (this.storeSubscriptionContentModels != null) {
|
|
65
|
+
settings["storeSubscriptionContentModels"] = this.storeSubscriptionContentModels.map(v => v.properties(
|
|
66
|
+
));
|
|
67
|
+
}
|
|
60
68
|
|
|
61
69
|
if (this.namespaceName != null) {
|
|
62
70
|
properties["NamespaceName"] = this.namespaceName;
|