gs2 1.3.217 → 1.3.219
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/deploy/result/ChangeSetResult.js.map +1 -1
- package/deploy/result/ChangeSetResult.ts +0 -1
- package/deploy/result/CreateStackFromGitHubResult.js.map +1 -1
- package/deploy/result/CreateStackFromGitHubResult.ts +0 -1
- package/deploy/result/CreateStackResult.js.map +1 -1
- package/deploy/result/CreateStackResult.ts +0 -1
- package/deploy/result/DeleteStackEntityResult.js.map +1 -1
- package/deploy/result/DeleteStackEntityResult.ts +0 -1
- package/deploy/result/DeleteStackResourcesResult.js.map +1 -1
- package/deploy/result/DeleteStackResourcesResult.ts +0 -1
- package/deploy/result/DeleteStackResult.js.map +1 -1
- package/deploy/result/DeleteStackResult.ts +0 -1
- package/deploy/result/DescribeEventsResult.js.map +1 -1
- package/deploy/result/DescribeEventsResult.ts +0 -1
- package/deploy/result/DescribeOutputsResult.js.map +1 -1
- package/deploy/result/DescribeOutputsResult.ts +0 -1
- package/deploy/result/DescribeResourcesResult.js.map +1 -1
- package/deploy/result/DescribeResourcesResult.ts +0 -1
- package/deploy/result/DescribeStacksResult.js.map +1 -1
- package/deploy/result/DescribeStacksResult.ts +0 -1
- package/deploy/result/ForceDeleteStackResult.js.map +1 -1
- package/deploy/result/ForceDeleteStackResult.ts +0 -1
- package/deploy/result/GetEventResult.js.map +1 -1
- package/deploy/result/GetEventResult.ts +0 -1
- package/deploy/result/GetOutputResult.js.map +1 -1
- package/deploy/result/GetOutputResult.ts +0 -1
- package/deploy/result/GetResourceResult.js.map +1 -1
- package/deploy/result/GetResourceResult.ts +0 -1
- package/deploy/result/GetStackResult.js.map +1 -1
- package/deploy/result/GetStackResult.ts +0 -1
- package/deploy/result/GetStackStatusResult.js.map +1 -1
- package/deploy/result/GetStackStatusResult.ts +0 -2
- package/deploy/result/UpdateStackFromGitHubResult.js.map +1 -1
- package/deploy/result/UpdateStackFromGitHubResult.ts +0 -1
- package/deploy/result/UpdateStackResult.js.map +1 -1
- package/deploy/result/UpdateStackResult.ts +0 -1
- package/deploy/result/ValidateResult.js.map +1 -1
- package/deploy/result/ValidateResult.ts +0 -2
- 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/rest.js +2 -1
- package/experience/rest.js.map +1 -1
- package/experience/rest.ts +1 -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/CountAccessLogResult.js.map +1 -1
- package/log/result/CountAccessLogResult.ts +0 -1
- package/log/result/CountExecuteStampSheetLogResult.js.map +1 -1
- package/log/result/CountExecuteStampSheetLogResult.ts +0 -1
- package/log/result/CountExecuteStampTaskLogResult.js.map +1 -1
- package/log/result/CountExecuteStampTaskLogResult.ts +0 -1
- package/log/result/CountIssueStampSheetLogResult.js.map +1 -1
- package/log/result/CountIssueStampSheetLogResult.ts +0 -1
- package/log/result/CreateInsightResult.js.map +1 -1
- package/log/result/CreateInsightResult.ts +0 -1
- package/log/result/CreateNamespaceResult.js.map +1 -1
- package/log/result/CreateNamespaceResult.ts +0 -1
- package/log/result/DeleteInsightResult.js.map +1 -1
- package/log/result/DeleteInsightResult.ts +0 -1
- package/log/result/DeleteNamespaceResult.js.map +1 -1
- package/log/result/DeleteNamespaceResult.ts +0 -1
- package/log/result/DescribeInsightsResult.js.map +1 -1
- package/log/result/DescribeInsightsResult.ts +0 -1
- package/log/result/DescribeNamespacesResult.js.map +1 -1
- package/log/result/DescribeNamespacesResult.ts +0 -1
- package/log/result/GetInsightResult.js.map +1 -1
- package/log/result/GetInsightResult.ts +0 -1
- package/log/result/GetNamespaceResult.js.map +1 -1
- package/log/result/GetNamespaceResult.ts +0 -1
- package/log/result/GetNamespaceStatusResult.js.map +1 -1
- package/log/result/GetNamespaceStatusResult.ts +0 -2
- package/log/result/PutLogResult.js.map +1 -1
- package/log/result/PutLogResult.ts +0 -2
- package/log/result/QueryAccessLogResult.js.map +1 -1
- package/log/result/QueryAccessLogResult.ts +0 -1
- 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/QueryExecuteStampSheetLogResult.js.map +1 -1
- package/log/result/QueryExecuteStampSheetLogResult.ts +0 -1
- package/log/result/QueryExecuteStampTaskLogResult.js.map +1 -1
- package/log/result/QueryExecuteStampTaskLogResult.ts +0 -1
- package/log/result/QueryIssueStampSheetLogResult.js.map +1 -1
- package/log/result/QueryIssueStampSheetLogResult.ts +0 -1
- package/log/result/UpdateNamespaceResult.js.map +1 -1
- package/log/result/UpdateNamespaceResult.ts +0 -1
- 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,130 @@
|
|
|
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 GitHubCheckoutSetting implements IModel {
|
|
20
|
+
private apiKeyId: string|null = null;
|
|
21
|
+
private repositoryName: string|null = null;
|
|
22
|
+
private sourcePath: string|null = null;
|
|
23
|
+
private referenceType: string|null = null;
|
|
24
|
+
private commitHash: string|null = null;
|
|
25
|
+
private branchName: string|null = null;
|
|
26
|
+
private tagName: string|null = null;
|
|
27
|
+
public getApiKeyId(): string|null {
|
|
28
|
+
return this.apiKeyId;
|
|
29
|
+
}
|
|
30
|
+
public setApiKeyId(apiKeyId: string|null) {
|
|
31
|
+
this.apiKeyId = apiKeyId;
|
|
32
|
+
return this;
|
|
33
|
+
}
|
|
34
|
+
public withApiKeyId(apiKeyId: string|null): this {
|
|
35
|
+
this.apiKeyId = apiKeyId;
|
|
36
|
+
return this;
|
|
37
|
+
}
|
|
38
|
+
public getRepositoryName(): string|null {
|
|
39
|
+
return this.repositoryName;
|
|
40
|
+
}
|
|
41
|
+
public setRepositoryName(repositoryName: string|null) {
|
|
42
|
+
this.repositoryName = repositoryName;
|
|
43
|
+
return this;
|
|
44
|
+
}
|
|
45
|
+
public withRepositoryName(repositoryName: string|null): this {
|
|
46
|
+
this.repositoryName = repositoryName;
|
|
47
|
+
return this;
|
|
48
|
+
}
|
|
49
|
+
public getSourcePath(): string|null {
|
|
50
|
+
return this.sourcePath;
|
|
51
|
+
}
|
|
52
|
+
public setSourcePath(sourcePath: string|null) {
|
|
53
|
+
this.sourcePath = sourcePath;
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
56
|
+
public withSourcePath(sourcePath: string|null): this {
|
|
57
|
+
this.sourcePath = sourcePath;
|
|
58
|
+
return this;
|
|
59
|
+
}
|
|
60
|
+
public getReferenceType(): string|null {
|
|
61
|
+
return this.referenceType;
|
|
62
|
+
}
|
|
63
|
+
public setReferenceType(referenceType: string|null) {
|
|
64
|
+
this.referenceType = referenceType;
|
|
65
|
+
return this;
|
|
66
|
+
}
|
|
67
|
+
public withReferenceType(referenceType: string|null): this {
|
|
68
|
+
this.referenceType = referenceType;
|
|
69
|
+
return this;
|
|
70
|
+
}
|
|
71
|
+
public getCommitHash(): string|null {
|
|
72
|
+
return this.commitHash;
|
|
73
|
+
}
|
|
74
|
+
public setCommitHash(commitHash: string|null) {
|
|
75
|
+
this.commitHash = commitHash;
|
|
76
|
+
return this;
|
|
77
|
+
}
|
|
78
|
+
public withCommitHash(commitHash: string|null): this {
|
|
79
|
+
this.commitHash = commitHash;
|
|
80
|
+
return this;
|
|
81
|
+
}
|
|
82
|
+
public getBranchName(): string|null {
|
|
83
|
+
return this.branchName;
|
|
84
|
+
}
|
|
85
|
+
public setBranchName(branchName: string|null) {
|
|
86
|
+
this.branchName = branchName;
|
|
87
|
+
return this;
|
|
88
|
+
}
|
|
89
|
+
public withBranchName(branchName: string|null): this {
|
|
90
|
+
this.branchName = branchName;
|
|
91
|
+
return this;
|
|
92
|
+
}
|
|
93
|
+
public getTagName(): string|null {
|
|
94
|
+
return this.tagName;
|
|
95
|
+
}
|
|
96
|
+
public setTagName(tagName: string|null) {
|
|
97
|
+
this.tagName = tagName;
|
|
98
|
+
return this;
|
|
99
|
+
}
|
|
100
|
+
public withTagName(tagName: string|null): this {
|
|
101
|
+
this.tagName = tagName;
|
|
102
|
+
return this;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
public static fromDict(data: {[key: string]: any}): GitHubCheckoutSetting|null {
|
|
106
|
+
if (data == undefined || data == null) {
|
|
107
|
+
return null;
|
|
108
|
+
}
|
|
109
|
+
return new GitHubCheckoutSetting()
|
|
110
|
+
.withApiKeyId(data["apiKeyId"])
|
|
111
|
+
.withRepositoryName(data["repositoryName"])
|
|
112
|
+
.withSourcePath(data["sourcePath"])
|
|
113
|
+
.withReferenceType(data["referenceType"])
|
|
114
|
+
.withCommitHash(data["commitHash"])
|
|
115
|
+
.withBranchName(data["branchName"])
|
|
116
|
+
.withTagName(data["tagName"]);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
public toDict(): {[key: string]: any} {
|
|
120
|
+
return {
|
|
121
|
+
"apiKeyId": this.getApiKeyId(),
|
|
122
|
+
"repositoryName": this.getRepositoryName(),
|
|
123
|
+
"sourcePath": this.getSourcePath(),
|
|
124
|
+
"referenceType": this.getReferenceType(),
|
|
125
|
+
"commitHash": this.getCommitHash(),
|
|
126
|
+
"branchName": this.getBranchName(),
|
|
127
|
+
"tagName": this.getTagName(),
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class LogSetting implements IModel {
|
|
3
|
+
private loggingNamespaceId;
|
|
4
|
+
getLoggingNamespaceId(): string | null;
|
|
5
|
+
setLoggingNamespaceId(loggingNamespaceId: string | null): this;
|
|
6
|
+
withLoggingNamespaceId(loggingNamespaceId: string | null): this;
|
|
7
|
+
static fromDict(data: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
}): LogSetting | null;
|
|
10
|
+
toDict(): {
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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 LogSetting = /** @class */ (function () {
|
|
19
|
+
function LogSetting() {
|
|
20
|
+
this.loggingNamespaceId = null;
|
|
21
|
+
}
|
|
22
|
+
LogSetting.prototype.getLoggingNamespaceId = function () {
|
|
23
|
+
return this.loggingNamespaceId;
|
|
24
|
+
};
|
|
25
|
+
LogSetting.prototype.setLoggingNamespaceId = function (loggingNamespaceId) {
|
|
26
|
+
this.loggingNamespaceId = loggingNamespaceId;
|
|
27
|
+
return this;
|
|
28
|
+
};
|
|
29
|
+
LogSetting.prototype.withLoggingNamespaceId = function (loggingNamespaceId) {
|
|
30
|
+
this.loggingNamespaceId = loggingNamespaceId;
|
|
31
|
+
return this;
|
|
32
|
+
};
|
|
33
|
+
LogSetting.fromDict = function (data) {
|
|
34
|
+
if (data == undefined || data == null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return new LogSetting()
|
|
38
|
+
.withLoggingNamespaceId(data["loggingNamespaceId"]);
|
|
39
|
+
};
|
|
40
|
+
LogSetting.prototype.toDict = function () {
|
|
41
|
+
return {
|
|
42
|
+
"loggingNamespaceId": this.getLoggingNamespaceId(),
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
return LogSetting;
|
|
46
|
+
}());
|
|
47
|
+
exports.default = LogSetting;
|
|
48
|
+
//# sourceMappingURL=LogSetting.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LogSetting.js","sourceRoot":"","sources":["LogSetting.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH;IAAA;QACY,uBAAkB,GAAgB,IAAI,CAAC;IA0BnD,CAAC;IAzBU,0CAAqB,GAA5B;QACI,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACnC,CAAC;IACM,0CAAqB,GAA5B,UAA6B,kBAA+B;QACxD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IACM,2CAAsB,GAA7B,UAA8B,kBAA+B;QACzD,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;QAC7C,OAAO,IAAI,CAAC;IAChB,CAAC;IAEa,mBAAQ,GAAtB,UAAuB,IAA0B;QAC7C,IAAI,IAAI,IAAI,SAAS,IAAI,IAAI,IAAI,IAAI,EAAE;YACnC,OAAO,IAAI,CAAC;SACf;QACD,OAAO,IAAI,UAAU,EAAE;aAClB,sBAAsB,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC,CAAC;IAC5D,CAAC;IAEM,2BAAM,GAAb;QACI,OAAO;YACH,oBAAoB,EAAE,IAAI,CAAC,qBAAqB,EAAE;SACrD,CAAC;IACN,CAAC;IACL,iBAAC;AAAD,CAAC,AA3BD,IA2BC"}
|
|
@@ -0,0 +1,46 @@
|
|
|
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 LogSetting implements IModel {
|
|
20
|
+
private loggingNamespaceId: string|null = null;
|
|
21
|
+
public getLoggingNamespaceId(): string|null {
|
|
22
|
+
return this.loggingNamespaceId;
|
|
23
|
+
}
|
|
24
|
+
public setLoggingNamespaceId(loggingNamespaceId: string|null) {
|
|
25
|
+
this.loggingNamespaceId = loggingNamespaceId;
|
|
26
|
+
return this;
|
|
27
|
+
}
|
|
28
|
+
public withLoggingNamespaceId(loggingNamespaceId: string|null): this {
|
|
29
|
+
this.loggingNamespaceId = loggingNamespaceId;
|
|
30
|
+
return this;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
public static fromDict(data: {[key: string]: any}): LogSetting|null {
|
|
34
|
+
if (data == undefined || data == null) {
|
|
35
|
+
return null;
|
|
36
|
+
}
|
|
37
|
+
return new LogSetting()
|
|
38
|
+
.withLoggingNamespaceId(data["loggingNamespaceId"]);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
public toDict(): {[key: string]: any} {
|
|
42
|
+
return {
|
|
43
|
+
"loggingNamespaceId": this.getLoggingNamespaceId(),
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
export default class MatchSession implements IModel {
|
|
3
|
+
private sessionId;
|
|
4
|
+
private name;
|
|
5
|
+
private createdAt;
|
|
6
|
+
private revision;
|
|
7
|
+
static getRegion(grn: string): string | null;
|
|
8
|
+
static getOwnerId(grn: string): string | null;
|
|
9
|
+
static getNamespaceName(grn: string): string | null;
|
|
10
|
+
static getSessionName(grn: string): string | null;
|
|
11
|
+
static isValid(grn: string): boolean;
|
|
12
|
+
static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null, sessionName: string | null): string | null;
|
|
13
|
+
getSessionId(): string | null;
|
|
14
|
+
setSessionId(sessionId: string | null): this;
|
|
15
|
+
withSessionId(sessionId: string | null): this;
|
|
16
|
+
getName(): string | null;
|
|
17
|
+
setName(name: string | null): this;
|
|
18
|
+
withName(name: string | null): this;
|
|
19
|
+
getCreatedAt(): number | null;
|
|
20
|
+
setCreatedAt(createdAt: number | null): this;
|
|
21
|
+
withCreatedAt(createdAt: number | null): this;
|
|
22
|
+
getRevision(): number | null;
|
|
23
|
+
setRevision(revision: number | null): this;
|
|
24
|
+
withRevision(revision: number | null): this;
|
|
25
|
+
static fromDict(data: {
|
|
26
|
+
[key: string]: any;
|
|
27
|
+
}): MatchSession | null;
|
|
28
|
+
toDict(): {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
};
|
|
31
|
+
}
|
|
@@ -0,0 +1,157 @@
|
|
|
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 grnFormat = "grn:gs2:{region}:{ownerId}:seasonRating:{namespaceName}:session:{sessionName}";
|
|
19
|
+
var MatchSession = /** @class */ (function () {
|
|
20
|
+
function MatchSession() {
|
|
21
|
+
this.sessionId = null;
|
|
22
|
+
this.name = null;
|
|
23
|
+
this.createdAt = null;
|
|
24
|
+
this.revision = null;
|
|
25
|
+
}
|
|
26
|
+
MatchSession.getRegion = function (grn) {
|
|
27
|
+
var match = grn.match(grnFormat
|
|
28
|
+
.replace('{region}', '(.*)')
|
|
29
|
+
.replace('{ownerId}', '.*')
|
|
30
|
+
.replace('{namespaceName}', '.*')
|
|
31
|
+
.replace('{sessionName}', '.*'));
|
|
32
|
+
if (match) {
|
|
33
|
+
return match[1];
|
|
34
|
+
}
|
|
35
|
+
return null;
|
|
36
|
+
};
|
|
37
|
+
MatchSession.getOwnerId = function (grn) {
|
|
38
|
+
var match = grn.match(grnFormat
|
|
39
|
+
.replace('{region}', '.*')
|
|
40
|
+
.replace('{ownerId}', '(.*)')
|
|
41
|
+
.replace('{namespaceName}', '.*')
|
|
42
|
+
.replace('{sessionName}', '.*'));
|
|
43
|
+
if (match) {
|
|
44
|
+
return match[1];
|
|
45
|
+
}
|
|
46
|
+
return null;
|
|
47
|
+
};
|
|
48
|
+
MatchSession.getNamespaceName = function (grn) {
|
|
49
|
+
var match = grn.match(grnFormat
|
|
50
|
+
.replace('{region}', '.*')
|
|
51
|
+
.replace('{ownerId}', '.*')
|
|
52
|
+
.replace('{namespaceName}', '(.*)')
|
|
53
|
+
.replace('{sessionName}', '.*'));
|
|
54
|
+
if (match) {
|
|
55
|
+
return match[1];
|
|
56
|
+
}
|
|
57
|
+
return null;
|
|
58
|
+
};
|
|
59
|
+
MatchSession.getSessionName = function (grn) {
|
|
60
|
+
var match = grn.match(grnFormat
|
|
61
|
+
.replace('{region}', '.*')
|
|
62
|
+
.replace('{ownerId}', '.*')
|
|
63
|
+
.replace('{namespaceName}', '.*')
|
|
64
|
+
.replace('{sessionName}', '(.*)'));
|
|
65
|
+
if (match) {
|
|
66
|
+
return match[1];
|
|
67
|
+
}
|
|
68
|
+
return null;
|
|
69
|
+
};
|
|
70
|
+
MatchSession.isValid = function (grn) {
|
|
71
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
if (this.getSessionName(grn) == null || this.getSessionName(grn) === '') {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
return true;
|
|
84
|
+
};
|
|
85
|
+
MatchSession.createGrn = function (region, ownerId, namespaceName, sessionName) {
|
|
86
|
+
return grnFormat
|
|
87
|
+
.replace('{region}', region !== null && region !== void 0 ? region : '')
|
|
88
|
+
.replace('{ownerId}', ownerId !== null && ownerId !== void 0 ? ownerId : '')
|
|
89
|
+
.replace('{namespaceName}', namespaceName !== null && namespaceName !== void 0 ? namespaceName : '')
|
|
90
|
+
.replace('{sessionName}', sessionName !== null && sessionName !== void 0 ? sessionName : '');
|
|
91
|
+
};
|
|
92
|
+
MatchSession.prototype.getSessionId = function () {
|
|
93
|
+
return this.sessionId;
|
|
94
|
+
};
|
|
95
|
+
MatchSession.prototype.setSessionId = function (sessionId) {
|
|
96
|
+
this.sessionId = sessionId;
|
|
97
|
+
return this;
|
|
98
|
+
};
|
|
99
|
+
MatchSession.prototype.withSessionId = function (sessionId) {
|
|
100
|
+
this.sessionId = sessionId;
|
|
101
|
+
return this;
|
|
102
|
+
};
|
|
103
|
+
MatchSession.prototype.getName = function () {
|
|
104
|
+
return this.name;
|
|
105
|
+
};
|
|
106
|
+
MatchSession.prototype.setName = function (name) {
|
|
107
|
+
this.name = name;
|
|
108
|
+
return this;
|
|
109
|
+
};
|
|
110
|
+
MatchSession.prototype.withName = function (name) {
|
|
111
|
+
this.name = name;
|
|
112
|
+
return this;
|
|
113
|
+
};
|
|
114
|
+
MatchSession.prototype.getCreatedAt = function () {
|
|
115
|
+
return this.createdAt;
|
|
116
|
+
};
|
|
117
|
+
MatchSession.prototype.setCreatedAt = function (createdAt) {
|
|
118
|
+
this.createdAt = createdAt;
|
|
119
|
+
return this;
|
|
120
|
+
};
|
|
121
|
+
MatchSession.prototype.withCreatedAt = function (createdAt) {
|
|
122
|
+
this.createdAt = createdAt;
|
|
123
|
+
return this;
|
|
124
|
+
};
|
|
125
|
+
MatchSession.prototype.getRevision = function () {
|
|
126
|
+
return this.revision;
|
|
127
|
+
};
|
|
128
|
+
MatchSession.prototype.setRevision = function (revision) {
|
|
129
|
+
this.revision = revision;
|
|
130
|
+
return this;
|
|
131
|
+
};
|
|
132
|
+
MatchSession.prototype.withRevision = function (revision) {
|
|
133
|
+
this.revision = revision;
|
|
134
|
+
return this;
|
|
135
|
+
};
|
|
136
|
+
MatchSession.fromDict = function (data) {
|
|
137
|
+
if (data == undefined || data == null) {
|
|
138
|
+
return null;
|
|
139
|
+
}
|
|
140
|
+
return new MatchSession()
|
|
141
|
+
.withSessionId(data["sessionId"])
|
|
142
|
+
.withName(data["name"])
|
|
143
|
+
.withCreatedAt(data["createdAt"])
|
|
144
|
+
.withRevision(data["revision"]);
|
|
145
|
+
};
|
|
146
|
+
MatchSession.prototype.toDict = function () {
|
|
147
|
+
return {
|
|
148
|
+
"sessionId": this.getSessionId(),
|
|
149
|
+
"name": this.getName(),
|
|
150
|
+
"createdAt": this.getCreatedAt(),
|
|
151
|
+
"revision": this.getRevision(),
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
return MatchSession;
|
|
155
|
+
}());
|
|
156
|
+
exports.default = MatchSession;
|
|
157
|
+
//# sourceMappingURL=MatchSession.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MatchSession.js","sourceRoot":"","sources":["MatchSession.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,170 @@
|
|
|
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
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:seasonRating:{namespaceName}:session:{sessionName}";
|
|
19
|
+
|
|
20
|
+
export default class MatchSession implements IModel {
|
|
21
|
+
private sessionId: string|null = null;
|
|
22
|
+
private name: string|null = null;
|
|
23
|
+
private createdAt: number|null = null;
|
|
24
|
+
private revision: number|null = null;
|
|
25
|
+
|
|
26
|
+
public static getRegion(grn: string): string|null {
|
|
27
|
+
const match = grn.match(grnFormat
|
|
28
|
+
.replace('{region}', '(.*)')
|
|
29
|
+
.replace('{ownerId}', '.*')
|
|
30
|
+
.replace('{namespaceName}', '.*')
|
|
31
|
+
.replace('{sessionName}', '.*')
|
|
32
|
+
);
|
|
33
|
+
if (match) {
|
|
34
|
+
return match[1];
|
|
35
|
+
}
|
|
36
|
+
return null;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
public static getOwnerId(grn: string): string|null {
|
|
40
|
+
const match = grn.match(grnFormat
|
|
41
|
+
.replace('{region}', '.*')
|
|
42
|
+
.replace('{ownerId}', '(.*)')
|
|
43
|
+
.replace('{namespaceName}', '.*')
|
|
44
|
+
.replace('{sessionName}', '.*')
|
|
45
|
+
);
|
|
46
|
+
if (match) {
|
|
47
|
+
return match[1];
|
|
48
|
+
}
|
|
49
|
+
return null;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
public static getNamespaceName(grn: string): string|null {
|
|
53
|
+
const match = grn.match(grnFormat
|
|
54
|
+
.replace('{region}', '.*')
|
|
55
|
+
.replace('{ownerId}', '.*')
|
|
56
|
+
.replace('{namespaceName}', '(.*)')
|
|
57
|
+
.replace('{sessionName}', '.*')
|
|
58
|
+
);
|
|
59
|
+
if (match) {
|
|
60
|
+
return match[1];
|
|
61
|
+
}
|
|
62
|
+
return null;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
public static getSessionName(grn: string): string|null {
|
|
66
|
+
const match = grn.match(grnFormat
|
|
67
|
+
.replace('{region}', '.*')
|
|
68
|
+
.replace('{ownerId}', '.*')
|
|
69
|
+
.replace('{namespaceName}', '.*')
|
|
70
|
+
.replace('{sessionName}', '(.*)')
|
|
71
|
+
);
|
|
72
|
+
if (match) {
|
|
73
|
+
return match[1];
|
|
74
|
+
}
|
|
75
|
+
return null;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
public static isValid(grn: string): boolean {
|
|
79
|
+
if (this.getRegion(grn) == null || this.getRegion(grn) === '') {
|
|
80
|
+
return false;
|
|
81
|
+
}
|
|
82
|
+
if (this.getOwnerId(grn) == null || this.getOwnerId(grn) === '') {
|
|
83
|
+
return false;
|
|
84
|
+
}
|
|
85
|
+
if (this.getNamespaceName(grn) == null || this.getNamespaceName(grn) === '') {
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
if (this.getSessionName(grn) == null || this.getSessionName(grn) === '') {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
return true;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
public static createGrn(
|
|
95
|
+
region: string|null,
|
|
96
|
+
ownerId: string|null,
|
|
97
|
+
namespaceName: string|null,
|
|
98
|
+
sessionName: string|null,
|
|
99
|
+
): string|null {
|
|
100
|
+
return grnFormat
|
|
101
|
+
.replace('{region}', region ?? '')
|
|
102
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
103
|
+
.replace('{namespaceName}', namespaceName ?? '')
|
|
104
|
+
.replace('{sessionName}', sessionName ?? '');
|
|
105
|
+
}
|
|
106
|
+
public getSessionId(): string|null {
|
|
107
|
+
return this.sessionId;
|
|
108
|
+
}
|
|
109
|
+
public setSessionId(sessionId: string|null) {
|
|
110
|
+
this.sessionId = sessionId;
|
|
111
|
+
return this;
|
|
112
|
+
}
|
|
113
|
+
public withSessionId(sessionId: string|null): this {
|
|
114
|
+
this.sessionId = sessionId;
|
|
115
|
+
return this;
|
|
116
|
+
}
|
|
117
|
+
public getName(): string|null {
|
|
118
|
+
return this.name;
|
|
119
|
+
}
|
|
120
|
+
public setName(name: string|null) {
|
|
121
|
+
this.name = name;
|
|
122
|
+
return this;
|
|
123
|
+
}
|
|
124
|
+
public withName(name: string|null): this {
|
|
125
|
+
this.name = name;
|
|
126
|
+
return this;
|
|
127
|
+
}
|
|
128
|
+
public getCreatedAt(): number|null {
|
|
129
|
+
return this.createdAt;
|
|
130
|
+
}
|
|
131
|
+
public setCreatedAt(createdAt: number|null) {
|
|
132
|
+
this.createdAt = createdAt;
|
|
133
|
+
return this;
|
|
134
|
+
}
|
|
135
|
+
public withCreatedAt(createdAt: number|null): this {
|
|
136
|
+
this.createdAt = createdAt;
|
|
137
|
+
return this;
|
|
138
|
+
}
|
|
139
|
+
public getRevision(): number|null {
|
|
140
|
+
return this.revision;
|
|
141
|
+
}
|
|
142
|
+
public setRevision(revision: number|null) {
|
|
143
|
+
this.revision = revision;
|
|
144
|
+
return this;
|
|
145
|
+
}
|
|
146
|
+
public withRevision(revision: number|null): this {
|
|
147
|
+
this.revision = revision;
|
|
148
|
+
return this;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
public static fromDict(data: {[key: string]: any}): MatchSession|null {
|
|
152
|
+
if (data == undefined || data == null) {
|
|
153
|
+
return null;
|
|
154
|
+
}
|
|
155
|
+
return new MatchSession()
|
|
156
|
+
.withSessionId(data["sessionId"])
|
|
157
|
+
.withName(data["name"])
|
|
158
|
+
.withCreatedAt(data["createdAt"])
|
|
159
|
+
.withRevision(data["revision"]);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
public toDict(): {[key: string]: any} {
|
|
163
|
+
return {
|
|
164
|
+
"sessionId": this.getSessionId(),
|
|
165
|
+
"name": this.getName(),
|
|
166
|
+
"createdAt": this.getCreatedAt(),
|
|
167
|
+
"revision": this.getRevision(),
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import IModel from '../../core/interface/IModel';
|
|
2
|
+
import LogSetting from './LogSetting';
|
|
3
|
+
export default class Namespace implements IModel {
|
|
4
|
+
private namespaceId;
|
|
5
|
+
private name;
|
|
6
|
+
private description;
|
|
7
|
+
private logSetting;
|
|
8
|
+
private createdAt;
|
|
9
|
+
private updatedAt;
|
|
10
|
+
private revision;
|
|
11
|
+
static getRegion(grn: string): string | null;
|
|
12
|
+
static getOwnerId(grn: string): string | null;
|
|
13
|
+
static getNamespaceName(grn: string): string | null;
|
|
14
|
+
static isValid(grn: string): boolean;
|
|
15
|
+
static createGrn(region: string | null, ownerId: string | null, namespaceName: string | null): string | null;
|
|
16
|
+
getNamespaceId(): string | null;
|
|
17
|
+
setNamespaceId(namespaceId: string | null): this;
|
|
18
|
+
withNamespaceId(namespaceId: string | null): this;
|
|
19
|
+
getName(): string | null;
|
|
20
|
+
setName(name: string | null): this;
|
|
21
|
+
withName(name: string | null): this;
|
|
22
|
+
getDescription(): string | null;
|
|
23
|
+
setDescription(description: string | null): this;
|
|
24
|
+
withDescription(description: string | null): this;
|
|
25
|
+
getLogSetting(): LogSetting | null;
|
|
26
|
+
setLogSetting(logSetting: LogSetting | null): this;
|
|
27
|
+
withLogSetting(logSetting: LogSetting | null): this;
|
|
28
|
+
getCreatedAt(): number | null;
|
|
29
|
+
setCreatedAt(createdAt: number | null): this;
|
|
30
|
+
withCreatedAt(createdAt: number | null): this;
|
|
31
|
+
getUpdatedAt(): number | null;
|
|
32
|
+
setUpdatedAt(updatedAt: number | null): this;
|
|
33
|
+
withUpdatedAt(updatedAt: number | null): this;
|
|
34
|
+
getRevision(): number | null;
|
|
35
|
+
setRevision(revision: number | null): this;
|
|
36
|
+
withRevision(revision: number | null): this;
|
|
37
|
+
static fromDict(data: {
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
}): Namespace | null;
|
|
40
|
+
toDict(): {
|
|
41
|
+
[key: string]: any;
|
|
42
|
+
};
|
|
43
|
+
}
|