gs2 1.3.229 → 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/matchmaking/request/EarlyCompleteByUserIdRequest.d.ts +37 -0
- package/matchmaking/request/EarlyCompleteByUserIdRequest.js +123 -0
- package/matchmaking/request/EarlyCompleteByUserIdRequest.js.map +1 -0
- package/matchmaking/request/EarlyCompleteByUserIdRequest.ts +133 -0
- package/matchmaking/request/EarlyCompleteRequest.d.ts +33 -0
- package/matchmaking/request/EarlyCompleteRequest.js +109 -0
- package/matchmaking/request/EarlyCompleteRequest.js.map +1 -0
- package/matchmaking/request/EarlyCompleteRequest.ts +119 -0
- package/matchmaking/request/index.d.ts +3 -1
- package/matchmaking/request/index.js +5 -1
- package/matchmaking/request/index.js.map +1 -1
- package/matchmaking/request/index.ts +4 -0
- package/matchmaking/rest.d.ts +2 -0
- package/matchmaking/rest.js +59 -0
- package/matchmaking/rest.js.map +1 -1
- package/matchmaking/rest.ts +67 -0
- package/matchmaking/result/EarlyCompleteByUserIdResult.d.ts +14 -0
- package/matchmaking/result/EarlyCompleteByUserIdResult.js +48 -0
- package/matchmaking/result/EarlyCompleteByUserIdResult.js.map +1 -0
- package/matchmaking/result/EarlyCompleteByUserIdResult.ts +47 -0
- package/matchmaking/result/EarlyCompleteResult.d.ts +14 -0
- package/matchmaking/result/EarlyCompleteResult.js +48 -0
- package/matchmaking/result/EarlyCompleteResult.js.map +1 -0
- package/matchmaking/result/EarlyCompleteResult.ts +47 -0
- package/matchmaking/result/index.d.ts +3 -1
- package/matchmaking/result/index.js +5 -1
- package/matchmaking/result/index.js.map +1 -1
- package/matchmaking/result/index.ts +4 -0
- 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 +5 -5
- package/watch/model/FormationForm.js +13 -13
- package/watch/model/FormationForm.js.map +1 -1
- package/watch/model/FormationForm.ts +17 -17
- package/watch/model/FormationMold.d.ts +6 -6
- package/watch/model/FormationMold.js +21 -21
- package/watch/model/FormationMold.js.map +1 -1
- package/watch/model/FormationMold.ts +21 -21
- package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.d.ts +4 -4
- package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.js +9 -9
- package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.js.map +1 -1
- package/watch/model/FormationNamespaceIncreaseCapacityByMoldDistributionSegment.ts +9 -9
- package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.d.ts +4 -4
- package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.js +9 -9
- package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.js.map +1 -1
- package/watch/model/FormationNamespaceUpdateByMoldDistributionSegment.ts +9 -9
- 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/watch/request/DescribeFormationFormMetricsRequest.d.ts +4 -4
- package/watch/request/DescribeFormationFormMetricsRequest.js +9 -9
- package/watch/request/DescribeFormationFormMetricsRequest.js.map +1 -1
- package/watch/request/DescribeFormationFormMetricsRequest.ts +9 -9
- package/watch/rest.js +2 -2
- package/watch/rest.js.map +1 -1
- package/watch/rest.ts +2 -2
|
@@ -0,0 +1,287 @@
|
|
|
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 BuffEntryModelMaster = /** @class */ (function () {
|
|
23
|
+
function BuffEntryModelMaster() {
|
|
24
|
+
this.buffEntryModelId = null;
|
|
25
|
+
this.name = null;
|
|
26
|
+
this.description = null;
|
|
27
|
+
this.metadata = null;
|
|
28
|
+
this.targetType = null;
|
|
29
|
+
this.targetModel = null;
|
|
30
|
+
this.targetAction = null;
|
|
31
|
+
this.expression = null;
|
|
32
|
+
this.priority = null;
|
|
33
|
+
this.applyPeriodScheduleEventId = null;
|
|
34
|
+
this.createdAt = null;
|
|
35
|
+
this.updatedAt = null;
|
|
36
|
+
this.revision = null;
|
|
37
|
+
}
|
|
38
|
+
BuffEntryModelMaster.getRegion = function (grn) {
|
|
39
|
+
var match = grn.match(grnFormat
|
|
40
|
+
.replace('{region}', '(.*)')
|
|
41
|
+
.replace('{ownerId}', '.*')
|
|
42
|
+
.replace('{namespaceName}', '.*')
|
|
43
|
+
.replace('{buffEntryName}', '.*'));
|
|
44
|
+
if (match) {
|
|
45
|
+
return match[1];
|
|
46
|
+
}
|
|
47
|
+
return null;
|
|
48
|
+
};
|
|
49
|
+
BuffEntryModelMaster.getOwnerId = function (grn) {
|
|
50
|
+
var match = grn.match(grnFormat
|
|
51
|
+
.replace('{region}', '.*')
|
|
52
|
+
.replace('{ownerId}', '(.*)')
|
|
53
|
+
.replace('{namespaceName}', '.*')
|
|
54
|
+
.replace('{buffEntryName}', '.*'));
|
|
55
|
+
if (match) {
|
|
56
|
+
return match[1];
|
|
57
|
+
}
|
|
58
|
+
return null;
|
|
59
|
+
};
|
|
60
|
+
BuffEntryModelMaster.getNamespaceName = function (grn) {
|
|
61
|
+
var match = grn.match(grnFormat
|
|
62
|
+
.replace('{region}', '.*')
|
|
63
|
+
.replace('{ownerId}', '.*')
|
|
64
|
+
.replace('{namespaceName}', '(.*)')
|
|
65
|
+
.replace('{buffEntryName}', '.*'));
|
|
66
|
+
if (match) {
|
|
67
|
+
return match[1];
|
|
68
|
+
}
|
|
69
|
+
return null;
|
|
70
|
+
};
|
|
71
|
+
BuffEntryModelMaster.getBuffEntryName = function (grn) {
|
|
72
|
+
var match = grn.match(grnFormat
|
|
73
|
+
.replace('{region}', '.*')
|
|
74
|
+
.replace('{ownerId}', '.*')
|
|
75
|
+
.replace('{namespaceName}', '.*')
|
|
76
|
+
.replace('{buffEntryName}', '(.*)'));
|
|
77
|
+
if (match) {
|
|
78
|
+
return match[1];
|
|
79
|
+
}
|
|
80
|
+
return null;
|
|
81
|
+
};
|
|
82
|
+
BuffEntryModelMaster.isValid = function (grn) {
|
|
83
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
if (this.getBuffEntryName(grn) == null || this.getBuffEntryName(grn) === '') {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
return true;
|
|
96
|
+
};
|
|
97
|
+
BuffEntryModelMaster.createGrn = function (region, ownerId, namespaceName, buffEntryName) {
|
|
98
|
+
return grnFormat
|
|
99
|
+
.replace('{region}', region !== null && region !== void 0 ? region : '')
|
|
100
|
+
.replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
|
|
101
|
+
.replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
|
|
102
|
+
.replace('{buffEntryName}', buffEntryName !== null && buffEntryName !== void 0 ? buffEntryName : '');
|
|
103
|
+
};
|
|
104
|
+
BuffEntryModelMaster.prototype.getBuffEntryModelId = function () {
|
|
105
|
+
return this.buffEntryModelId;
|
|
106
|
+
};
|
|
107
|
+
BuffEntryModelMaster.prototype.setBuffEntryModelId = function (buffEntryModelId) {
|
|
108
|
+
this.buffEntryModelId = buffEntryModelId;
|
|
109
|
+
return this;
|
|
110
|
+
};
|
|
111
|
+
BuffEntryModelMaster.prototype.withBuffEntryModelId = function (buffEntryModelId) {
|
|
112
|
+
this.buffEntryModelId = buffEntryModelId;
|
|
113
|
+
return this;
|
|
114
|
+
};
|
|
115
|
+
BuffEntryModelMaster.prototype.getName = function () {
|
|
116
|
+
return this.name;
|
|
117
|
+
};
|
|
118
|
+
BuffEntryModelMaster.prototype.setName = function (name) {
|
|
119
|
+
this.name = name;
|
|
120
|
+
return this;
|
|
121
|
+
};
|
|
122
|
+
BuffEntryModelMaster.prototype.withName = function (name) {
|
|
123
|
+
this.name = name;
|
|
124
|
+
return this;
|
|
125
|
+
};
|
|
126
|
+
BuffEntryModelMaster.prototype.getDescription = function () {
|
|
127
|
+
return this.description;
|
|
128
|
+
};
|
|
129
|
+
BuffEntryModelMaster.prototype.setDescription = function (description) {
|
|
130
|
+
this.description = description;
|
|
131
|
+
return this;
|
|
132
|
+
};
|
|
133
|
+
BuffEntryModelMaster.prototype.withDescription = function (description) {
|
|
134
|
+
this.description = description;
|
|
135
|
+
return this;
|
|
136
|
+
};
|
|
137
|
+
BuffEntryModelMaster.prototype.getMetadata = function () {
|
|
138
|
+
return this.metadata;
|
|
139
|
+
};
|
|
140
|
+
BuffEntryModelMaster.prototype.setMetadata = function (metadata) {
|
|
141
|
+
this.metadata = metadata;
|
|
142
|
+
return this;
|
|
143
|
+
};
|
|
144
|
+
BuffEntryModelMaster.prototype.withMetadata = function (metadata) {
|
|
145
|
+
this.metadata = metadata;
|
|
146
|
+
return this;
|
|
147
|
+
};
|
|
148
|
+
BuffEntryModelMaster.prototype.getTargetType = function () {
|
|
149
|
+
return this.targetType;
|
|
150
|
+
};
|
|
151
|
+
BuffEntryModelMaster.prototype.setTargetType = function (targetType) {
|
|
152
|
+
this.targetType = targetType;
|
|
153
|
+
return this;
|
|
154
|
+
};
|
|
155
|
+
BuffEntryModelMaster.prototype.withTargetType = function (targetType) {
|
|
156
|
+
this.targetType = targetType;
|
|
157
|
+
return this;
|
|
158
|
+
};
|
|
159
|
+
BuffEntryModelMaster.prototype.getTargetModel = function () {
|
|
160
|
+
return this.targetModel;
|
|
161
|
+
};
|
|
162
|
+
BuffEntryModelMaster.prototype.setTargetModel = function (targetModel) {
|
|
163
|
+
this.targetModel = targetModel;
|
|
164
|
+
return this;
|
|
165
|
+
};
|
|
166
|
+
BuffEntryModelMaster.prototype.withTargetModel = function (targetModel) {
|
|
167
|
+
this.targetModel = targetModel;
|
|
168
|
+
return this;
|
|
169
|
+
};
|
|
170
|
+
BuffEntryModelMaster.prototype.getTargetAction = function () {
|
|
171
|
+
return this.targetAction;
|
|
172
|
+
};
|
|
173
|
+
BuffEntryModelMaster.prototype.setTargetAction = function (targetAction) {
|
|
174
|
+
this.targetAction = targetAction;
|
|
175
|
+
return this;
|
|
176
|
+
};
|
|
177
|
+
BuffEntryModelMaster.prototype.withTargetAction = function (targetAction) {
|
|
178
|
+
this.targetAction = targetAction;
|
|
179
|
+
return this;
|
|
180
|
+
};
|
|
181
|
+
BuffEntryModelMaster.prototype.getExpression = function () {
|
|
182
|
+
return this.expression;
|
|
183
|
+
};
|
|
184
|
+
BuffEntryModelMaster.prototype.setExpression = function (expression) {
|
|
185
|
+
this.expression = expression;
|
|
186
|
+
return this;
|
|
187
|
+
};
|
|
188
|
+
BuffEntryModelMaster.prototype.withExpression = function (expression) {
|
|
189
|
+
this.expression = expression;
|
|
190
|
+
return this;
|
|
191
|
+
};
|
|
192
|
+
BuffEntryModelMaster.prototype.getPriority = function () {
|
|
193
|
+
return this.priority;
|
|
194
|
+
};
|
|
195
|
+
BuffEntryModelMaster.prototype.setPriority = function (priority) {
|
|
196
|
+
this.priority = priority;
|
|
197
|
+
return this;
|
|
198
|
+
};
|
|
199
|
+
BuffEntryModelMaster.prototype.withPriority = function (priority) {
|
|
200
|
+
this.priority = priority;
|
|
201
|
+
return this;
|
|
202
|
+
};
|
|
203
|
+
BuffEntryModelMaster.prototype.getApplyPeriodScheduleEventId = function () {
|
|
204
|
+
return this.applyPeriodScheduleEventId;
|
|
205
|
+
};
|
|
206
|
+
BuffEntryModelMaster.prototype.setApplyPeriodScheduleEventId = function (applyPeriodScheduleEventId) {
|
|
207
|
+
this.applyPeriodScheduleEventId = applyPeriodScheduleEventId;
|
|
208
|
+
return this;
|
|
209
|
+
};
|
|
210
|
+
BuffEntryModelMaster.prototype.withApplyPeriodScheduleEventId = function (applyPeriodScheduleEventId) {
|
|
211
|
+
this.applyPeriodScheduleEventId = applyPeriodScheduleEventId;
|
|
212
|
+
return this;
|
|
213
|
+
};
|
|
214
|
+
BuffEntryModelMaster.prototype.getCreatedAt = function () {
|
|
215
|
+
return this.createdAt;
|
|
216
|
+
};
|
|
217
|
+
BuffEntryModelMaster.prototype.setCreatedAt = function (createdAt) {
|
|
218
|
+
this.createdAt = createdAt;
|
|
219
|
+
return this;
|
|
220
|
+
};
|
|
221
|
+
BuffEntryModelMaster.prototype.withCreatedAt = function (createdAt) {
|
|
222
|
+
this.createdAt = createdAt;
|
|
223
|
+
return this;
|
|
224
|
+
};
|
|
225
|
+
BuffEntryModelMaster.prototype.getUpdatedAt = function () {
|
|
226
|
+
return this.updatedAt;
|
|
227
|
+
};
|
|
228
|
+
BuffEntryModelMaster.prototype.setUpdatedAt = function (updatedAt) {
|
|
229
|
+
this.updatedAt = updatedAt;
|
|
230
|
+
return this;
|
|
231
|
+
};
|
|
232
|
+
BuffEntryModelMaster.prototype.withUpdatedAt = function (updatedAt) {
|
|
233
|
+
this.updatedAt = updatedAt;
|
|
234
|
+
return this;
|
|
235
|
+
};
|
|
236
|
+
BuffEntryModelMaster.prototype.getRevision = function () {
|
|
237
|
+
return this.revision;
|
|
238
|
+
};
|
|
239
|
+
BuffEntryModelMaster.prototype.setRevision = function (revision) {
|
|
240
|
+
this.revision = revision;
|
|
241
|
+
return this;
|
|
242
|
+
};
|
|
243
|
+
BuffEntryModelMaster.prototype.withRevision = function (revision) {
|
|
244
|
+
this.revision = revision;
|
|
245
|
+
return this;
|
|
246
|
+
};
|
|
247
|
+
BuffEntryModelMaster.fromDict = function (data) {
|
|
248
|
+
if (data == undefined || data == null) {
|
|
249
|
+
return null;
|
|
250
|
+
}
|
|
251
|
+
return new BuffEntryModelMaster()
|
|
252
|
+
.withBuffEntryModelId(data["buffEntryModelId"])
|
|
253
|
+
.withName(data["name"])
|
|
254
|
+
.withDescription(data["description"])
|
|
255
|
+
.withMetadata(data["metadata"])
|
|
256
|
+
.withTargetType(data["targetType"])
|
|
257
|
+
.withTargetModel(BuffTargetModel_1.default.fromDict(data["targetModel"]))
|
|
258
|
+
.withTargetAction(BuffTargetAction_1.default.fromDict(data["targetAction"]))
|
|
259
|
+
.withExpression(data["expression"])
|
|
260
|
+
.withPriority(data["priority"])
|
|
261
|
+
.withApplyPeriodScheduleEventId(data["applyPeriodScheduleEventId"])
|
|
262
|
+
.withCreatedAt(data["createdAt"])
|
|
263
|
+
.withUpdatedAt(data["updatedAt"])
|
|
264
|
+
.withRevision(data["revision"]);
|
|
265
|
+
};
|
|
266
|
+
BuffEntryModelMaster.prototype.toDict = function () {
|
|
267
|
+
var _a, _b;
|
|
268
|
+
return {
|
|
269
|
+
"buffEntryModelId": this.getBuffEntryModelId(),
|
|
270
|
+
"name": this.getName(),
|
|
271
|
+
"description": this.getDescription(),
|
|
272
|
+
"metadata": this.getMetadata(),
|
|
273
|
+
"targetType": this.getTargetType(),
|
|
274
|
+
"targetModel": (_a = this.getTargetModel()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
275
|
+
"targetAction": (_b = this.getTargetAction()) === null || _b === void 0 ? void 0 : _b.toDict(),
|
|
276
|
+
"expression": this.getExpression(),
|
|
277
|
+
"priority": this.getPriority(),
|
|
278
|
+
"applyPeriodScheduleEventId": this.getApplyPeriodScheduleEventId(),
|
|
279
|
+
"createdAt": this.getCreatedAt(),
|
|
280
|
+
"updatedAt": this.getUpdatedAt(),
|
|
281
|
+
"revision": this.getRevision(),
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
return BuffEntryModelMaster;
|
|
285
|
+
}());
|
|
286
|
+
exports.default = BuffEntryModelMaster;
|
|
287
|
+
//# sourceMappingURL=BuffEntryModelMaster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BuffEntryModelMaster.js","sourceRoot":"","sources":["BuffEntryModelMaster.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,gBAAW,GAAgB,IAAI,CAAC;QAChC,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;QAC/C,cAAS,GAAgB,IAAI,CAAC;QAC9B,cAAS,GAAgB,IAAI,CAAC;QAC9B,aAAQ,GAAgB,IAAI,CAAC;IAuQzC,CAAC;IArQiB,8BAAS,GAAvB,UAAwB,GAAW;QAC/B,IAAM,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC,SAAS;aAC5B,OAAO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AAI,CAAC,cAAc,EAAE;YACpC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;YAC9B,YAAY,EAAE,IAAI,CAAC,aAAa,EAAE;YAClC,aAAa,EAAE,MAAA,IAAI,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;YAClE,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,WAAW,EAAE,IAAI,CAAC,YAAY,EAAE;YAChC,UAAU,EAAE,IAAI,CAAC,WAAW,EAAE;SACjC,CAAC;IACN,CAAC;IACL,2BAAC;AAAD,CAAC,AApRD,IAoRC"}
|
|
@@ -0,0 +1,299 @@
|
|
|
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 BuffEntryModelMaster implements IModel {
|
|
24
|
+
private buffEntryModelId: string|null = null;
|
|
25
|
+
private name: string|null = null;
|
|
26
|
+
private description: string|null = null;
|
|
27
|
+
private metadata: string|null = null;
|
|
28
|
+
private targetType: string|null = null;
|
|
29
|
+
private targetModel: BuffTargetModel|null = null;
|
|
30
|
+
private targetAction: BuffTargetAction|null = null;
|
|
31
|
+
private expression: string|null = null;
|
|
32
|
+
private priority: number|null = null;
|
|
33
|
+
private applyPeriodScheduleEventId: string|null = null;
|
|
34
|
+
private createdAt: number|null = null;
|
|
35
|
+
private updatedAt: number|null = null;
|
|
36
|
+
private revision: number|null = null;
|
|
37
|
+
|
|
38
|
+
public static getRegion(grn: string): string|null {
|
|
39
|
+
const match = grn.match(grnFormat
|
|
40
|
+
.replace('{region}', '(.*)')
|
|
41
|
+
.replace('{ownerId}', '.*')
|
|
42
|
+
.replace('{namespaceName}', '.*')
|
|
43
|
+
.replace('{buffEntryName}', '.*')
|
|
44
|
+
);
|
|
45
|
+
if (match) {
|
|
46
|
+
return match[1];
|
|
47
|
+
}
|
|
48
|
+
return null;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
public static getOwnerId(grn: string): string|null {
|
|
52
|
+
const match = grn.match(grnFormat
|
|
53
|
+
.replace('{region}', '.*')
|
|
54
|
+
.replace('{ownerId}', '(.*)')
|
|
55
|
+
.replace('{namespaceName}', '.*')
|
|
56
|
+
.replace('{buffEntryName}', '.*')
|
|
57
|
+
);
|
|
58
|
+
if (match) {
|
|
59
|
+
return match[1];
|
|
60
|
+
}
|
|
61
|
+
return null;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
public static getNamespaceName(grn: string): string|null {
|
|
65
|
+
const match = grn.match(grnFormat
|
|
66
|
+
.replace('{region}', '.*')
|
|
67
|
+
.replace('{ownerId}', '.*')
|
|
68
|
+
.replace('{namespaceName}', '(.*)')
|
|
69
|
+
.replace('{buffEntryName}', '.*')
|
|
70
|
+
);
|
|
71
|
+
if (match) {
|
|
72
|
+
return match[1];
|
|
73
|
+
}
|
|
74
|
+
return null;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
public static getBuffEntryName(grn: string): string|null {
|
|
78
|
+
const match = grn.match(grnFormat
|
|
79
|
+
.replace('{region}', '.*')
|
|
80
|
+
.replace('{ownerId}', '.*')
|
|
81
|
+
.replace('{namespaceName}', '.*')
|
|
82
|
+
.replace('{buffEntryName}', '(.*)')
|
|
83
|
+
);
|
|
84
|
+
if (match) {
|
|
85
|
+
return match[1];
|
|
86
|
+
}
|
|
87
|
+
return null;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
public static isValid(grn: string): boolean {
|
|
91
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
if (this.getBuffEntryName(grn) == null || this.getBuffEntryName(grn) === '') {
|
|
101
|
+
return false;
|
|
102
|
+
}
|
|
103
|
+
return true;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
public static createGrn(
|
|
107
|
+
region: string|null,
|
|
108
|
+
ownerId: string|null,
|
|
109
|
+
namespaceName: string|null,
|
|
110
|
+
buffEntryName: string|null,
|
|
111
|
+
): string|null {
|
|
112
|
+
return grnFormat
|
|
113
|
+
.replace('{region}', region ?? '')
|
|
114
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
115
|
+
.replace('{namespaceName}', namespaceName ?? '')
|
|
116
|
+
.replace('{buffEntryName}', buffEntryName ?? '');
|
|
117
|
+
}
|
|
118
|
+
public getBuffEntryModelId(): string|null {
|
|
119
|
+
return this.buffEntryModelId;
|
|
120
|
+
}
|
|
121
|
+
public setBuffEntryModelId(buffEntryModelId: string|null) {
|
|
122
|
+
this.buffEntryModelId = buffEntryModelId;
|
|
123
|
+
return this;
|
|
124
|
+
}
|
|
125
|
+
public withBuffEntryModelId(buffEntryModelId: string|null): this {
|
|
126
|
+
this.buffEntryModelId = buffEntryModelId;
|
|
127
|
+
return this;
|
|
128
|
+
}
|
|
129
|
+
public getName(): string|null {
|
|
130
|
+
return this.name;
|
|
131
|
+
}
|
|
132
|
+
public setName(name: string|null) {
|
|
133
|
+
this.name = name;
|
|
134
|
+
return this;
|
|
135
|
+
}
|
|
136
|
+
public withName(name: string|null): this {
|
|
137
|
+
this.name = name;
|
|
138
|
+
return this;
|
|
139
|
+
}
|
|
140
|
+
public getDescription(): string|null {
|
|
141
|
+
return this.description;
|
|
142
|
+
}
|
|
143
|
+
public setDescription(description: string|null) {
|
|
144
|
+
this.description = description;
|
|
145
|
+
return this;
|
|
146
|
+
}
|
|
147
|
+
public withDescription(description: string|null): this {
|
|
148
|
+
this.description = description;
|
|
149
|
+
return this;
|
|
150
|
+
}
|
|
151
|
+
public getMetadata(): string|null {
|
|
152
|
+
return this.metadata;
|
|
153
|
+
}
|
|
154
|
+
public setMetadata(metadata: string|null) {
|
|
155
|
+
this.metadata = metadata;
|
|
156
|
+
return this;
|
|
157
|
+
}
|
|
158
|
+
public withMetadata(metadata: string|null): this {
|
|
159
|
+
this.metadata = metadata;
|
|
160
|
+
return this;
|
|
161
|
+
}
|
|
162
|
+
public getTargetType(): string|null {
|
|
163
|
+
return this.targetType;
|
|
164
|
+
}
|
|
165
|
+
public setTargetType(targetType: string|null) {
|
|
166
|
+
this.targetType = targetType;
|
|
167
|
+
return this;
|
|
168
|
+
}
|
|
169
|
+
public withTargetType(targetType: string|null): this {
|
|
170
|
+
this.targetType = targetType;
|
|
171
|
+
return this;
|
|
172
|
+
}
|
|
173
|
+
public getTargetModel(): BuffTargetModel|null {
|
|
174
|
+
return this.targetModel;
|
|
175
|
+
}
|
|
176
|
+
public setTargetModel(targetModel: BuffTargetModel|null) {
|
|
177
|
+
this.targetModel = targetModel;
|
|
178
|
+
return this;
|
|
179
|
+
}
|
|
180
|
+
public withTargetModel(targetModel: BuffTargetModel|null): this {
|
|
181
|
+
this.targetModel = targetModel;
|
|
182
|
+
return this;
|
|
183
|
+
}
|
|
184
|
+
public getTargetAction(): BuffTargetAction|null {
|
|
185
|
+
return this.targetAction;
|
|
186
|
+
}
|
|
187
|
+
public setTargetAction(targetAction: BuffTargetAction|null) {
|
|
188
|
+
this.targetAction = targetAction;
|
|
189
|
+
return this;
|
|
190
|
+
}
|
|
191
|
+
public withTargetAction(targetAction: BuffTargetAction|null): this {
|
|
192
|
+
this.targetAction = targetAction;
|
|
193
|
+
return this;
|
|
194
|
+
}
|
|
195
|
+
public getExpression(): string|null {
|
|
196
|
+
return this.expression;
|
|
197
|
+
}
|
|
198
|
+
public setExpression(expression: string|null) {
|
|
199
|
+
this.expression = expression;
|
|
200
|
+
return this;
|
|
201
|
+
}
|
|
202
|
+
public withExpression(expression: string|null): this {
|
|
203
|
+
this.expression = expression;
|
|
204
|
+
return this;
|
|
205
|
+
}
|
|
206
|
+
public getPriority(): number|null {
|
|
207
|
+
return this.priority;
|
|
208
|
+
}
|
|
209
|
+
public setPriority(priority: number|null) {
|
|
210
|
+
this.priority = priority;
|
|
211
|
+
return this;
|
|
212
|
+
}
|
|
213
|
+
public withPriority(priority: number|null): this {
|
|
214
|
+
this.priority = priority;
|
|
215
|
+
return this;
|
|
216
|
+
}
|
|
217
|
+
public getApplyPeriodScheduleEventId(): string|null {
|
|
218
|
+
return this.applyPeriodScheduleEventId;
|
|
219
|
+
}
|
|
220
|
+
public setApplyPeriodScheduleEventId(applyPeriodScheduleEventId: string|null) {
|
|
221
|
+
this.applyPeriodScheduleEventId = applyPeriodScheduleEventId;
|
|
222
|
+
return this;
|
|
223
|
+
}
|
|
224
|
+
public withApplyPeriodScheduleEventId(applyPeriodScheduleEventId: string|null): this {
|
|
225
|
+
this.applyPeriodScheduleEventId = applyPeriodScheduleEventId;
|
|
226
|
+
return this;
|
|
227
|
+
}
|
|
228
|
+
public getCreatedAt(): number|null {
|
|
229
|
+
return this.createdAt;
|
|
230
|
+
}
|
|
231
|
+
public setCreatedAt(createdAt: number|null) {
|
|
232
|
+
this.createdAt = createdAt;
|
|
233
|
+
return this;
|
|
234
|
+
}
|
|
235
|
+
public withCreatedAt(createdAt: number|null): this {
|
|
236
|
+
this.createdAt = createdAt;
|
|
237
|
+
return this;
|
|
238
|
+
}
|
|
239
|
+
public getUpdatedAt(): number|null {
|
|
240
|
+
return this.updatedAt;
|
|
241
|
+
}
|
|
242
|
+
public setUpdatedAt(updatedAt: number|null) {
|
|
243
|
+
this.updatedAt = updatedAt;
|
|
244
|
+
return this;
|
|
245
|
+
}
|
|
246
|
+
public withUpdatedAt(updatedAt: number|null): this {
|
|
247
|
+
this.updatedAt = updatedAt;
|
|
248
|
+
return this;
|
|
249
|
+
}
|
|
250
|
+
public getRevision(): number|null {
|
|
251
|
+
return this.revision;
|
|
252
|
+
}
|
|
253
|
+
public setRevision(revision: number|null) {
|
|
254
|
+
this.revision = revision;
|
|
255
|
+
return this;
|
|
256
|
+
}
|
|
257
|
+
public withRevision(revision: number|null): this {
|
|
258
|
+
this.revision = revision;
|
|
259
|
+
return this;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
public static fromDict(data: {[key: string]: any}): BuffEntryModelMaster|null {
|
|
263
|
+
if (data == undefined || data == null) {
|
|
264
|
+
return null;
|
|
265
|
+
}
|
|
266
|
+
return new BuffEntryModelMaster()
|
|
267
|
+
.withBuffEntryModelId(data["buffEntryModelId"])
|
|
268
|
+
.withName(data["name"])
|
|
269
|
+
.withDescription(data["description"])
|
|
270
|
+
.withMetadata(data["metadata"])
|
|
271
|
+
.withTargetType(data["targetType"])
|
|
272
|
+
.withTargetModel(BuffTargetModel.fromDict(data["targetModel"]))
|
|
273
|
+
.withTargetAction(BuffTargetAction.fromDict(data["targetAction"]))
|
|
274
|
+
.withExpression(data["expression"])
|
|
275
|
+
.withPriority(data["priority"])
|
|
276
|
+
.withApplyPeriodScheduleEventId(data["applyPeriodScheduleEventId"])
|
|
277
|
+
.withCreatedAt(data["createdAt"])
|
|
278
|
+
.withUpdatedAt(data["updatedAt"])
|
|
279
|
+
.withRevision(data["revision"]);
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
public toDict(): {[key: string]: any} {
|
|
283
|
+
return {
|
|
284
|
+
"buffEntryModelId": this.getBuffEntryModelId(),
|
|
285
|
+
"name": this.getName(),
|
|
286
|
+
"description": this.getDescription(),
|
|
287
|
+
"metadata": this.getMetadata(),
|
|
288
|
+
"targetType": this.getTargetType(),
|
|
289
|
+
"targetModel": this.getTargetModel()?.toDict(),
|
|
290
|
+
"targetAction": this.getTargetAction()?.toDict(),
|
|
291
|
+
"expression": this.getExpression(),
|
|
292
|
+
"priority": this.getPriority(),
|
|
293
|
+
"applyPeriodScheduleEventId": this.getApplyPeriodScheduleEventId(),
|
|
294
|
+
"createdAt": this.getCreatedAt(),
|
|
295
|
+
"updatedAt": this.getUpdatedAt(),
|
|
296
|
+
"revision": this.getRevision(),
|
|
297
|
+
};
|
|
298
|
+
}
|
|
299
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import BuffTargetGrn from './BuffTargetGrn';
|
|
3
|
+
export default class BuffTargetAction implements IModel {
|
|
4
|
+
private targetActionName;
|
|
5
|
+
private targetFieldName;
|
|
6
|
+
private conditionGrns;
|
|
7
|
+
private rate;
|
|
8
|
+
getTargetActionName(): string | null;
|
|
9
|
+
setTargetActionName(targetActionName: string | null): this;
|
|
10
|
+
withTargetActionName(targetActionName: string | null): this;
|
|
11
|
+
getTargetFieldName(): string | null;
|
|
12
|
+
setTargetFieldName(targetFieldName: string | null): this;
|
|
13
|
+
withTargetFieldName(targetFieldName: string | null): this;
|
|
14
|
+
getConditionGrns(): BuffTargetGrn[] | null;
|
|
15
|
+
setConditionGrns(conditionGrns: BuffTargetGrn[] | null): this;
|
|
16
|
+
withConditionGrns(conditionGrns: BuffTargetGrn[] | null): this;
|
|
17
|
+
getRate(): number | null;
|
|
18
|
+
setRate(rate: number | null): this;
|
|
19
|
+
withRate(rate: number | null): this;
|
|
20
|
+
static fromDict(data: {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
}): BuffTargetAction | null;
|
|
23
|
+
toDict(): {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
};
|
|
26
|
+
}
|