gs2 1.3.218 → 1.3.220
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/experience/request/AddExperienceByUserIdRequest.d.ts +4 -0
- package/experience/request/AddExperienceByUserIdRequest.js +15 -1
- package/experience/request/AddExperienceByUserIdRequest.js.map +1 -1
- package/experience/request/AddExperienceByUserIdRequest.ts +15 -1
- package/experience/request/SetExperienceByStampSheetRequest.d.ts +25 -0
- package/experience/request/SetExperienceByStampSheetRequest.js +83 -0
- package/experience/request/SetExperienceByStampSheetRequest.js.map +1 -0
- package/experience/request/SetExperienceByStampSheetRequest.ts +90 -0
- package/experience/request/index.d.ts +2 -1
- package/experience/request/index.js +4 -2
- package/experience/request/index.js.map +1 -1
- package/experience/request/index.ts +2 -0
- package/experience/rest.d.ts +1 -0
- package/experience/rest.js +29 -1
- package/experience/rest.js.map +1 -1
- package/experience/rest.ts +32 -0
- package/experience/result/SetExperienceByStampSheetResult.d.ts +14 -0
- package/experience/result/SetExperienceByStampSheetResult.js +48 -0
- package/experience/result/SetExperienceByStampSheetResult.js.map +1 -0
- package/experience/result/SetExperienceByStampSheetResult.ts +47 -0
- package/experience/result/index.d.ts +2 -1
- package/experience/result/index.js +4 -2
- package/experience/result/index.js.map +1 -1
- package/experience/result/index.ts +2 -0
- package/index.d.ts +2 -1
- package/index.js +3 -1
- package/index.js.map +1 -1
- package/index.ts +2 -0
- package/log/model/AccessLogWithTelemetry.d.ts +49 -0
- package/log/model/AccessLogWithTelemetry.js +174 -0
- package/log/model/AccessLogWithTelemetry.js.map +1 -0
- package/log/model/AccessLogWithTelemetry.ts +172 -0
- package/log/model/index.d.ts +2 -1
- package/log/model/index.js +3 -1
- package/log/model/index.js.map +1 -1
- package/log/model/index.ts +2 -0
- package/log/request/QueryAccessLogWithTelemetryRequest.d.ts +49 -0
- package/log/request/QueryAccessLogWithTelemetryRequest.js +165 -0
- package/log/request/QueryAccessLogWithTelemetryRequest.js.map +1 -0
- package/log/request/QueryAccessLogWithTelemetryRequest.ts +175 -0
- package/log/request/index.d.ts +2 -1
- package/log/request/index.js +3 -1
- package/log/request/index.js.map +1 -1
- package/log/request/index.ts +2 -0
- package/log/rest.d.ts +1 -0
- package/log/rest.js +31 -0
- package/log/rest.js.map +1 -1
- package/log/rest.ts +35 -0
- package/log/result/QueryAccessLogWithTelemetryResult.d.ts +26 -0
- package/log/result/QueryAccessLogWithTelemetryResult.js +95 -0
- package/log/result/QueryAccessLogWithTelemetryResult.js.map +1 -0
- package/log/result/QueryAccessLogWithTelemetryResult.ts +106 -0
- package/log/result/index.d.ts +2 -1
- package/log/result/index.js +3 -1
- package/log/result/index.js.map +1 -1
- package/log/result/index.ts +2 -0
- package/package.json +1 -1
- package/seasonRating/index.d.ts +5 -0
- package/seasonRating/index.js +28 -0
- package/seasonRating/index.js.map +1 -0
- package/seasonRating/index.ts +27 -0
- package/seasonRating/model/Ballot.d.ts +25 -0
- package/seasonRating/model/Ballot.js +90 -0
- package/seasonRating/model/Ballot.js.map +1 -0
- package/seasonRating/model/Ballot.ts +88 -0
- package/seasonRating/model/CurrentSeasonModelMaster.d.ts +22 -0
- package/seasonRating/model/CurrentSeasonModelMaster.js +111 -0
- package/seasonRating/model/CurrentSeasonModelMaster.js.map +1 -0
- package/seasonRating/model/CurrentSeasonModelMaster.ts +121 -0
- package/seasonRating/model/GameResult.d.ts +17 -0
- package/seasonRating/model/GameResult.js +62 -0
- package/seasonRating/model/GameResult.js.map +1 -0
- package/seasonRating/model/GameResult.ts +60 -0
- package/seasonRating/model/GitHubCheckoutSetting.d.ts +37 -0
- package/seasonRating/model/GitHubCheckoutSetting.js +132 -0
- package/seasonRating/model/GitHubCheckoutSetting.js.map +1 -0
- package/seasonRating/model/GitHubCheckoutSetting.ts +130 -0
- package/seasonRating/model/LogSetting.d.ts +13 -0
- package/seasonRating/model/LogSetting.js +48 -0
- package/seasonRating/model/LogSetting.js.map +1 -0
- package/seasonRating/model/LogSetting.ts +46 -0
- package/seasonRating/model/MatchSession.d.ts +31 -0
- package/seasonRating/model/MatchSession.js +157 -0
- package/seasonRating/model/MatchSession.js.map +1 -0
- package/seasonRating/model/MatchSession.ts +170 -0
- package/seasonRating/model/Namespace.d.ts +43 -0
- package/seasonRating/model/Namespace.js +184 -0
- package/seasonRating/model/Namespace.js.map +1 -0
- package/seasonRating/model/Namespace.ts +192 -0
- package/seasonRating/model/ScriptSetting.d.ts +25 -0
- package/seasonRating/model/ScriptSetting.js +90 -0
- package/seasonRating/model/ScriptSetting.js.map +1 -0
- package/seasonRating/model/ScriptSetting.ts +88 -0
- package/seasonRating/model/SeasonModel.d.ts +36 -0
- package/seasonRating/model/SeasonModel.js +179 -0
- package/seasonRating/model/SeasonModel.js.map +1 -0
- package/seasonRating/model/SeasonModel.ts +193 -0
- package/seasonRating/model/SeasonModelMaster.d.ts +52 -0
- package/seasonRating/model/SeasonModelMaster.js +235 -0
- package/seasonRating/model/SeasonModelMaster.js.map +1 -0
- package/seasonRating/model/SeasonModelMaster.ts +249 -0
- package/seasonRating/model/SignedBallot.d.ts +17 -0
- package/seasonRating/model/SignedBallot.js +62 -0
- package/seasonRating/model/SignedBallot.js.map +1 -0
- package/seasonRating/model/SignedBallot.ts +60 -0
- package/seasonRating/model/TierModel.d.ts +29 -0
- package/seasonRating/model/TierModel.js +104 -0
- package/seasonRating/model/TierModel.js.map +1 -0
- package/seasonRating/model/TierModel.ts +102 -0
- package/seasonRating/model/TransactionSetting.d.ts +25 -0
- package/seasonRating/model/TransactionSetting.js +90 -0
- package/seasonRating/model/TransactionSetting.js.map +1 -0
- package/seasonRating/model/TransactionSetting.ts +88 -0
- package/seasonRating/model/Vote.d.ts +45 -0
- package/seasonRating/model/Vote.js +227 -0
- package/seasonRating/model/Vote.js.map +1 -0
- package/seasonRating/model/Vote.ts +246 -0
- package/seasonRating/model/WrittenBallot.d.ts +19 -0
- package/seasonRating/model/WrittenBallot.js +72 -0
- package/seasonRating/model/WrittenBallot.js.map +1 -0
- package/seasonRating/model/WrittenBallot.ts +70 -0
- package/seasonRating/model/index.d.ts +16 -0
- package/seasonRating/model/index.js +50 -0
- package/seasonRating/model/index.js.map +1 -0
- package/seasonRating/model/index.ts +48 -0
- package/seasonRating/request/CheckCleanUserDataByUserIdRequest.d.ts +25 -0
- package/seasonRating/request/CheckCleanUserDataByUserIdRequest.js +81 -0
- package/seasonRating/request/CheckCleanUserDataByUserIdRequest.js.map +1 -0
- package/seasonRating/request/CheckCleanUserDataByUserIdRequest.ts +91 -0
- package/seasonRating/request/CheckDumpUserDataByUserIdRequest.d.ts +25 -0
- package/seasonRating/request/CheckDumpUserDataByUserIdRequest.js +81 -0
- package/seasonRating/request/CheckDumpUserDataByUserIdRequest.js.map +1 -0
- package/seasonRating/request/CheckDumpUserDataByUserIdRequest.ts +91 -0
- package/seasonRating/request/CheckImportUserDataByUserIdRequest.d.ts +29 -0
- package/seasonRating/request/CheckImportUserDataByUserIdRequest.js +95 -0
- package/seasonRating/request/CheckImportUserDataByUserIdRequest.js.map +1 -0
- package/seasonRating/request/CheckImportUserDataByUserIdRequest.ts +105 -0
- package/seasonRating/request/CleanUserDataByUserIdRequest.d.ts +25 -0
- package/seasonRating/request/CleanUserDataByUserIdRequest.js +81 -0
- package/seasonRating/request/CleanUserDataByUserIdRequest.js.map +1 -0
- package/seasonRating/request/CleanUserDataByUserIdRequest.ts +91 -0
- package/seasonRating/request/CommitVoteRequest.d.ts +29 -0
- package/seasonRating/request/CommitVoteRequest.js +97 -0
- package/seasonRating/request/CommitVoteRequest.js.map +1 -0
- package/seasonRating/request/CommitVoteRequest.ts +104 -0
- package/seasonRating/request/CreateMatchSessionRequest.d.ts +29 -0
- package/seasonRating/request/CreateMatchSessionRequest.js +97 -0
- package/seasonRating/request/CreateMatchSessionRequest.js.map +1 -0
- package/seasonRating/request/CreateMatchSessionRequest.ts +104 -0
- package/seasonRating/request/CreateNamespaceRequest.d.ts +30 -0
- package/seasonRating/request/CreateNamespaceRequest.js +100 -0
- package/seasonRating/request/CreateNamespaceRequest.js.map +1 -0
- package/seasonRating/request/CreateNamespaceRequest.ts +104 -0
- package/seasonRating/request/CreateSeasonModelMasterRequest.d.ts +42 -0
- package/seasonRating/request/CreateSeasonModelMasterRequest.js +147 -0
- package/seasonRating/request/CreateSeasonModelMasterRequest.js.map +1 -0
- package/seasonRating/request/CreateSeasonModelMasterRequest.ts +154 -0
- package/seasonRating/request/DeleteMatchSessionRequest.d.ts +25 -0
- package/seasonRating/request/DeleteMatchSessionRequest.js +83 -0
- package/seasonRating/request/DeleteMatchSessionRequest.js.map +1 -0
- package/seasonRating/request/DeleteMatchSessionRequest.ts +90 -0
- package/seasonRating/request/DeleteNamespaceRequest.d.ts +21 -0
- package/seasonRating/request/DeleteNamespaceRequest.js +69 -0
- package/seasonRating/request/DeleteNamespaceRequest.js.map +1 -0
- package/seasonRating/request/DeleteNamespaceRequest.ts +76 -0
- package/seasonRating/request/DeleteSeasonModelMasterRequest.d.ts +25 -0
- package/seasonRating/request/DeleteSeasonModelMasterRequest.js +83 -0
- package/seasonRating/request/DeleteSeasonModelMasterRequest.js.map +1 -0
- package/seasonRating/request/DeleteSeasonModelMasterRequest.ts +90 -0
- package/seasonRating/request/DescribeMatchSessionsRequest.d.ts +29 -0
- package/seasonRating/request/DescribeMatchSessionsRequest.js +97 -0
- package/seasonRating/request/DescribeMatchSessionsRequest.js.map +1 -0
- package/seasonRating/request/DescribeMatchSessionsRequest.ts +104 -0
- package/seasonRating/request/DescribeNamespacesRequest.d.ts +25 -0
- package/seasonRating/request/DescribeNamespacesRequest.js +83 -0
- package/seasonRating/request/DescribeNamespacesRequest.js.map +1 -0
- package/seasonRating/request/DescribeNamespacesRequest.ts +90 -0
- package/seasonRating/request/DescribeSeasonModelMastersRequest.d.ts +29 -0
- package/seasonRating/request/DescribeSeasonModelMastersRequest.js +97 -0
- package/seasonRating/request/DescribeSeasonModelMastersRequest.js.map +1 -0
- package/seasonRating/request/DescribeSeasonModelMastersRequest.ts +104 -0
- package/seasonRating/request/DescribeSeasonModelsRequest.d.ts +21 -0
- package/seasonRating/request/DescribeSeasonModelsRequest.js +69 -0
- package/seasonRating/request/DescribeSeasonModelsRequest.js.map +1 -0
- package/seasonRating/request/DescribeSeasonModelsRequest.ts +76 -0
- package/seasonRating/request/DumpUserDataByUserIdRequest.d.ts +25 -0
- package/seasonRating/request/DumpUserDataByUserIdRequest.js +81 -0
- package/seasonRating/request/DumpUserDataByUserIdRequest.js.map +1 -0
- package/seasonRating/request/DumpUserDataByUserIdRequest.ts +91 -0
- package/seasonRating/request/ExportMasterRequest.d.ts +21 -0
- package/seasonRating/request/ExportMasterRequest.js +69 -0
- package/seasonRating/request/ExportMasterRequest.js.map +1 -0
- package/seasonRating/request/ExportMasterRequest.ts +76 -0
- package/seasonRating/request/GetBallotByUserIdRequest.d.ts +41 -0
- package/seasonRating/request/GetBallotByUserIdRequest.js +139 -0
- package/seasonRating/request/GetBallotByUserIdRequest.js.map +1 -0
- package/seasonRating/request/GetBallotByUserIdRequest.ts +146 -0
- package/seasonRating/request/GetBallotRequest.d.ts +41 -0
- package/seasonRating/request/GetBallotRequest.js +139 -0
- package/seasonRating/request/GetBallotRequest.js.map +1 -0
- package/seasonRating/request/GetBallotRequest.ts +146 -0
- package/seasonRating/request/GetCurrentSeasonModelMasterRequest.d.ts +21 -0
- package/seasonRating/request/GetCurrentSeasonModelMasterRequest.js +69 -0
- package/seasonRating/request/GetCurrentSeasonModelMasterRequest.js.map +1 -0
- package/seasonRating/request/GetCurrentSeasonModelMasterRequest.ts +76 -0
- package/seasonRating/request/GetMatchSessionRequest.d.ts +25 -0
- package/seasonRating/request/GetMatchSessionRequest.js +83 -0
- package/seasonRating/request/GetMatchSessionRequest.js.map +1 -0
- package/seasonRating/request/GetMatchSessionRequest.ts +90 -0
- package/seasonRating/request/GetNamespaceRequest.d.ts +21 -0
- package/seasonRating/request/GetNamespaceRequest.js +69 -0
- package/seasonRating/request/GetNamespaceRequest.js.map +1 -0
- package/seasonRating/request/GetNamespaceRequest.ts +76 -0
- package/seasonRating/request/GetNamespaceStatusRequest.d.ts +21 -0
- package/seasonRating/request/GetNamespaceStatusRequest.js +69 -0
- package/seasonRating/request/GetNamespaceStatusRequest.js.map +1 -0
- package/seasonRating/request/GetNamespaceStatusRequest.ts +76 -0
- package/seasonRating/request/GetSeasonModelMasterRequest.d.ts +25 -0
- package/seasonRating/request/GetSeasonModelMasterRequest.js +83 -0
- package/seasonRating/request/GetSeasonModelMasterRequest.js.map +1 -0
- package/seasonRating/request/GetSeasonModelMasterRequest.ts +90 -0
- package/seasonRating/request/GetSeasonModelRequest.d.ts +25 -0
- package/seasonRating/request/GetSeasonModelRequest.js +83 -0
- package/seasonRating/request/GetSeasonModelRequest.js.map +1 -0
- package/seasonRating/request/GetSeasonModelRequest.ts +90 -0
- package/seasonRating/request/ImportUserDataByUserIdRequest.d.ts +29 -0
- package/seasonRating/request/ImportUserDataByUserIdRequest.js +95 -0
- package/seasonRating/request/ImportUserDataByUserIdRequest.js.map +1 -0
- package/seasonRating/request/ImportUserDataByUserIdRequest.ts +105 -0
- package/seasonRating/request/PrepareImportUserDataByUserIdRequest.d.ts +25 -0
- package/seasonRating/request/PrepareImportUserDataByUserIdRequest.js +81 -0
- package/seasonRating/request/PrepareImportUserDataByUserIdRequest.js.map +1 -0
- package/seasonRating/request/PrepareImportUserDataByUserIdRequest.ts +91 -0
- package/seasonRating/request/UpdateCurrentSeasonModelMasterFromGitHubRequest.d.ts +26 -0
- package/seasonRating/request/UpdateCurrentSeasonModelMasterFromGitHubRequest.js +86 -0
- package/seasonRating/request/UpdateCurrentSeasonModelMasterFromGitHubRequest.js.map +1 -0
- package/seasonRating/request/UpdateCurrentSeasonModelMasterFromGitHubRequest.ts +90 -0
- package/seasonRating/request/UpdateCurrentSeasonModelMasterRequest.d.ts +25 -0
- package/seasonRating/request/UpdateCurrentSeasonModelMasterRequest.js +83 -0
- package/seasonRating/request/UpdateCurrentSeasonModelMasterRequest.js.map +1 -0
- package/seasonRating/request/UpdateCurrentSeasonModelMasterRequest.ts +90 -0
- package/seasonRating/request/UpdateNamespaceRequest.d.ts +30 -0
- package/seasonRating/request/UpdateNamespaceRequest.js +100 -0
- package/seasonRating/request/UpdateNamespaceRequest.js.map +1 -0
- package/seasonRating/request/UpdateNamespaceRequest.ts +104 -0
- package/seasonRating/request/UpdateSeasonModelMasterRequest.d.ts +42 -0
- package/seasonRating/request/UpdateSeasonModelMasterRequest.js +147 -0
- package/seasonRating/request/UpdateSeasonModelMasterRequest.js.map +1 -0
- package/seasonRating/request/UpdateSeasonModelMasterRequest.ts +154 -0
- package/seasonRating/request/VoteMultipleRequest.d.ts +34 -0
- package/seasonRating/request/VoteMultipleRequest.js +125 -0
- package/seasonRating/request/VoteMultipleRequest.js.map +1 -0
- package/seasonRating/request/VoteMultipleRequest.ts +134 -0
- package/seasonRating/request/VoteRequest.d.ts +38 -0
- package/seasonRating/request/VoteRequest.js +133 -0
- package/seasonRating/request/VoteRequest.js.map +1 -0
- package/seasonRating/request/VoteRequest.ts +140 -0
- package/seasonRating/request/index.d.ts +34 -0
- package/seasonRating/request/index.js +86 -0
- package/seasonRating/request/index.js.map +1 -0
- package/seasonRating/request/index.ts +84 -0
- package/seasonRating/rest.d.ts +40 -0
- package/seasonRating/rest.js +893 -0
- package/seasonRating/rest.js.map +1 -0
- package/seasonRating/rest.ts +1023 -0
- package/seasonRating/result/CheckCleanUserDataByUserIdResult.d.ts +9 -0
- package/seasonRating/result/CheckCleanUserDataByUserIdResult.js +30 -0
- package/seasonRating/result/CheckCleanUserDataByUserIdResult.js.map +1 -0
- package/seasonRating/result/CheckCleanUserDataByUserIdResult.ts +29 -0
- package/seasonRating/result/CheckDumpUserDataByUserIdResult.d.ts +13 -0
- package/seasonRating/result/CheckDumpUserDataByUserIdResult.js +45 -0
- package/seasonRating/result/CheckDumpUserDataByUserIdResult.js.map +1 -0
- package/seasonRating/result/CheckDumpUserDataByUserIdResult.ts +46 -0
- package/seasonRating/result/CheckImportUserDataByUserIdResult.d.ts +13 -0
- package/seasonRating/result/CheckImportUserDataByUserIdResult.js +45 -0
- package/seasonRating/result/CheckImportUserDataByUserIdResult.js.map +1 -0
- package/seasonRating/result/CheckImportUserDataByUserIdResult.ts +46 -0
- package/seasonRating/result/CleanUserDataByUserIdResult.d.ts +9 -0
- package/seasonRating/result/CleanUserDataByUserIdResult.js +30 -0
- package/seasonRating/result/CleanUserDataByUserIdResult.js.map +1 -0
- package/seasonRating/result/CleanUserDataByUserIdResult.ts +29 -0
- package/seasonRating/result/CommitVoteResult.d.ts +9 -0
- package/seasonRating/result/CommitVoteResult.js +30 -0
- package/seasonRating/result/CommitVoteResult.js.map +1 -0
- package/seasonRating/result/CommitVoteResult.ts +29 -0
- package/seasonRating/result/CreateMatchSessionResult.d.ts +14 -0
- package/seasonRating/result/CreateMatchSessionResult.js +48 -0
- package/seasonRating/result/CreateMatchSessionResult.js.map +1 -0
- package/seasonRating/result/CreateMatchSessionResult.ts +47 -0
- package/seasonRating/result/CreateNamespaceResult.d.ts +14 -0
- package/seasonRating/result/CreateNamespaceResult.js +48 -0
- package/seasonRating/result/CreateNamespaceResult.js.map +1 -0
- package/seasonRating/result/CreateNamespaceResult.ts +47 -0
- package/seasonRating/result/CreateSeasonModelMasterResult.d.ts +14 -0
- package/seasonRating/result/CreateSeasonModelMasterResult.js +48 -0
- package/seasonRating/result/CreateSeasonModelMasterResult.js.map +1 -0
- package/seasonRating/result/CreateSeasonModelMasterResult.ts +47 -0
- package/seasonRating/result/DeleteMatchSessionResult.d.ts +14 -0
- package/seasonRating/result/DeleteMatchSessionResult.js +48 -0
- package/seasonRating/result/DeleteMatchSessionResult.js.map +1 -0
- package/seasonRating/result/DeleteMatchSessionResult.ts +47 -0
- package/seasonRating/result/DeleteNamespaceResult.d.ts +14 -0
- package/seasonRating/result/DeleteNamespaceResult.js +48 -0
- package/seasonRating/result/DeleteNamespaceResult.js.map +1 -0
- package/seasonRating/result/DeleteNamespaceResult.ts +47 -0
- package/seasonRating/result/DeleteSeasonModelMasterResult.d.ts +14 -0
- package/seasonRating/result/DeleteSeasonModelMasterResult.js +48 -0
- package/seasonRating/result/DeleteSeasonModelMasterResult.js.map +1 -0
- package/seasonRating/result/DeleteSeasonModelMasterResult.ts +47 -0
- package/seasonRating/result/DescribeMatchSessionsResult.d.ts +18 -0
- package/seasonRating/result/DescribeMatchSessionsResult.js +67 -0
- package/seasonRating/result/DescribeMatchSessionsResult.js.map +1 -0
- package/seasonRating/result/DescribeMatchSessionsResult.ts +72 -0
- package/seasonRating/result/DescribeNamespacesResult.d.ts +18 -0
- package/seasonRating/result/DescribeNamespacesResult.js +67 -0
- package/seasonRating/result/DescribeNamespacesResult.js.map +1 -0
- package/seasonRating/result/DescribeNamespacesResult.ts +72 -0
- package/seasonRating/result/DescribeSeasonModelMastersResult.d.ts +18 -0
- package/seasonRating/result/DescribeSeasonModelMastersResult.js +67 -0
- package/seasonRating/result/DescribeSeasonModelMastersResult.js.map +1 -0
- package/seasonRating/result/DescribeSeasonModelMastersResult.ts +72 -0
- package/seasonRating/result/DescribeSeasonModelsResult.d.ts +14 -0
- package/seasonRating/result/DescribeSeasonModelsResult.js +53 -0
- package/seasonRating/result/DescribeSeasonModelsResult.js.map +1 -0
- package/seasonRating/result/DescribeSeasonModelsResult.ts +55 -0
- package/seasonRating/result/DumpUserDataByUserIdResult.d.ts +9 -0
- package/seasonRating/result/DumpUserDataByUserIdResult.js +30 -0
- package/seasonRating/result/DumpUserDataByUserIdResult.js.map +1 -0
- package/seasonRating/result/DumpUserDataByUserIdResult.ts +29 -0
- package/seasonRating/result/ExportMasterResult.d.ts +14 -0
- package/seasonRating/result/ExportMasterResult.js +48 -0
- package/seasonRating/result/ExportMasterResult.js.map +1 -0
- package/seasonRating/result/ExportMasterResult.ts +47 -0
- package/seasonRating/result/GetBallotByUserIdResult.d.ts +22 -0
- package/seasonRating/result/GetBallotByUserIdResult.js +76 -0
- package/seasonRating/result/GetBallotByUserIdResult.js.map +1 -0
- package/seasonRating/result/GetBallotByUserIdResult.ts +81 -0
- package/seasonRating/result/GetBallotResult.d.ts +22 -0
- package/seasonRating/result/GetBallotResult.js +76 -0
- package/seasonRating/result/GetBallotResult.js.map +1 -0
- package/seasonRating/result/GetBallotResult.ts +81 -0
- package/seasonRating/result/GetCurrentSeasonModelMasterResult.d.ts +14 -0
- package/seasonRating/result/GetCurrentSeasonModelMasterResult.js +48 -0
- package/seasonRating/result/GetCurrentSeasonModelMasterResult.js.map +1 -0
- package/seasonRating/result/GetCurrentSeasonModelMasterResult.ts +47 -0
- package/seasonRating/result/GetMatchSessionResult.d.ts +14 -0
- package/seasonRating/result/GetMatchSessionResult.js +48 -0
- package/seasonRating/result/GetMatchSessionResult.js.map +1 -0
- package/seasonRating/result/GetMatchSessionResult.ts +47 -0
- package/seasonRating/result/GetNamespaceResult.d.ts +14 -0
- package/seasonRating/result/GetNamespaceResult.js +48 -0
- package/seasonRating/result/GetNamespaceResult.js.map +1 -0
- package/seasonRating/result/GetNamespaceResult.ts +47 -0
- package/seasonRating/result/GetNamespaceStatusResult.d.ts +13 -0
- package/seasonRating/result/GetNamespaceStatusResult.js +45 -0
- package/seasonRating/result/GetNamespaceStatusResult.js.map +1 -0
- package/seasonRating/result/GetNamespaceStatusResult.ts +46 -0
- package/seasonRating/result/GetSeasonModelMasterResult.d.ts +14 -0
- package/seasonRating/result/GetSeasonModelMasterResult.js +48 -0
- package/seasonRating/result/GetSeasonModelMasterResult.js.map +1 -0
- package/seasonRating/result/GetSeasonModelMasterResult.ts +47 -0
- package/seasonRating/result/GetSeasonModelResult.d.ts +14 -0
- package/seasonRating/result/GetSeasonModelResult.js +48 -0
- package/seasonRating/result/GetSeasonModelResult.js.map +1 -0
- package/seasonRating/result/GetSeasonModelResult.ts +47 -0
- package/seasonRating/result/ImportUserDataByUserIdResult.d.ts +9 -0
- package/seasonRating/result/ImportUserDataByUserIdResult.js +30 -0
- package/seasonRating/result/ImportUserDataByUserIdResult.js.map +1 -0
- package/seasonRating/result/ImportUserDataByUserIdResult.ts +29 -0
- package/seasonRating/result/PrepareImportUserDataByUserIdResult.d.ts +17 -0
- package/seasonRating/result/PrepareImportUserDataByUserIdResult.js +59 -0
- package/seasonRating/result/PrepareImportUserDataByUserIdResult.js.map +1 -0
- package/seasonRating/result/PrepareImportUserDataByUserIdResult.ts +63 -0
- package/seasonRating/result/UpdateCurrentSeasonModelMasterFromGitHubResult.d.ts +14 -0
- package/seasonRating/result/UpdateCurrentSeasonModelMasterFromGitHubResult.js +48 -0
- package/seasonRating/result/UpdateCurrentSeasonModelMasterFromGitHubResult.js.map +1 -0
- package/seasonRating/result/UpdateCurrentSeasonModelMasterFromGitHubResult.ts +47 -0
- package/seasonRating/result/UpdateCurrentSeasonModelMasterResult.d.ts +14 -0
- package/seasonRating/result/UpdateCurrentSeasonModelMasterResult.js +48 -0
- package/seasonRating/result/UpdateCurrentSeasonModelMasterResult.js.map +1 -0
- package/seasonRating/result/UpdateCurrentSeasonModelMasterResult.ts +47 -0
- package/seasonRating/result/UpdateNamespaceResult.d.ts +14 -0
- package/seasonRating/result/UpdateNamespaceResult.js +48 -0
- package/seasonRating/result/UpdateNamespaceResult.js.map +1 -0
- package/seasonRating/result/UpdateNamespaceResult.ts +47 -0
- package/seasonRating/result/UpdateSeasonModelMasterResult.d.ts +14 -0
- package/seasonRating/result/UpdateSeasonModelMasterResult.js +48 -0
- package/seasonRating/result/UpdateSeasonModelMasterResult.js.map +1 -0
- package/seasonRating/result/UpdateSeasonModelMasterResult.ts +47 -0
- package/seasonRating/result/VoteMultipleResult.d.ts +14 -0
- package/seasonRating/result/VoteMultipleResult.js +48 -0
- package/seasonRating/result/VoteMultipleResult.js.map +1 -0
- package/seasonRating/result/VoteMultipleResult.ts +47 -0
- package/seasonRating/result/VoteResult.d.ts +14 -0
- package/seasonRating/result/VoteResult.js +48 -0
- package/seasonRating/result/VoteResult.js.map +1 -0
- package/seasonRating/result/VoteResult.ts +47 -0
- package/seasonRating/result/index.d.ts +34 -0
- package/seasonRating/result/index.js +86 -0
- package/seasonRating/result/index.js.map +1 -0
- package/seasonRating/result/index.ts +84 -0
|
@@ -0,0 +1,184 @@
|
|
|
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 LogSetting_1 = tslib_1.__importDefault(require("./LogSetting"));
|
|
20
|
+
var grnFormat = "grn:gs2:{region}:{ownerId}:seasonRating:{namespaceName}";
|
|
21
|
+
var Namespace = /** @class */ (function () {
|
|
22
|
+
function Namespace() {
|
|
23
|
+
this.namespaceId = null;
|
|
24
|
+
this.name = null;
|
|
25
|
+
this.description = null;
|
|
26
|
+
this.logSetting = null;
|
|
27
|
+
this.createdAt = null;
|
|
28
|
+
this.updatedAt = null;
|
|
29
|
+
this.revision = null;
|
|
30
|
+
}
|
|
31
|
+
Namespace.getRegion = function (grn) {
|
|
32
|
+
var match = grn.match(grnFormat
|
|
33
|
+
.replace('{region}', '(.*)')
|
|
34
|
+
.replace('{ownerId}', '.*')
|
|
35
|
+
.replace('{namespaceName}', '.*'));
|
|
36
|
+
if (match) {
|
|
37
|
+
return match[1];
|
|
38
|
+
}
|
|
39
|
+
return null;
|
|
40
|
+
};
|
|
41
|
+
Namespace.getOwnerId = function (grn) {
|
|
42
|
+
var match = grn.match(grnFormat
|
|
43
|
+
.replace('{region}', '.*')
|
|
44
|
+
.replace('{ownerId}', '(.*)')
|
|
45
|
+
.replace('{namespaceName}', '.*'));
|
|
46
|
+
if (match) {
|
|
47
|
+
return match[1];
|
|
48
|
+
}
|
|
49
|
+
return null;
|
|
50
|
+
};
|
|
51
|
+
Namespace.getNamespaceName = function (grn) {
|
|
52
|
+
var match = grn.match(grnFormat
|
|
53
|
+
.replace('{region}', '.*')
|
|
54
|
+
.replace('{ownerId}', '.*')
|
|
55
|
+
.replace('{namespaceName}', '(.*)'));
|
|
56
|
+
if (match) {
|
|
57
|
+
return match[1];
|
|
58
|
+
}
|
|
59
|
+
return null;
|
|
60
|
+
};
|
|
61
|
+
Namespace.isValid = function (grn) {
|
|
62
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
63
|
+
return false;
|
|
64
|
+
}
|
|
65
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
66
|
+
return false;
|
|
67
|
+
}
|
|
68
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
return true;
|
|
72
|
+
};
|
|
73
|
+
Namespace.createGrn = function (region, ownerId, namespaceName) {
|
|
74
|
+
return grnFormat
|
|
75
|
+
.replace('{region}', region !== null && region !== void 0 ? region : '')
|
|
76
|
+
.replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
|
|
77
|
+
.replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '');
|
|
78
|
+
};
|
|
79
|
+
Namespace.prototype.getNamespaceId = function () {
|
|
80
|
+
return this.namespaceId;
|
|
81
|
+
};
|
|
82
|
+
Namespace.prototype.setNamespaceId = function (namespaceId) {
|
|
83
|
+
this.namespaceId = namespaceId;
|
|
84
|
+
return this;
|
|
85
|
+
};
|
|
86
|
+
Namespace.prototype.withNamespaceId = function (namespaceId) {
|
|
87
|
+
this.namespaceId = namespaceId;
|
|
88
|
+
return this;
|
|
89
|
+
};
|
|
90
|
+
Namespace.prototype.getName = function () {
|
|
91
|
+
return this.name;
|
|
92
|
+
};
|
|
93
|
+
Namespace.prototype.setName = function (name) {
|
|
94
|
+
this.name = name;
|
|
95
|
+
return this;
|
|
96
|
+
};
|
|
97
|
+
Namespace.prototype.withName = function (name) {
|
|
98
|
+
this.name = name;
|
|
99
|
+
return this;
|
|
100
|
+
};
|
|
101
|
+
Namespace.prototype.getDescription = function () {
|
|
102
|
+
return this.description;
|
|
103
|
+
};
|
|
104
|
+
Namespace.prototype.setDescription = function (description) {
|
|
105
|
+
this.description = description;
|
|
106
|
+
return this;
|
|
107
|
+
};
|
|
108
|
+
Namespace.prototype.withDescription = function (description) {
|
|
109
|
+
this.description = description;
|
|
110
|
+
return this;
|
|
111
|
+
};
|
|
112
|
+
Namespace.prototype.getLogSetting = function () {
|
|
113
|
+
return this.logSetting;
|
|
114
|
+
};
|
|
115
|
+
Namespace.prototype.setLogSetting = function (logSetting) {
|
|
116
|
+
this.logSetting = logSetting;
|
|
117
|
+
return this;
|
|
118
|
+
};
|
|
119
|
+
Namespace.prototype.withLogSetting = function (logSetting) {
|
|
120
|
+
this.logSetting = logSetting;
|
|
121
|
+
return this;
|
|
122
|
+
};
|
|
123
|
+
Namespace.prototype.getCreatedAt = function () {
|
|
124
|
+
return this.createdAt;
|
|
125
|
+
};
|
|
126
|
+
Namespace.prototype.setCreatedAt = function (createdAt) {
|
|
127
|
+
this.createdAt = createdAt;
|
|
128
|
+
return this;
|
|
129
|
+
};
|
|
130
|
+
Namespace.prototype.withCreatedAt = function (createdAt) {
|
|
131
|
+
this.createdAt = createdAt;
|
|
132
|
+
return this;
|
|
133
|
+
};
|
|
134
|
+
Namespace.prototype.getUpdatedAt = function () {
|
|
135
|
+
return this.updatedAt;
|
|
136
|
+
};
|
|
137
|
+
Namespace.prototype.setUpdatedAt = function (updatedAt) {
|
|
138
|
+
this.updatedAt = updatedAt;
|
|
139
|
+
return this;
|
|
140
|
+
};
|
|
141
|
+
Namespace.prototype.withUpdatedAt = function (updatedAt) {
|
|
142
|
+
this.updatedAt = updatedAt;
|
|
143
|
+
return this;
|
|
144
|
+
};
|
|
145
|
+
Namespace.prototype.getRevision = function () {
|
|
146
|
+
return this.revision;
|
|
147
|
+
};
|
|
148
|
+
Namespace.prototype.setRevision = function (revision) {
|
|
149
|
+
this.revision = revision;
|
|
150
|
+
return this;
|
|
151
|
+
};
|
|
152
|
+
Namespace.prototype.withRevision = function (revision) {
|
|
153
|
+
this.revision = revision;
|
|
154
|
+
return this;
|
|
155
|
+
};
|
|
156
|
+
Namespace.fromDict = function (data) {
|
|
157
|
+
if (data == undefined || data == null) {
|
|
158
|
+
return null;
|
|
159
|
+
}
|
|
160
|
+
return new Namespace()
|
|
161
|
+
.withNamespaceId(data["namespaceId"])
|
|
162
|
+
.withName(data["name"])
|
|
163
|
+
.withDescription(data["description"])
|
|
164
|
+
.withLogSetting(LogSetting_1.default.fromDict(data["logSetting"]))
|
|
165
|
+
.withCreatedAt(data["createdAt"])
|
|
166
|
+
.withUpdatedAt(data["updatedAt"])
|
|
167
|
+
.withRevision(data["revision"]);
|
|
168
|
+
};
|
|
169
|
+
Namespace.prototype.toDict = function () {
|
|
170
|
+
var _a;
|
|
171
|
+
return {
|
|
172
|
+
"namespaceId": this.getNamespaceId(),
|
|
173
|
+
"name": this.getName(),
|
|
174
|
+
"description": this.getDescription(),
|
|
175
|
+
"logSetting": (_a = this.getLogSetting()) === null || _a === void 0 ? void 0 : _a.toDict(),
|
|
176
|
+
"createdAt": this.getCreatedAt(),
|
|
177
|
+
"updatedAt": this.getUpdatedAt(),
|
|
178
|
+
"revision": this.getRevision(),
|
|
179
|
+
};
|
|
180
|
+
};
|
|
181
|
+
return Namespace;
|
|
182
|
+
}());
|
|
183
|
+
exports.default = Namespace;
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;IAEM,0BAAM,GAAb;;QACI,OAAO;YACH,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,MAAM,EAAE,IAAI,CAAC,OAAO,EAAE;YACtB,aAAa,EAAE,IAAI,CAAC,cAAc,EAAE;YACpC,YAAY,EAAE,MAAA,IAAI,CAAC,aAAa,EAAE,0CAAE,MAAM,EAAE;YAC5C,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,gBAAC;AAAD,CAAC,AA3KD,IA2KC"}
|
|
@@ -0,0 +1,192 @@
|
|
|
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 LogSetting from './LogSetting';
|
|
19
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:seasonRating:{namespaceName}";
|
|
20
|
+
|
|
21
|
+
export default class Namespace implements IModel {
|
|
22
|
+
private namespaceId: string|null = null;
|
|
23
|
+
private name: string|null = null;
|
|
24
|
+
private description: string|null = null;
|
|
25
|
+
private logSetting: LogSetting|null = null;
|
|
26
|
+
private createdAt: number|null = null;
|
|
27
|
+
private updatedAt: number|null = null;
|
|
28
|
+
private revision: number|null = null;
|
|
29
|
+
|
|
30
|
+
public static getRegion(grn: string): string|null {
|
|
31
|
+
const match = grn.match(grnFormat
|
|
32
|
+
.replace('{region}', '(.*)')
|
|
33
|
+
.replace('{ownerId}', '.*')
|
|
34
|
+
.replace('{namespaceName}', '.*')
|
|
35
|
+
);
|
|
36
|
+
if (match) {
|
|
37
|
+
return match[1];
|
|
38
|
+
}
|
|
39
|
+
return null;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public static getOwnerId(grn: string): string|null {
|
|
43
|
+
const match = grn.match(grnFormat
|
|
44
|
+
.replace('{region}', '.*')
|
|
45
|
+
.replace('{ownerId}', '(.*)')
|
|
46
|
+
.replace('{namespaceName}', '.*')
|
|
47
|
+
);
|
|
48
|
+
if (match) {
|
|
49
|
+
return match[1];
|
|
50
|
+
}
|
|
51
|
+
return null;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public static getNamespaceName(grn: string): string|null {
|
|
55
|
+
const match = grn.match(grnFormat
|
|
56
|
+
.replace('{region}', '.*')
|
|
57
|
+
.replace('{ownerId}', '.*')
|
|
58
|
+
.replace('{namespaceName}', '(.*)')
|
|
59
|
+
);
|
|
60
|
+
if (match) {
|
|
61
|
+
return match[1];
|
|
62
|
+
}
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
public static isValid(grn: string): boolean {
|
|
67
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
74
|
+
return false;
|
|
75
|
+
}
|
|
76
|
+
return true;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public static createGrn(
|
|
80
|
+
region: string|null,
|
|
81
|
+
ownerId: string|null,
|
|
82
|
+
namespaceName: string|null,
|
|
83
|
+
): string|null {
|
|
84
|
+
return grnFormat
|
|
85
|
+
.replace('{region}', region ?? '')
|
|
86
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
87
|
+
.replace('{namespaceName}', namespaceName ?? '');
|
|
88
|
+
}
|
|
89
|
+
public getNamespaceId(): string|null {
|
|
90
|
+
return this.namespaceId;
|
|
91
|
+
}
|
|
92
|
+
public setNamespaceId(namespaceId: string|null) {
|
|
93
|
+
this.namespaceId = namespaceId;
|
|
94
|
+
return this;
|
|
95
|
+
}
|
|
96
|
+
public withNamespaceId(namespaceId: string|null): this {
|
|
97
|
+
this.namespaceId = namespaceId;
|
|
98
|
+
return this;
|
|
99
|
+
}
|
|
100
|
+
public getName(): string|null {
|
|
101
|
+
return this.name;
|
|
102
|
+
}
|
|
103
|
+
public setName(name: string|null) {
|
|
104
|
+
this.name = name;
|
|
105
|
+
return this;
|
|
106
|
+
}
|
|
107
|
+
public withName(name: string|null): this {
|
|
108
|
+
this.name = name;
|
|
109
|
+
return this;
|
|
110
|
+
}
|
|
111
|
+
public getDescription(): string|null {
|
|
112
|
+
return this.description;
|
|
113
|
+
}
|
|
114
|
+
public setDescription(description: string|null) {
|
|
115
|
+
this.description = description;
|
|
116
|
+
return this;
|
|
117
|
+
}
|
|
118
|
+
public withDescription(description: string|null): this {
|
|
119
|
+
this.description = description;
|
|
120
|
+
return this;
|
|
121
|
+
}
|
|
122
|
+
public getLogSetting(): LogSetting|null {
|
|
123
|
+
return this.logSetting;
|
|
124
|
+
}
|
|
125
|
+
public setLogSetting(logSetting: LogSetting|null) {
|
|
126
|
+
this.logSetting = logSetting;
|
|
127
|
+
return this;
|
|
128
|
+
}
|
|
129
|
+
public withLogSetting(logSetting: LogSetting|null): this {
|
|
130
|
+
this.logSetting = logSetting;
|
|
131
|
+
return this;
|
|
132
|
+
}
|
|
133
|
+
public getCreatedAt(): number|null {
|
|
134
|
+
return this.createdAt;
|
|
135
|
+
}
|
|
136
|
+
public setCreatedAt(createdAt: number|null) {
|
|
137
|
+
this.createdAt = createdAt;
|
|
138
|
+
return this;
|
|
139
|
+
}
|
|
140
|
+
public withCreatedAt(createdAt: number|null): this {
|
|
141
|
+
this.createdAt = createdAt;
|
|
142
|
+
return this;
|
|
143
|
+
}
|
|
144
|
+
public getUpdatedAt(): number|null {
|
|
145
|
+
return this.updatedAt;
|
|
146
|
+
}
|
|
147
|
+
public setUpdatedAt(updatedAt: number|null) {
|
|
148
|
+
this.updatedAt = updatedAt;
|
|
149
|
+
return this;
|
|
150
|
+
}
|
|
151
|
+
public withUpdatedAt(updatedAt: number|null): this {
|
|
152
|
+
this.updatedAt = updatedAt;
|
|
153
|
+
return this;
|
|
154
|
+
}
|
|
155
|
+
public getRevision(): number|null {
|
|
156
|
+
return this.revision;
|
|
157
|
+
}
|
|
158
|
+
public setRevision(revision: number|null) {
|
|
159
|
+
this.revision = revision;
|
|
160
|
+
return this;
|
|
161
|
+
}
|
|
162
|
+
public withRevision(revision: number|null): this {
|
|
163
|
+
this.revision = revision;
|
|
164
|
+
return this;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
public static fromDict(data: {[key: string]: any}): Namespace|null {
|
|
168
|
+
if (data == undefined || data == null) {
|
|
169
|
+
return null;
|
|
170
|
+
}
|
|
171
|
+
return new Namespace()
|
|
172
|
+
.withNamespaceId(data["namespaceId"])
|
|
173
|
+
.withName(data["name"])
|
|
174
|
+
.withDescription(data["description"])
|
|
175
|
+
.withLogSetting(LogSetting.fromDict(data["logSetting"]))
|
|
176
|
+
.withCreatedAt(data["createdAt"])
|
|
177
|
+
.withUpdatedAt(data["updatedAt"])
|
|
178
|
+
.withRevision(data["revision"]);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
public toDict(): {[key: string]: any} {
|
|
182
|
+
return {
|
|
183
|
+
"namespaceId": this.getNamespaceId(),
|
|
184
|
+
"name": this.getName(),
|
|
185
|
+
"description": this.getDescription(),
|
|
186
|
+
"logSetting": this.getLogSetting()?.toDict(),
|
|
187
|
+
"createdAt": this.getCreatedAt(),
|
|
188
|
+
"updatedAt": this.getUpdatedAt(),
|
|
189
|
+
"revision": this.getRevision(),
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class ScriptSetting implements IModel {
|
|
3
|
+
private triggerScriptId;
|
|
4
|
+
private doneTriggerTargetType;
|
|
5
|
+
private doneTriggerScriptId;
|
|
6
|
+
private doneTriggerQueueNamespaceId;
|
|
7
|
+
getTriggerScriptId(): string | null;
|
|
8
|
+
setTriggerScriptId(triggerScriptId: string | null): this;
|
|
9
|
+
withTriggerScriptId(triggerScriptId: string | null): this;
|
|
10
|
+
getDoneTriggerTargetType(): string | null;
|
|
11
|
+
setDoneTriggerTargetType(doneTriggerTargetType: string | null): this;
|
|
12
|
+
withDoneTriggerTargetType(doneTriggerTargetType: string | null): this;
|
|
13
|
+
getDoneTriggerScriptId(): string | null;
|
|
14
|
+
setDoneTriggerScriptId(doneTriggerScriptId: string | null): this;
|
|
15
|
+
withDoneTriggerScriptId(doneTriggerScriptId: string | null): this;
|
|
16
|
+
getDoneTriggerQueueNamespaceId(): string | null;
|
|
17
|
+
setDoneTriggerQueueNamespaceId(doneTriggerQueueNamespaceId: string | null): this;
|
|
18
|
+
withDoneTriggerQueueNamespaceId(doneTriggerQueueNamespaceId: string | null): this;
|
|
19
|
+
static fromDict(data: {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
}): ScriptSetting | null;
|
|
22
|
+
toDict(): {
|
|
23
|
+
[key: string]: any;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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 ScriptSetting = /** @class */ (function () {
|
|
19
|
+
function ScriptSetting() {
|
|
20
|
+
this.triggerScriptId = null;
|
|
21
|
+
this.doneTriggerTargetType = null;
|
|
22
|
+
this.doneTriggerScriptId = null;
|
|
23
|
+
this.doneTriggerQueueNamespaceId = null;
|
|
24
|
+
}
|
|
25
|
+
ScriptSetting.prototype.getTriggerScriptId = function () {
|
|
26
|
+
return this.triggerScriptId;
|
|
27
|
+
};
|
|
28
|
+
ScriptSetting.prototype.setTriggerScriptId = function (triggerScriptId) {
|
|
29
|
+
this.triggerScriptId = triggerScriptId;
|
|
30
|
+
return this;
|
|
31
|
+
};
|
|
32
|
+
ScriptSetting.prototype.withTriggerScriptId = function (triggerScriptId) {
|
|
33
|
+
this.triggerScriptId = triggerScriptId;
|
|
34
|
+
return this;
|
|
35
|
+
};
|
|
36
|
+
ScriptSetting.prototype.getDoneTriggerTargetType = function () {
|
|
37
|
+
return this.doneTriggerTargetType;
|
|
38
|
+
};
|
|
39
|
+
ScriptSetting.prototype.setDoneTriggerTargetType = function (doneTriggerTargetType) {
|
|
40
|
+
this.doneTriggerTargetType = doneTriggerTargetType;
|
|
41
|
+
return this;
|
|
42
|
+
};
|
|
43
|
+
ScriptSetting.prototype.withDoneTriggerTargetType = function (doneTriggerTargetType) {
|
|
44
|
+
this.doneTriggerTargetType = doneTriggerTargetType;
|
|
45
|
+
return this;
|
|
46
|
+
};
|
|
47
|
+
ScriptSetting.prototype.getDoneTriggerScriptId = function () {
|
|
48
|
+
return this.doneTriggerScriptId;
|
|
49
|
+
};
|
|
50
|
+
ScriptSetting.prototype.setDoneTriggerScriptId = function (doneTriggerScriptId) {
|
|
51
|
+
this.doneTriggerScriptId = doneTriggerScriptId;
|
|
52
|
+
return this;
|
|
53
|
+
};
|
|
54
|
+
ScriptSetting.prototype.withDoneTriggerScriptId = function (doneTriggerScriptId) {
|
|
55
|
+
this.doneTriggerScriptId = doneTriggerScriptId;
|
|
56
|
+
return this;
|
|
57
|
+
};
|
|
58
|
+
ScriptSetting.prototype.getDoneTriggerQueueNamespaceId = function () {
|
|
59
|
+
return this.doneTriggerQueueNamespaceId;
|
|
60
|
+
};
|
|
61
|
+
ScriptSetting.prototype.setDoneTriggerQueueNamespaceId = function (doneTriggerQueueNamespaceId) {
|
|
62
|
+
this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
|
|
63
|
+
return this;
|
|
64
|
+
};
|
|
65
|
+
ScriptSetting.prototype.withDoneTriggerQueueNamespaceId = function (doneTriggerQueueNamespaceId) {
|
|
66
|
+
this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
|
|
67
|
+
return this;
|
|
68
|
+
};
|
|
69
|
+
ScriptSetting.fromDict = function (data) {
|
|
70
|
+
if (data == undefined || data == null) {
|
|
71
|
+
return null;
|
|
72
|
+
}
|
|
73
|
+
return new ScriptSetting()
|
|
74
|
+
.withTriggerScriptId(data["triggerScriptId"])
|
|
75
|
+
.withDoneTriggerTargetType(data["doneTriggerTargetType"])
|
|
76
|
+
.withDoneTriggerScriptId(data["doneTriggerScriptId"])
|
|
77
|
+
.withDoneTriggerQueueNamespaceId(data["doneTriggerQueueNamespaceId"]);
|
|
78
|
+
};
|
|
79
|
+
ScriptSetting.prototype.toDict = function () {
|
|
80
|
+
return {
|
|
81
|
+
"triggerScriptId": this.getTriggerScriptId(),
|
|
82
|
+
"doneTriggerTargetType": this.getDoneTriggerTargetType(),
|
|
83
|
+
"doneTriggerScriptId": this.getDoneTriggerScriptId(),
|
|
84
|
+
"doneTriggerQueueNamespaceId": this.getDoneTriggerQueueNamespaceId(),
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
return ScriptSetting;
|
|
88
|
+
}());
|
|
89
|
+
exports.default = ScriptSetting;
|
|
90
|
+
//# sourceMappingURL=ScriptSetting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ScriptSetting.js","sourceRoot":"","sources":["ScriptSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,oBAAe,GAAgB,IAAI,CAAC;QACpC,0BAAqB,GAAgB,IAAI,CAAC;QAC1C,wBAAmB,GAAgB,IAAI,CAAC;QACxC,gCAA2B,GAAgB,IAAI,CAAC;IAiE5D,CAAC;IAhEU,0CAAkB,GAAzB;QACI,OAAO,IAAI,CAAC,eAAe,CAAC;IAChC,CAAC;IACM,0CAAkB,GAAzB,UAA0B,eAA4B;QAClD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,2CAAmB,GAA1B,UAA2B,eAA4B;QACnD,IAAI,CAAC,eAAe,GAAG,eAAe,CAAC;QACvC,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,gDAAwB,GAA/B;QACI,OAAO,IAAI,CAAC,qBAAqB,CAAC;IACtC,CAAC;IACM,gDAAwB,GAA/B,UAAgC,qBAAkC;QAC9D,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACnD,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,iDAAyB,GAAhC,UAAiC,qBAAkC;QAC/D,IAAI,CAAC,qBAAqB,GAAG,qBAAqB,CAAC;QACnD,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,8CAAsB,GAA7B;QACI,OAAO,IAAI,CAAC,mBAAmB,CAAC;IACpC,CAAC;IACM,8CAA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@@
|
|
|
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
|
+
|
|
19
|
+
export default class ScriptSetting implements IModel {
|
|
20
|
+
private triggerScriptId: string|null = null;
|
|
21
|
+
private doneTriggerTargetType: string|null = null;
|
|
22
|
+
private doneTriggerScriptId: string|null = null;
|
|
23
|
+
private doneTriggerQueueNamespaceId: string|null = null;
|
|
24
|
+
public getTriggerScriptId(): string|null {
|
|
25
|
+
return this.triggerScriptId;
|
|
26
|
+
}
|
|
27
|
+
public setTriggerScriptId(triggerScriptId: string|null) {
|
|
28
|
+
this.triggerScriptId = triggerScriptId;
|
|
29
|
+
return this;
|
|
30
|
+
}
|
|
31
|
+
public withTriggerScriptId(triggerScriptId: string|null): this {
|
|
32
|
+
this.triggerScriptId = triggerScriptId;
|
|
33
|
+
return this;
|
|
34
|
+
}
|
|
35
|
+
public getDoneTriggerTargetType(): string|null {
|
|
36
|
+
return this.doneTriggerTargetType;
|
|
37
|
+
}
|
|
38
|
+
public setDoneTriggerTargetType(doneTriggerTargetType: string|null) {
|
|
39
|
+
this.doneTriggerTargetType = doneTriggerTargetType;
|
|
40
|
+
return this;
|
|
41
|
+
}
|
|
42
|
+
public withDoneTriggerTargetType(doneTriggerTargetType: string|null): this {
|
|
43
|
+
this.doneTriggerTargetType = doneTriggerTargetType;
|
|
44
|
+
return this;
|
|
45
|
+
}
|
|
46
|
+
public getDoneTriggerScriptId(): string|null {
|
|
47
|
+
return this.doneTriggerScriptId;
|
|
48
|
+
}
|
|
49
|
+
public setDoneTriggerScriptId(doneTriggerScriptId: string|null) {
|
|
50
|
+
this.doneTriggerScriptId = doneTriggerScriptId;
|
|
51
|
+
return this;
|
|
52
|
+
}
|
|
53
|
+
public withDoneTriggerScriptId(doneTriggerScriptId: string|null): this {
|
|
54
|
+
this.doneTriggerScriptId = doneTriggerScriptId;
|
|
55
|
+
return this;
|
|
56
|
+
}
|
|
57
|
+
public getDoneTriggerQueueNamespaceId(): string|null {
|
|
58
|
+
return this.doneTriggerQueueNamespaceId;
|
|
59
|
+
}
|
|
60
|
+
public setDoneTriggerQueueNamespaceId(doneTriggerQueueNamespaceId: string|null) {
|
|
61
|
+
this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
|
|
62
|
+
return this;
|
|
63
|
+
}
|
|
64
|
+
public withDoneTriggerQueueNamespaceId(doneTriggerQueueNamespaceId: string|null): this {
|
|
65
|
+
this.doneTriggerQueueNamespaceId = doneTriggerQueueNamespaceId;
|
|
66
|
+
return this;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
public static fromDict(data: {[key: string]: any}): ScriptSetting|null {
|
|
70
|
+
if (data == undefined || data == null) {
|
|
71
|
+
return null;
|
|
72
|
+
}
|
|
73
|
+
return new ScriptSetting()
|
|
74
|
+
.withTriggerScriptId(data["triggerScriptId"])
|
|
75
|
+
.withDoneTriggerTargetType(data["doneTriggerTargetType"])
|
|
76
|
+
.withDoneTriggerScriptId(data["doneTriggerScriptId"])
|
|
77
|
+
.withDoneTriggerQueueNamespaceId(data["doneTriggerQueueNamespaceId"]);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
public toDict(): {[key: string]: any} {
|
|
81
|
+
return {
|
|
82
|
+
"triggerScriptId": this.getTriggerScriptId(),
|
|
83
|
+
"doneTriggerTargetType": this.getDoneTriggerTargetType(),
|
|
84
|
+
"doneTriggerScriptId": this.getDoneTriggerScriptId(),
|
|
85
|
+
"doneTriggerQueueNamespaceId": this.getDoneTriggerQueueNamespaceId(),
|
|
86
|
+
};
|
|
87
|
+
}
|
|
88
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import TierModel from './TierModel';
|
|
3
|
+
export default class SeasonModel implements IModel {
|
|
4
|
+
private seasonModelId;
|
|
5
|
+
private name;
|
|
6
|
+
private metadata;
|
|
7
|
+
private tiers;
|
|
8
|
+
private experienceModelId;
|
|
9
|
+
static getRegion(grn: string): string | null;
|
|
10
|
+
static getOwnerId(grn: string): string | null;
|
|
11
|
+
static getNamespaceName(grn: string): string | null;
|
|
12
|
+
static getSeasonName(grn: string): string | null;
|
|
13
|
+
static isValid(grn: string): boolean;
|
|
14
|
+
static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, seasonName: string | null): string | null;
|
|
15
|
+
getSeasonModelId(): string | null;
|
|
16
|
+
setSeasonModelId(seasonModelId: string | null): this;
|
|
17
|
+
withSeasonModelId(seasonModelId: string | null): this;
|
|
18
|
+
getName(): string | null;
|
|
19
|
+
setName(name: string | null): this;
|
|
20
|
+
withName(name: string | null): this;
|
|
21
|
+
getMetadata(): string | null;
|
|
22
|
+
setMetadata(metadata: string | null): this;
|
|
23
|
+
withMetadata(metadata: string | null): this;
|
|
24
|
+
getTiers(): TierModel[] | null;
|
|
25
|
+
setTiers(tiers: TierModel[] | null): this;
|
|
26
|
+
withTiers(tiers: TierModel[] | null): this;
|
|
27
|
+
getExperienceModelId(): string | null;
|
|
28
|
+
setExperienceModelId(experienceModelId: string | null): this;
|
|
29
|
+
withExperienceModelId(experienceModelId: string | null): this;
|
|
30
|
+
static fromDict(data: {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
}): SeasonModel | null;
|
|
33
|
+
toDict(): {
|
|
34
|
+
[key: string]: any;
|
|
35
|
+
};
|
|
36
|
+
}
|