gs2 1.0.2 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/account/model/Account.d.ts +6 -0
- package/account/model/Account.js +67 -0
- package/account/model/Account.js.map +1 -1
- package/account/model/Namespace.d.ts +5 -0
- package/account/model/Namespace.js +49 -0
- package/account/model/Namespace.js.map +1 -1
- package/account/model/TakeOver.d.ts +7 -0
- package/account/model/TakeOver.js +87 -0
- package/account/model/TakeOver.js.map +1 -1
- package/auth/index.d.ts +5 -4
- package/auth/index.js +9 -6
- package/auth/index.js.map +1 -1
- package/auth/model/AccessToken.d.ts +4 -2
- package/auth/model/AccessToken.js +8 -2
- package/auth/model/AccessToken.js.map +1 -1
- package/auth/model/index.d.ts +2 -1
- package/auth/model/index.js +3 -2
- package/auth/model/index.js.map +1 -1
- package/auth/request/LoginBySignatureRequest.d.ts +2 -2
- package/auth/request/LoginBySignatureRequest.js +1 -2
- package/auth/request/LoginBySignatureRequest.js.map +1 -1
- package/auth/request/LoginRequest.d.ts +2 -2
- package/auth/request/LoginRequest.js +1 -2
- package/auth/request/LoginRequest.js.map +1 -1
- package/auth/request/index.d.ts +3 -2
- package/auth/request/index.js +5 -4
- package/auth/request/index.js.map +1 -1
- package/auth/rest.d.ts +1 -1
- package/auth/rest.js +1 -2
- package/auth/rest.js.map +1 -1
- package/auth/result/LoginBySignatureResult.d.ts +2 -2
- package/auth/result/LoginBySignatureResult.js +1 -2
- package/auth/result/LoginBySignatureResult.js.map +1 -1
- package/auth/result/LoginResult.d.ts +2 -2
- package/auth/result/LoginResult.js +1 -2
- package/auth/result/LoginResult.js.map +1 -1
- package/auth/result/index.d.ts +3 -2
- package/auth/result/index.js +5 -4
- package/auth/result/index.js.map +1 -1
- package/chat/model/Message.d.ts +7 -0
- package/chat/model/Message.js +87 -0
- package/chat/model/Message.js.map +1 -1
- package/chat/model/Namespace.d.ts +5 -0
- package/chat/model/Namespace.js +49 -0
- package/chat/model/Namespace.js.map +1 -1
- package/chat/model/Room.d.ts +6 -0
- package/chat/model/Room.js +67 -0
- package/chat/model/Room.js.map +1 -1
- package/chat/model/Subscribe.d.ts +7 -0
- package/chat/model/Subscribe.js +87 -0
- package/chat/model/Subscribe.js.map +1 -1
- package/datastore/model/DataObject.d.ts +7 -0
- package/datastore/model/DataObject.js +87 -0
- package/datastore/model/DataObject.js.map +1 -1
- package/datastore/model/DataObjectHistory.d.ts +8 -0
- package/datastore/model/DataObjectHistory.js +109 -0
- package/datastore/model/DataObjectHistory.js.map +1 -1
- package/datastore/model/Namespace.d.ts +5 -0
- package/datastore/model/Namespace.js +49 -0
- package/datastore/model/Namespace.js.map +1 -1
- package/deploy/index.d.ts +5 -4
- package/deploy/index.js +9 -6
- package/deploy/index.js.map +1 -1
- package/deploy/model/Event.d.ts +8 -2
- package/deploy/model/Event.js +68 -2
- package/deploy/model/Event.js.map +1 -1
- package/deploy/model/GitHubCheckoutSetting.d.ts +2 -2
- package/deploy/model/GitHubCheckoutSetting.js +1 -2
- package/deploy/model/GitHubCheckoutSetting.js.map +1 -1
- package/deploy/model/Output.d.ts +8 -2
- package/deploy/model/Output.js +68 -2
- package/deploy/model/Output.js.map +1 -1
- package/deploy/model/OutputField.d.ts +2 -2
- package/deploy/model/OutputField.js +1 -2
- package/deploy/model/OutputField.js.map +1 -1
- package/deploy/model/Resource.d.ts +9 -3
- package/deploy/model/Resource.js +71 -4
- package/deploy/model/Resource.js.map +1 -1
- package/deploy/model/Stack.d.ts +7 -2
- package/deploy/model/Stack.js +50 -2
- package/deploy/model/Stack.js.map +1 -1
- package/deploy/model/index.d.ts +7 -6
- package/deploy/model/index.js +13 -12
- package/deploy/model/index.js.map +1 -1
- package/deploy/request/CreateStackFromGitHubRequest.d.ts +2 -2
- package/deploy/request/CreateStackFromGitHubRequest.js +1 -2
- package/deploy/request/CreateStackFromGitHubRequest.js.map +1 -1
- package/deploy/request/CreateStackRequest.d.ts +2 -2
- package/deploy/request/CreateStackRequest.js +1 -2
- package/deploy/request/CreateStackRequest.js.map +1 -1
- package/deploy/request/DeleteStackEntityRequest.d.ts +2 -2
- package/deploy/request/DeleteStackEntityRequest.js +1 -2
- package/deploy/request/DeleteStackEntityRequest.js.map +1 -1
- package/deploy/request/DeleteStackRequest.d.ts +2 -2
- package/deploy/request/DeleteStackRequest.js +1 -2
- package/deploy/request/DeleteStackRequest.js.map +1 -1
- package/deploy/request/DeleteStackResourcesRequest.d.ts +2 -2
- package/deploy/request/DeleteStackResourcesRequest.js +1 -2
- package/deploy/request/DeleteStackResourcesRequest.js.map +1 -1
- package/deploy/request/DescribeEventsRequest.d.ts +2 -2
- package/deploy/request/DescribeEventsRequest.js +1 -2
- package/deploy/request/DescribeEventsRequest.js.map +1 -1
- package/deploy/request/DescribeOutputsRequest.d.ts +2 -2
- package/deploy/request/DescribeOutputsRequest.js +1 -2
- package/deploy/request/DescribeOutputsRequest.js.map +1 -1
- package/deploy/request/DescribeResourcesRequest.d.ts +2 -2
- package/deploy/request/DescribeResourcesRequest.js +1 -2
- package/deploy/request/DescribeResourcesRequest.js.map +1 -1
- package/deploy/request/DescribeStacksRequest.d.ts +2 -2
- package/deploy/request/DescribeStacksRequest.js +1 -2
- package/deploy/request/DescribeStacksRequest.js.map +1 -1
- package/deploy/request/ForceDeleteStackRequest.d.ts +2 -2
- package/deploy/request/ForceDeleteStackRequest.js +1 -2
- package/deploy/request/ForceDeleteStackRequest.js.map +1 -1
- package/deploy/request/GetEventRequest.d.ts +2 -2
- package/deploy/request/GetEventRequest.js +1 -2
- package/deploy/request/GetEventRequest.js.map +1 -1
- package/deploy/request/GetOutputRequest.d.ts +2 -2
- package/deploy/request/GetOutputRequest.js +1 -2
- package/deploy/request/GetOutputRequest.js.map +1 -1
- package/deploy/request/GetResourceRequest.d.ts +2 -2
- package/deploy/request/GetResourceRequest.js +1 -2
- package/deploy/request/GetResourceRequest.js.map +1 -1
- package/deploy/request/GetStackRequest.d.ts +2 -2
- package/deploy/request/GetStackRequest.js +1 -2
- package/deploy/request/GetStackRequest.js.map +1 -1
- package/deploy/request/GetStackStatusRequest.d.ts +2 -2
- package/deploy/request/GetStackStatusRequest.js +1 -2
- package/deploy/request/GetStackStatusRequest.js.map +1 -1
- package/deploy/request/UpdateStackFromGitHubRequest.d.ts +2 -2
- package/deploy/request/UpdateStackFromGitHubRequest.js +1 -2
- package/deploy/request/UpdateStackFromGitHubRequest.js.map +1 -1
- package/deploy/request/UpdateStackRequest.d.ts +2 -2
- package/deploy/request/UpdateStackRequest.js +1 -2
- package/deploy/request/UpdateStackRequest.js.map +1 -1
- package/deploy/request/ValidateRequest.d.ts +2 -2
- package/deploy/request/ValidateRequest.js +1 -2
- package/deploy/request/ValidateRequest.js.map +1 -1
- package/deploy/request/index.d.ts +19 -18
- package/deploy/request/index.js +37 -36
- package/deploy/request/index.js.map +1 -1
- package/deploy/rest.d.ts +1 -1
- package/deploy/rest.js +56 -57
- package/deploy/rest.js.map +1 -1
- package/deploy/result/CreateStackFromGitHubResult.d.ts +2 -2
- package/deploy/result/CreateStackFromGitHubResult.js +1 -2
- package/deploy/result/CreateStackFromGitHubResult.js.map +1 -1
- package/deploy/result/CreateStackResult.d.ts +2 -2
- package/deploy/result/CreateStackResult.js +1 -2
- package/deploy/result/CreateStackResult.js.map +1 -1
- package/deploy/result/DeleteStackEntityResult.d.ts +2 -2
- package/deploy/result/DeleteStackEntityResult.js +1 -2
- package/deploy/result/DeleteStackEntityResult.js.map +1 -1
- package/deploy/result/DeleteStackResourcesResult.d.ts +2 -2
- package/deploy/result/DeleteStackResourcesResult.js +1 -2
- package/deploy/result/DeleteStackResourcesResult.js.map +1 -1
- package/deploy/result/DeleteStackResult.d.ts +2 -2
- package/deploy/result/DeleteStackResult.js +1 -2
- package/deploy/result/DeleteStackResult.js.map +1 -1
- package/deploy/result/DescribeEventsResult.d.ts +2 -2
- package/deploy/result/DescribeEventsResult.js +1 -2
- package/deploy/result/DescribeEventsResult.js.map +1 -1
- package/deploy/result/DescribeOutputsResult.d.ts +2 -2
- package/deploy/result/DescribeOutputsResult.js +1 -2
- package/deploy/result/DescribeOutputsResult.js.map +1 -1
- package/deploy/result/DescribeResourcesResult.d.ts +2 -2
- package/deploy/result/DescribeResourcesResult.js +1 -2
- package/deploy/result/DescribeResourcesResult.js.map +1 -1
- package/deploy/result/DescribeStacksResult.d.ts +2 -2
- package/deploy/result/DescribeStacksResult.js +1 -2
- package/deploy/result/DescribeStacksResult.js.map +1 -1
- package/deploy/result/ForceDeleteStackResult.d.ts +2 -2
- package/deploy/result/ForceDeleteStackResult.js +1 -2
- package/deploy/result/ForceDeleteStackResult.js.map +1 -1
- package/deploy/result/GetEventResult.d.ts +2 -2
- package/deploy/result/GetEventResult.js +1 -2
- package/deploy/result/GetEventResult.js.map +1 -1
- package/deploy/result/GetOutputResult.d.ts +2 -2
- package/deploy/result/GetOutputResult.js +1 -2
- package/deploy/result/GetOutputResult.js.map +1 -1
- package/deploy/result/GetResourceResult.d.ts +2 -2
- package/deploy/result/GetResourceResult.js +1 -2
- package/deploy/result/GetResourceResult.js.map +1 -1
- package/deploy/result/GetStackResult.d.ts +2 -2
- package/deploy/result/GetStackResult.js +1 -2
- package/deploy/result/GetStackResult.js.map +1 -1
- package/deploy/result/GetStackStatusResult.d.ts +2 -2
- package/deploy/result/GetStackStatusResult.js +1 -2
- package/deploy/result/GetStackStatusResult.js.map +1 -1
- package/deploy/result/UpdateStackFromGitHubResult.d.ts +2 -2
- package/deploy/result/UpdateStackFromGitHubResult.js +1 -2
- package/deploy/result/UpdateStackFromGitHubResult.js.map +1 -1
- package/deploy/result/UpdateStackResult.d.ts +2 -2
- package/deploy/result/UpdateStackResult.js +1 -2
- package/deploy/result/UpdateStackResult.js.map +1 -1
- package/deploy/result/ValidateResult.d.ts +2 -2
- package/deploy/result/ValidateResult.js +1 -2
- package/deploy/result/ValidateResult.js.map +1 -1
- package/deploy/result/index.d.ts +19 -18
- package/deploy/result/index.js +37 -36
- package/deploy/result/index.js.map +1 -1
- package/dictionary/model/CurrentEntryMaster.d.ts +5 -0
- package/dictionary/model/CurrentEntryMaster.js +49 -0
- package/dictionary/model/CurrentEntryMaster.js.map +1 -1
- package/dictionary/model/Entry.d.ts +7 -0
- package/dictionary/model/Entry.js +87 -0
- package/dictionary/model/Entry.js.map +1 -1
- package/dictionary/model/EntryModel.d.ts +6 -0
- package/dictionary/model/EntryModel.js +67 -0
- package/dictionary/model/EntryModel.js.map +1 -1
- package/dictionary/model/EntryModelMaster.d.ts +6 -0
- package/dictionary/model/EntryModelMaster.js +67 -0
- package/dictionary/model/EntryModelMaster.js.map +1 -1
- package/dictionary/model/Namespace.d.ts +5 -0
- package/dictionary/model/Namespace.js +49 -0
- package/dictionary/model/Namespace.js.map +1 -1
- package/distributor/model/CurrentDistributorMaster.d.ts +5 -0
- package/distributor/model/CurrentDistributorMaster.js +49 -0
- package/distributor/model/CurrentDistributorMaster.js.map +1 -1
- package/distributor/model/DistributorModel.d.ts +6 -0
- package/distributor/model/DistributorModel.js +67 -0
- package/distributor/model/DistributorModel.js.map +1 -1
- package/distributor/model/DistributorModelMaster.d.ts +6 -0
- package/distributor/model/DistributorModelMaster.js +67 -0
- package/distributor/model/DistributorModelMaster.js.map +1 -1
- package/distributor/model/Namespace.d.ts +5 -0
- package/distributor/model/Namespace.js +49 -0
- package/distributor/model/Namespace.js.map +1 -1
- package/enhance/model/CurrentRateMaster.d.ts +5 -0
- package/enhance/model/CurrentRateMaster.js +49 -0
- package/enhance/model/CurrentRateMaster.js.map +1 -1
- package/enhance/model/Namespace.d.ts +5 -0
- package/enhance/model/Namespace.js +49 -0
- package/enhance/model/Namespace.js.map +1 -1
- package/enhance/model/Progress.d.ts +2 -0
- package/enhance/model/Progress.js +7 -0
- package/enhance/model/Progress.js.map +1 -1
- package/enhance/model/RateModel.d.ts +6 -0
- package/enhance/model/RateModel.js +67 -0
- package/enhance/model/RateModel.js.map +1 -1
- package/enhance/model/RateModelMaster.d.ts +6 -0
- package/enhance/model/RateModelMaster.js +67 -0
- package/enhance/model/RateModelMaster.js.map +1 -1
- package/exchange/model/Await.d.ts +7 -0
- package/exchange/model/Await.js +87 -0
- package/exchange/model/Await.js.map +1 -1
- package/exchange/model/CurrentRateMaster.d.ts +5 -0
- package/exchange/model/CurrentRateMaster.js +49 -0
- package/exchange/model/CurrentRateMaster.js.map +1 -1
- package/exchange/model/Namespace.d.ts +5 -0
- package/exchange/model/Namespace.js +49 -0
- package/exchange/model/Namespace.js.map +1 -1
- package/exchange/model/RateModel.d.ts +6 -0
- package/exchange/model/RateModel.js +67 -0
- package/exchange/model/RateModel.js.map +1 -1
- package/exchange/model/RateModelMaster.d.ts +6 -0
- package/exchange/model/RateModelMaster.js +67 -0
- package/exchange/model/RateModelMaster.js.map +1 -1
- package/experience/model/CurrentExperienceMaster.d.ts +5 -0
- package/experience/model/CurrentExperienceMaster.js +49 -0
- package/experience/model/CurrentExperienceMaster.js.map +1 -1
- package/experience/model/ExperienceModel.d.ts +6 -0
- package/experience/model/ExperienceModel.js +67 -0
- package/experience/model/ExperienceModel.js.map +1 -1
- package/experience/model/ExperienceModelMaster.d.ts +6 -0
- package/experience/model/ExperienceModelMaster.js +67 -0
- package/experience/model/ExperienceModelMaster.js.map +1 -1
- package/experience/model/Namespace.d.ts +5 -0
- package/experience/model/Namespace.js +49 -0
- package/experience/model/Namespace.js.map +1 -1
- package/experience/model/Status.d.ts +8 -0
- package/experience/model/Status.js +109 -0
- package/experience/model/Status.js.map +1 -1
- package/experience/model/ThresholdMaster.d.ts +6 -0
- package/experience/model/ThresholdMaster.js +67 -0
- package/experience/model/ThresholdMaster.js.map +1 -1
- package/formation/model/CurrentFormMaster.d.ts +5 -0
- package/formation/model/CurrentFormMaster.js +49 -0
- package/formation/model/CurrentFormMaster.js.map +1 -1
- package/formation/model/Form.d.ts +8 -0
- package/formation/model/Form.js +109 -0
- package/formation/model/Form.js.map +1 -1
- package/formation/model/FormModel.d.ts +6 -0
- package/formation/model/FormModel.js +67 -0
- package/formation/model/FormModel.js.map +1 -1
- package/formation/model/FormModelMaster.d.ts +6 -0
- package/formation/model/FormModelMaster.js +67 -0
- package/formation/model/FormModelMaster.js.map +1 -1
- package/formation/model/Mold.d.ts +7 -0
- package/formation/model/Mold.js +87 -0
- package/formation/model/Mold.js.map +1 -1
- package/formation/model/MoldModel.d.ts +6 -0
- package/formation/model/MoldModel.js +67 -0
- package/formation/model/MoldModel.js.map +1 -1
- package/formation/model/MoldModelMaster.d.ts +6 -0
- package/formation/model/MoldModelMaster.js +67 -0
- package/formation/model/MoldModelMaster.js.map +1 -1
- package/formation/model/Namespace.d.ts +5 -0
- package/formation/model/Namespace.js +49 -0
- package/formation/model/Namespace.js.map +1 -1
- package/friend/model/BlackList.d.ts +6 -0
- package/friend/model/BlackList.js +67 -0
- package/friend/model/BlackList.js.map +1 -1
- package/friend/model/Follow.d.ts +6 -0
- package/friend/model/Follow.js +67 -0
- package/friend/model/Follow.js.map +1 -1
- package/friend/model/FollowUser.d.ts +2 -0
- package/friend/model/FollowUser.js +7 -0
- package/friend/model/FollowUser.js.map +1 -1
- package/friend/model/Friend.d.ts +6 -0
- package/friend/model/Friend.js +67 -0
- package/friend/model/Friend.js.map +1 -1
- package/friend/model/FriendRequest.d.ts +2 -0
- package/friend/model/FriendRequest.js +7 -0
- package/friend/model/FriendRequest.js.map +1 -1
- package/friend/model/FriendUser.d.ts +2 -0
- package/friend/model/FriendUser.js +7 -0
- package/friend/model/FriendUser.js.map +1 -1
- package/friend/model/Inbox.d.ts +6 -0
- package/friend/model/Inbox.js +67 -0
- package/friend/model/Inbox.js.map +1 -1
- package/friend/model/Namespace.d.ts +5 -0
- package/friend/model/Namespace.js +49 -0
- package/friend/model/Namespace.js.map +1 -1
- package/friend/model/Profile.d.ts +6 -0
- package/friend/model/Profile.js +67 -0
- package/friend/model/Profile.js.map +1 -1
- package/friend/model/PublicProfile.d.ts +2 -0
- package/friend/model/PublicProfile.js +7 -0
- package/friend/model/PublicProfile.js.map +1 -1
- package/friend/model/ReceiveFriendRequest.d.ts +2 -0
- package/friend/model/ReceiveFriendRequest.js +7 -0
- package/friend/model/ReceiveFriendRequest.js.map +1 -1
- package/friend/model/SendBox.d.ts +6 -0
- package/friend/model/SendBox.js +67 -0
- package/friend/model/SendBox.js.map +1 -1
- package/friend/model/SendFriendRequest.d.ts +2 -0
- package/friend/model/SendFriendRequest.js +7 -0
- package/friend/model/SendFriendRequest.js.map +1 -1
- package/gateway/model/FirebaseToken.d.ts +6 -0
- package/gateway/model/FirebaseToken.js +67 -0
- package/gateway/model/FirebaseToken.js.map +1 -1
- package/gateway/model/Namespace.d.ts +5 -0
- package/gateway/model/Namespace.js +49 -0
- package/gateway/model/Namespace.js.map +1 -1
- package/gateway/model/WebSocketSession.d.ts +7 -0
- package/gateway/model/WebSocketSession.js +87 -0
- package/gateway/model/WebSocketSession.js.map +1 -1
- package/identifier/model/AttachSecurityPolicy.d.ts +4 -0
- package/identifier/model/AttachSecurityPolicy.js +33 -0
- package/identifier/model/AttachSecurityPolicy.js.map +1 -1
- package/identifier/model/Identifier.d.ts +2 -0
- package/identifier/model/Identifier.js +7 -0
- package/identifier/model/Identifier.js.map +1 -1
- package/identifier/model/Password.d.ts +4 -0
- package/identifier/model/Password.js +33 -0
- package/identifier/model/Password.js.map +1 -1
- package/identifier/model/SecurityPolicy.d.ts +4 -0
- package/identifier/model/SecurityPolicy.js +33 -0
- package/identifier/model/SecurityPolicy.js.map +1 -1
- package/identifier/model/User.d.ts +4 -0
- package/identifier/model/User.js +33 -0
- package/identifier/model/User.js.map +1 -1
- package/inbox/model/CurrentMessageMaster.d.ts +5 -0
- package/inbox/model/CurrentMessageMaster.js +49 -0
- package/inbox/model/CurrentMessageMaster.js.map +1 -1
- package/inbox/model/GlobalMessage.d.ts +6 -0
- package/inbox/model/GlobalMessage.js +67 -0
- package/inbox/model/GlobalMessage.js.map +1 -1
- package/inbox/model/GlobalMessageMaster.d.ts +6 -0
- package/inbox/model/GlobalMessageMaster.js +67 -0
- package/inbox/model/GlobalMessageMaster.js.map +1 -1
- package/inbox/model/Message.d.ts +7 -0
- package/inbox/model/Message.js +87 -0
- package/inbox/model/Message.js.map +1 -1
- package/inbox/model/Namespace.d.ts +5 -0
- package/inbox/model/Namespace.js +49 -0
- package/inbox/model/Namespace.js.map +1 -1
- package/inbox/model/Received.d.ts +6 -0
- package/inbox/model/Received.js +67 -0
- package/inbox/model/Received.js.map +1 -1
- package/inventory/model/CurrentItemModelMaster.d.ts +5 -0
- package/inventory/model/CurrentItemModelMaster.js +49 -0
- package/inventory/model/CurrentItemModelMaster.js.map +1 -1
- package/inventory/model/Inventory.d.ts +7 -0
- package/inventory/model/Inventory.js +87 -0
- package/inventory/model/Inventory.js.map +1 -1
- package/inventory/model/InventoryModel.d.ts +6 -0
- package/inventory/model/InventoryModel.js +67 -0
- package/inventory/model/InventoryModel.js.map +1 -1
- package/inventory/model/InventoryModelMaster.d.ts +6 -0
- package/inventory/model/InventoryModelMaster.js +67 -0
- package/inventory/model/InventoryModelMaster.js.map +1 -1
- package/inventory/model/ItemModel.d.ts +7 -0
- package/inventory/model/ItemModel.js +87 -0
- package/inventory/model/ItemModel.js.map +1 -1
- package/inventory/model/ItemModelMaster.d.ts +7 -0
- package/inventory/model/ItemModelMaster.js +87 -0
- package/inventory/model/ItemModelMaster.js.map +1 -1
- package/inventory/model/ItemSet.d.ts +9 -0
- package/inventory/model/ItemSet.js +133 -0
- package/inventory/model/ItemSet.js.map +1 -1
- package/inventory/model/Namespace.d.ts +5 -0
- package/inventory/model/Namespace.js +49 -0
- package/inventory/model/Namespace.js.map +1 -1
- package/inventory/model/ReferenceOf.d.ts +9 -0
- package/inventory/model/ReferenceOf.js +133 -0
- package/inventory/model/ReferenceOf.js.map +1 -1
- package/jest.config.cjs +0 -1
- package/jobQueue/model/DeadLetterJob.d.ts +7 -0
- package/jobQueue/model/DeadLetterJob.js +87 -0
- package/jobQueue/model/DeadLetterJob.js.map +1 -1
- package/jobQueue/model/Job.d.ts +7 -0
- package/jobQueue/model/Job.js +87 -0
- package/jobQueue/model/Job.js.map +1 -1
- package/jobQueue/model/JobResult.d.ts +8 -0
- package/jobQueue/model/JobResult.js +109 -0
- package/jobQueue/model/JobResult.js.map +1 -1
- package/jobQueue/model/Namespace.d.ts +5 -0
- package/jobQueue/model/Namespace.js +49 -0
- package/jobQueue/model/Namespace.js.map +1 -1
- package/key/model/GitHubApiKey.d.ts +6 -0
- package/key/model/GitHubApiKey.js +67 -0
- package/key/model/GitHubApiKey.js.map +1 -1
- package/key/model/Key.d.ts +6 -0
- package/key/model/Key.js +67 -0
- package/key/model/Key.js.map +1 -1
- package/key/model/Namespace.d.ts +5 -0
- package/key/model/Namespace.js +49 -0
- package/key/model/Namespace.js.map +1 -1
- package/limit/model/Counter.d.ts +8 -0
- package/limit/model/Counter.js +109 -0
- package/limit/model/Counter.js.map +1 -1
- package/limit/model/CurrentLimitMaster.d.ts +5 -0
- package/limit/model/CurrentLimitMaster.js +49 -0
- package/limit/model/CurrentLimitMaster.js.map +1 -1
- package/limit/model/LimitModel.d.ts +6 -0
- package/limit/model/LimitModel.js +67 -0
- package/limit/model/LimitModel.js.map +1 -1
- package/limit/model/LimitModelMaster.d.ts +6 -0
- package/limit/model/LimitModelMaster.js +67 -0
- package/limit/model/LimitModelMaster.js.map +1 -1
- package/limit/model/Namespace.d.ts +5 -0
- package/limit/model/Namespace.js +49 -0
- package/limit/model/Namespace.js.map +1 -1
- package/lock/model/Mutex.d.ts +7 -0
- package/lock/model/Mutex.js +87 -0
- package/lock/model/Mutex.js.map +1 -1
- package/lock/model/Namespace.d.ts +5 -0
- package/lock/model/Namespace.js +49 -0
- package/lock/model/Namespace.js.map +1 -1
- package/log/model/Namespace.d.ts +5 -0
- package/log/model/Namespace.js +49 -0
- package/log/model/Namespace.js.map +1 -1
- package/lottery/model/Box.d.ts +7 -0
- package/lottery/model/Box.js +87 -0
- package/lottery/model/Box.js.map +1 -1
- package/lottery/model/CurrentLotteryMaster.d.ts +5 -0
- package/lottery/model/CurrentLotteryMaster.js +49 -0
- package/lottery/model/CurrentLotteryMaster.js.map +1 -1
- package/lottery/model/LotteryModel.d.ts +6 -0
- package/lottery/model/LotteryModel.js +67 -0
- package/lottery/model/LotteryModel.js.map +1 -1
- package/lottery/model/LotteryModelMaster.d.ts +6 -0
- package/lottery/model/LotteryModelMaster.js +67 -0
- package/lottery/model/LotteryModelMaster.js.map +1 -1
- package/lottery/model/Namespace.d.ts +5 -0
- package/lottery/model/Namespace.js +49 -0
- package/lottery/model/Namespace.js.map +1 -1
- package/lottery/model/PrizeTable.d.ts +6 -0
- package/lottery/model/PrizeTable.js +67 -0
- package/lottery/model/PrizeTable.js.map +1 -1
- package/lottery/model/PrizeTableMaster.d.ts +6 -0
- package/lottery/model/PrizeTableMaster.js +67 -0
- package/lottery/model/PrizeTableMaster.js.map +1 -1
- package/matchmaking/model/CurrentRatingModelMaster.d.ts +5 -0
- package/matchmaking/model/CurrentRatingModelMaster.js +49 -0
- package/matchmaking/model/CurrentRatingModelMaster.js.map +1 -1
- package/matchmaking/model/Gathering.d.ts +6 -0
- package/matchmaking/model/Gathering.js +67 -0
- package/matchmaking/model/Gathering.js.map +1 -1
- package/matchmaking/model/Namespace.d.ts +5 -0
- package/matchmaking/model/Namespace.js +49 -0
- package/matchmaking/model/Namespace.js.map +1 -1
- package/matchmaking/model/Rating.d.ts +7 -0
- package/matchmaking/model/Rating.js +87 -0
- package/matchmaking/model/Rating.js.map +1 -1
- package/matchmaking/model/RatingModel.d.ts +6 -0
- package/matchmaking/model/RatingModel.js +67 -0
- package/matchmaking/model/RatingModel.js.map +1 -1
- package/matchmaking/model/RatingModelMaster.d.ts +6 -0
- package/matchmaking/model/RatingModelMaster.js +67 -0
- package/matchmaking/model/RatingModelMaster.js.map +1 -1
- package/matchmaking/model/Vote.d.ts +7 -0
- package/matchmaking/model/Vote.js +87 -0
- package/matchmaking/model/Vote.js.map +1 -1
- package/mission/model/Complete.d.ts +7 -0
- package/mission/model/Complete.js +87 -0
- package/mission/model/Complete.js.map +1 -1
- package/mission/model/Counter.d.ts +7 -0
- package/mission/model/Counter.js +87 -0
- package/mission/model/Counter.js.map +1 -1
- package/mission/model/CounterModel.d.ts +6 -0
- package/mission/model/CounterModel.js +67 -0
- package/mission/model/CounterModel.js.map +1 -1
- package/mission/model/CounterModelMaster.d.ts +6 -0
- package/mission/model/CounterModelMaster.js +67 -0
- package/mission/model/CounterModelMaster.js.map +1 -1
- package/mission/model/CurrentMissionMaster.d.ts +5 -0
- package/mission/model/CurrentMissionMaster.js +49 -0
- package/mission/model/CurrentMissionMaster.js.map +1 -1
- package/mission/model/MissionGroupModel.d.ts +6 -0
- package/mission/model/MissionGroupModel.js +67 -0
- package/mission/model/MissionGroupModel.js.map +1 -1
- package/mission/model/MissionGroupModelMaster.d.ts +6 -0
- package/mission/model/MissionGroupModelMaster.js +67 -0
- package/mission/model/MissionGroupModelMaster.js.map +1 -1
- package/mission/model/MissionTaskModel.d.ts +7 -0
- package/mission/model/MissionTaskModel.js +87 -0
- package/mission/model/MissionTaskModel.js.map +1 -1
- package/mission/model/MissionTaskModelMaster.d.ts +7 -0
- package/mission/model/MissionTaskModelMaster.js +87 -0
- package/mission/model/MissionTaskModelMaster.js.map +1 -1
- package/mission/model/Namespace.d.ts +5 -0
- package/mission/model/Namespace.js +49 -0
- package/mission/model/Namespace.js.map +1 -1
- package/money/model/Namespace.d.ts +5 -0
- package/money/model/Namespace.js +49 -0
- package/money/model/Namespace.js.map +1 -1
- package/money/model/Receipt.d.ts +7 -0
- package/money/model/Receipt.js +87 -0
- package/money/model/Receipt.js.map +1 -1
- package/money/model/Wallet.d.ts +7 -0
- package/money/model/Wallet.js +87 -0
- package/money/model/Wallet.js.map +1 -1
- package/news/model/Namespace.d.ts +5 -0
- package/news/model/Namespace.js +49 -0
- package/news/model/Namespace.js.map +1 -1
- package/package.json +1 -3
- package/project/index.d.ts +5 -4
- package/project/index.js +9 -6
- package/project/index.js.map +1 -1
- package/project/model/Account.d.ts +5 -2
- package/project/model/Account.js +20 -2
- package/project/model/Account.js.map +1 -1
- package/project/model/Billing.d.ts +8 -2
- package/project/model/Billing.js +68 -2
- package/project/model/Billing.js.map +1 -1
- package/project/model/BillingMethod.d.ts +6 -2
- package/project/model/BillingMethod.js +34 -2
- package/project/model/BillingMethod.js.map +1 -1
- package/project/model/Project.d.ts +6 -2
- package/project/model/Project.js +34 -2
- package/project/model/Project.js.map +1 -1
- package/project/model/Receipt.d.ts +6 -2
- package/project/model/Receipt.js +34 -2
- package/project/model/Receipt.js.map +1 -1
- package/project/model/index.d.ts +6 -5
- package/project/model/index.js +11 -10
- package/project/model/index.js.map +1 -1
- package/project/request/CreateAccountRequest.d.ts +2 -2
- package/project/request/CreateAccountRequest.js +1 -2
- package/project/request/CreateAccountRequest.js.map +1 -1
- package/project/request/CreateBillingMethodRequest.d.ts +2 -2
- package/project/request/CreateBillingMethodRequest.js +1 -2
- package/project/request/CreateBillingMethodRequest.js.map +1 -1
- package/project/request/CreateProjectRequest.d.ts +2 -2
- package/project/request/CreateProjectRequest.js +1 -2
- package/project/request/CreateProjectRequest.js.map +1 -1
- package/project/request/DeleteAccountRequest.d.ts +2 -2
- package/project/request/DeleteAccountRequest.js +1 -2
- package/project/request/DeleteAccountRequest.js.map +1 -1
- package/project/request/DeleteBillingMethodRequest.d.ts +2 -2
- package/project/request/DeleteBillingMethodRequest.js +1 -2
- package/project/request/DeleteBillingMethodRequest.js.map +1 -1
- package/project/request/DeleteProjectRequest.d.ts +2 -2
- package/project/request/DeleteProjectRequest.js +1 -2
- package/project/request/DeleteProjectRequest.js.map +1 -1
- package/project/request/DescribeBillingMethodsRequest.d.ts +2 -2
- package/project/request/DescribeBillingMethodsRequest.js +1 -2
- package/project/request/DescribeBillingMethodsRequest.js.map +1 -1
- package/project/request/DescribeBillingsRequest.d.ts +2 -2
- package/project/request/DescribeBillingsRequest.js +1 -2
- package/project/request/DescribeBillingsRequest.js.map +1 -1
- package/project/request/DescribeProjectsRequest.d.ts +2 -2
- package/project/request/DescribeProjectsRequest.js +1 -2
- package/project/request/DescribeProjectsRequest.js.map +1 -1
- package/project/request/DescribeReceiptsRequest.d.ts +2 -2
- package/project/request/DescribeReceiptsRequest.js +1 -2
- package/project/request/DescribeReceiptsRequest.js.map +1 -1
- package/project/request/ForgetRequest.d.ts +2 -2
- package/project/request/ForgetRequest.js +1 -2
- package/project/request/ForgetRequest.js.map +1 -1
- package/project/request/GetBillingMethodRequest.d.ts +2 -2
- package/project/request/GetBillingMethodRequest.js +1 -2
- package/project/request/GetBillingMethodRequest.js.map +1 -1
- package/project/request/GetProjectRequest.d.ts +2 -2
- package/project/request/GetProjectRequest.js +1 -2
- package/project/request/GetProjectRequest.js.map +1 -1
- package/project/request/GetProjectTokenByIdentifierRequest.d.ts +2 -2
- package/project/request/GetProjectTokenByIdentifierRequest.js +1 -2
- package/project/request/GetProjectTokenByIdentifierRequest.js.map +1 -1
- package/project/request/GetProjectTokenRequest.d.ts +2 -2
- package/project/request/GetProjectTokenRequest.js +1 -2
- package/project/request/GetProjectTokenRequest.js.map +1 -1
- package/project/request/IssueAccountTokenRequest.d.ts +2 -2
- package/project/request/IssueAccountTokenRequest.js +1 -2
- package/project/request/IssueAccountTokenRequest.js.map +1 -1
- package/project/request/IssuePasswordRequest.d.ts +2 -2
- package/project/request/IssuePasswordRequest.js +1 -2
- package/project/request/IssuePasswordRequest.js.map +1 -1
- package/project/request/SignInRequest.d.ts +2 -2
- package/project/request/SignInRequest.js +1 -2
- package/project/request/SignInRequest.js.map +1 -1
- package/project/request/UpdateAccountRequest.d.ts +2 -2
- package/project/request/UpdateAccountRequest.js +1 -2
- package/project/request/UpdateAccountRequest.js.map +1 -1
- package/project/request/UpdateBillingMethodRequest.d.ts +2 -2
- package/project/request/UpdateBillingMethodRequest.js +1 -2
- package/project/request/UpdateBillingMethodRequest.js.map +1 -1
- package/project/request/UpdateProjectRequest.d.ts +2 -2
- package/project/request/UpdateProjectRequest.js +1 -2
- package/project/request/UpdateProjectRequest.js.map +1 -1
- package/project/request/VerifyRequest.d.ts +2 -2
- package/project/request/VerifyRequest.js +1 -2
- package/project/request/VerifyRequest.js.map +1 -1
- package/project/request/index.d.ts +23 -22
- package/project/request/index.js +45 -44
- package/project/request/index.js.map +1 -1
- package/project/rest.d.ts +1 -1
- package/project/rest.js +50 -51
- package/project/rest.js.map +1 -1
- package/project/result/CreateAccountResult.d.ts +2 -2
- package/project/result/CreateAccountResult.js +1 -2
- package/project/result/CreateAccountResult.js.map +1 -1
- package/project/result/CreateBillingMethodResult.d.ts +2 -2
- package/project/result/CreateBillingMethodResult.js +1 -2
- package/project/result/CreateBillingMethodResult.js.map +1 -1
- package/project/result/CreateProjectResult.d.ts +2 -2
- package/project/result/CreateProjectResult.js +1 -2
- package/project/result/CreateProjectResult.js.map +1 -1
- package/project/result/DeleteAccountResult.d.ts +2 -2
- package/project/result/DeleteAccountResult.js +1 -2
- package/project/result/DeleteAccountResult.js.map +1 -1
- package/project/result/DeleteBillingMethodResult.d.ts +2 -2
- package/project/result/DeleteBillingMethodResult.js +1 -2
- package/project/result/DeleteBillingMethodResult.js.map +1 -1
- package/project/result/DeleteProjectResult.d.ts +2 -2
- package/project/result/DeleteProjectResult.js +1 -2
- package/project/result/DeleteProjectResult.js.map +1 -1
- package/project/result/DescribeBillingMethodsResult.d.ts +2 -2
- package/project/result/DescribeBillingMethodsResult.js +1 -2
- package/project/result/DescribeBillingMethodsResult.js.map +1 -1
- package/project/result/DescribeBillingsResult.d.ts +2 -2
- package/project/result/DescribeBillingsResult.js +1 -2
- package/project/result/DescribeBillingsResult.js.map +1 -1
- package/project/result/DescribeProjectsResult.d.ts +2 -2
- package/project/result/DescribeProjectsResult.js +1 -2
- package/project/result/DescribeProjectsResult.js.map +1 -1
- package/project/result/DescribeReceiptsResult.d.ts +2 -2
- package/project/result/DescribeReceiptsResult.js +1 -2
- package/project/result/DescribeReceiptsResult.js.map +1 -1
- package/project/result/ForgetResult.d.ts +2 -2
- package/project/result/ForgetResult.js +1 -2
- package/project/result/ForgetResult.js.map +1 -1
- package/project/result/GetBillingMethodResult.d.ts +2 -2
- package/project/result/GetBillingMethodResult.js +1 -2
- package/project/result/GetBillingMethodResult.js.map +1 -1
- package/project/result/GetProjectResult.d.ts +2 -2
- package/project/result/GetProjectResult.js +1 -2
- package/project/result/GetProjectResult.js.map +1 -1
- package/project/result/GetProjectTokenByIdentifierResult.d.ts +2 -2
- package/project/result/GetProjectTokenByIdentifierResult.js +1 -2
- package/project/result/GetProjectTokenByIdentifierResult.js.map +1 -1
- package/project/result/GetProjectTokenResult.d.ts +2 -2
- package/project/result/GetProjectTokenResult.js +1 -2
- package/project/result/GetProjectTokenResult.js.map +1 -1
- package/project/result/IssueAccountTokenResult.d.ts +2 -2
- package/project/result/IssueAccountTokenResult.js +1 -2
- package/project/result/IssueAccountTokenResult.js.map +1 -1
- package/project/result/IssuePasswordResult.d.ts +2 -2
- package/project/result/IssuePasswordResult.js +1 -2
- package/project/result/IssuePasswordResult.js.map +1 -1
- package/project/result/SignInResult.d.ts +2 -2
- package/project/result/SignInResult.js +1 -2
- package/project/result/SignInResult.js.map +1 -1
- package/project/result/UpdateAccountResult.d.ts +2 -2
- package/project/result/UpdateAccountResult.js +1 -2
- package/project/result/UpdateAccountResult.js.map +1 -1
- package/project/result/UpdateBillingMethodResult.d.ts +2 -2
- package/project/result/UpdateBillingMethodResult.js +1 -2
- package/project/result/UpdateBillingMethodResult.js.map +1 -1
- package/project/result/UpdateProjectResult.d.ts +2 -2
- package/project/result/UpdateProjectResult.js +1 -2
- package/project/result/UpdateProjectResult.js.map +1 -1
- package/project/result/VerifyResult.d.ts +2 -2
- package/project/result/VerifyResult.js +1 -2
- package/project/result/VerifyResult.js.map +1 -1
- package/project/result/index.d.ts +23 -22
- package/project/result/index.js +45 -44
- package/project/result/index.js.map +1 -1
- package/quest/model/CompletedQuestList.d.ts +7 -0
- package/quest/model/CompletedQuestList.js +87 -0
- package/quest/model/CompletedQuestList.js.map +1 -1
- package/quest/model/CurrentQuestMaster.d.ts +5 -0
- package/quest/model/CurrentQuestMaster.js +49 -0
- package/quest/model/CurrentQuestMaster.js.map +1 -1
- package/quest/model/Namespace.d.ts +5 -0
- package/quest/model/Namespace.js +49 -0
- package/quest/model/Namespace.js.map +1 -1
- package/quest/model/Progress.d.ts +6 -0
- package/quest/model/Progress.js +67 -0
- package/quest/model/Progress.js.map +1 -1
- package/quest/model/QuestGroupModel.d.ts +6 -0
- package/quest/model/QuestGroupModel.js +67 -0
- package/quest/model/QuestGroupModel.js.map +1 -1
- package/quest/model/QuestGroupModelMaster.d.ts +6 -0
- package/quest/model/QuestGroupModelMaster.js +67 -0
- package/quest/model/QuestGroupModelMaster.js.map +1 -1
- package/quest/model/QuestModel.d.ts +7 -0
- package/quest/model/QuestModel.js +87 -0
- package/quest/model/QuestModel.js.map +1 -1
- package/quest/model/QuestModelMaster.d.ts +7 -0
- package/quest/model/QuestModelMaster.js +87 -0
- package/quest/model/QuestModelMaster.js.map +1 -1
- package/ranking/model/CategoryModel.d.ts +6 -0
- package/ranking/model/CategoryModel.js +67 -0
- package/ranking/model/CategoryModel.js.map +1 -1
- package/ranking/model/CategoryModelMaster.d.ts +6 -0
- package/ranking/model/CategoryModelMaster.js +67 -0
- package/ranking/model/CategoryModelMaster.js.map +1 -1
- package/ranking/model/CurrentRankingMaster.d.ts +5 -0
- package/ranking/model/CurrentRankingMaster.js +49 -0
- package/ranking/model/CurrentRankingMaster.js.map +1 -1
- package/ranking/model/Namespace.d.ts +5 -0
- package/ranking/model/Namespace.js +49 -0
- package/ranking/model/Namespace.js.map +1 -1
- package/ranking/model/Score.d.ts +9 -0
- package/ranking/model/Score.js +133 -0
- package/ranking/model/Score.js.map +1 -1
- package/ranking/model/Subscribe.d.ts +7 -0
- package/ranking/model/Subscribe.js +87 -0
- package/ranking/model/Subscribe.js.map +1 -1
- package/realtime/model/Namespace.d.ts +5 -0
- package/realtime/model/Namespace.js +49 -0
- package/realtime/model/Namespace.js.map +1 -1
- package/realtime/model/Room.d.ts +6 -0
- package/realtime/model/Room.js +67 -0
- package/realtime/model/Room.js.map +1 -1
- package/schedule/model/CurrentEventMaster.d.ts +5 -0
- package/schedule/model/CurrentEventMaster.js +49 -0
- package/schedule/model/CurrentEventMaster.js.map +1 -1
- package/schedule/model/Event.d.ts +6 -0
- package/schedule/model/Event.js +67 -0
- package/schedule/model/Event.js.map +1 -1
- package/schedule/model/EventMaster.d.ts +6 -0
- package/schedule/model/EventMaster.js +67 -0
- package/schedule/model/EventMaster.js.map +1 -1
- package/schedule/model/Namespace.d.ts +5 -0
- package/schedule/model/Namespace.js +49 -0
- package/schedule/model/Namespace.js.map +1 -1
- package/schedule/model/Trigger.d.ts +7 -0
- package/schedule/model/Trigger.js +87 -0
- package/schedule/model/Trigger.js.map +1 -1
- package/script/model/Namespace.d.ts +5 -0
- package/script/model/Namespace.js +49 -0
- package/script/model/Namespace.js.map +1 -1
- package/script/model/Script.d.ts +6 -0
- package/script/model/Script.js +67 -0
- package/script/model/Script.js.map +1 -1
- package/showcase/model/CurrentShowcaseMaster.d.ts +5 -0
- package/showcase/model/CurrentShowcaseMaster.js +49 -0
- package/showcase/model/CurrentShowcaseMaster.js.map +1 -1
- package/showcase/model/Namespace.d.ts +5 -0
- package/showcase/model/Namespace.js +49 -0
- package/showcase/model/Namespace.js.map +1 -1
- package/showcase/model/SalesItemGroupMaster.d.ts +6 -0
- package/showcase/model/SalesItemGroupMaster.js +67 -0
- package/showcase/model/SalesItemGroupMaster.js.map +1 -1
- package/showcase/model/SalesItemMaster.d.ts +6 -0
- package/showcase/model/SalesItemMaster.js +67 -0
- package/showcase/model/SalesItemMaster.js.map +1 -1
- package/showcase/model/Showcase.d.ts +6 -0
- package/showcase/model/Showcase.js +67 -0
- package/showcase/model/Showcase.js.map +1 -1
- package/showcase/model/ShowcaseMaster.d.ts +6 -0
- package/showcase/model/ShowcaseMaster.js +67 -0
- package/showcase/model/ShowcaseMaster.js.map +1 -1
- package/src/account/model/Account.ts +82 -0
- package/src/account/model/Namespace.ts +61 -0
- package/src/account/model/TakeOver.ts +105 -0
- package/src/auth/index.ts +11 -4
- package/src/auth/model/AccessToken.ts +12 -2
- package/src/auth/model/index.ts +5 -1
- package/src/auth/request/LoginBySignatureRequest.ts +2 -2
- package/src/auth/request/LoginRequest.ts +2 -2
- package/src/auth/request/index.ts +7 -2
- package/src/auth/rest.ts +1 -1
- package/src/auth/result/LoginBySignatureResult.ts +2 -2
- package/src/auth/result/LoginResult.ts +2 -2
- package/src/auth/result/index.ts +7 -2
- package/src/chat/model/Message.ts +105 -0
- package/src/chat/model/Namespace.ts +61 -0
- package/src/chat/model/Room.ts +82 -0
- package/src/chat/model/Subscribe.ts +105 -0
- package/src/datastore/model/DataObject.ts +105 -0
- package/src/datastore/model/DataObjectHistory.ts +130 -0
- package/src/datastore/model/Namespace.ts +61 -0
- package/src/deploy/index.ts +11 -4
- package/src/deploy/model/Event.ts +84 -2
- package/src/deploy/model/GitHubCheckoutSetting.ts +2 -2
- package/src/deploy/model/Output.ts +84 -2
- package/src/deploy/model/OutputField.ts +2 -2
- package/src/deploy/model/Resource.ts +85 -3
- package/src/deploy/model/Stack.ts +63 -2
- package/src/deploy/model/index.ts +15 -6
- package/src/deploy/request/CreateStackFromGitHubRequest.ts +2 -2
- package/src/deploy/request/CreateStackRequest.ts +2 -2
- package/src/deploy/request/DeleteStackEntityRequest.ts +2 -2
- package/src/deploy/request/DeleteStackRequest.ts +2 -2
- package/src/deploy/request/DeleteStackResourcesRequest.ts +2 -2
- package/src/deploy/request/DescribeEventsRequest.ts +2 -2
- package/src/deploy/request/DescribeOutputsRequest.ts +2 -2
- package/src/deploy/request/DescribeResourcesRequest.ts +2 -2
- package/src/deploy/request/DescribeStacksRequest.ts +2 -2
- package/src/deploy/request/ForceDeleteStackRequest.ts +2 -2
- package/src/deploy/request/GetEventRequest.ts +2 -2
- package/src/deploy/request/GetOutputRequest.ts +2 -2
- package/src/deploy/request/GetResourceRequest.ts +2 -2
- package/src/deploy/request/GetStackRequest.ts +2 -2
- package/src/deploy/request/GetStackStatusRequest.ts +2 -2
- package/src/deploy/request/UpdateStackFromGitHubRequest.ts +2 -2
- package/src/deploy/request/UpdateStackRequest.ts +2 -2
- package/src/deploy/request/ValidateRequest.ts +2 -2
- package/src/deploy/request/index.ts +39 -18
- package/src/deploy/rest.ts +18 -18
- package/src/deploy/result/CreateStackFromGitHubResult.ts +2 -2
- package/src/deploy/result/CreateStackResult.ts +2 -2
- package/src/deploy/result/DeleteStackEntityResult.ts +2 -2
- package/src/deploy/result/DeleteStackResourcesResult.ts +2 -2
- package/src/deploy/result/DeleteStackResult.ts +2 -2
- package/src/deploy/result/DescribeEventsResult.ts +2 -2
- package/src/deploy/result/DescribeOutputsResult.ts +2 -2
- package/src/deploy/result/DescribeResourcesResult.ts +2 -2
- package/src/deploy/result/DescribeStacksResult.ts +2 -2
- package/src/deploy/result/ForceDeleteStackResult.ts +2 -2
- package/src/deploy/result/GetEventResult.ts +2 -2
- package/src/deploy/result/GetOutputResult.ts +2 -2
- package/src/deploy/result/GetResourceResult.ts +2 -2
- package/src/deploy/result/GetStackResult.ts +2 -2
- package/src/deploy/result/GetStackStatusResult.ts +2 -2
- package/src/deploy/result/UpdateStackFromGitHubResult.ts +2 -2
- package/src/deploy/result/UpdateStackResult.ts +2 -2
- package/src/deploy/result/ValidateResult.ts +2 -2
- package/src/deploy/result/index.ts +39 -18
- package/src/dictionary/model/CurrentEntryMaster.ts +61 -0
- package/src/dictionary/model/Entry.ts +105 -0
- package/src/dictionary/model/EntryModel.ts +82 -0
- package/src/dictionary/model/EntryModelMaster.ts +82 -0
- package/src/dictionary/model/Namespace.ts +61 -0
- package/src/distributor/model/CurrentDistributorMaster.ts +61 -0
- package/src/distributor/model/DistributorModel.ts +82 -0
- package/src/distributor/model/DistributorModelMaster.ts +82 -0
- package/src/distributor/model/Namespace.ts +61 -0
- package/src/enhance/model/CurrentRateMaster.ts +61 -0
- package/src/enhance/model/Namespace.ts +61 -0
- package/src/enhance/model/Progress.ts +10 -0
- package/src/enhance/model/RateModel.ts +82 -0
- package/src/enhance/model/RateModelMaster.ts +82 -0
- package/src/exchange/model/Await.ts +105 -0
- package/src/exchange/model/CurrentRateMaster.ts +61 -0
- package/src/exchange/model/Namespace.ts +61 -0
- package/src/exchange/model/RateModel.ts +82 -0
- package/src/exchange/model/RateModelMaster.ts +82 -0
- package/src/experience/model/CurrentExperienceMaster.ts +61 -0
- package/src/experience/model/ExperienceModel.ts +82 -0
- package/src/experience/model/ExperienceModelMaster.ts +82 -0
- package/src/experience/model/Namespace.ts +61 -0
- package/src/experience/model/Status.ts +130 -0
- package/src/experience/model/ThresholdMaster.ts +82 -0
- package/src/formation/model/CurrentFormMaster.ts +61 -0
- package/src/formation/model/Form.ts +130 -0
- package/src/formation/model/FormModel.ts +82 -0
- package/src/formation/model/FormModelMaster.ts +82 -0
- package/src/formation/model/Mold.ts +105 -0
- package/src/formation/model/MoldModel.ts +82 -0
- package/src/formation/model/MoldModelMaster.ts +82 -0
- package/src/formation/model/Namespace.ts +61 -0
- package/src/friend/model/BlackList.ts +82 -0
- package/src/friend/model/Follow.ts +82 -0
- package/src/friend/model/FollowUser.ts +10 -0
- package/src/friend/model/Friend.ts +82 -0
- package/src/friend/model/FriendRequest.ts +10 -0
- package/src/friend/model/FriendUser.ts +10 -0
- package/src/friend/model/Inbox.ts +82 -0
- package/src/friend/model/Namespace.ts +61 -0
- package/src/friend/model/Profile.ts +82 -0
- package/src/friend/model/PublicProfile.ts +10 -0
- package/src/friend/model/ReceiveFriendRequest.ts +10 -0
- package/src/friend/model/SendBox.ts +82 -0
- package/src/friend/model/SendFriendRequest.ts +10 -0
- package/src/gateway/model/FirebaseToken.ts +82 -0
- package/src/gateway/model/Namespace.ts +61 -0
- package/src/gateway/model/WebSocketSession.ts +105 -0
- package/src/identifier/model/AttachSecurityPolicy.ts +42 -0
- package/src/identifier/model/Identifier.ts +10 -0
- package/src/identifier/model/Password.ts +42 -0
- package/src/identifier/model/SecurityPolicy.ts +42 -0
- package/src/identifier/model/User.ts +42 -0
- package/src/inbox/model/CurrentMessageMaster.ts +61 -0
- package/src/inbox/model/GlobalMessage.ts +82 -0
- package/src/inbox/model/GlobalMessageMaster.ts +82 -0
- package/src/inbox/model/Message.ts +105 -0
- package/src/inbox/model/Namespace.ts +61 -0
- package/src/inbox/model/Received.ts +82 -0
- package/src/inventory/model/CurrentItemModelMaster.ts +61 -0
- package/src/inventory/model/Inventory.ts +105 -0
- package/src/inventory/model/InventoryModel.ts +82 -0
- package/src/inventory/model/InventoryModelMaster.ts +82 -0
- package/src/inventory/model/ItemModel.ts +105 -0
- package/src/inventory/model/ItemModelMaster.ts +105 -0
- package/src/inventory/model/ItemSet.ts +157 -0
- package/src/inventory/model/Namespace.ts +61 -0
- package/src/inventory/model/ReferenceOf.ts +157 -0
- package/src/jobQueue/model/DeadLetterJob.ts +105 -0
- package/src/jobQueue/model/Job.ts +105 -0
- package/src/jobQueue/model/JobResult.ts +130 -0
- package/src/jobQueue/model/Namespace.ts +61 -0
- package/src/key/model/GitHubApiKey.ts +82 -0
- package/src/key/model/Key.ts +82 -0
- package/src/key/model/Namespace.ts +61 -0
- package/src/limit/model/Counter.ts +130 -0
- package/src/limit/model/CurrentLimitMaster.ts +61 -0
- package/src/limit/model/LimitModel.ts +82 -0
- package/src/limit/model/LimitModelMaster.ts +82 -0
- package/src/limit/model/Namespace.ts +61 -0
- package/src/lock/model/Mutex.ts +105 -0
- package/src/lock/model/Namespace.ts +61 -0
- package/src/log/model/Namespace.ts +61 -0
- package/src/lottery/model/Box.ts +105 -0
- package/src/lottery/model/CurrentLotteryMaster.ts +61 -0
- package/src/lottery/model/LotteryModel.ts +82 -0
- package/src/lottery/model/LotteryModelMaster.ts +82 -0
- package/src/lottery/model/Namespace.ts +61 -0
- package/src/lottery/model/PrizeTable.ts +82 -0
- package/src/lottery/model/PrizeTableMaster.ts +82 -0
- package/src/matchmaking/model/CurrentRatingModelMaster.ts +61 -0
- package/src/matchmaking/model/Gathering.ts +82 -0
- package/src/matchmaking/model/Namespace.ts +61 -0
- package/src/matchmaking/model/Rating.ts +105 -0
- package/src/matchmaking/model/RatingModel.ts +82 -0
- package/src/matchmaking/model/RatingModelMaster.ts +82 -0
- package/src/matchmaking/model/Vote.ts +105 -0
- package/src/mission/model/Complete.ts +105 -0
- package/src/mission/model/Counter.ts +105 -0
- package/src/mission/model/CounterModel.ts +82 -0
- package/src/mission/model/CounterModelMaster.ts +82 -0
- package/src/mission/model/CurrentMissionMaster.ts +61 -0
- package/src/mission/model/MissionGroupModel.ts +82 -0
- package/src/mission/model/MissionGroupModelMaster.ts +82 -0
- package/src/mission/model/MissionTaskModel.ts +105 -0
- package/src/mission/model/MissionTaskModelMaster.ts +105 -0
- package/src/mission/model/Namespace.ts +61 -0
- package/src/money/model/Namespace.ts +61 -0
- package/src/money/model/Receipt.ts +105 -0
- package/src/money/model/Wallet.ts +105 -0
- package/src/news/model/Namespace.ts +61 -0
- package/src/project/index.ts +11 -4
- package/src/project/model/Account.ts +27 -2
- package/src/project/model/Billing.ts +84 -2
- package/src/project/model/BillingMethod.ts +44 -2
- package/src/project/model/Project.ts +44 -2
- package/src/project/model/Receipt.ts +44 -2
- package/src/project/model/index.ts +13 -5
- package/src/project/request/CreateAccountRequest.ts +2 -2
- package/src/project/request/CreateBillingMethodRequest.ts +2 -2
- package/src/project/request/CreateProjectRequest.ts +2 -2
- package/src/project/request/DeleteAccountRequest.ts +2 -2
- package/src/project/request/DeleteBillingMethodRequest.ts +2 -2
- package/src/project/request/DeleteProjectRequest.ts +2 -2
- package/src/project/request/DescribeBillingMethodsRequest.ts +2 -2
- package/src/project/request/DescribeBillingsRequest.ts +2 -2
- package/src/project/request/DescribeProjectsRequest.ts +2 -2
- package/src/project/request/DescribeReceiptsRequest.ts +2 -2
- package/src/project/request/ForgetRequest.ts +2 -2
- package/src/project/request/GetBillingMethodRequest.ts +2 -2
- package/src/project/request/GetProjectRequest.ts +2 -2
- package/src/project/request/GetProjectTokenByIdentifierRequest.ts +2 -2
- package/src/project/request/GetProjectTokenRequest.ts +2 -2
- package/src/project/request/IssueAccountTokenRequest.ts +2 -2
- package/src/project/request/IssuePasswordRequest.ts +2 -2
- package/src/project/request/SignInRequest.ts +2 -2
- package/src/project/request/UpdateAccountRequest.ts +2 -2
- package/src/project/request/UpdateBillingMethodRequest.ts +2 -2
- package/src/project/request/UpdateProjectRequest.ts +2 -2
- package/src/project/request/VerifyRequest.ts +2 -2
- package/src/project/request/index.ts +47 -22
- package/src/project/rest.ts +14 -14
- package/src/project/result/CreateAccountResult.ts +2 -2
- package/src/project/result/CreateBillingMethodResult.ts +2 -2
- package/src/project/result/CreateProjectResult.ts +2 -2
- package/src/project/result/DeleteAccountResult.ts +2 -2
- package/src/project/result/DeleteBillingMethodResult.ts +2 -2
- package/src/project/result/DeleteProjectResult.ts +2 -2
- package/src/project/result/DescribeBillingMethodsResult.ts +2 -2
- package/src/project/result/DescribeBillingsResult.ts +2 -2
- package/src/project/result/DescribeProjectsResult.ts +2 -2
- package/src/project/result/DescribeReceiptsResult.ts +2 -2
- package/src/project/result/ForgetResult.ts +2 -2
- package/src/project/result/GetBillingMethodResult.ts +2 -2
- package/src/project/result/GetProjectResult.ts +2 -2
- package/src/project/result/GetProjectTokenByIdentifierResult.ts +2 -2
- package/src/project/result/GetProjectTokenResult.ts +2 -2
- package/src/project/result/IssueAccountTokenResult.ts +2 -2
- package/src/project/result/IssuePasswordResult.ts +2 -2
- package/src/project/result/SignInResult.ts +2 -2
- package/src/project/result/UpdateAccountResult.ts +2 -2
- package/src/project/result/UpdateBillingMethodResult.ts +2 -2
- package/src/project/result/UpdateProjectResult.ts +2 -2
- package/src/project/result/VerifyResult.ts +2 -2
- package/src/project/result/index.ts +47 -22
- package/src/quest/model/CompletedQuestList.ts +105 -0
- package/src/quest/model/CurrentQuestMaster.ts +61 -0
- package/src/quest/model/Namespace.ts +61 -0
- package/src/quest/model/Progress.ts +82 -0
- package/src/quest/model/QuestGroupModel.ts +82 -0
- package/src/quest/model/QuestGroupModelMaster.ts +82 -0
- package/src/quest/model/QuestModel.ts +105 -0
- package/src/quest/model/QuestModelMaster.ts +105 -0
- package/src/ranking/model/CategoryModel.ts +82 -0
- package/src/ranking/model/CategoryModelMaster.ts +82 -0
- package/src/ranking/model/CurrentRankingMaster.ts +61 -0
- package/src/ranking/model/Namespace.ts +61 -0
- package/src/ranking/model/Score.ts +157 -0
- package/src/ranking/model/Subscribe.ts +105 -0
- package/src/realtime/model/Namespace.ts +61 -0
- package/src/realtime/model/Room.ts +82 -0
- package/src/schedule/model/CurrentEventMaster.ts +61 -0
- package/src/schedule/model/Event.ts +82 -0
- package/src/schedule/model/EventMaster.ts +82 -0
- package/src/schedule/model/Namespace.ts +61 -0
- package/src/schedule/model/Trigger.ts +105 -0
- package/src/script/model/Namespace.ts +61 -0
- package/src/script/model/Script.ts +82 -0
- package/src/showcase/model/CurrentShowcaseMaster.ts +61 -0
- package/src/showcase/model/Namespace.ts +61 -0
- package/src/showcase/model/SalesItemGroupMaster.ts +82 -0
- package/src/showcase/model/SalesItemMaster.ts +82 -0
- package/src/showcase/model/Showcase.ts +82 -0
- package/src/showcase/model/ShowcaseMaster.ts +82 -0
- package/src/stamina/model/CurrentStaminaMaster.ts +61 -0
- package/src/stamina/model/MaxStaminaTable.ts +82 -0
- package/src/stamina/model/MaxStaminaTableMaster.ts +82 -0
- package/src/stamina/model/Namespace.ts +61 -0
- package/src/stamina/model/RecoverIntervalTable.ts +82 -0
- package/src/stamina/model/RecoverIntervalTableMaster.ts +82 -0
- package/src/stamina/model/RecoverValueTable.ts +82 -0
- package/src/stamina/model/RecoverValueTableMaster.ts +82 -0
- package/src/stamina/model/Stamina.ts +105 -0
- package/src/stamina/model/StaminaModel.ts +82 -0
- package/src/stamina/model/StaminaModelMaster.ts +82 -0
- package/src/version/model/AcceptVersion.ts +105 -0
- package/src/version/model/CurrentVersionMaster.ts +61 -0
- package/src/version/model/Namespace.ts +61 -0
- package/src/version/model/VersionModel.ts +82 -0
- package/src/version/model/VersionModelMaster.ts +82 -0
- package/src/watch/index.ts +11 -4
- package/src/watch/model/BillingActivity.ts +2 -2
- package/src/watch/model/Chart.ts +2 -2
- package/src/watch/model/Cumulative.ts +2 -2
- package/src/watch/model/index.ts +9 -3
- package/src/watch/request/DescribeBillingActivitiesRequest.ts +2 -2
- package/src/watch/request/GetBillingActivityRequest.ts +2 -2
- package/src/watch/request/GetChartRequest.ts +2 -2
- package/src/watch/request/GetCumulativeRequest.ts +2 -2
- package/src/watch/request/index.ts +11 -4
- package/src/watch/rest.ts +9 -9
- package/src/watch/result/DescribeBillingActivitiesResult.ts +2 -2
- package/src/watch/result/GetBillingActivityResult.ts +2 -2
- package/src/watch/result/GetChartResult.ts +2 -2
- package/src/watch/result/GetCumulativeResult.ts +2 -2
- package/src/watch/result/index.ts +11 -4
- package/stamina/model/CurrentStaminaMaster.d.ts +5 -0
- package/stamina/model/CurrentStaminaMaster.js +49 -0
- package/stamina/model/CurrentStaminaMaster.js.map +1 -1
- package/stamina/model/MaxStaminaTable.d.ts +6 -0
- package/stamina/model/MaxStaminaTable.js +67 -0
- package/stamina/model/MaxStaminaTable.js.map +1 -1
- package/stamina/model/MaxStaminaTableMaster.d.ts +6 -0
- package/stamina/model/MaxStaminaTableMaster.js +67 -0
- package/stamina/model/MaxStaminaTableMaster.js.map +1 -1
- package/stamina/model/Namespace.d.ts +5 -0
- package/stamina/model/Namespace.js +49 -0
- package/stamina/model/Namespace.js.map +1 -1
- package/stamina/model/RecoverIntervalTable.d.ts +6 -0
- package/stamina/model/RecoverIntervalTable.js +67 -0
- package/stamina/model/RecoverIntervalTable.js.map +1 -1
- package/stamina/model/RecoverIntervalTableMaster.d.ts +6 -0
- package/stamina/model/RecoverIntervalTableMaster.js +67 -0
- package/stamina/model/RecoverIntervalTableMaster.js.map +1 -1
- package/stamina/model/RecoverValueTable.d.ts +6 -0
- package/stamina/model/RecoverValueTable.js +67 -0
- package/stamina/model/RecoverValueTable.js.map +1 -1
- package/stamina/model/RecoverValueTableMaster.d.ts +6 -0
- package/stamina/model/RecoverValueTableMaster.js +67 -0
- package/stamina/model/RecoverValueTableMaster.js.map +1 -1
- package/stamina/model/Stamina.d.ts +7 -0
- package/stamina/model/Stamina.js +87 -0
- package/stamina/model/Stamina.js.map +1 -1
- package/stamina/model/StaminaModel.d.ts +6 -0
- package/stamina/model/StaminaModel.js +67 -0
- package/stamina/model/StaminaModel.js.map +1 -1
- package/stamina/model/StaminaModelMaster.d.ts +6 -0
- package/stamina/model/StaminaModelMaster.js +67 -0
- package/stamina/model/StaminaModelMaster.js.map +1 -1
- package/tsconfig.json +0 -6
- package/version/model/AcceptVersion.d.ts +7 -0
- package/version/model/AcceptVersion.js +87 -0
- package/version/model/AcceptVersion.js.map +1 -1
- package/version/model/CurrentVersionMaster.d.ts +5 -0
- package/version/model/CurrentVersionMaster.js +49 -0
- package/version/model/CurrentVersionMaster.js.map +1 -1
- package/version/model/Namespace.d.ts +5 -0
- package/version/model/Namespace.js +49 -0
- package/version/model/Namespace.js.map +1 -1
- package/version/model/VersionModel.d.ts +6 -0
- package/version/model/VersionModel.js +67 -0
- package/version/model/VersionModel.js.map +1 -1
- package/version/model/VersionModelMaster.d.ts +6 -0
- package/version/model/VersionModelMaster.js +67 -0
- package/version/model/VersionModelMaster.js.map +1 -1
- package/watch/index.d.ts +5 -4
- package/watch/index.js +9 -6
- package/watch/index.js.map +1 -1
- package/watch/model/BillingActivity.d.ts +2 -2
- package/watch/model/BillingActivity.js +1 -2
- package/watch/model/BillingActivity.js.map +1 -1
- package/watch/model/Chart.d.ts +2 -2
- package/watch/model/Chart.js +1 -2
- package/watch/model/Chart.js.map +1 -1
- package/watch/model/Cumulative.d.ts +2 -2
- package/watch/model/Cumulative.js +1 -2
- package/watch/model/Cumulative.js.map +1 -1
- package/watch/model/index.d.ts +4 -3
- package/watch/model/index.js +7 -6
- package/watch/model/index.js.map +1 -1
- package/watch/request/DescribeBillingActivitiesRequest.d.ts +2 -2
- package/watch/request/DescribeBillingActivitiesRequest.js +1 -2
- package/watch/request/DescribeBillingActivitiesRequest.js.map +1 -1
- package/watch/request/GetBillingActivityRequest.d.ts +2 -2
- package/watch/request/GetBillingActivityRequest.js +1 -2
- package/watch/request/GetBillingActivityRequest.js.map +1 -1
- package/watch/request/GetChartRequest.d.ts +2 -2
- package/watch/request/GetChartRequest.js +1 -2
- package/watch/request/GetChartRequest.js.map +1 -1
- package/watch/request/GetCumulativeRequest.d.ts +2 -2
- package/watch/request/GetCumulativeRequest.js +1 -2
- package/watch/request/GetCumulativeRequest.js.map +1 -1
- package/watch/request/index.d.ts +5 -4
- package/watch/request/index.js +9 -8
- package/watch/request/index.js.map +1 -1
- package/watch/rest.d.ts +1 -1
- package/watch/rest.js +30 -31
- package/watch/rest.js.map +1 -1
- package/watch/result/DescribeBillingActivitiesResult.d.ts +2 -2
- package/watch/result/DescribeBillingActivitiesResult.js +1 -2
- package/watch/result/DescribeBillingActivitiesResult.js.map +1 -1
- package/watch/result/GetBillingActivityResult.d.ts +2 -2
- package/watch/result/GetBillingActivityResult.js +1 -2
- package/watch/result/GetBillingActivityResult.js.map +1 -1
- package/watch/result/GetChartResult.d.ts +2 -2
- package/watch/result/GetChartResult.js +1 -2
- package/watch/result/GetChartResult.js.map +1 -1
- package/watch/result/GetCumulativeResult.d.ts +2 -2
- package/watch/result/GetCumulativeResult.js +1 -2
- package/watch/result/GetCumulativeResult.js.map +1 -1
- package/watch/result/index.d.ts +5 -4
- package/watch/result/index.js +9 -8
- package/watch/result/index.js.map +1 -1
- package/friend/request/DescribeProfilesRequest.d.ts +0 -29
- package/friend/request/DescribeProfilesRequest.js +0 -98
- package/friend/request/DescribeProfilesRequest.js.map +0 -1
- package/friend/result/DescribeProfilesResult.d.ts +0 -18
- package/friend/result/DescribeProfilesResult.js +0 -68
- package/friend/result/DescribeProfilesResult.js.map +0 -1
- package/src/friend/request/DescribeProfilesRequest.ts +0 -113
- package/src/friend/result/DescribeProfilesResult.ts +0 -73
|
@@ -15,11 +15,72 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:distributor:{namespaceName}";
|
|
18
19
|
|
|
19
20
|
export default class CurrentDistributorMaster implements IModel {
|
|
20
21
|
private namespaceId: string|null = null;
|
|
21
22
|
private settings: string|null = null;
|
|
22
23
|
|
|
24
|
+
public static getRegion(grn: string): string|null {
|
|
25
|
+
const match = grn.match(grnFormat
|
|
26
|
+
.replace('{region}', '(.*)')
|
|
27
|
+
.replace('{ownerId}', '.*')
|
|
28
|
+
.replace('{namespaceName}', '.*')
|
|
29
|
+
);
|
|
30
|
+
if (match) {
|
|
31
|
+
return match[1];
|
|
32
|
+
}
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public static getOwnerId(grn: string): string|null {
|
|
37
|
+
const match = grn.match(grnFormat
|
|
38
|
+
.replace('{region}', '.*')
|
|
39
|
+
.replace('{ownerId}', '(.*)')
|
|
40
|
+
.replace('{namespaceName}', '.*')
|
|
41
|
+
);
|
|
42
|
+
if (match) {
|
|
43
|
+
return match[1];
|
|
44
|
+
}
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public static getNamespaceName(grn: string): string|null {
|
|
49
|
+
const match = grn.match(grnFormat
|
|
50
|
+
.replace('{region}', '.*')
|
|
51
|
+
.replace('{ownerId}', '.*')
|
|
52
|
+
.replace('{namespaceName}', '(.*)')
|
|
53
|
+
);
|
|
54
|
+
if (match) {
|
|
55
|
+
return match[1];
|
|
56
|
+
}
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public static isValid(grn: string): boolean {
|
|
61
|
+
if (this.getRegion(grn) == null) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
if (this.getOwnerId(grn) == null) {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
if (this.getNamespaceName(grn) == null) {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
public static createGrn(
|
|
74
|
+
region: string|null,
|
|
75
|
+
ownerId: string|null,
|
|
76
|
+
namespaceName: string|null,
|
|
77
|
+
): string|null {
|
|
78
|
+
return grnFormat
|
|
79
|
+
.replace('{region}', region ?? '')
|
|
80
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
81
|
+
.replace('{namespaceName}', namespaceName ?? '');
|
|
82
|
+
}
|
|
83
|
+
|
|
23
84
|
public getNamespaceId(): string|null {
|
|
24
85
|
return this.namespaceId;
|
|
25
86
|
}
|
|
@@ -15,6 +15,7 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:distributor:{namespaceName}:model:{distributorName}";
|
|
18
19
|
|
|
19
20
|
export default class DistributorModel implements IModel {
|
|
20
21
|
private distributorModelId: string|null = null;
|
|
@@ -23,6 +24,87 @@ export default class DistributorModel implements IModel {
|
|
|
23
24
|
private inboxNamespaceId: string|null = null;
|
|
24
25
|
private whiteListTargetIds: string[]|null = null;
|
|
25
26
|
|
|
27
|
+
public static getRegion(grn: string): string|null {
|
|
28
|
+
const match = grn.match(grnFormat
|
|
29
|
+
.replace('{region}', '(.*)')
|
|
30
|
+
.replace('{ownerId}', '.*')
|
|
31
|
+
.replace('{namespaceName}', '.*')
|
|
32
|
+
.replace('{distributorName}', '.*')
|
|
33
|
+
);
|
|
34
|
+
if (match) {
|
|
35
|
+
return match[1];
|
|
36
|
+
}
|
|
37
|
+
return null;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public static getOwnerId(grn: string): string|null {
|
|
41
|
+
const match = grn.match(grnFormat
|
|
42
|
+
.replace('{region}', '.*')
|
|
43
|
+
.replace('{ownerId}', '(.*)')
|
|
44
|
+
.replace('{namespaceName}', '.*')
|
|
45
|
+
.replace('{distributorName}', '.*')
|
|
46
|
+
);
|
|
47
|
+
if (match) {
|
|
48
|
+
return match[1];
|
|
49
|
+
}
|
|
50
|
+
return null;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public static getNamespaceName(grn: string): string|null {
|
|
54
|
+
const match = grn.match(grnFormat
|
|
55
|
+
.replace('{region}', '.*')
|
|
56
|
+
.replace('{ownerId}', '.*')
|
|
57
|
+
.replace('{namespaceName}', '(.*)')
|
|
58
|
+
.replace('{distributorName}', '.*')
|
|
59
|
+
);
|
|
60
|
+
if (match) {
|
|
61
|
+
return match[1];
|
|
62
|
+
}
|
|
63
|
+
return null;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
public static getDistributorName(grn: string): string|null {
|
|
67
|
+
const match = grn.match(grnFormat
|
|
68
|
+
.replace('{region}', '.*')
|
|
69
|
+
.replace('{ownerId}', '.*')
|
|
70
|
+
.replace('{namespaceName}', '.*')
|
|
71
|
+
.replace('{distributorName}', '(.*)')
|
|
72
|
+
);
|
|
73
|
+
if (match) {
|
|
74
|
+
return match[1];
|
|
75
|
+
}
|
|
76
|
+
return null;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
public static isValid(grn: string): boolean {
|
|
80
|
+
if (this.getRegion(grn) == null) {
|
|
81
|
+
return false;
|
|
82
|
+
}
|
|
83
|
+
if (this.getOwnerId(grn) == null) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
if (this.getNamespaceName(grn) == null) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
if (this.getDistributorName(grn) == null) {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
return true;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
public static createGrn(
|
|
96
|
+
region: string|null,
|
|
97
|
+
ownerId: string|null,
|
|
98
|
+
namespaceName: string|null,
|
|
99
|
+
distributorName: string|null,
|
|
100
|
+
): string|null {
|
|
101
|
+
return grnFormat
|
|
102
|
+
.replace('{region}', region ?? '')
|
|
103
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
104
|
+
.replace('{namespaceName}', namespaceName ?? '')
|
|
105
|
+
.replace('{distributorName}', distributorName ?? '');
|
|
106
|
+
}
|
|
107
|
+
|
|
26
108
|
public getDistributorModelId(): string|null {
|
|
27
109
|
return this.distributorModelId;
|
|
28
110
|
}
|
|
@@ -15,6 +15,7 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:distributor:{namespaceName}:model:{distributorName}";
|
|
18
19
|
|
|
19
20
|
export default class DistributorModelMaster implements IModel {
|
|
20
21
|
private distributorModelId: string|null = null;
|
|
@@ -26,6 +27,87 @@ export default class DistributorModelMaster implements IModel {
|
|
|
26
27
|
private createdAt: number|null = null;
|
|
27
28
|
private updatedAt: number|null = null;
|
|
28
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
|
+
.replace('{distributorName}', '.*')
|
|
36
|
+
);
|
|
37
|
+
if (match) {
|
|
38
|
+
return match[1];
|
|
39
|
+
}
|
|
40
|
+
return null;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
public static getOwnerId(grn: string): string|null {
|
|
44
|
+
const match = grn.match(grnFormat
|
|
45
|
+
.replace('{region}', '.*')
|
|
46
|
+
.replace('{ownerId}', '(.*)')
|
|
47
|
+
.replace('{namespaceName}', '.*')
|
|
48
|
+
.replace('{distributorName}', '.*')
|
|
49
|
+
);
|
|
50
|
+
if (match) {
|
|
51
|
+
return match[1];
|
|
52
|
+
}
|
|
53
|
+
return null;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
public static getNamespaceName(grn: string): string|null {
|
|
57
|
+
const match = grn.match(grnFormat
|
|
58
|
+
.replace('{region}', '.*')
|
|
59
|
+
.replace('{ownerId}', '.*')
|
|
60
|
+
.replace('{namespaceName}', '(.*)')
|
|
61
|
+
.replace('{distributorName}', '.*')
|
|
62
|
+
);
|
|
63
|
+
if (match) {
|
|
64
|
+
return match[1];
|
|
65
|
+
}
|
|
66
|
+
return null;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
public static getDistributorName(grn: string): string|null {
|
|
70
|
+
const match = grn.match(grnFormat
|
|
71
|
+
.replace('{region}', '.*')
|
|
72
|
+
.replace('{ownerId}', '.*')
|
|
73
|
+
.replace('{namespaceName}', '.*')
|
|
74
|
+
.replace('{distributorName}', '(.*)')
|
|
75
|
+
);
|
|
76
|
+
if (match) {
|
|
77
|
+
return match[1];
|
|
78
|
+
}
|
|
79
|
+
return null;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
public static isValid(grn: string): boolean {
|
|
83
|
+
if (this.getRegion(grn) == null) {
|
|
84
|
+
return false;
|
|
85
|
+
}
|
|
86
|
+
if (this.getOwnerId(grn) == null) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
if (this.getNamespaceName(grn) == null) {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
if (this.getDistributorName(grn) == null) {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
return true;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
public static createGrn(
|
|
99
|
+
region: string|null,
|
|
100
|
+
ownerId: string|null,
|
|
101
|
+
namespaceName: string|null,
|
|
102
|
+
distributorName: string|null,
|
|
103
|
+
): string|null {
|
|
104
|
+
return grnFormat
|
|
105
|
+
.replace('{region}', region ?? '')
|
|
106
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
107
|
+
.replace('{namespaceName}', namespaceName ?? '')
|
|
108
|
+
.replace('{distributorName}', distributorName ?? '');
|
|
109
|
+
}
|
|
110
|
+
|
|
29
111
|
public getDistributorModelId(): string|null {
|
|
30
112
|
return this.distributorModelId;
|
|
31
113
|
}
|
|
@@ -16,6 +16,7 @@ permissions and limitations under the License.
|
|
|
16
16
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
18
|
import LogSetting from './LogSetting';
|
|
19
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:distributor:{namespaceName}";
|
|
19
20
|
|
|
20
21
|
export default class Namespace implements IModel {
|
|
21
22
|
private namespaceId: string|null = null;
|
|
@@ -26,6 +27,66 @@ export default class Namespace implements IModel {
|
|
|
26
27
|
private createdAt: number|null = null;
|
|
27
28
|
private updatedAt: number|null = null;
|
|
28
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) {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
if (this.getOwnerId(grn) == null) {
|
|
71
|
+
return false;
|
|
72
|
+
}
|
|
73
|
+
if (this.getNamespaceName(grn) == null) {
|
|
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
|
+
|
|
29
90
|
public getNamespaceId(): string|null {
|
|
30
91
|
return this.namespaceId;
|
|
31
92
|
}
|
|
@@ -15,11 +15,72 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:enhance:{namespaceName}";
|
|
18
19
|
|
|
19
20
|
export default class CurrentRateMaster implements IModel {
|
|
20
21
|
private namespaceId: string|null = null;
|
|
21
22
|
private settings: string|null = null;
|
|
22
23
|
|
|
24
|
+
public static getRegion(grn: string): string|null {
|
|
25
|
+
const match = grn.match(grnFormat
|
|
26
|
+
.replace('{region}', '(.*)')
|
|
27
|
+
.replace('{ownerId}', '.*')
|
|
28
|
+
.replace('{namespaceName}', '.*')
|
|
29
|
+
);
|
|
30
|
+
if (match) {
|
|
31
|
+
return match[1];
|
|
32
|
+
}
|
|
33
|
+
return null;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
public static getOwnerId(grn: string): string|null {
|
|
37
|
+
const match = grn.match(grnFormat
|
|
38
|
+
.replace('{region}', '.*')
|
|
39
|
+
.replace('{ownerId}', '(.*)')
|
|
40
|
+
.replace('{namespaceName}', '.*')
|
|
41
|
+
);
|
|
42
|
+
if (match) {
|
|
43
|
+
return match[1];
|
|
44
|
+
}
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public static getNamespaceName(grn: string): string|null {
|
|
49
|
+
const match = grn.match(grnFormat
|
|
50
|
+
.replace('{region}', '.*')
|
|
51
|
+
.replace('{ownerId}', '.*')
|
|
52
|
+
.replace('{namespaceName}', '(.*)')
|
|
53
|
+
);
|
|
54
|
+
if (match) {
|
|
55
|
+
return match[1];
|
|
56
|
+
}
|
|
57
|
+
return null;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
public static isValid(grn: string): boolean {
|
|
61
|
+
if (this.getRegion(grn) == null) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
if (this.getOwnerId(grn) == null) {
|
|
65
|
+
return false;
|
|
66
|
+
}
|
|
67
|
+
if (this.getNamespaceName(grn) == null) {
|
|
68
|
+
return false;
|
|
69
|
+
}
|
|
70
|
+
return true;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
public static createGrn(
|
|
74
|
+
region: string|null,
|
|
75
|
+
ownerId: string|null,
|
|
76
|
+
namespaceName: string|null,
|
|
77
|
+
): string|null {
|
|
78
|
+
return grnFormat
|
|
79
|
+
.replace('{region}', region ?? '')
|
|
80
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
81
|
+
.replace('{namespaceName}', namespaceName ?? '');
|
|
82
|
+
}
|
|
83
|
+
|
|
23
84
|
public getNamespaceId(): string|null {
|
|
24
85
|
return this.namespaceId;
|
|
25
86
|
}
|
|
@@ -17,6 +17,7 @@ permissions and limitations under the License.
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
18
|
import ScriptSetting from './ScriptSetting';
|
|
19
19
|
import LogSetting from './LogSetting';
|
|
20
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:enhance:{namespaceName}";
|
|
20
21
|
|
|
21
22
|
export default class Namespace implements IModel {
|
|
22
23
|
private namespaceId: string|null = null;
|
|
@@ -30,6 +31,66 @@ export default class Namespace implements IModel {
|
|
|
30
31
|
private createdAt: number|null = null;
|
|
31
32
|
private updatedAt: number|null = null;
|
|
32
33
|
|
|
34
|
+
public static getRegion(grn: string): string|null {
|
|
35
|
+
const match = grn.match(grnFormat
|
|
36
|
+
.replace('{region}', '(.*)')
|
|
37
|
+
.replace('{ownerId}', '.*')
|
|
38
|
+
.replace('{namespaceName}', '.*')
|
|
39
|
+
);
|
|
40
|
+
if (match) {
|
|
41
|
+
return match[1];
|
|
42
|
+
}
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public static getOwnerId(grn: string): string|null {
|
|
47
|
+
const match = grn.match(grnFormat
|
|
48
|
+
.replace('{region}', '.*')
|
|
49
|
+
.replace('{ownerId}', '(.*)')
|
|
50
|
+
.replace('{namespaceName}', '.*')
|
|
51
|
+
);
|
|
52
|
+
if (match) {
|
|
53
|
+
return match[1];
|
|
54
|
+
}
|
|
55
|
+
return null;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
public static getNamespaceName(grn: string): string|null {
|
|
59
|
+
const match = grn.match(grnFormat
|
|
60
|
+
.replace('{region}', '.*')
|
|
61
|
+
.replace('{ownerId}', '.*')
|
|
62
|
+
.replace('{namespaceName}', '(.*)')
|
|
63
|
+
);
|
|
64
|
+
if (match) {
|
|
65
|
+
return match[1];
|
|
66
|
+
}
|
|
67
|
+
return null;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
public static isValid(grn: string): boolean {
|
|
71
|
+
if (this.getRegion(grn) == null) {
|
|
72
|
+
return false;
|
|
73
|
+
}
|
|
74
|
+
if (this.getOwnerId(grn) == null) {
|
|
75
|
+
return false;
|
|
76
|
+
}
|
|
77
|
+
if (this.getNamespaceName(grn) == null) {
|
|
78
|
+
return false;
|
|
79
|
+
}
|
|
80
|
+
return true;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
public static createGrn(
|
|
84
|
+
region: string|null,
|
|
85
|
+
ownerId: string|null,
|
|
86
|
+
namespaceName: string|null,
|
|
87
|
+
): string|null {
|
|
88
|
+
return grnFormat
|
|
89
|
+
.replace('{region}', region ?? '')
|
|
90
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
91
|
+
.replace('{namespaceName}', namespaceName ?? '');
|
|
92
|
+
}
|
|
93
|
+
|
|
33
94
|
public getNamespaceId(): string|null {
|
|
34
95
|
return this.namespaceId;
|
|
35
96
|
}
|
|
@@ -15,6 +15,7 @@ permissions and limitations under the License.
|
|
|
15
15
|
*/
|
|
16
16
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
|
+
const grnFormat: string = "";
|
|
18
19
|
|
|
19
20
|
export default class Progress implements IModel {
|
|
20
21
|
private progressId: string|null = null;
|
|
@@ -26,6 +27,15 @@ export default class Progress implements IModel {
|
|
|
26
27
|
private createdAt: number|null = null;
|
|
27
28
|
private updatedAt: number|null = null;
|
|
28
29
|
|
|
30
|
+
public static isValid(grn: string): boolean {
|
|
31
|
+
return true;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public static createGrn(
|
|
35
|
+
): string|null {
|
|
36
|
+
return grnFormat;
|
|
37
|
+
}
|
|
38
|
+
|
|
29
39
|
public getProgressId(): string|null {
|
|
30
40
|
return this.progressId;
|
|
31
41
|
}
|
|
@@ -16,6 +16,7 @@ permissions and limitations under the License.
|
|
|
16
16
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
18
|
import BonusRate from './BonusRate';
|
|
19
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:enhance:{namespaceName}:rateModel:{rateName}";
|
|
19
20
|
|
|
20
21
|
export default class RateModel implements IModel {
|
|
21
22
|
private rateModelId: string|null = null;
|
|
@@ -29,6 +30,87 @@ export default class RateModel implements IModel {
|
|
|
29
30
|
private experienceModelId: string|null = null;
|
|
30
31
|
private bonusRates: BonusRate[]|null = null;
|
|
31
32
|
|
|
33
|
+
public static getRegion(grn: string): string|null {
|
|
34
|
+
const match = grn.match(grnFormat
|
|
35
|
+
.replace('{region}', '(.*)')
|
|
36
|
+
.replace('{ownerId}', '.*')
|
|
37
|
+
.replace('{namespaceName}', '.*')
|
|
38
|
+
.replace('{rateName}', '.*')
|
|
39
|
+
);
|
|
40
|
+
if (match) {
|
|
41
|
+
return match[1];
|
|
42
|
+
}
|
|
43
|
+
return null;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
public static getOwnerId(grn: string): string|null {
|
|
47
|
+
const match = grn.match(grnFormat
|
|
48
|
+
.replace('{region}', '.*')
|
|
49
|
+
.replace('{ownerId}', '(.*)')
|
|
50
|
+
.replace('{namespaceName}', '.*')
|
|
51
|
+
.replace('{rateName}', '.*')
|
|
52
|
+
);
|
|
53
|
+
if (match) {
|
|
54
|
+
return match[1];
|
|
55
|
+
}
|
|
56
|
+
return null;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
public static getNamespaceName(grn: string): string|null {
|
|
60
|
+
const match = grn.match(grnFormat
|
|
61
|
+
.replace('{region}', '.*')
|
|
62
|
+
.replace('{ownerId}', '.*')
|
|
63
|
+
.replace('{namespaceName}', '(.*)')
|
|
64
|
+
.replace('{rateName}', '.*')
|
|
65
|
+
);
|
|
66
|
+
if (match) {
|
|
67
|
+
return match[1];
|
|
68
|
+
}
|
|
69
|
+
return null;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
public static getRateName(grn: string): string|null {
|
|
73
|
+
const match = grn.match(grnFormat
|
|
74
|
+
.replace('{region}', '.*')
|
|
75
|
+
.replace('{ownerId}', '.*')
|
|
76
|
+
.replace('{namespaceName}', '.*')
|
|
77
|
+
.replace('{rateName}', '(.*)')
|
|
78
|
+
);
|
|
79
|
+
if (match) {
|
|
80
|
+
return match[1];
|
|
81
|
+
}
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
public static isValid(grn: string): boolean {
|
|
86
|
+
if (this.getRegion(grn) == null) {
|
|
87
|
+
return false;
|
|
88
|
+
}
|
|
89
|
+
if (this.getOwnerId(grn) == null) {
|
|
90
|
+
return false;
|
|
91
|
+
}
|
|
92
|
+
if (this.getNamespaceName(grn) == null) {
|
|
93
|
+
return false;
|
|
94
|
+
}
|
|
95
|
+
if (this.getRateName(grn) == null) {
|
|
96
|
+
return false;
|
|
97
|
+
}
|
|
98
|
+
return true;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
public static createGrn(
|
|
102
|
+
region: string|null,
|
|
103
|
+
ownerId: string|null,
|
|
104
|
+
namespaceName: string|null,
|
|
105
|
+
rateName: string|null,
|
|
106
|
+
): string|null {
|
|
107
|
+
return grnFormat
|
|
108
|
+
.replace('{region}', region ?? '')
|
|
109
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
110
|
+
.replace('{namespaceName}', namespaceName ?? '')
|
|
111
|
+
.replace('{rateName}', rateName ?? '');
|
|
112
|
+
}
|
|
113
|
+
|
|
32
114
|
public getRateModelId(): string|null {
|
|
33
115
|
return this.rateModelId;
|
|
34
116
|
}
|
|
@@ -16,6 +16,7 @@ permissions and limitations under the License.
|
|
|
16
16
|
|
|
17
17
|
import IModel from '../../core/interface/IModel';
|
|
18
18
|
import BonusRate from './BonusRate';
|
|
19
|
+
const grnFormat: string = "grn:gs2:{region}:{ownerId}:enhance:{namespaceName}:rateModelMaster:{rateName}";
|
|
19
20
|
|
|
20
21
|
export default class RateModelMaster implements IModel {
|
|
21
22
|
private rateModelId: string|null = null;
|
|
@@ -31,6 +32,87 @@ export default class RateModelMaster implements IModel {
|
|
|
31
32
|
private createdAt: number|null = null;
|
|
32
33
|
private updatedAt: number|null = null;
|
|
33
34
|
|
|
35
|
+
public static getRegion(grn: string): string|null {
|
|
36
|
+
const match = grn.match(grnFormat
|
|
37
|
+
.replace('{region}', '(.*)')
|
|
38
|
+
.replace('{ownerId}', '.*')
|
|
39
|
+
.replace('{namespaceName}', '.*')
|
|
40
|
+
.replace('{rateName}', '.*')
|
|
41
|
+
);
|
|
42
|
+
if (match) {
|
|
43
|
+
return match[1];
|
|
44
|
+
}
|
|
45
|
+
return null;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
public static getOwnerId(grn: string): string|null {
|
|
49
|
+
const match = grn.match(grnFormat
|
|
50
|
+
.replace('{region}', '.*')
|
|
51
|
+
.replace('{ownerId}', '(.*)')
|
|
52
|
+
.replace('{namespaceName}', '.*')
|
|
53
|
+
.replace('{rateName}', '.*')
|
|
54
|
+
);
|
|
55
|
+
if (match) {
|
|
56
|
+
return match[1];
|
|
57
|
+
}
|
|
58
|
+
return null;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
public static getNamespaceName(grn: string): string|null {
|
|
62
|
+
const match = grn.match(grnFormat
|
|
63
|
+
.replace('{region}', '.*')
|
|
64
|
+
.replace('{ownerId}', '.*')
|
|
65
|
+
.replace('{namespaceName}', '(.*)')
|
|
66
|
+
.replace('{rateName}', '.*')
|
|
67
|
+
);
|
|
68
|
+
if (match) {
|
|
69
|
+
return match[1];
|
|
70
|
+
}
|
|
71
|
+
return null;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public static getRateName(grn: string): string|null {
|
|
75
|
+
const match = grn.match(grnFormat
|
|
76
|
+
.replace('{region}', '.*')
|
|
77
|
+
.replace('{ownerId}', '.*')
|
|
78
|
+
.replace('{namespaceName}', '.*')
|
|
79
|
+
.replace('{rateName}', '(.*)')
|
|
80
|
+
);
|
|
81
|
+
if (match) {
|
|
82
|
+
return match[1];
|
|
83
|
+
}
|
|
84
|
+
return null;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
public static isValid(grn: string): boolean {
|
|
88
|
+
if (this.getRegion(grn) == null) {
|
|
89
|
+
return false;
|
|
90
|
+
}
|
|
91
|
+
if (this.getOwnerId(grn) == null) {
|
|
92
|
+
return false;
|
|
93
|
+
}
|
|
94
|
+
if (this.getNamespaceName(grn) == null) {
|
|
95
|
+
return false;
|
|
96
|
+
}
|
|
97
|
+
if (this.getRateName(grn) == null) {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
return true;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
public static createGrn(
|
|
104
|
+
region: string|null,
|
|
105
|
+
ownerId: string|null,
|
|
106
|
+
namespaceName: string|null,
|
|
107
|
+
rateName: string|null,
|
|
108
|
+
): string|null {
|
|
109
|
+
return grnFormat
|
|
110
|
+
.replace('{region}', region ?? '')
|
|
111
|
+
.replace('{ownerId}', ownerId ?? '')
|
|
112
|
+
.replace('{namespaceName}', namespaceName ?? '')
|
|
113
|
+
.replace('{rateName}', rateName ?? '');
|
|
114
|
+
}
|
|
115
|
+
|
|
34
116
|
public getRateModelId(): string|null {
|
|
35
117
|
return this.rateModelId;
|
|
36
118
|
}
|