gs2 1.3.230 → 1.3.233
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/buff/index.d.ts +5 -0
- package/buff/index.js +28 -0
- package/buff/index.js.map +1 -0
- package/buff/index.ts +27 -0
- package/buff/model/BuffEntryModel.d.ts +53 -0
- package/buff/model/BuffEntryModel.js +231 -0
- package/buff/model/BuffEntryModel.js.map +1 -0
- package/buff/model/BuffEntryModel.ts +243 -0
- package/buff/model/BuffEntryModelMaster.d.ts +69 -0
- package/buff/model/BuffEntryModelMaster.js +287 -0
- package/buff/model/BuffEntryModelMaster.js.map +1 -0
- package/buff/model/BuffEntryModelMaster.ts +299 -0
- package/buff/model/BuffTargetAction.d.ts +26 -0
- package/buff/model/BuffTargetAction.js +98 -0
- package/buff/model/BuffTargetAction.js.map +1 -0
- package/buff/model/BuffTargetAction.ts +97 -0
- package/buff/model/BuffTargetGrn.d.ts +17 -0
- package/buff/model/BuffTargetGrn.js +62 -0
- package/buff/model/BuffTargetGrn.js.map +1 -0
- package/buff/model/BuffTargetGrn.ts +60 -0
- package/buff/model/BuffTargetModel.d.ts +26 -0
- package/buff/model/BuffTargetModel.js +98 -0
- package/buff/model/BuffTargetModel.js.map +1 -0
- package/buff/model/BuffTargetModel.ts +97 -0
- package/buff/model/CurrentBuffMaster.d.ts +22 -0
- package/buff/model/CurrentBuffMaster.js +111 -0
- package/buff/model/CurrentBuffMaster.js.map +1 -0
- package/buff/model/CurrentBuffMaster.ts +121 -0
- package/buff/model/GitHubCheckoutSetting.d.ts +37 -0
- package/buff/model/GitHubCheckoutSetting.js +132 -0
- package/buff/model/GitHubCheckoutSetting.js.map +1 -0
- package/buff/model/GitHubCheckoutSetting.ts +130 -0
- package/buff/model/LogSetting.d.ts +13 -0
- package/buff/model/LogSetting.js +48 -0
- package/buff/model/LogSetting.js.map +1 -0
- package/buff/model/LogSetting.ts +46 -0
- package/buff/model/Namespace.d.ts +43 -0
- package/buff/model/Namespace.js +184 -0
- package/buff/model/Namespace.js.map +1 -0
- package/buff/model/Namespace.ts +192 -0
- package/buff/model/index.d.ts +10 -0
- package/buff/model/index.js +38 -0
- package/buff/model/index.js.map +1 -0
- package/buff/model/index.ts +36 -0
- package/buff/request/ApplyBuffByUserIdRequest.d.ts +33 -0
- package/buff/request/ApplyBuffByUserIdRequest.js +109 -0
- package/buff/request/ApplyBuffByUserIdRequest.js.map +1 -0
- package/buff/request/ApplyBuffByUserIdRequest.ts +119 -0
- package/buff/request/ApplyBuffRequest.d.ts +29 -0
- package/buff/request/ApplyBuffRequest.js +95 -0
- package/buff/request/ApplyBuffRequest.js.map +1 -0
- package/buff/request/ApplyBuffRequest.ts +105 -0
- package/buff/request/CheckCleanUserDataByUserIdRequest.d.ts +29 -0
- package/buff/request/CheckCleanUserDataByUserIdRequest.js +95 -0
- package/buff/request/CheckCleanUserDataByUserIdRequest.js.map +1 -0
- package/buff/request/CheckCleanUserDataByUserIdRequest.ts +105 -0
- package/buff/request/CheckDumpUserDataByUserIdRequest.d.ts +29 -0
- package/buff/request/CheckDumpUserDataByUserIdRequest.js +95 -0
- package/buff/request/CheckDumpUserDataByUserIdRequest.js.map +1 -0
- package/buff/request/CheckDumpUserDataByUserIdRequest.ts +105 -0
- package/buff/request/CheckImportUserDataByUserIdRequest.d.ts +33 -0
- package/buff/request/CheckImportUserDataByUserIdRequest.js +109 -0
- package/buff/request/CheckImportUserDataByUserIdRequest.js.map +1 -0
- package/buff/request/CheckImportUserDataByUserIdRequest.ts +119 -0
- package/buff/request/CleanUserDataByUserIdRequest.d.ts +29 -0
- package/buff/request/CleanUserDataByUserIdRequest.js +95 -0
- package/buff/request/CleanUserDataByUserIdRequest.js.map +1 -0
- package/buff/request/CleanUserDataByUserIdRequest.ts +105 -0
- package/buff/request/CreateBuffEntryModelMasterRequest.d.ts +58 -0
- package/buff/request/CreateBuffEntryModelMasterRequest.js +198 -0
- package/buff/request/CreateBuffEntryModelMasterRequest.js.map +1 -0
- package/buff/request/CreateBuffEntryModelMasterRequest.ts +202 -0
- package/buff/request/CreateNamespaceRequest.d.ts +30 -0
- package/buff/request/CreateNamespaceRequest.js +100 -0
- package/buff/request/CreateNamespaceRequest.js.map +1 -0
- package/buff/request/CreateNamespaceRequest.ts +104 -0
- package/buff/request/DeleteBuffEntryModelMasterRequest.d.ts +25 -0
- package/buff/request/DeleteBuffEntryModelMasterRequest.js +83 -0
- package/buff/request/DeleteBuffEntryModelMasterRequest.js.map +1 -0
- package/buff/request/DeleteBuffEntryModelMasterRequest.ts +90 -0
- package/buff/request/DeleteNamespaceRequest.d.ts +21 -0
- package/buff/request/DeleteNamespaceRequest.js +69 -0
- package/buff/request/DeleteNamespaceRequest.js.map +1 -0
- package/buff/request/DeleteNamespaceRequest.ts +76 -0
- package/buff/request/DescribeBuffEntryModelMastersRequest.d.ts +29 -0
- package/buff/request/DescribeBuffEntryModelMastersRequest.js +97 -0
- package/buff/request/DescribeBuffEntryModelMastersRequest.js.map +1 -0
- package/buff/request/DescribeBuffEntryModelMastersRequest.ts +104 -0
- package/buff/request/DescribeBuffEntryModelsRequest.d.ts +21 -0
- package/buff/request/DescribeBuffEntryModelsRequest.js +69 -0
- package/buff/request/DescribeBuffEntryModelsRequest.js.map +1 -0
- package/buff/request/DescribeBuffEntryModelsRequest.ts +76 -0
- package/buff/request/DescribeNamespacesRequest.d.ts +25 -0
- package/buff/request/DescribeNamespacesRequest.js +83 -0
- package/buff/request/DescribeNamespacesRequest.js.map +1 -0
- package/buff/request/DescribeNamespacesRequest.ts +90 -0
- package/buff/request/DumpUserDataByUserIdRequest.d.ts +29 -0
- package/buff/request/DumpUserDataByUserIdRequest.js +95 -0
- package/buff/request/DumpUserDataByUserIdRequest.js.map +1 -0
- package/buff/request/DumpUserDataByUserIdRequest.ts +105 -0
- package/buff/request/ExportMasterRequest.d.ts +21 -0
- package/buff/request/ExportMasterRequest.js +69 -0
- package/buff/request/ExportMasterRequest.js.map +1 -0
- package/buff/request/ExportMasterRequest.ts +76 -0
- package/buff/request/GetBuffEntryModelMasterRequest.d.ts +25 -0
- package/buff/request/GetBuffEntryModelMasterRequest.js +83 -0
- package/buff/request/GetBuffEntryModelMasterRequest.js.map +1 -0
- package/buff/request/GetBuffEntryModelMasterRequest.ts +90 -0
- package/buff/request/GetBuffEntryModelRequest.d.ts +25 -0
- package/buff/request/GetBuffEntryModelRequest.js +83 -0
- package/buff/request/GetBuffEntryModelRequest.js.map +1 -0
- package/buff/request/GetBuffEntryModelRequest.ts +90 -0
- package/buff/request/GetCurrentBuffMasterRequest.d.ts +21 -0
- package/buff/request/GetCurrentBuffMasterRequest.js +69 -0
- package/buff/request/GetCurrentBuffMasterRequest.js.map +1 -0
- package/buff/request/GetCurrentBuffMasterRequest.ts +76 -0
- package/buff/request/GetNamespaceRequest.d.ts +21 -0
- package/buff/request/GetNamespaceRequest.js +69 -0
- package/buff/request/GetNamespaceRequest.js.map +1 -0
- package/buff/request/GetNamespaceRequest.ts +76 -0
- package/buff/request/GetNamespaceStatusRequest.d.ts +21 -0
- package/buff/request/GetNamespaceStatusRequest.js +69 -0
- package/buff/request/GetNamespaceStatusRequest.js.map +1 -0
- package/buff/request/GetNamespaceStatusRequest.ts +76 -0
- package/buff/request/ImportUserDataByUserIdRequest.d.ts +33 -0
- package/buff/request/ImportUserDataByUserIdRequest.js +109 -0
- package/buff/request/ImportUserDataByUserIdRequest.js.map +1 -0
- package/buff/request/ImportUserDataByUserIdRequest.ts +119 -0
- package/buff/request/PrepareImportUserDataByUserIdRequest.d.ts +29 -0
- package/buff/request/PrepareImportUserDataByUserIdRequest.js +95 -0
- package/buff/request/PrepareImportUserDataByUserIdRequest.js.map +1 -0
- package/buff/request/PrepareImportUserDataByUserIdRequest.ts +105 -0
- package/buff/request/UpdateBuffEntryModelMasterRequest.d.ts +58 -0
- package/buff/request/UpdateBuffEntryModelMasterRequest.js +198 -0
- package/buff/request/UpdateBuffEntryModelMasterRequest.js.map +1 -0
- package/buff/request/UpdateBuffEntryModelMasterRequest.ts +202 -0
- package/buff/request/UpdateCurrentBuffMasterFromGitHubRequest.d.ts +26 -0
- package/buff/request/UpdateCurrentBuffMasterFromGitHubRequest.js +86 -0
- package/buff/request/UpdateCurrentBuffMasterFromGitHubRequest.js.map +1 -0
- package/buff/request/UpdateCurrentBuffMasterFromGitHubRequest.ts +90 -0
- package/buff/request/UpdateCurrentBuffMasterRequest.d.ts +25 -0
- package/buff/request/UpdateCurrentBuffMasterRequest.js +83 -0
- package/buff/request/UpdateCurrentBuffMasterRequest.js.map +1 -0
- package/buff/request/UpdateCurrentBuffMasterRequest.ts +90 -0
- package/buff/request/UpdateNamespaceRequest.d.ts +30 -0
- package/buff/request/UpdateNamespaceRequest.js +100 -0
- package/buff/request/UpdateNamespaceRequest.js.map +1 -0
- package/buff/request/UpdateNamespaceRequest.ts +104 -0
- package/buff/request/index.d.ts +27 -0
- package/buff/request/index.js +72 -0
- package/buff/request/index.js.map +1 -0
- package/buff/request/index.ts +70 -0
- package/buff/rest.d.ts +33 -0
- package/buff/rest.js +738 -0
- package/buff/rest.js.map +1 -0
- package/buff/rest.ts +840 -0
- package/buff/result/ApplyBuffByUserIdResult.d.ts +18 -0
- package/buff/result/ApplyBuffByUserIdResult.js +67 -0
- package/buff/result/ApplyBuffByUserIdResult.js.map +1 -0
- package/buff/result/ApplyBuffByUserIdResult.ts +72 -0
- package/buff/result/ApplyBuffResult.d.ts +18 -0
- package/buff/result/ApplyBuffResult.js +67 -0
- package/buff/result/ApplyBuffResult.js.map +1 -0
- package/buff/result/ApplyBuffResult.ts +72 -0
- package/buff/result/CheckCleanUserDataByUserIdResult.d.ts +9 -0
- package/buff/result/CheckCleanUserDataByUserIdResult.js +30 -0
- package/buff/result/CheckCleanUserDataByUserIdResult.js.map +1 -0
- package/buff/result/CheckCleanUserDataByUserIdResult.ts +29 -0
- package/buff/result/CheckDumpUserDataByUserIdResult.d.ts +13 -0
- package/buff/result/CheckDumpUserDataByUserIdResult.js +45 -0
- package/buff/result/CheckDumpUserDataByUserIdResult.js.map +1 -0
- package/buff/result/CheckDumpUserDataByUserIdResult.ts +46 -0
- package/buff/result/CheckImportUserDataByUserIdResult.d.ts +13 -0
- package/buff/result/CheckImportUserDataByUserIdResult.js +45 -0
- package/buff/result/CheckImportUserDataByUserIdResult.js.map +1 -0
- package/buff/result/CheckImportUserDataByUserIdResult.ts +46 -0
- package/buff/result/CleanUserDataByUserIdResult.d.ts +9 -0
- package/buff/result/CleanUserDataByUserIdResult.js +30 -0
- package/buff/result/CleanUserDataByUserIdResult.js.map +1 -0
- package/buff/result/CleanUserDataByUserIdResult.ts +29 -0
- package/buff/result/CreateBuffEntryModelMasterResult.d.ts +14 -0
- package/buff/result/CreateBuffEntryModelMasterResult.js +48 -0
- package/buff/result/CreateBuffEntryModelMasterResult.js.map +1 -0
- package/buff/result/CreateBuffEntryModelMasterResult.ts +47 -0
- package/buff/result/CreateNamespaceResult.d.ts +14 -0
- package/buff/result/CreateNamespaceResult.js +48 -0
- package/buff/result/CreateNamespaceResult.js.map +1 -0
- package/buff/result/CreateNamespaceResult.ts +47 -0
- package/buff/result/DeleteBuffEntryModelMasterResult.d.ts +14 -0
- package/buff/result/DeleteBuffEntryModelMasterResult.js +48 -0
- package/buff/result/DeleteBuffEntryModelMasterResult.js.map +1 -0
- package/buff/result/DeleteBuffEntryModelMasterResult.ts +47 -0
- package/buff/result/DeleteNamespaceResult.d.ts +14 -0
- package/buff/result/DeleteNamespaceResult.js +48 -0
- package/buff/result/DeleteNamespaceResult.js.map +1 -0
- package/buff/result/DeleteNamespaceResult.ts +47 -0
- package/buff/result/DescribeBuffEntryModelMastersResult.d.ts +18 -0
- package/buff/result/DescribeBuffEntryModelMastersResult.js +67 -0
- package/buff/result/DescribeBuffEntryModelMastersResult.js.map +1 -0
- package/buff/result/DescribeBuffEntryModelMastersResult.ts +72 -0
- package/buff/result/DescribeBuffEntryModelsResult.d.ts +14 -0
- package/buff/result/DescribeBuffEntryModelsResult.js +53 -0
- package/buff/result/DescribeBuffEntryModelsResult.js.map +1 -0
- package/buff/result/DescribeBuffEntryModelsResult.ts +55 -0
- package/buff/result/DescribeNamespacesResult.d.ts +18 -0
- package/buff/result/DescribeNamespacesResult.js +67 -0
- package/buff/result/DescribeNamespacesResult.js.map +1 -0
- package/buff/result/DescribeNamespacesResult.ts +72 -0
- package/buff/result/DumpUserDataByUserIdResult.d.ts +9 -0
- package/buff/result/DumpUserDataByUserIdResult.js +30 -0
- package/buff/result/DumpUserDataByUserIdResult.js.map +1 -0
- package/buff/result/DumpUserDataByUserIdResult.ts +29 -0
- package/buff/result/ExportMasterResult.d.ts +14 -0
- package/buff/result/ExportMasterResult.js +48 -0
- package/buff/result/ExportMasterResult.js.map +1 -0
- package/buff/result/ExportMasterResult.ts +47 -0
- package/buff/result/GetBuffEntryModelMasterResult.d.ts +14 -0
- package/buff/result/GetBuffEntryModelMasterResult.js +48 -0
- package/buff/result/GetBuffEntryModelMasterResult.js.map +1 -0
- package/buff/result/GetBuffEntryModelMasterResult.ts +47 -0
- package/buff/result/GetBuffEntryModelResult.d.ts +14 -0
- package/buff/result/GetBuffEntryModelResult.js +48 -0
- package/buff/result/GetBuffEntryModelResult.js.map +1 -0
- package/buff/result/GetBuffEntryModelResult.ts +47 -0
- package/buff/result/GetCurrentBuffMasterResult.d.ts +14 -0
- package/buff/result/GetCurrentBuffMasterResult.js +48 -0
- package/buff/result/GetCurrentBuffMasterResult.js.map +1 -0
- package/buff/result/GetCurrentBuffMasterResult.ts +47 -0
- package/buff/result/GetNamespaceResult.d.ts +14 -0
- package/buff/result/GetNamespaceResult.js +48 -0
- package/buff/result/GetNamespaceResult.js.map +1 -0
- package/buff/result/GetNamespaceResult.ts +47 -0
- package/buff/result/GetNamespaceStatusResult.d.ts +13 -0
- package/buff/result/GetNamespaceStatusResult.js +45 -0
- package/buff/result/GetNamespaceStatusResult.js.map +1 -0
- package/buff/result/GetNamespaceStatusResult.ts +46 -0
- package/buff/result/ImportUserDataByUserIdResult.d.ts +9 -0
- package/buff/result/ImportUserDataByUserIdResult.js +30 -0
- package/buff/result/ImportUserDataByUserIdResult.js.map +1 -0
- package/buff/result/ImportUserDataByUserIdResult.ts +29 -0
- package/buff/result/PrepareImportUserDataByUserIdResult.d.ts +17 -0
- package/buff/result/PrepareImportUserDataByUserIdResult.js +59 -0
- package/buff/result/PrepareImportUserDataByUserIdResult.js.map +1 -0
- package/buff/result/PrepareImportUserDataByUserIdResult.ts +63 -0
- package/buff/result/UpdateBuffEntryModelMasterResult.d.ts +14 -0
- package/buff/result/UpdateBuffEntryModelMasterResult.js +48 -0
- package/buff/result/UpdateBuffEntryModelMasterResult.js.map +1 -0
- package/buff/result/UpdateBuffEntryModelMasterResult.ts +47 -0
- package/buff/result/UpdateCurrentBuffMasterFromGitHubResult.d.ts +14 -0
- package/buff/result/UpdateCurrentBuffMasterFromGitHubResult.js +48 -0
- package/buff/result/UpdateCurrentBuffMasterFromGitHubResult.js.map +1 -0
- package/buff/result/UpdateCurrentBuffMasterFromGitHubResult.ts +47 -0
- package/buff/result/UpdateCurrentBuffMasterResult.d.ts +14 -0
- package/buff/result/UpdateCurrentBuffMasterResult.js +48 -0
- package/buff/result/UpdateCurrentBuffMasterResult.js.map +1 -0
- package/buff/result/UpdateCurrentBuffMasterResult.ts +47 -0
- package/buff/result/UpdateNamespaceResult.d.ts +14 -0
- package/buff/result/UpdateNamespaceResult.js +48 -0
- package/buff/result/UpdateNamespaceResult.js.map +1 -0
- package/buff/result/UpdateNamespaceResult.ts +47 -0
- package/buff/result/index.d.ts +27 -0
- package/buff/result/index.js +72 -0
- package/buff/result/index.js.map +1 -0
- package/buff/result/index.ts +70 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/index.ts +2 -0
- package/inventory/result/AddReferenceOfByUserIdResult.d.ts +3 -3
- package/inventory/result/AddReferenceOfByUserIdResult.js +2 -8
- package/inventory/result/AddReferenceOfByUserIdResult.js.map +1 -1
- package/inventory/result/AddReferenceOfByUserIdResult.ts +6 -14
- package/inventory/result/AddReferenceOfItemSetByStampSheetResult.d.ts +3 -3
- package/inventory/result/AddReferenceOfItemSetByStampSheetResult.js +2 -8
- package/inventory/result/AddReferenceOfItemSetByStampSheetResult.js.map +1 -1
- package/inventory/result/AddReferenceOfItemSetByStampSheetResult.ts +6 -14
- package/inventory/result/AddReferenceOfResult.d.ts +3 -3
- package/inventory/result/AddReferenceOfResult.js +2 -8
- package/inventory/result/AddReferenceOfResult.js.map +1 -1
- package/inventory/result/AddReferenceOfResult.ts +6 -14
- package/inventory/result/DeleteReferenceOfByUserIdResult.d.ts +3 -3
- package/inventory/result/DeleteReferenceOfByUserIdResult.js +2 -8
- package/inventory/result/DeleteReferenceOfByUserIdResult.js.map +1 -1
- package/inventory/result/DeleteReferenceOfByUserIdResult.ts +6 -14
- package/inventory/result/DeleteReferenceOfItemSetByStampSheetResult.d.ts +3 -3
- package/inventory/result/DeleteReferenceOfItemSetByStampSheetResult.js +2 -8
- package/inventory/result/DeleteReferenceOfItemSetByStampSheetResult.js.map +1 -1
- package/inventory/result/DeleteReferenceOfItemSetByStampSheetResult.ts +6 -14
- package/inventory/result/DeleteReferenceOfResult.d.ts +3 -3
- package/inventory/result/DeleteReferenceOfResult.js +2 -8
- package/inventory/result/DeleteReferenceOfResult.js.map +1 -1
- package/inventory/result/DeleteReferenceOfResult.ts +6 -14
- package/inventory/result/GetReferenceOfByUserIdResult.d.ts +3 -3
- package/inventory/result/GetReferenceOfByUserIdResult.js +2 -8
- package/inventory/result/GetReferenceOfByUserIdResult.js.map +1 -1
- package/inventory/result/GetReferenceOfByUserIdResult.ts +6 -14
- package/inventory/result/GetReferenceOfResult.d.ts +3 -3
- package/inventory/result/GetReferenceOfResult.js +2 -8
- package/inventory/result/GetReferenceOfResult.js.map +1 -1
- package/inventory/result/GetReferenceOfResult.ts +6 -14
- package/inventory/result/VerifyReferenceOfByStampTaskResult.d.ts +3 -3
- package/inventory/result/VerifyReferenceOfByStampTaskResult.js +2 -8
- package/inventory/result/VerifyReferenceOfByStampTaskResult.js.map +1 -1
- package/inventory/result/VerifyReferenceOfByStampTaskResult.ts +6 -14
- package/inventory/result/VerifyReferenceOfByUserIdResult.d.ts +3 -3
- package/inventory/result/VerifyReferenceOfByUserIdResult.js +2 -8
- package/inventory/result/VerifyReferenceOfByUserIdResult.js.map +1 -1
- package/inventory/result/VerifyReferenceOfByUserIdResult.ts +6 -14
- package/inventory/result/VerifyReferenceOfResult.d.ts +3 -3
- package/inventory/result/VerifyReferenceOfResult.js +2 -8
- package/inventory/result/VerifyReferenceOfResult.js.map +1 -1
- package/inventory/result/VerifyReferenceOfResult.ts +6 -14
- package/package.json +1 -1
- package/script/request/InvokeScriptRequest.d.ts +4 -0
- package/script/request/InvokeScriptRequest.js +12 -0
- package/script/request/InvokeScriptRequest.js.map +1 -1
- package/script/request/InvokeScriptRequest.ts +15 -0
- package/script/rest.js +10 -7
- package/script/rest.js.map +1 -1
- package/script/rest.ts +3 -0
- package/serialKey/model/CampaignModel.js +1 -1
- package/serialKey/model/CampaignModel.js.map +1 -1
- package/serialKey/model/CampaignModel.ts +1 -1
- package/serialKey/model/IssueJob.js +1 -1
- package/serialKey/model/IssueJob.js.map +1 -1
- package/serialKey/model/IssueJob.ts +1 -1
- package/watch/model/DictionaryEntryModel.d.ts +26 -0
- package/watch/model/DictionaryEntryModel.js +195 -0
- package/watch/model/DictionaryEntryModel.js.map +1 -0
- package/watch/model/DictionaryEntryModel.ts +217 -0
- package/watch/model/FormationForm.d.ts +3 -3
- package/watch/model/FormationForm.ts +4 -4
- package/watch/model/KeyKey.d.ts +26 -0
- package/watch/model/KeyKey.js +195 -0
- package/watch/model/KeyKey.js.map +1 -0
- package/watch/model/KeyKey.ts +217 -0
- package/watch/model/LotteryLotteryModel.d.ts +26 -0
- package/watch/model/LotteryLotteryModel.js +195 -0
- package/watch/model/LotteryLotteryModel.js.map +1 -0
- package/watch/model/LotteryLotteryModel.ts +217 -0
- package/watch/model/MissionMissionTaskModel.d.ts +27 -0
- package/watch/model/MissionMissionTaskModel.js +221 -0
- package/watch/model/MissionMissionTaskModel.js.map +1 -0
- package/watch/model/MissionMissionTaskModel.ts +246 -0
- package/watch/model/MoneyWallet.d.ts +3 -3
- package/watch/model/MoneyWallet.ts +4 -4
- package/watch/model/index.d.ts +5 -1
- package/watch/model/index.js +16 -7
- package/watch/model/index.js.map +1 -1
- package/watch/model/index.ts +8 -0
package/buff/index.d.ts
ADDED
package/buff/index.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
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.Gs2BuffRestClient = exports.result = exports.request = exports.model = void 0;
|
|
19
|
+
var tslib_1 = require("tslib");
|
|
20
|
+
var model = tslib_1.__importStar(require("./model"));
|
|
21
|
+
exports.model = model;
|
|
22
|
+
var request = tslib_1.__importStar(require("./request"));
|
|
23
|
+
exports.request = request;
|
|
24
|
+
var result = tslib_1.__importStar(require("./result"));
|
|
25
|
+
exports.result = result;
|
|
26
|
+
var rest_1 = tslib_1.__importDefault(require("./rest"));
|
|
27
|
+
exports.Gs2BuffRestClient = rest_1.default;
|
|
28
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;;AAEH,qDAAiC;AAM7B,sBAAK;AALT,yDAAqC;AAMjC,0BAAO;AALX,uDAAmC;AAM/B,wBAAM;AALV,wDAAuC;AAMnC,4BANG,cAAiB,CAMH"}
|
package/buff/index.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
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 * as model from './model';
|
|
18
|
+
import * as request from './request';
|
|
19
|
+
import * as result from './result';
|
|
20
|
+
import Gs2BuffRestClient from './rest';
|
|
21
|
+
|
|
22
|
+
export {
|
|
23
|
+
model,
|
|
24
|
+
request,
|
|
25
|
+
result,
|
|
26
|
+
Gs2BuffRestClient,
|
|
27
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import BuffTargetModel from './BuffTargetModel';
|
|
3
|
+
import BuffTargetAction from './BuffTargetAction';
|
|
4
|
+
export default class BuffEntryModel implements IModel {
|
|
5
|
+
private buffEntryModelId;
|
|
6
|
+
private name;
|
|
7
|
+
private metadata;
|
|
8
|
+
private targetType;
|
|
9
|
+
private targetModel;
|
|
10
|
+
private targetAction;
|
|
11
|
+
private expression;
|
|
12
|
+
private priority;
|
|
13
|
+
private applyPeriodScheduleEventId;
|
|
14
|
+
static getRegion(grn: string): string | null;
|
|
15
|
+
static getOwnerId(grn: string): string | null;
|
|
16
|
+
static getNamespaceName(grn: string): string | null;
|
|
17
|
+
static getBuffEntryName(grn: string): string | null;
|
|
18
|
+
static isValid(grn: string): boolean;
|
|
19
|
+
static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, buffEntryName: string | null): string | null;
|
|
20
|
+
getBuffEntryModelId(): string | null;
|
|
21
|
+
setBuffEntryModelId(buffEntryModelId: string | null): this;
|
|
22
|
+
withBuffEntryModelId(buffEntryModelId: string | null): this;
|
|
23
|
+
getName(): string | null;
|
|
24
|
+
setName(name: string | null): this;
|
|
25
|
+
withName(name: string | null): this;
|
|
26
|
+
getMetadata(): string | null;
|
|
27
|
+
setMetadata(metadata: string | null): this;
|
|
28
|
+
withMetadata(metadata: string | null): this;
|
|
29
|
+
getTargetType(): string | null;
|
|
30
|
+
setTargetType(targetType: string | null): this;
|
|
31
|
+
withTargetType(targetType: string | null): this;
|
|
32
|
+
getTargetModel(): BuffTargetModel | null;
|
|
33
|
+
setTargetModel(targetModel: BuffTargetModel | null): this;
|
|
34
|
+
withTargetModel(targetModel: BuffTargetModel | null): this;
|
|
35
|
+
getTargetAction(): BuffTargetAction | null;
|
|
36
|
+
setTargetAction(targetAction: BuffTargetAction | null): this;
|
|
37
|
+
withTargetAction(targetAction: BuffTargetAction | null): this;
|
|
38
|
+
getExpression(): string | null;
|
|
39
|
+
setExpression(expression: string | null): this;
|
|
40
|
+
withExpression(expression: string | null): this;
|
|
41
|
+
getPriority(): number | null;
|
|
42
|
+
setPriority(priority: number | null): this;
|
|
43
|
+
withPriority(priority: number | null): this;
|
|
44
|
+
getApplyPeriodScheduleEventId(): string | null;
|
|
45
|
+
setApplyPeriodScheduleEventId(applyPeriodScheduleEventId: string | null): this;
|
|
46
|
+
withApplyPeriodScheduleEventId(applyPeriodScheduleEventId: string | null): this;
|
|
47
|
+
static fromDict(data: {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
}): BuffEntryModel | null;
|
|
50
|
+
toDict(): {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
@@ -0,0 +1,231 @@
|
|
|
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
|
+
var tslib_1 = require("tslib");
|
|
19
|
+
var BuffTargetModel_1 = tslib_1.__importDefault(require("./BuffTargetModel"));
|
|
20
|
+
var BuffTargetAction_1 = tslib_1.__importDefault(require("./BuffTargetAction"));
|
|
21
|
+
var grnFormat = "grn:gs2:{region}:{ownerId}:buff:{namespaceName}:model:{buffEntryName}";
|
|
22
|
+
var BuffEntryModel = /** @class */ (function () {
|
|
23
|
+
function BuffEntryModel() {
|
|
24
|
+
this.buffEntryModelId = null;
|
|
25
|
+
this.name = null;
|
|
26
|
+
this.metadata = null;
|
|
27
|
+
this.targetType = null;
|
|
28
|
+
this.targetModel = null;
|
|
29
|
+
this.targetAction = null;
|
|
30
|
+
this.expression = null;
|
|
31
|
+
this.priority = null;
|
|
32
|
+
this.applyPeriodScheduleEventId = null;
|
|
33
|
+
}
|
|
34
|
+
BuffEntryModel.getRegion = function (grn) {
|
|
35
|
+
var match = grn.match(grnFormat
|
|
36
|
+
.replace('{region}', '(.*)')
|
|
37
|
+
.replace('{ownerId}', '.*')
|
|
38
|
+
.replace('{namespaceName}', '.*')
|
|
39
|
+
.replace('{buffEntryName}', '.*'));
|
|
40
|
+
if (match) {
|
|
41
|
+
return match[1];
|
|
42
|
+
}
|
|
43
|
+
return null;
|
|
44
|
+
};
|
|
45
|
+
BuffEntryModel.getOwnerId = function (grn) {
|
|
46
|
+
var match = grn.match(grnFormat
|
|
47
|
+
.replace('{region}', '.*')
|
|
48
|
+
.replace('{ownerId}', '(.*)')
|
|
49
|
+
.replace('{namespaceName}', '.*')
|
|
50
|
+
.replace('{buffEntryName}', '.*'));
|
|
51
|
+
if (match) {
|
|
52
|
+
return match[1];
|
|
53
|
+
}
|
|
54
|
+
return null;
|
|
55
|
+
};
|
|
56
|
+
BuffEntryModel.getNamespaceName = function (grn) {
|
|
57
|
+
var match = grn.match(grnFormat
|
|
58
|
+
.replace('{region}', '.*')
|
|
59
|
+
.replace('{ownerId}', '.*')
|
|
60
|
+
.replace('{namespaceName}', '(.*)')
|
|
61
|
+
.replace('{buffEntryName}', '.*'));
|
|
62
|
+
if (match) {
|
|
63
|
+
return match[1];
|
|
64
|
+
}
|
|
65
|
+
return null;
|
|
66
|
+
};
|
|
67
|
+
BuffEntryModel.getBuffEntryName = function (grn) {
|
|
68
|
+
var match = grn.match(grnFormat
|
|
69
|
+
.replace('{region}', '.*')
|
|
70
|
+
.replace('{ownerId}', '.*')
|
|
71
|
+
.replace('{namespaceName}', '.*')
|
|
72
|
+
.replace('{buffEntryName}', '(.*)'));
|
|
73
|
+
if (match) {
|
|
74
|
+
return match[1];
|
|
75
|
+
}
|
|
76
|
+
return null;
|
|
77
|
+
};
|
|
78
|
+
BuffEntryModel.isValid = function (grn) {
|
|
79
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
if (this.getBuffEntryName(grn) == null || this.getBuffEntryName(grn) === '') {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
return true;
|
|
92
|
+
};
|
|
93
|
+
BuffEntryModel.createGrn = function (region, ownerId, namespaceName, buffEntryName) {
|
|
94
|
+
return grnFormat
|
|
95
|
+
.replace('{region}', region !== null && region !== void 0 ? region : '')
|
|
96
|
+
.replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
|
|
97
|
+
.replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
|
|
98
|
+
.replace('{buffEntryName}', buffEntryName !== null && buffEntryName !== void 0 ? buffEntryName : '');
|
|
99
|
+
};
|
|
100
|
+
BuffEntryModel.prototype.getBuffEntryModelId = function () {
|
|
101
|
+
return this.buffEntryModelId;
|
|
102
|
+
};
|
|
103
|
+
BuffEntryModel.prototype.setBuffEntryModelId = function (buffEntryModelId) {
|
|
104
|
+
this.buffEntryModelId = buffEntryModelId;
|
|
105
|
+
return this;
|
|
106
|
+
};
|
|
107
|
+
BuffEntryModel.prototype.withBuffEntryModelId = function (buffEntryModelId) {
|
|
108
|
+
this.buffEntryModelId = buffEntryModelId;
|
|
109
|
+
return this;
|
|
110
|
+
};
|
|
111
|
+
BuffEntryModel.prototype.getName = function () {
|
|
112
|
+
return this.name;
|
|
113
|
+
};
|
|
114
|
+
BuffEntryModel.prototype.setName = function (name) {
|
|
115
|
+
this.name = name;
|
|
116
|
+
return this;
|
|
117
|
+
};
|
|
118
|
+
BuffEntryModel.prototype.withName = function (name) {
|
|
119
|
+
this.name = name;
|
|
120
|
+
return this;
|
|
121
|
+
};
|
|
122
|
+
BuffEntryModel.prototype.getMetadata = function () {
|
|
123
|
+
return this.metadata;
|
|
124
|
+
};
|
|
125
|
+
BuffEntryModel.prototype.setMetadata = function (metadata) {
|
|
126
|
+
this.metadata = metadata;
|
|
127
|
+
return this;
|
|
128
|
+
};
|
|
129
|
+
BuffEntryModel.prototype.withMetadata = function (metadata) {
|
|
130
|
+
this.metadata = metadata;
|
|
131
|
+
return this;
|
|
132
|
+
};
|
|
133
|
+
BuffEntryModel.prototype.getTargetType = function () {
|
|
134
|
+
return this.targetType;
|
|
135
|
+
};
|
|
136
|
+
BuffEntryModel.prototype.setTargetType = function (targetType) {
|
|
137
|
+
this.targetType = targetType;
|
|
138
|
+
return this;
|
|
139
|
+
};
|
|
140
|
+
BuffEntryModel.prototype.withTargetType = function (targetType) {
|
|
141
|
+
this.targetType = targetType;
|
|
142
|
+
return this;
|
|
143
|
+
};
|
|
144
|
+
BuffEntryModel.prototype.getTargetModel = function () {
|
|
145
|
+
return this.targetModel;
|
|
146
|
+
};
|
|
147
|
+
BuffEntryModel.prototype.setTargetModel = function (targetModel) {
|
|
148
|
+
this.targetModel = targetModel;
|
|
149
|
+
return this;
|
|
150
|
+
};
|
|
151
|
+
BuffEntryModel.prototype.withTargetModel = function (targetModel) {
|
|
152
|
+
this.targetModel = targetModel;
|
|
153
|
+
return this;
|
|
154
|
+
};
|
|
155
|
+
BuffEntryModel.prototype.getTargetAction = function () {
|
|
156
|
+
return this.targetAction;
|
|
157
|
+
};
|
|
158
|
+
BuffEntryModel.prototype.setTargetAction = function (targetAction) {
|
|
159
|
+
this.targetAction = targetAction;
|
|
160
|
+
return this;
|
|
161
|
+
};
|
|
162
|
+
BuffEntryModel.prototype.withTargetAction = function (targetAction) {
|
|
163
|
+
this.targetAction = targetAction;
|
|
164
|
+
return this;
|
|
165
|
+
};
|
|
166
|
+
BuffEntryModel.prototype.getExpression = function () {
|
|
167
|
+
return this.expression;
|
|
168
|
+
};
|
|
169
|
+
BuffEntryModel.prototype.setExpression = function (expression) {
|
|
170
|
+
this.expression = expression;
|
|
171
|
+
return this;
|
|
172
|
+
};
|
|
173
|
+
BuffEntryModel.prototype.withExpression = function (expression) {
|
|
174
|
+
this.expression = expression;
|
|
175
|
+
return this;
|
|
176
|
+
};
|
|
177
|
+
BuffEntryModel.prototype.getPriority = function () {
|
|
178
|
+
return this.priority;
|
|
179
|
+
};
|
|
180
|
+
BuffEntryModel.prototype.setPriority = function (priority) {
|
|
181
|
+
this.priority = priority;
|
|
182
|
+
return this;
|
|
183
|
+
};
|
|
184
|
+
BuffEntryModel.prototype.withPriority = function (priority) {
|
|
185
|
+
this.priority = priority;
|
|
186
|
+
return this;
|
|
187
|
+
};
|
|
188
|
+
BuffEntryModel.prototype.getApplyPeriodScheduleEventId = function () {
|
|
189
|
+
return this.applyPeriodScheduleEventId;
|
|
190
|
+
};
|
|
191
|
+
BuffEntryModel.prototype.setApplyPeriodScheduleEventId = function (applyPeriodScheduleEventId) {
|
|
192
|
+
this.applyPeriodScheduleEventId = applyPeriodScheduleEventId;
|
|
193
|
+
return this;
|
|
194
|
+
};
|
|
195
|
+
BuffEntryModel.prototype.withApplyPeriodScheduleEventId = function (applyPeriodScheduleEventId) {
|
|
196
|
+
this.applyPeriodScheduleEventId = applyPeriodScheduleEventId;
|
|
197
|
+
return this;
|
|
198
|
+
};
|
|
199
|
+
BuffEntryModel.fromDict = function (data) {
|
|
200
|
+
if (data == undefined || data == null) {
|
|
201
|
+
return null;
|
|
202
|
+
}
|
|
203
|
+
return new BuffEntryModel()
|
|
204
|
+
.withBuffEntryModelId(data["buffEntryModelId"])
|
|
205
|
+
.withName(data["name"])
|
|
206
|
+
.withMetadata(data["metadata"])
|
|
207
|
+
.withTargetType(data["targetType"])
|
|
208
|
+
.withTargetModel(BuffTargetModel_1.default.fromDict(data["targetModel"]))
|
|
209
|
+
.withTargetAction(BuffTargetAction_1.default.fromDict(data["targetAction"]))
|
|
210
|
+
.withExpression(data["expression"])
|
|
211
|
+
.withPriority(data["priority"])
|
|
212
|
+
.withApplyPeriodScheduleEventId(data["applyPeriodScheduleEventId"]);
|
|
213
|
+
};
|
|
214
|
+
BuffEntryModel.prototype.toDict = function () {
|
|
215
|
+
var _a, _b;
|
|
216
|
+
return {
|
|
217
|
+
"buffEntryModelId": this.getBuffEntryModelId(),
|
|
218
|
+
"name": this.getName(),
|
|
219
|
+
"metadata": this.getMetadata(),
|
|
220
|
+
"targetType": this.getTargetType(),
|
|
221
|
+
"targetModel": (_a = this.getTargetModel()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
222
|
+
"targetAction": (_b = this.getTargetAction()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
223
|
+
"expression": this.getExpression(),
|
|
224
|
+
"priority": this.getPriority(),
|
|
225
|
+
"applyPeriodScheduleEventId": this.getApplyPeriodScheduleEventId(),
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
return BuffEntryModel;
|
|
229
|
+
}());
|
|
230
|
+
exports.default = BuffEntryModel;
|
|
231
|
+
//# sourceMappingURL=BuffEntryModel.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BuffEntryModel.js","sourceRoot":"","sources":["BuffEntryModel.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAIH,8EAAgD;AAChD,gFAAkD;AAClD,IAAM,SAAS,GAAW,uEAAuE,CAAC;AAElG;IAAA;QACY,qBAAgB,GAAgB,IAAI,CAAC;QACrC,SAAI,GAAgB,IAAI,CAAC;QACzB,aAAQ,GAAgB,IAAI,CAAC;QAC7B,eAAU,GAAgB,IAAI,CAAC;QAC/B,gBAAW,GAAyB,IAAI,CAAC;QACzC,iBAAY,GAA0B,IAAI,CAAC;QAC3C,eAAU,GAAgB,IAAI,CAAC;QAC/B,aAAQ,GAAgB,IAAI,CAAC;QAC7B,+BAA0B,GAAgB,IAAI,CAAC;IAmN3D,CAAC;IAjNiB,wBAAS,GAAvB,UAAwB,GAAW;QAC/B,IAAM,KAAK,GAAG,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,CAAC,cAAc,EAAE,0CAAE,MAAM,EAAE;YAC9C,cAAc,EAAE,MAAA,IAAI,CAAC,eAAe,EAAE,0CAAE,MAAM,EAAE;YAChD,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,4BAA4B,EAAE,IAAI,CAAC,6BAA6B,EAAE;SACrE,CAAC;IACN,CAAC;IACL,qBAAC;AAAD,CAAC,AA5ND,IA4NC"}
|
|
@@ -0,0 +1,243 @@
|
|
|
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 IModel from '../../core/interface/IModel';
|
|
18
|
+
import BuffTargetGrn from './BuffTargetGrn';
|
|
19
|
+
import BuffTargetModel from './BuffTargetModel';
|
|
20
|
+
import BuffTargetAction from './BuffTargetAction';
|
|
21
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:buff:{namespaceName}:model:{buffEntryName}";
|
|
22
|
+
|
|
23
|
+
export default class BuffEntryModel implements IModel {
|
|
24
|
+
private buffEntryModelId: string|null = null;
|
|
25
|
+
private name: string|null = null;
|
|
26
|
+
private metadata: string|null = null;
|
|
27
|
+
private targetType: string|null = null;
|
|
28
|
+
private targetModel: BuffTargetModel|null = null;
|
|
29
|
+
private targetAction: BuffTargetAction|null = null;
|
|
30
|
+
private expression: string|null = null;
|
|
31
|
+
private priority: number|null = null;
|
|
32
|
+
private applyPeriodScheduleEventId: string|null = null;
|
|
33
|
+
|
|
34
|
+
public static getRegion(grn: string): string|null {
|
|
35
|
+
const match = grn.match(grnFormat
|
|
36
|
+
.replace('{region}', '(.*)')
|
|
37
|
+
.replace('{ownerId}', '.*')
|
|
38
|
+
.replace('{namespaceName}', '.*')
|
|
39
|
+
.replace('{buffEntryName}', '.*')
|
|
40
|
+
);
|
|
41
|
+
if (match) {
|
|
42
|
+
return match[1];
|
|
43
|
+
}
|
|
44
|
+
return null;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
public static getOwnerId(grn: string): string|null {
|
|
48
|
+
const match = grn.match(grnFormat
|
|
49
|
+
.replace('{region}', '.*')
|
|
50
|
+
.replace('{ownerId}', '(.*)')
|
|
51
|
+
.replace('{namespaceName}', '.*')
|
|
52
|
+
.replace('{buffEntryName}', '.*')
|
|
53
|
+
);
|
|
54
|
+
if (match) {
|
|
55
|
+
return match[1];
|
|
56
|
+
}
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public static getNamespaceName(grn: string): string|null {
|
|
61
|
+
const match = grn.match(grnFormat
|
|
62
|
+
.replace('{region}', '.*')
|
|
63
|
+
.replace('{ownerId}', '.*')
|
|
64
|
+
.replace('{namespaceName}', '(.*)')
|
|
65
|
+
.replace('{buffEntryName}', '.*')
|
|
66
|
+
);
|
|
67
|
+
if (match) {
|
|
68
|
+
return match[1];
|
|
69
|
+
}
|
|
70
|
+
return null;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
public static getBuffEntryName(grn: string): string|null {
|
|
74
|
+
const match = grn.match(grnFormat
|
|
75
|
+
.replace('{region}', '.*')
|
|
76
|
+
.replace('{ownerId}', '.*')
|
|
77
|
+
.replace('{namespaceName}', '.*')
|
|
78
|
+
.replace('{buffEntryName}', '(.*)')
|
|
79
|
+
);
|
|
80
|
+
if (match) {
|
|
81
|
+
return match[1];
|
|
82
|
+
}
|
|
83
|
+
return null;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
public static isValid(grn: string): boolean {
|
|
87
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
88
|
+
return false;
|
|
89
|
+
}
|
|
90
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
94
|
+
return false;
|
|
95
|
+
}
|
|
96
|
+
if (this.getBuffEntryName(grn) == null || this.getBuffEntryName(grn) === '') {
|
|
97
|
+
return false;
|
|
98
|
+
}
|
|
99
|
+
return true;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
public static createGrn(
|
|
103
|
+
region: string|null,
|
|
104
|
+
ownerId: string|null,
|
|
105
|
+
namespaceName: string|null,
|
|
106
|
+
buffEntryName: string|null,
|
|
107
|
+
): string|null {
|
|
108
|
+
return grnFormat
|
|
109
|
+
.replace('{region}', region ?? '')
|
|
110
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
111
|
+
.replace('{namespaceName}', namespaceName ?? '')
|
|
112
|
+
.replace('{buffEntryName}', buffEntryName ?? '');
|
|
113
|
+
}
|
|
114
|
+
public getBuffEntryModelId(): string|null {
|
|
115
|
+
return this.buffEntryModelId;
|
|
116
|
+
}
|
|
117
|
+
public setBuffEntryModelId(buffEntryModelId: string|null) {
|
|
118
|
+
this.buffEntryModelId = buffEntryModelId;
|
|
119
|
+
return this;
|
|
120
|
+
}
|
|
121
|
+
public withBuffEntryModelId(buffEntryModelId: string|null): this {
|
|
122
|
+
this.buffEntryModelId = buffEntryModelId;
|
|
123
|
+
return this;
|
|
124
|
+
}
|
|
125
|
+
public getName(): string|null {
|
|
126
|
+
return this.name;
|
|
127
|
+
}
|
|
128
|
+
public setName(name: string|null) {
|
|
129
|
+
this.name = name;
|
|
130
|
+
return this;
|
|
131
|
+
}
|
|
132
|
+
public withName(name: string|null): this {
|
|
133
|
+
this.name = name;
|
|
134
|
+
return this;
|
|
135
|
+
}
|
|
136
|
+
public getMetadata(): string|null {
|
|
137
|
+
return this.metadata;
|
|
138
|
+
}
|
|
139
|
+
public setMetadata(metadata: string|null) {
|
|
140
|
+
this.metadata = metadata;
|
|
141
|
+
return this;
|
|
142
|
+
}
|
|
143
|
+
public withMetadata(metadata: string|null): this {
|
|
144
|
+
this.metadata = metadata;
|
|
145
|
+
return this;
|
|
146
|
+
}
|
|
147
|
+
public getTargetType(): string|null {
|
|
148
|
+
return this.targetType;
|
|
149
|
+
}
|
|
150
|
+
public setTargetType(targetType: string|null) {
|
|
151
|
+
this.targetType = targetType;
|
|
152
|
+
return this;
|
|
153
|
+
}
|
|
154
|
+
public withTargetType(targetType: string|null): this {
|
|
155
|
+
this.targetType = targetType;
|
|
156
|
+
return this;
|
|
157
|
+
}
|
|
158
|
+
public getTargetModel(): BuffTargetModel|null {
|
|
159
|
+
return this.targetModel;
|
|
160
|
+
}
|
|
161
|
+
public setTargetModel(targetModel: BuffTargetModel|null) {
|
|
162
|
+
this.targetModel = targetModel;
|
|
163
|
+
return this;
|
|
164
|
+
}
|
|
165
|
+
public withTargetModel(targetModel: BuffTargetModel|null): this {
|
|
166
|
+
this.targetModel = targetModel;
|
|
167
|
+
return this;
|
|
168
|
+
}
|
|
169
|
+
public getTargetAction(): BuffTargetAction|null {
|
|
170
|
+
return this.targetAction;
|
|
171
|
+
}
|
|
172
|
+
public setTargetAction(targetAction: BuffTargetAction|null) {
|
|
173
|
+
this.targetAction = targetAction;
|
|
174
|
+
return this;
|
|
175
|
+
}
|
|
176
|
+
public withTargetAction(targetAction: BuffTargetAction|null): this {
|
|
177
|
+
this.targetAction = targetAction;
|
|
178
|
+
return this;
|
|
179
|
+
}
|
|
180
|
+
public getExpression(): string|null {
|
|
181
|
+
return this.expression;
|
|
182
|
+
}
|
|
183
|
+
public setExpression(expression: string|null) {
|
|
184
|
+
this.expression = expression;
|
|
185
|
+
return this;
|
|
186
|
+
}
|
|
187
|
+
public withExpression(expression: string|null): this {
|
|
188
|
+
this.expression = expression;
|
|
189
|
+
return this;
|
|
190
|
+
}
|
|
191
|
+
public getPriority(): number|null {
|
|
192
|
+
return this.priority;
|
|
193
|
+
}
|
|
194
|
+
public setPriority(priority: number|null) {
|
|
195
|
+
this.priority = priority;
|
|
196
|
+
return this;
|
|
197
|
+
}
|
|
198
|
+
public withPriority(priority: number|null): this {
|
|
199
|
+
this.priority = priority;
|
|
200
|
+
return this;
|
|
201
|
+
}
|
|
202
|
+
public getApplyPeriodScheduleEventId(): string|null {
|
|
203
|
+
return this.applyPeriodScheduleEventId;
|
|
204
|
+
}
|
|
205
|
+
public setApplyPeriodScheduleEventId(applyPeriodScheduleEventId: string|null) {
|
|
206
|
+
this.applyPeriodScheduleEventId = applyPeriodScheduleEventId;
|
|
207
|
+
return this;
|
|
208
|
+
}
|
|
209
|
+
public withApplyPeriodScheduleEventId(applyPeriodScheduleEventId: string|null): this {
|
|
210
|
+
this.applyPeriodScheduleEventId = applyPeriodScheduleEventId;
|
|
211
|
+
return this;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
public static fromDict(data: {[key: string]: any}): BuffEntryModel|null {
|
|
215
|
+
if (data == undefined || data == null) {
|
|
216
|
+
return null;
|
|
217
|
+
}
|
|
218
|
+
return new BuffEntryModel()
|
|
219
|
+
.withBuffEntryModelId(data["buffEntryModelId"])
|
|
220
|
+
.withName(data["name"])
|
|
221
|
+
.withMetadata(data["metadata"])
|
|
222
|
+
.withTargetType(data["targetType"])
|
|
223
|
+
.withTargetModel(BuffTargetModel.fromDict(data["targetModel"]))
|
|
224
|
+
.withTargetAction(BuffTargetAction.fromDict(data["targetAction"]))
|
|
225
|
+
.withExpression(data["expression"])
|
|
226
|
+
.withPriority(data["priority"])
|
|
227
|
+
.withApplyPeriodScheduleEventId(data["applyPeriodScheduleEventId"]);
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
public toDict(): {[key: string]: any} {
|
|
231
|
+
return {
|
|
232
|
+
"buffEntryModelId": this.getBuffEntryModelId(),
|
|
233
|
+
"name": this.getName(),
|
|
234
|
+
"metadata": this.getMetadata(),
|
|
235
|
+
"targetType": this.getTargetType(),
|
|
236
|
+
"targetModel": this.getTargetModel()?.toDict(),
|
|
237
|
+
"targetAction": this.getTargetAction()?.toDict(),
|
|
238
|
+
"expression": this.getExpression(),
|
|
239
|
+
"priority": this.getPriority(),
|
|
240
|
+
"applyPeriodScheduleEventId": this.getApplyPeriodScheduleEventId(),
|
|
241
|
+
};
|
|
242
|
+
}
|
|
243
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import BuffTargetModel from './BuffTargetModel';
|
|
3
|
+
import BuffTargetAction from './BuffTargetAction';
|
|
4
|
+
export default class BuffEntryModelMaster implements IModel {
|
|
5
|
+
private buffEntryModelId;
|
|
6
|
+
private name;
|
|
7
|
+
private description;
|
|
8
|
+
private metadata;
|
|
9
|
+
private targetType;
|
|
10
|
+
private targetModel;
|
|
11
|
+
private targetAction;
|
|
12
|
+
private expression;
|
|
13
|
+
private priority;
|
|
14
|
+
private applyPeriodScheduleEventId;
|
|
15
|
+
private createdAt;
|
|
16
|
+
private updatedAt;
|
|
17
|
+
private revision;
|
|
18
|
+
static getRegion(grn: string): string | null;
|
|
19
|
+
static getOwnerId(grn: string): string | null;
|
|
20
|
+
static getNamespaceName(grn: string): string | null;
|
|
21
|
+
static getBuffEntryName(grn: string): string | null;
|
|
22
|
+
static isValid(grn: string): boolean;
|
|
23
|
+
static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, buffEntryName: string | null): string | null;
|
|
24
|
+
getBuffEntryModelId(): string | null;
|
|
25
|
+
setBuffEntryModelId(buffEntryModelId: string | null): this;
|
|
26
|
+
withBuffEntryModelId(buffEntryModelId: string | null): this;
|
|
27
|
+
getName(): string | null;
|
|
28
|
+
setName(name: string | null): this;
|
|
29
|
+
withName(name: string | null): this;
|
|
30
|
+
getDescription(): string | null;
|
|
31
|
+
setDescription(description: string | null): this;
|
|
32
|
+
withDescription(description: string | null): this;
|
|
33
|
+
getMetadata(): string | null;
|
|
34
|
+
setMetadata(metadata: string | null): this;
|
|
35
|
+
withMetadata(metadata: string | null): this;
|
|
36
|
+
getTargetType(): string | null;
|
|
37
|
+
setTargetType(targetType: string | null): this;
|
|
38
|
+
withTargetType(targetType: string | null): this;
|
|
39
|
+
getTargetModel(): BuffTargetModel | null;
|
|
40
|
+
setTargetModel(targetModel: BuffTargetModel | null): this;
|
|
41
|
+
withTargetModel(targetModel: BuffTargetModel | null): this;
|
|
42
|
+
getTargetAction(): BuffTargetAction | null;
|
|
43
|
+
setTargetAction(targetAction: BuffTargetAction | null): this;
|
|
44
|
+
withTargetAction(targetAction: BuffTargetAction | null): this;
|
|
45
|
+
getExpression(): string | null;
|
|
46
|
+
setExpression(expression: string | null): this;
|
|
47
|
+
withExpression(expression: string | null): this;
|
|
48
|
+
getPriority(): number | null;
|
|
49
|
+
setPriority(priority: number | null): this;
|
|
50
|
+
withPriority(priority: number | null): this;
|
|
51
|
+
getApplyPeriodScheduleEventId(): string | null;
|
|
52
|
+
setApplyPeriodScheduleEventId(applyPeriodScheduleEventId: string | null): this;
|
|
53
|
+
withApplyPeriodScheduleEventId(applyPeriodScheduleEventId: string | null): this;
|
|
54
|
+
getCreatedAt(): number | null;
|
|
55
|
+
setCreatedAt(createdAt: number | null): this;
|
|
56
|
+
withCreatedAt(createdAt: number | null): this;
|
|
57
|
+
getUpdatedAt(): number | null;
|
|
58
|
+
setUpdatedAt(updatedAt: number | null): this;
|
|
59
|
+
withUpdatedAt(updatedAt: number | null): this;
|
|
60
|
+
getRevision(): number | null;
|
|
61
|
+
setRevision(revision: number | null): this;
|
|
62
|
+
withRevision(revision: number | null): this;
|
|
63
|
+
static fromDict(data: {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
}): BuffEntryModelMaster | null;
|
|
66
|
+
toDict(): {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
};
|
|
69
|
+
}
|