gs2-cdk 1.0.0
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/core/func/Func.d.ts +2 -0
- package/core/func/Func.js +3 -0
- package/core/func/Func.js.map +1 -0
- package/core/func/Func.ts +18 -0
- package/core/func/GetAttr.d.ts +9 -0
- package/core/func/GetAttr.js +38 -0
- package/core/func/GetAttr.js.map +1 -0
- package/core/func/GetAttr.ts +55 -0
- package/core/func/Join.d.ts +7 -0
- package/core/func/Join.js +28 -0
- package/core/func/Join.js.map +1 -0
- package/core/func/Join.ts +35 -0
- package/core/func/index.d.ts +4 -0
- package/core/func/index.js +24 -0
- package/core/func/index.js.map +1 -0
- package/core/func/index.ts +25 -0
- package/core/index.d.ts +4 -0
- package/core/index.js +22 -0
- package/core/index.js.map +1 -0
- package/core/index.ts +23 -0
- package/core/model/AcquireAction.d.ts +12 -0
- package/core/model/AcquireAction.js +31 -0
- package/core/model/AcquireAction.js.map +1 -0
- package/core/model/AcquireAction.ts +36 -0
- package/core/model/CdkResource.d.ts +13 -0
- package/core/model/CdkResource.js +36 -0
- package/core/model/CdkResource.js.map +1 -0
- package/core/model/CdkResource.ts +47 -0
- package/core/model/Config.d.ts +8 -0
- package/core/model/Config.js +31 -0
- package/core/model/Config.js.map +1 -0
- package/core/model/Config.ts +36 -0
- package/core/model/ConsumeAction.d.ts +12 -0
- package/core/model/ConsumeAction.js +31 -0
- package/core/model/ConsumeAction.js.map +1 -0
- package/core/model/ConsumeAction.ts +36 -0
- package/core/model/LogSetting.d.ts +7 -0
- package/core/model/LogSetting.js +29 -0
- package/core/model/LogSetting.js.map +1 -0
- package/core/model/LogSetting.ts +32 -0
- package/core/model/NotificationSetting.d.ts +9 -0
- package/core/model/NotificationSetting.js +33 -0
- package/core/model/NotificationSetting.js.map +1 -0
- package/core/model/NotificationSetting.ts +40 -0
- package/core/model/ScriptSetting.d.ts +10 -0
- package/core/model/ScriptSetting.js +35 -0
- package/core/model/ScriptSetting.js.map +1 -0
- package/core/model/ScriptSetting.ts +45 -0
- package/core/model/Stack.d.ts +14 -0
- package/core/model/Stack.js +47 -0
- package/core/model/Stack.js.map +1 -0
- package/core/model/Stack.ts +60 -0
- package/core/model/TransactionSetting.d.ts +10 -0
- package/core/model/TransactionSetting.js +35 -0
- package/core/model/TransactionSetting.js.map +1 -0
- package/core/model/TransactionSetting.ts +44 -0
- package/core/model/index.d.ts +10 -0
- package/core/model/index.js +38 -0
- package/core/model/index.js.map +1 -0
- package/core/model/index.ts +37 -0
- package/distributor/index.d.ts +11 -0
- package/distributor/index.js +31 -0
- package/distributor/index.js.map +1 -0
- package/distributor/index.ts +34 -0
- package/distributor/model/CurrentMasterData.d.ts +12 -0
- package/distributor/model/CurrentMasterData.js +41 -0
- package/distributor/model/CurrentMasterData.js.map +1 -0
- package/distributor/model/CurrentMasterData.ts +52 -0
- package/distributor/model/DistributeResource.d.ts +10 -0
- package/distributor/model/DistributeResource.js +35 -0
- package/distributor/model/DistributeResource.js.map +1 -0
- package/distributor/model/DistributeResource.ts +43 -0
- package/distributor/model/DistributorModel.d.ts +17 -0
- package/distributor/model/DistributorModel.js +52 -0
- package/distributor/model/DistributorModel.js.map +1 -0
- package/distributor/model/DistributorModel.ts +67 -0
- package/distributor/model/DistributorModelMaster.d.ts +26 -0
- package/distributor/model/DistributorModelMaster.js +72 -0
- package/distributor/model/DistributorModelMaster.js.map +1 -0
- package/distributor/model/DistributorModelMaster.ts +102 -0
- package/distributor/model/Namespace.d.ts +29 -0
- package/distributor/model/Namespace.js +73 -0
- package/distributor/model/Namespace.js.map +1 -0
- package/distributor/model/Namespace.ts +111 -0
- package/distributor/model/index.d.ts +6 -0
- package/distributor/model/index.js +30 -0
- package/distributor/model/index.js.map +1 -0
- package/distributor/model/index.ts +28 -0
- package/distributor/ref/CurrentDistributorMasterRef.d.ts +5 -0
- package/distributor/ref/CurrentDistributorMasterRef.js +35 -0
- package/distributor/ref/CurrentDistributorMasterRef.js.map +1 -0
- package/distributor/ref/CurrentDistributorMasterRef.ts +42 -0
- package/distributor/ref/DistributorModelMasterRef.d.ts +6 -0
- package/distributor/ref/DistributorModelMasterRef.js +38 -0
- package/distributor/ref/DistributorModelMasterRef.js.map +1 -0
- package/distributor/ref/DistributorModelMasterRef.ts +47 -0
- package/distributor/ref/DistributorModelRef.d.ts +6 -0
- package/distributor/ref/DistributorModelRef.js +38 -0
- package/distributor/ref/DistributorModelRef.js.map +1 -0
- package/distributor/ref/DistributorModelRef.ts +47 -0
- package/distributor/ref/NamespaceRef.d.ts +11 -0
- package/distributor/ref/NamespaceRef.js +48 -0
- package/distributor/ref/NamespaceRef.js.map +1 -0
- package/distributor/ref/NamespaceRef.ts +70 -0
- package/distributor/ref/index.d.ts +5 -0
- package/distributor/ref/index.js +28 -0
- package/distributor/ref/index.js.map +1 -0
- package/distributor/ref/index.ts +26 -0
- package/distributor/stampSheet/index.d.ts +1 -0
- package/distributor/stampSheet/index.js +18 -0
- package/distributor/stampSheet/index.js.map +1 -0
- package/distributor/stampSheet/index.ts +18 -0
- package/identifier/index.d.ts +13 -0
- package/identifier/index.js +35 -0
- package/identifier/index.js.map +1 -0
- package/identifier/index.ts +43 -0
- package/identifier/model/AttachSecurityPolicy.d.ts +11 -0
- package/identifier/model/AttachSecurityPolicy.js +43 -0
- package/identifier/model/AttachSecurityPolicy.js.map +1 -0
- package/identifier/model/AttachSecurityPolicy.ts +54 -0
- package/identifier/model/Identifier.d.ts +14 -0
- package/identifier/model/Identifier.js +47 -0
- package/identifier/model/Identifier.js.map +1 -0
- package/identifier/model/Identifier.ts +70 -0
- package/identifier/model/Password.d.ts +15 -0
- package/identifier/model/Password.js +53 -0
- package/identifier/model/Password.js.map +1 -0
- package/identifier/model/Password.ts +74 -0
- package/identifier/model/Policy.d.ts +9 -0
- package/identifier/model/Policy.js +31 -0
- package/identifier/model/Policy.js.map +1 -0
- package/identifier/model/Policy.ts +36 -0
- package/identifier/model/ProjectToken.d.ts +10 -0
- package/identifier/model/ProjectToken.js +33 -0
- package/identifier/model/ProjectToken.js.map +1 -0
- package/identifier/model/ProjectToken.ts +37 -0
- package/identifier/model/SecurityPolicy.d.ts +17 -0
- package/identifier/model/SecurityPolicy.js +57 -0
- package/identifier/model/SecurityPolicy.js.map +1 -0
- package/identifier/model/SecurityPolicy.ts +77 -0
- package/identifier/model/Statement.d.ts +13 -0
- package/identifier/model/Statement.js +48 -0
- package/identifier/model/Statement.js.map +1 -0
- package/identifier/model/Statement.ts +74 -0
- package/identifier/model/User.d.ts +20 -0
- package/identifier/model/User.js +64 -0
- package/identifier/model/User.js.map +1 -0
- package/identifier/model/User.ts +102 -0
- package/identifier/model/index.d.ts +8 -0
- package/identifier/model/index.js +36 -0
- package/identifier/model/index.js.map +1 -0
- package/identifier/model/index.ts +34 -0
- package/identifier/ref/AttachSecurityPolicyRef.d.ts +5 -0
- package/identifier/ref/AttachSecurityPolicyRef.js +36 -0
- package/identifier/ref/AttachSecurityPolicyRef.js.map +1 -0
- package/identifier/ref/AttachSecurityPolicyRef.ts +43 -0
- package/identifier/ref/IdentifierRef.d.ts +5 -0
- package/identifier/ref/IdentifierRef.js +25 -0
- package/identifier/ref/IdentifierRef.js.map +1 -0
- package/identifier/ref/IdentifierRef.ts +31 -0
- package/identifier/ref/PasswordRef.d.ts +5 -0
- package/identifier/ref/PasswordRef.js +36 -0
- package/identifier/ref/PasswordRef.js.map +1 -0
- package/identifier/ref/PasswordRef.ts +43 -0
- package/identifier/ref/SecurityPolicyRef.d.ts +5 -0
- package/identifier/ref/SecurityPolicyRef.js +36 -0
- package/identifier/ref/SecurityPolicyRef.js.map +1 -0
- package/identifier/ref/SecurityPolicyRef.ts +43 -0
- package/identifier/ref/UserRef.d.ts +7 -0
- package/identifier/ref/UserRef.js +41 -0
- package/identifier/ref/UserRef.js.map +1 -0
- package/identifier/ref/UserRef.ts +53 -0
- package/identifier/ref/index.d.ts +6 -0
- package/identifier/ref/index.js +30 -0
- package/identifier/ref/index.js.map +1 -0
- package/identifier/ref/index.ts +28 -0
- package/identifier/stampSheet/index.d.ts +1 -0
- package/identifier/stampSheet/index.js +18 -0
- package/identifier/stampSheet/index.js.map +1 -0
- package/identifier/stampSheet/index.ts +18 -0
- package/inbox/index.d.ts +11 -0
- package/inbox/index.js +31 -0
- package/inbox/index.js.map +1 -0
- package/inbox/index.ts +34 -0
- package/inbox/model/CurrentMasterData.d.ts +12 -0
- package/inbox/model/CurrentMasterData.js +41 -0
- package/inbox/model/CurrentMasterData.js.map +1 -0
- package/inbox/model/CurrentMasterData.ts +52 -0
- package/inbox/model/GlobalMessage.d.ts +20 -0
- package/inbox/model/GlobalMessage.js +41 -0
- package/inbox/model/GlobalMessage.js.map +1 -0
- package/inbox/model/GlobalMessage.ts +75 -0
- package/inbox/model/GlobalMessageMaster.d.ts +27 -0
- package/inbox/model/GlobalMessageMaster.js +71 -0
- package/inbox/model/GlobalMessageMaster.js.map +1 -0
- package/inbox/model/GlobalMessageMaster.ts +104 -0
- package/inbox/model/Namespace.d.ts +39 -0
- package/inbox/model/Namespace.js +93 -0
- package/inbox/model/Namespace.js.map +1 -0
- package/inbox/model/Namespace.ts +137 -0
- package/inbox/model/TimeSpan.d.ts +11 -0
- package/inbox/model/TimeSpan.js +39 -0
- package/inbox/model/TimeSpan.js.map +1 -0
- package/inbox/model/TimeSpan.ts +49 -0
- package/inbox/model/index.d.ts +6 -0
- package/inbox/model/index.js +30 -0
- package/inbox/model/index.js.map +1 -0
- package/inbox/model/index.ts +28 -0
- package/inbox/ref/CurrentMessageMasterRef.d.ts +5 -0
- package/inbox/ref/CurrentMessageMasterRef.js +35 -0
- package/inbox/ref/CurrentMessageMasterRef.js.map +1 -0
- package/inbox/ref/CurrentMessageMasterRef.ts +42 -0
- package/inbox/ref/GlobalMessageMasterRef.d.ts +6 -0
- package/inbox/ref/GlobalMessageMasterRef.js +39 -0
- package/inbox/ref/GlobalMessageMasterRef.js.map +1 -0
- package/inbox/ref/GlobalMessageMasterRef.ts +48 -0
- package/inbox/ref/GlobalMessageRef.d.ts +6 -0
- package/inbox/ref/GlobalMessageRef.js +38 -0
- package/inbox/ref/GlobalMessageRef.js.map +1 -0
- package/inbox/ref/GlobalMessageRef.ts +47 -0
- package/inbox/ref/NamespaceRef.d.ts +15 -0
- package/inbox/ref/NamespaceRef.js +52 -0
- package/inbox/ref/NamespaceRef.js.map +1 -0
- package/inbox/ref/NamespaceRef.ts +90 -0
- package/inbox/ref/index.d.ts +5 -0
- package/inbox/ref/index.js +28 -0
- package/inbox/ref/index.js.map +1 -0
- package/inbox/ref/index.ts +26 -0
- package/inbox/stampSheet/OpenMessageByUserId.d.ts +4 -0
- package/inbox/stampSheet/OpenMessageByUserId.js +35 -0
- package/inbox/stampSheet/OpenMessageByUserId.js.map +1 -0
- package/inbox/stampSheet/OpenMessageByUserId.ts +41 -0
- package/inbox/stampSheet/SendMessageByUserId.d.ts +5 -0
- package/inbox/stampSheet/SendMessageByUserId.js +44 -0
- package/inbox/stampSheet/SendMessageByUserId.js.map +1 -0
- package/inbox/stampSheet/SendMessageByUserId.ts +54 -0
- package/inbox/stampSheet/index.d.ts +2 -0
- package/inbox/stampSheet/index.js +22 -0
- package/inbox/stampSheet/index.js.map +1 -0
- package/inbox/stampSheet/index.ts +20 -0
- package/inventory/index.d.ts +11 -0
- package/inventory/index.js +31 -0
- package/inventory/index.js.map +1 -0
- package/inventory/index.ts +34 -0
- package/inventory/model/CurrentMasterData.d.ts +12 -0
- package/inventory/model/CurrentMasterData.js +41 -0
- package/inventory/model/CurrentMasterData.js.map +1 -0
- package/inventory/model/CurrentMasterData.ts +52 -0
- package/inventory/model/InventoryModel.d.ts +20 -0
- package/inventory/model/InventoryModel.js +45 -0
- package/inventory/model/InventoryModel.js.map +1 -0
- package/inventory/model/InventoryModel.ts +80 -0
- package/inventory/model/InventoryModelMaster.d.ts +25 -0
- package/inventory/model/InventoryModelMaster.js +74 -0
- package/inventory/model/InventoryModelMaster.js.map +1 -0
- package/inventory/model/InventoryModelMaster.ts +108 -0
- package/inventory/model/ItemModel.d.ts +16 -0
- package/inventory/model/ItemModel.js +54 -0
- package/inventory/model/ItemModel.js.map +1 -0
- package/inventory/model/ItemModel.ts +75 -0
- package/inventory/model/ItemModelMaster.d.ts +26 -0
- package/inventory/model/ItemModelMaster.js +78 -0
- package/inventory/model/ItemModelMaster.js.map +1 -0
- package/inventory/model/ItemModelMaster.ts +116 -0
- package/inventory/model/Namespace.d.ts +31 -0
- package/inventory/model/Namespace.js +78 -0
- package/inventory/model/Namespace.js.map +1 -0
- package/inventory/model/Namespace.ts +117 -0
- package/inventory/model/index.d.ts +7 -0
- package/inventory/model/index.js +32 -0
- package/inventory/model/index.js.map +1 -0
- package/inventory/model/index.ts +30 -0
- package/inventory/ref/CurrentItemModelMasterRef.d.ts +5 -0
- package/inventory/ref/CurrentItemModelMasterRef.js +35 -0
- package/inventory/ref/CurrentItemModelMasterRef.js.map +1 -0
- package/inventory/ref/CurrentItemModelMasterRef.ts +42 -0
- package/inventory/ref/InventoryModelMasterRef.d.ts +8 -0
- package/inventory/ref/InventoryModelMasterRef.js +43 -0
- package/inventory/ref/InventoryModelMasterRef.js.map +1 -0
- package/inventory/ref/InventoryModelMasterRef.ts +58 -0
- package/inventory/ref/InventoryModelRef.d.ts +12 -0
- package/inventory/ref/InventoryModelRef.js +51 -0
- package/inventory/ref/InventoryModelRef.js.map +1 -0
- package/inventory/ref/InventoryModelRef.ts +84 -0
- package/inventory/ref/ItemModelMasterRef.d.ts +7 -0
- package/inventory/ref/ItemModelMasterRef.js +41 -0
- package/inventory/ref/ItemModelMasterRef.js.map +1 -0
- package/inventory/ref/ItemModelMasterRef.ts +52 -0
- package/inventory/ref/ItemModelRef.d.ts +13 -0
- package/inventory/ref/ItemModelRef.js +54 -0
- package/inventory/ref/ItemModelRef.js.map +1 -0
- package/inventory/ref/ItemModelRef.ts +104 -0
- package/inventory/ref/NamespaceRef.d.ts +11 -0
- package/inventory/ref/NamespaceRef.js +48 -0
- package/inventory/ref/NamespaceRef.js.map +1 -0
- package/inventory/ref/NamespaceRef.ts +70 -0
- package/inventory/ref/index.d.ts +7 -0
- package/inventory/ref/index.js +32 -0
- package/inventory/ref/index.js.map +1 -0
- package/inventory/ref/index.ts +30 -0
- package/inventory/stampSheet/AcquireItemSetByUserId.d.ts +4 -0
- package/inventory/stampSheet/AcquireItemSetByUserId.js +50 -0
- package/inventory/stampSheet/AcquireItemSetByUserId.js.map +1 -0
- package/inventory/stampSheet/AcquireItemSetByUserId.ts +61 -0
- package/inventory/stampSheet/AddCapacityByUserId.d.ts +4 -0
- package/inventory/stampSheet/AddCapacityByUserId.js +38 -0
- package/inventory/stampSheet/AddCapacityByUserId.js.map +1 -0
- package/inventory/stampSheet/AddCapacityByUserId.ts +45 -0
- package/inventory/stampSheet/AddReferenceOfByUserId.d.ts +4 -0
- package/inventory/stampSheet/AddReferenceOfByUserId.js +44 -0
- package/inventory/stampSheet/AddReferenceOfByUserId.js.map +1 -0
- package/inventory/stampSheet/AddReferenceOfByUserId.ts +53 -0
- package/inventory/stampSheet/ConsumeItemSetByUserId.d.ts +4 -0
- package/inventory/stampSheet/ConsumeItemSetByUserId.js +44 -0
- package/inventory/stampSheet/ConsumeItemSetByUserId.js.map +1 -0
- package/inventory/stampSheet/ConsumeItemSetByUserId.ts +53 -0
- package/inventory/stampSheet/DeleteReferenceOfByUserId.d.ts +4 -0
- package/inventory/stampSheet/DeleteReferenceOfByUserId.js +44 -0
- package/inventory/stampSheet/DeleteReferenceOfByUserId.js.map +1 -0
- package/inventory/stampSheet/DeleteReferenceOfByUserId.ts +53 -0
- package/inventory/stampSheet/SetCapacityByUserId.d.ts +4 -0
- package/inventory/stampSheet/SetCapacityByUserId.js +38 -0
- package/inventory/stampSheet/SetCapacityByUserId.js.map +1 -0
- package/inventory/stampSheet/SetCapacityByUserId.ts +45 -0
- package/inventory/stampSheet/VerifyReferenceOfByUserId.d.ts +4 -0
- package/inventory/stampSheet/VerifyReferenceOfByUserId.js +47 -0
- package/inventory/stampSheet/VerifyReferenceOfByUserId.js.map +1 -0
- package/inventory/stampSheet/VerifyReferenceOfByUserId.ts +57 -0
- package/inventory/stampSheet/index.d.ts +3 -0
- package/inventory/stampSheet/index.js +24 -0
- package/inventory/stampSheet/index.js.map +1 -0
- package/inventory/stampSheet/index.ts +22 -0
- package/jobQueue/index.d.ts +11 -0
- package/jobQueue/index.js +31 -0
- package/jobQueue/index.js.map +1 -0
- package/jobQueue/index.ts +34 -0
- package/jobQueue/model/JobEntry.d.ts +11 -0
- package/jobQueue/model/JobEntry.js +39 -0
- package/jobQueue/model/JobEntry.js.map +1 -0
- package/jobQueue/model/JobEntry.ts +49 -0
- package/jobQueue/model/JobResultBody.d.ts +12 -0
- package/jobQueue/model/JobResultBody.js +43 -0
- package/jobQueue/model/JobResultBody.js.map +1 -0
- package/jobQueue/model/JobResultBody.ts +55 -0
- package/jobQueue/model/Namespace.d.ts +28 -0
- package/jobQueue/model/Namespace.js +72 -0
- package/jobQueue/model/Namespace.js.map +1 -0
- package/jobQueue/model/Namespace.ts +102 -0
- package/jobQueue/model/index.d.ts +4 -0
- package/jobQueue/model/index.js +26 -0
- package/jobQueue/model/index.js.map +1 -0
- package/jobQueue/model/index.ts +24 -0
- package/jobQueue/ref/NamespaceRef.d.ts +8 -0
- package/jobQueue/ref/NamespaceRef.js +40 -0
- package/jobQueue/ref/NamespaceRef.js.map +1 -0
- package/jobQueue/ref/NamespaceRef.ts +55 -0
- package/jobQueue/ref/index.d.ts +2 -0
- package/jobQueue/ref/index.js +22 -0
- package/jobQueue/ref/index.js.map +1 -0
- package/jobQueue/ref/index.ts +20 -0
- package/jobQueue/stampSheet/PushByUserId.d.ts +5 -0
- package/jobQueue/stampSheet/PushByUserId.js +35 -0
- package/jobQueue/stampSheet/PushByUserId.js.map +1 -0
- package/jobQueue/stampSheet/PushByUserId.ts +42 -0
- package/jobQueue/stampSheet/index.d.ts +1 -0
- package/jobQueue/stampSheet/index.js +18 -0
- package/jobQueue/stampSheet/index.js.map +1 -0
- package/jobQueue/stampSheet/index.ts +18 -0
- package/log/index.d.ts +11 -0
- package/log/index.js +31 -0
- package/log/index.js.map +1 -0
- package/log/index.ts +34 -0
- package/log/model/AccessLog.d.ts +16 -0
- package/log/model/AccessLog.js +57 -0
- package/log/model/AccessLog.js.map +1 -0
- package/log/model/AccessLog.ts +73 -0
- package/log/model/AccessLogCount.d.ts +15 -0
- package/log/model/AccessLogCount.js +47 -0
- package/log/model/AccessLogCount.js.map +1 -0
- package/log/model/AccessLogCount.ts +55 -0
- package/log/model/ExecuteStampSheetLog.d.ts +15 -0
- package/log/model/ExecuteStampSheetLog.js +55 -0
- package/log/model/ExecuteStampSheetLog.js.map +1 -0
- package/log/model/ExecuteStampSheetLog.ts +73 -0
- package/log/model/ExecuteStampSheetLogCount.d.ts +17 -0
- package/log/model/ExecuteStampSheetLogCount.js +52 -0
- package/log/model/ExecuteStampSheetLogCount.js.map +1 -0
- package/log/model/ExecuteStampSheetLogCount.ts +61 -0
- package/log/model/ExecuteStampTaskLog.d.ts +15 -0
- package/log/model/ExecuteStampTaskLog.js +55 -0
- package/log/model/ExecuteStampTaskLog.js.map +1 -0
- package/log/model/ExecuteStampTaskLog.ts +73 -0
- package/log/model/ExecuteStampTaskLogCount.d.ts +17 -0
- package/log/model/ExecuteStampTaskLogCount.js +52 -0
- package/log/model/ExecuteStampTaskLogCount.js.map +1 -0
- package/log/model/ExecuteStampTaskLogCount.ts +61 -0
- package/log/model/Insight.d.ts +22 -0
- package/log/model/Insight.js +56 -0
- package/log/model/Insight.js.map +1 -0
- package/log/model/Insight.ts +78 -0
- package/log/model/IssueStampSheetLog.d.ts +17 -0
- package/log/model/IssueStampSheetLog.js +61 -0
- package/log/model/IssueStampSheetLog.js.map +1 -0
- package/log/model/IssueStampSheetLog.ts +79 -0
- package/log/model/IssueStampSheetLogCount.d.ts +17 -0
- package/log/model/IssueStampSheetLogCount.js +52 -0
- package/log/model/IssueStampSheetLogCount.js.map +1 -0
- package/log/model/IssueStampSheetLogCount.ts +61 -0
- package/log/model/Namespace.d.ts +46 -0
- package/log/model/Namespace.js +98 -0
- package/log/model/Namespace.js.map +1 -0
- package/log/model/Namespace.ts +140 -0
- package/log/model/index.d.ts +13 -0
- package/log/model/index.js +44 -0
- package/log/model/index.js.map +1 -0
- package/log/model/index.ts +42 -0
- package/log/ref/InsightRef.d.ts +6 -0
- package/log/ref/InsightRef.js +38 -0
- package/log/ref/InsightRef.js.map +1 -0
- package/log/ref/InsightRef.ts +47 -0
- package/log/ref/NamespaceRef.d.ts +7 -0
- package/log/ref/NamespaceRef.js +40 -0
- package/log/ref/NamespaceRef.js.map +1 -0
- package/log/ref/NamespaceRef.ts +52 -0
- package/log/ref/index.d.ts +3 -0
- package/log/ref/index.js +24 -0
- package/log/ref/index.js.map +1 -0
- package/log/ref/index.ts +22 -0
- package/log/stampSheet/index.d.ts +1 -0
- package/log/stampSheet/index.js +18 -0
- package/log/stampSheet/index.js.map +1 -0
- package/log/stampSheet/index.ts +18 -0
- package/lottery/index.d.ts +11 -0
- package/lottery/index.js +31 -0
- package/lottery/index.js.map +1 -0
- package/lottery/index.ts +34 -0
- package/lottery/model/BoxItem.d.ts +13 -0
- package/lottery/model/BoxItem.js +26 -0
- package/lottery/model/BoxItem.js.map +1 -0
- package/lottery/model/BoxItem.ts +50 -0
- package/lottery/model/BoxItems.d.ts +14 -0
- package/lottery/model/BoxItems.js +30 -0
- package/lottery/model/BoxItems.js.map +1 -0
- package/lottery/model/BoxItems.ts +56 -0
- package/lottery/model/CurrentMasterData.d.ts +14 -0
- package/lottery/model/CurrentMasterData.js +43 -0
- package/lottery/model/CurrentMasterData.js.map +1 -0
- package/lottery/model/CurrentMasterData.ts +57 -0
- package/lottery/model/DrawnPrize.d.ts +12 -0
- package/lottery/model/DrawnPrize.js +22 -0
- package/lottery/model/DrawnPrize.js.map +1 -0
- package/lottery/model/DrawnPrize.ts +44 -0
- package/lottery/model/LotteryModel.d.ts +39 -0
- package/lottery/model/LotteryModel.js +83 -0
- package/lottery/model/LotteryModel.js.map +1 -0
- package/lottery/model/LotteryModel.ts +135 -0
- package/lottery/model/LotteryModelMaster.d.ts +42 -0
- package/lottery/model/LotteryModelMaster.js +89 -0
- package/lottery/model/LotteryModelMaster.js.map +1 -0
- package/lottery/model/LotteryModelMaster.ts +132 -0
- package/lottery/model/Namespace.d.ts +31 -0
- package/lottery/model/Namespace.js +77 -0
- package/lottery/model/Namespace.js.map +1 -0
- package/lottery/model/Namespace.ts +120 -0
- package/lottery/model/Prize.d.ts +27 -0
- package/lottery/model/Prize.js +63 -0
- package/lottery/model/Prize.js.map +1 -0
- package/lottery/model/Prize.ts +117 -0
- package/lottery/model/PrizeLimit.d.ts +1 -0
- package/lottery/model/PrizeLimit.js +18 -0
- package/lottery/model/PrizeLimit.js.map +1 -0
- package/lottery/model/PrizeLimit.ts +19 -0
- package/lottery/model/PrizeTable.d.ts +15 -0
- package/lottery/model/PrizeTable.js +31 -0
- package/lottery/model/PrizeTable.js.map +1 -0
- package/lottery/model/PrizeTable.ts +62 -0
- package/lottery/model/PrizeTableMaster.d.ts +24 -0
- package/lottery/model/PrizeTableMaster.js +66 -0
- package/lottery/model/PrizeTableMaster.js.map +1 -0
- package/lottery/model/PrizeTableMaster.ts +97 -0
- package/lottery/model/Probability.d.ts +11 -0
- package/lottery/model/Probability.js +20 -0
- package/lottery/model/Probability.js.map +1 -0
- package/lottery/model/Probability.ts +44 -0
- package/lottery/model/index.d.ts +17 -0
- package/lottery/model/index.js +52 -0
- package/lottery/model/index.js.map +1 -0
- package/lottery/model/index.ts +50 -0
- package/lottery/ref/CurrentLotteryMasterRef.d.ts +5 -0
- package/lottery/ref/CurrentLotteryMasterRef.js +35 -0
- package/lottery/ref/CurrentLotteryMasterRef.js.map +1 -0
- package/lottery/ref/CurrentLotteryMasterRef.ts +42 -0
- package/lottery/ref/LotteryModelMasterRef.d.ts +6 -0
- package/lottery/ref/LotteryModelMasterRef.js +38 -0
- package/lottery/ref/LotteryModelMasterRef.js.map +1 -0
- package/lottery/ref/LotteryModelMasterRef.ts +47 -0
- package/lottery/ref/LotteryModelRef.d.ts +9 -0
- package/lottery/ref/LotteryModelRef.js +43 -0
- package/lottery/ref/LotteryModelRef.js.map +1 -0
- package/lottery/ref/LotteryModelRef.ts +63 -0
- package/lottery/ref/NamespaceRef.d.ts +15 -0
- package/lottery/ref/NamespaceRef.js +56 -0
- package/lottery/ref/NamespaceRef.js.map +1 -0
- package/lottery/ref/NamespaceRef.ts +90 -0
- package/lottery/ref/PrizeLimitRef.d.ts +7 -0
- package/lottery/ref/PrizeLimitRef.js +41 -0
- package/lottery/ref/PrizeLimitRef.js.map +1 -0
- package/lottery/ref/PrizeLimitRef.ts +52 -0
- package/lottery/ref/PrizeTableMasterRef.d.ts +6 -0
- package/lottery/ref/PrizeTableMasterRef.js +38 -0
- package/lottery/ref/PrizeTableMasterRef.js.map +1 -0
- package/lottery/ref/PrizeTableMasterRef.ts +47 -0
- package/lottery/ref/PrizeTableRef.d.ts +8 -0
- package/lottery/ref/PrizeTableRef.js +43 -0
- package/lottery/ref/PrizeTableRef.js.map +1 -0
- package/lottery/ref/PrizeTableRef.ts +58 -0
- package/lottery/ref/index.d.ts +8 -0
- package/lottery/ref/index.js +34 -0
- package/lottery/ref/index.js.map +1 -0
- package/lottery/ref/index.ts +32 -0
- package/lottery/stampSheet/DrawByUserId.d.ts +5 -0
- package/lottery/stampSheet/DrawByUserId.js +41 -0
- package/lottery/stampSheet/DrawByUserId.js.map +1 -0
- package/lottery/stampSheet/DrawByUserId.ts +50 -0
- package/lottery/stampSheet/index.d.ts +1 -0
- package/lottery/stampSheet/index.js +18 -0
- package/lottery/stampSheet/index.js.map +1 -0
- package/lottery/stampSheet/index.ts +18 -0
- package/package.json +58 -0
- package/showcase/index.d.ts +11 -0
- package/showcase/index.js +31 -0
- package/showcase/index.js.map +1 -0
- package/showcase/index.ts +34 -0
- package/showcase/model/CurrentMasterData.d.ts +12 -0
- package/showcase/model/CurrentMasterData.js +41 -0
- package/showcase/model/CurrentMasterData.js.map +1 -0
- package/showcase/model/CurrentMasterData.ts +52 -0
- package/showcase/model/DisplayItem.d.ts +35 -0
- package/showcase/model/DisplayItem.js +60 -0
- package/showcase/model/DisplayItem.js.map +1 -0
- package/showcase/model/DisplayItem.ts +120 -0
- package/showcase/model/DisplayItemMaster.d.ts +23 -0
- package/showcase/model/DisplayItemMaster.js +68 -0
- package/showcase/model/DisplayItemMaster.js.map +1 -0
- package/showcase/model/DisplayItemMaster.ts +97 -0
- package/showcase/model/Namespace.d.ts +29 -0
- package/showcase/model/Namespace.js +72 -0
- package/showcase/model/Namespace.js.map +1 -0
- package/showcase/model/Namespace.ts +112 -0
- package/showcase/model/SalesItem.d.ts +15 -0
- package/showcase/model/SalesItem.js +30 -0
- package/showcase/model/SalesItem.js.map +1 -0
- package/showcase/model/SalesItem.ts +57 -0
- package/showcase/model/SalesItemGroup.d.ts +13 -0
- package/showcase/model/SalesItemGroup.js +26 -0
- package/showcase/model/SalesItemGroup.js.map +1 -0
- package/showcase/model/SalesItemGroup.ts +50 -0
- package/showcase/model/SalesItemGroupMaster.d.ts +23 -0
- package/showcase/model/SalesItemGroupMaster.js +66 -0
- package/showcase/model/SalesItemGroupMaster.js.map +1 -0
- package/showcase/model/SalesItemGroupMaster.ts +96 -0
- package/showcase/model/SalesItemMaster.d.ts +26 -0
- package/showcase/model/SalesItemMaster.js +70 -0
- package/showcase/model/SalesItemMaster.js.map +1 -0
- package/showcase/model/SalesItemMaster.ts +104 -0
- package/showcase/model/Showcase.d.ts +17 -0
- package/showcase/model/Showcase.js +36 -0
- package/showcase/model/Showcase.js.map +1 -0
- package/showcase/model/Showcase.ts +68 -0
- package/showcase/model/ShowcaseMaster.d.ts +26 -0
- package/showcase/model/ShowcaseMaster.js +71 -0
- package/showcase/model/ShowcaseMaster.js.map +1 -0
- package/showcase/model/ShowcaseMaster.ts +103 -0
- package/showcase/model/index.d.ts +13 -0
- package/showcase/model/index.js +44 -0
- package/showcase/model/index.js.map +1 -0
- package/showcase/model/index.ts +42 -0
- package/showcase/ref/CurrentShowcaseMasterRef.d.ts +5 -0
- package/showcase/ref/CurrentShowcaseMasterRef.js +35 -0
- package/showcase/ref/CurrentShowcaseMasterRef.js.map +1 -0
- package/showcase/ref/CurrentShowcaseMasterRef.ts +42 -0
- package/showcase/ref/DisplayItemRef.d.ts +4 -0
- package/showcase/ref/DisplayItemRef.js +24 -0
- package/showcase/ref/DisplayItemRef.js.map +1 -0
- package/showcase/ref/DisplayItemRef.ts +28 -0
- package/showcase/ref/NamespaceRef.d.ts +15 -0
- package/showcase/ref/NamespaceRef.js +56 -0
- package/showcase/ref/NamespaceRef.js.map +1 -0
- package/showcase/ref/NamespaceRef.ts +88 -0
- package/showcase/ref/SalesItemGroupMasterRef.d.ts +6 -0
- package/showcase/ref/SalesItemGroupMasterRef.js +38 -0
- package/showcase/ref/SalesItemGroupMasterRef.js.map +1 -0
- package/showcase/ref/SalesItemGroupMasterRef.ts +47 -0
- package/showcase/ref/SalesItemMasterRef.d.ts +6 -0
- package/showcase/ref/SalesItemMasterRef.js +38 -0
- package/showcase/ref/SalesItemMasterRef.js.map +1 -0
- package/showcase/ref/SalesItemMasterRef.ts +47 -0
- package/showcase/ref/ShowcaseMasterRef.d.ts +6 -0
- package/showcase/ref/ShowcaseMasterRef.js +38 -0
- package/showcase/ref/ShowcaseMasterRef.js.map +1 -0
- package/showcase/ref/ShowcaseMasterRef.ts +47 -0
- package/showcase/ref/ShowcaseRef.d.ts +6 -0
- package/showcase/ref/ShowcaseRef.js +38 -0
- package/showcase/ref/ShowcaseRef.js.map +1 -0
- package/showcase/ref/ShowcaseRef.ts +47 -0
- package/showcase/ref/index.d.ts +8 -0
- package/showcase/ref/index.js +34 -0
- package/showcase/ref/index.js.map +1 -0
- package/showcase/ref/index.ts +32 -0
- package/showcase/stampSheet/index.d.ts +1 -0
- package/showcase/stampSheet/index.js +18 -0
- package/showcase/stampSheet/index.js.map +1 -0
- package/showcase/stampSheet/index.ts +18 -0
- package/stamina/index.d.ts +11 -0
- package/stamina/index.js +31 -0
- package/stamina/index.js.map +1 -0
- package/stamina/index.ts +34 -0
- package/stamina/model/CurrentMasterData.d.ts +12 -0
- package/stamina/model/CurrentMasterData.js +41 -0
- package/stamina/model/CurrentMasterData.js.map +1 -0
- package/stamina/model/CurrentMasterData.ts +52 -0
- package/stamina/model/MaxStaminaTable.d.ts +15 -0
- package/stamina/model/MaxStaminaTable.js +50 -0
- package/stamina/model/MaxStaminaTable.js.map +1 -0
- package/stamina/model/MaxStaminaTable.ts +67 -0
- package/stamina/model/MaxStaminaTableMaster.d.ts +24 -0
- package/stamina/model/MaxStaminaTableMaster.js +70 -0
- package/stamina/model/MaxStaminaTableMaster.js.map +1 -0
- package/stamina/model/MaxStaminaTableMaster.ts +102 -0
- package/stamina/model/Namespace.d.ts +27 -0
- package/stamina/model/Namespace.js +68 -0
- package/stamina/model/Namespace.js.map +1 -0
- package/stamina/model/Namespace.ts +105 -0
- package/stamina/model/RecoverIntervalTable.d.ts +15 -0
- package/stamina/model/RecoverIntervalTable.js +50 -0
- package/stamina/model/RecoverIntervalTable.js.map +1 -0
- package/stamina/model/RecoverIntervalTable.ts +67 -0
- package/stamina/model/RecoverIntervalTableMaster.d.ts +24 -0
- package/stamina/model/RecoverIntervalTableMaster.js +70 -0
- package/stamina/model/RecoverIntervalTableMaster.js.map +1 -0
- package/stamina/model/RecoverIntervalTableMaster.ts +102 -0
- package/stamina/model/RecoverValueTable.d.ts +15 -0
- package/stamina/model/RecoverValueTable.js +50 -0
- package/stamina/model/RecoverValueTable.js.map +1 -0
- package/stamina/model/RecoverValueTable.ts +67 -0
- package/stamina/model/RecoverValueTableMaster.d.ts +24 -0
- package/stamina/model/RecoverValueTableMaster.js +70 -0
- package/stamina/model/RecoverValueTableMaster.js.map +1 -0
- package/stamina/model/RecoverValueTableMaster.ts +102 -0
- package/stamina/model/StaminaModel.d.ts +28 -0
- package/stamina/model/StaminaModel.js +63 -0
- package/stamina/model/StaminaModel.js.map +1 -0
- package/stamina/model/StaminaModel.ts +106 -0
- package/stamina/model/StaminaModelMaster.d.ts +34 -0
- package/stamina/model/StaminaModelMaster.js +98 -0
- package/stamina/model/StaminaModelMaster.js.map +1 -0
- package/stamina/model/StaminaModelMaster.ts +138 -0
- package/stamina/model/index.d.ts +11 -0
- package/stamina/model/index.js +40 -0
- package/stamina/model/index.js.map +1 -0
- package/stamina/model/index.ts +38 -0
- package/stamina/ref/CurrentStaminaMasterRef.d.ts +5 -0
- package/stamina/ref/CurrentStaminaMasterRef.js +35 -0
- package/stamina/ref/CurrentStaminaMasterRef.js.map +1 -0
- package/stamina/ref/CurrentStaminaMasterRef.ts +42 -0
- package/stamina/ref/MaxStaminaTableMasterRef.d.ts +6 -0
- package/stamina/ref/MaxStaminaTableMasterRef.js +38 -0
- package/stamina/ref/MaxStaminaTableMasterRef.js.map +1 -0
- package/stamina/ref/MaxStaminaTableMasterRef.ts +47 -0
- package/stamina/ref/MaxStaminaTableRef.d.ts +6 -0
- package/stamina/ref/MaxStaminaTableRef.js +38 -0
- package/stamina/ref/MaxStaminaTableRef.js.map +1 -0
- package/stamina/ref/MaxStaminaTableRef.ts +47 -0
- package/stamina/ref/NamespaceRef.d.ts +23 -0
- package/stamina/ref/NamespaceRef.js +72 -0
- package/stamina/ref/NamespaceRef.js.map +1 -0
- package/stamina/ref/NamespaceRef.ts +130 -0
- package/stamina/ref/RecoverIntervalTableMasterRef.d.ts +6 -0
- package/stamina/ref/RecoverIntervalTableMasterRef.js +38 -0
- package/stamina/ref/RecoverIntervalTableMasterRef.js.map +1 -0
- package/stamina/ref/RecoverIntervalTableMasterRef.ts +47 -0
- package/stamina/ref/RecoverIntervalTableRef.d.ts +6 -0
- package/stamina/ref/RecoverIntervalTableRef.js +38 -0
- package/stamina/ref/RecoverIntervalTableRef.js.map +1 -0
- package/stamina/ref/RecoverIntervalTableRef.ts +47 -0
- package/stamina/ref/RecoverValueTableMasterRef.d.ts +6 -0
- package/stamina/ref/RecoverValueTableMasterRef.js +38 -0
- package/stamina/ref/RecoverValueTableMasterRef.js.map +1 -0
- package/stamina/ref/RecoverValueTableMasterRef.ts +47 -0
- package/stamina/ref/RecoverValueTableRef.d.ts +6 -0
- package/stamina/ref/RecoverValueTableRef.js +38 -0
- package/stamina/ref/RecoverValueTableRef.js.map +1 -0
- package/stamina/ref/RecoverValueTableRef.ts +47 -0
- package/stamina/ref/StaminaModelMasterRef.d.ts +6 -0
- package/stamina/ref/StaminaModelMasterRef.js +38 -0
- package/stamina/ref/StaminaModelMasterRef.js.map +1 -0
- package/stamina/ref/StaminaModelMasterRef.ts +47 -0
- package/stamina/ref/StaminaModelRef.d.ts +18 -0
- package/stamina/ref/StaminaModelRef.js +63 -0
- package/stamina/ref/StaminaModelRef.js.map +1 -0
- package/stamina/ref/StaminaModelRef.ts +125 -0
- package/stamina/ref/index.d.ts +11 -0
- package/stamina/ref/index.js +40 -0
- package/stamina/ref/index.js.map +1 -0
- package/stamina/ref/index.ts +38 -0
- package/stamina/stampSheet/ConsumeStaminaByUserId.d.ts +4 -0
- package/stamina/stampSheet/ConsumeStaminaByUserId.js +38 -0
- package/stamina/stampSheet/ConsumeStaminaByUserId.js.map +1 -0
- package/stamina/stampSheet/ConsumeStaminaByUserId.ts +45 -0
- package/stamina/stampSheet/RaiseMaxValueByUserId.d.ts +4 -0
- package/stamina/stampSheet/RaiseMaxValueByUserId.js +38 -0
- package/stamina/stampSheet/RaiseMaxValueByUserId.js.map +1 -0
- package/stamina/stampSheet/RaiseMaxValueByUserId.ts +45 -0
- package/stamina/stampSheet/RecoverStaminaByUserId.d.ts +4 -0
- package/stamina/stampSheet/RecoverStaminaByUserId.js +38 -0
- package/stamina/stampSheet/RecoverStaminaByUserId.js.map +1 -0
- package/stamina/stampSheet/RecoverStaminaByUserId.ts +45 -0
- package/stamina/stampSheet/SetMaxValueByUserId.d.ts +4 -0
- package/stamina/stampSheet/SetMaxValueByUserId.js +38 -0
- package/stamina/stampSheet/SetMaxValueByUserId.js.map +1 -0
- package/stamina/stampSheet/SetMaxValueByUserId.ts +45 -0
- package/stamina/stampSheet/SetRecoverIntervalByUserId.d.ts +4 -0
- package/stamina/stampSheet/SetRecoverIntervalByUserId.js +38 -0
- package/stamina/stampSheet/SetRecoverIntervalByUserId.js.map +1 -0
- package/stamina/stampSheet/SetRecoverIntervalByUserId.ts +45 -0
- package/stamina/stampSheet/SetRecoverValueByUserId.d.ts +4 -0
- package/stamina/stampSheet/SetRecoverValueByUserId.js +38 -0
- package/stamina/stampSheet/SetRecoverValueByUserId.js.map +1 -0
- package/stamina/stampSheet/SetRecoverValueByUserId.ts +45 -0
- package/stamina/stampSheet/index.d.ts +2 -0
- package/stamina/stampSheet/index.js +22 -0
- package/stamina/stampSheet/index.js.map +1 -0
- package/stamina/stampSheet/index.ts +20 -0
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PrizeType = void 0;
|
|
4
|
+
exports.PrizeType = {
|
|
5
|
+
ACTION: "action",
|
|
6
|
+
PRIZE_TABLE: "prize_table",
|
|
7
|
+
};
|
|
8
|
+
class Prize {
|
|
9
|
+
constructor(prizeId, type, weight, options) {
|
|
10
|
+
var _a, _b, _c, _d;
|
|
11
|
+
this.acquireActions = null;
|
|
12
|
+
this.drawnLimit = null;
|
|
13
|
+
this.limitFailOverPrizeId = null;
|
|
14
|
+
this.prizeTableName = null;
|
|
15
|
+
this.prizeId = prizeId;
|
|
16
|
+
this.type = type;
|
|
17
|
+
this.acquireActions = (_a = options === null || options === void 0 ? void 0 : options.acquireActions) !== null && _a !== void 0 ? _a : null;
|
|
18
|
+
this.drawnLimit = (_b = options === null || options === void 0 ? void 0 : options.drawnLimit) !== null && _b !== void 0 ? _b : null;
|
|
19
|
+
this.limitFailOverPrizeId = (_c = options === null || options === void 0 ? void 0 : options.limitFailOverPrizeId) !== null && _c !== void 0 ? _c : null;
|
|
20
|
+
this.prizeTableName = (_d = options === null || options === void 0 ? void 0 : options.prizeTableName) !== null && _d !== void 0 ? _d : null;
|
|
21
|
+
this.weight = weight;
|
|
22
|
+
}
|
|
23
|
+
static action(prizeId, acquireActions, weight, drawnLimit = null, limitFailOverPrizeId = null) {
|
|
24
|
+
return new Prize(prizeId, exports.PrizeType.ACTION, weight, {
|
|
25
|
+
acquireActions: acquireActions,
|
|
26
|
+
drawnLimit: drawnLimit,
|
|
27
|
+
limitFailOverPrizeId: limitFailOverPrizeId,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
static prizeTable(prizeId, acquireActions, prizeTableName, weight, drawnLimit = null) {
|
|
31
|
+
return new Prize(prizeId, exports.PrizeType.PRIZE_TABLE, weight, {
|
|
32
|
+
drawnLimit: drawnLimit,
|
|
33
|
+
prizeTableName: prizeTableName,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
properties() {
|
|
37
|
+
let properties = {};
|
|
38
|
+
if (this.prizeId != null) {
|
|
39
|
+
properties["PrizeId"] = this.prizeId;
|
|
40
|
+
}
|
|
41
|
+
if (this.type != null) {
|
|
42
|
+
properties["Type"] = this.type.toString();
|
|
43
|
+
}
|
|
44
|
+
if (this.acquireActions != null) {
|
|
45
|
+
properties["AcquireActions"] = this.acquireActions.map(v => v.properties());
|
|
46
|
+
}
|
|
47
|
+
if (this.drawnLimit != null) {
|
|
48
|
+
properties["DrawnLimit"] = this.drawnLimit;
|
|
49
|
+
}
|
|
50
|
+
if (this.limitFailOverPrizeId != null) {
|
|
51
|
+
properties["LimitFailOverPrizeId"] = this.limitFailOverPrizeId;
|
|
52
|
+
}
|
|
53
|
+
if (this.prizeTableName != null) {
|
|
54
|
+
properties["PrizeTableName"] = this.prizeTableName;
|
|
55
|
+
}
|
|
56
|
+
if (this.weight != null) {
|
|
57
|
+
properties["Weight"] = this.weight;
|
|
58
|
+
}
|
|
59
|
+
return properties;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
exports.default = Prize;
|
|
63
|
+
//# sourceMappingURL=Prize.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Prize.js","sourceRoot":"","sources":["Prize.ts"],"names":[],"mappings":";;;AAiBa,QAAA,SAAS,GAAG;IACrB,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;CACpB,CAAC;AAUX,MAAqB,KAAK;IAStB,YACQ,OAAe,EACf,IAAe,EACf,MAAc,EACd,OAAsB;;QAVb,mBAAc,GAAyB,IAAI,CAAC;QAC5C,eAAU,GAAgB,IAAI,CAAC;QAC/B,yBAAoB,GAAgB,IAAI,CAAC;QACzC,mBAAc,GAAgB,IAAI,CAAC;QAShD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,cAAc,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,mCAAI,IAAI,CAAC;QACtD,IAAI,CAAC,UAAU,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,mCAAI,IAAI,CAAC;QAC9C,IAAI,CAAC,oBAAoB,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,oBAAoB,mCAAI,IAAI,CAAC;QAClE,IAAI,CAAC,cAAc,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,mCAAI,IAAI,CAAC;QACtD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,MAAM,CAAC,MAAM,CAChB,OAAe,EACf,cAA+B,EAC/B,MAAc,EACd,aAA0B,IAAI,EAC9B,uBAAoC,IAAI;QAExC,OAAO,IAAI,KAAK,CACZ,OAAO,EACP,iBAAS,CAAC,MAAM,EAChB,MAAM,EACN;YACI,cAAc,EAAE,cAAc;YAC9B,UAAU,EAAE,UAAU;YACtB,oBAAoB,EAAE,oBAAoB;SAC7C,CACJ,CAAA;IACL,CAAC;IAEM,MAAM,CAAC,UAAU,CACpB,OAAe,EACf,cAA+B,EAC/B,cAAsB,EACtB,MAAc,EACd,aAA0B,IAAI;QAE9B,OAAO,IAAI,KAAK,CACZ,OAAO,EACP,iBAAS,CAAC,WAAW,EACrB,MAAM,EACN;YACI,UAAU,EAAE,UAAU;YACtB,cAAc,EAAE,cAAc;SACjC,CACJ,CAAA;IACL,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAC3C,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;SAC7C;QACD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAC;SAC/E;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC;SAC9C;QACD,IAAI,IAAI,CAAC,oBAAoB,IAAI,IAAI,EAAE;YACnC,UAAU,CAAC,sBAAsB,CAAC,GAAG,IAAI,CAAC,oBAAoB,CAAC;SAClE;QACD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC;SACtD;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAtFD,wBAsFC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
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
|
+
import { AcquireAction } from "../../core/model";
|
|
17
|
+
|
|
18
|
+
export const PrizeType = {
|
|
19
|
+
ACTION: "action",
|
|
20
|
+
PRIZE_TABLE: "prize_table",
|
|
21
|
+
} as const;
|
|
22
|
+
export type PrizeType = typeof PrizeType[keyof typeof PrizeType];
|
|
23
|
+
|
|
24
|
+
export interface PrizeOptions {
|
|
25
|
+
acquireActions?: AcquireAction[]|null|undefined;
|
|
26
|
+
drawnLimit?: number|null|undefined;
|
|
27
|
+
limitFailOverPrizeId?: string|null|undefined;
|
|
28
|
+
prizeTableName?: string|null|undefined;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export default class Prize {
|
|
32
|
+
private readonly prizeId: string;
|
|
33
|
+
private readonly type: PrizeType;
|
|
34
|
+
private readonly acquireActions: AcquireAction[]|null = null;
|
|
35
|
+
private readonly drawnLimit: number|null = null;
|
|
36
|
+
private readonly limitFailOverPrizeId: string|null = null;
|
|
37
|
+
private readonly prizeTableName: string|null = null;
|
|
38
|
+
private readonly weight: number;
|
|
39
|
+
|
|
40
|
+
public constructor(
|
|
41
|
+
prizeId: string,
|
|
42
|
+
type: PrizeType,
|
|
43
|
+
weight: number,
|
|
44
|
+
options?: PrizeOptions,
|
|
45
|
+
) {
|
|
46
|
+
this.prizeId = prizeId;
|
|
47
|
+
this.type = type;
|
|
48
|
+
this.acquireActions = options?.acquireActions ?? null;
|
|
49
|
+
this.drawnLimit = options?.drawnLimit ?? null;
|
|
50
|
+
this.limitFailOverPrizeId = options?.limitFailOverPrizeId ?? null;
|
|
51
|
+
this.prizeTableName = options?.prizeTableName ?? null;
|
|
52
|
+
this.weight = weight;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
public static action(
|
|
56
|
+
prizeId: string,
|
|
57
|
+
acquireActions: AcquireAction[],
|
|
58
|
+
weight: number,
|
|
59
|
+
drawnLimit: number|null = null,
|
|
60
|
+
limitFailOverPrizeId: string|null = null,
|
|
61
|
+
): Prize {
|
|
62
|
+
return new Prize(
|
|
63
|
+
prizeId,
|
|
64
|
+
PrizeType.ACTION,
|
|
65
|
+
weight,
|
|
66
|
+
{
|
|
67
|
+
acquireActions: acquireActions,
|
|
68
|
+
drawnLimit: drawnLimit,
|
|
69
|
+
limitFailOverPrizeId: limitFailOverPrizeId,
|
|
70
|
+
}
|
|
71
|
+
)
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
public static prizeTable(
|
|
75
|
+
prizeId: string,
|
|
76
|
+
acquireActions: AcquireAction[],
|
|
77
|
+
prizeTableName: string,
|
|
78
|
+
weight: number,
|
|
79
|
+
drawnLimit: number|null = null,
|
|
80
|
+
): Prize {
|
|
81
|
+
return new Prize(
|
|
82
|
+
prizeId,
|
|
83
|
+
PrizeType.PRIZE_TABLE,
|
|
84
|
+
weight,
|
|
85
|
+
{
|
|
86
|
+
drawnLimit: drawnLimit,
|
|
87
|
+
prizeTableName: prizeTableName,
|
|
88
|
+
}
|
|
89
|
+
)
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
public properties(): {[name: string]: any} {
|
|
93
|
+
let properties: {[name: string]: any} = {};
|
|
94
|
+
if (this.prizeId != null) {
|
|
95
|
+
properties["PrizeId"] = this.prizeId;
|
|
96
|
+
}
|
|
97
|
+
if (this.type != null) {
|
|
98
|
+
properties["Type"] = this.type.toString();
|
|
99
|
+
}
|
|
100
|
+
if (this.acquireActions != null) {
|
|
101
|
+
properties["AcquireActions"] = this.acquireActions.map(v => v.properties());
|
|
102
|
+
}
|
|
103
|
+
if (this.drawnLimit != null) {
|
|
104
|
+
properties["DrawnLimit"] = this.drawnLimit;
|
|
105
|
+
}
|
|
106
|
+
if (this.limitFailOverPrizeId != null) {
|
|
107
|
+
properties["LimitFailOverPrizeId"] = this.limitFailOverPrizeId;
|
|
108
|
+
}
|
|
109
|
+
if (this.prizeTableName != null) {
|
|
110
|
+
properties["PrizeTableName"] = this.prizeTableName;
|
|
111
|
+
}
|
|
112
|
+
if (this.weight != null) {
|
|
113
|
+
properties["Weight"] = this.weight;
|
|
114
|
+
}
|
|
115
|
+
return properties;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
//# sourceMappingURL=PrizeLimit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrizeLimit.js","sourceRoot":"","sources":["PrizeLimit.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -0,0 +1,19 @@
|
|
|
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 core from "../../core";
|
|
18
|
+
import {GetAttr} from "../../core/func";
|
|
19
|
+
import {Stack} from "../../core/model";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import Prize from "../model/Prize";
|
|
2
|
+
import PrizeTableRef from "../ref/PrizeTableRef";
|
|
3
|
+
export interface PrizeTableOptions {
|
|
4
|
+
metadata?: string | null | undefined;
|
|
5
|
+
}
|
|
6
|
+
export default class PrizeTable {
|
|
7
|
+
private readonly name;
|
|
8
|
+
private readonly metadata;
|
|
9
|
+
private readonly prizes;
|
|
10
|
+
constructor(name: string, prizes: Prize[], options?: PrizeTableOptions);
|
|
11
|
+
properties(): {
|
|
12
|
+
[name: string]: any;
|
|
13
|
+
};
|
|
14
|
+
ref(namespaceName: string): PrizeTableRef;
|
|
15
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const tslib_1 = require("tslib");
|
|
4
|
+
const PrizeTableRef_1 = tslib_1.__importDefault(require("../ref/PrizeTableRef"));
|
|
5
|
+
class PrizeTable {
|
|
6
|
+
constructor(name, prizes, options) {
|
|
7
|
+
var _a;
|
|
8
|
+
this.metadata = null;
|
|
9
|
+
this.name = name;
|
|
10
|
+
this.metadata = (_a = options === null || options === void 0 ? void 0 : options.metadata) !== null && _a !== void 0 ? _a : null;
|
|
11
|
+
this.prizes = prizes;
|
|
12
|
+
}
|
|
13
|
+
properties() {
|
|
14
|
+
let properties = {};
|
|
15
|
+
if (this.name != null) {
|
|
16
|
+
properties["Name"] = this.name;
|
|
17
|
+
}
|
|
18
|
+
if (this.metadata != null) {
|
|
19
|
+
properties["Metadata"] = this.metadata;
|
|
20
|
+
}
|
|
21
|
+
if (this.prizes != null) {
|
|
22
|
+
properties["Prizes"] = this.prizes.map(v => v.properties());
|
|
23
|
+
}
|
|
24
|
+
return properties;
|
|
25
|
+
}
|
|
26
|
+
ref(namespaceName) {
|
|
27
|
+
return new PrizeTableRef_1.default(namespaceName, this.name);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.default = PrizeTable;
|
|
31
|
+
//# sourceMappingURL=PrizeTable.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrizeTable.js","sourceRoot":"","sources":["PrizeTable.ts"],"names":[],"mappings":";;;AAiBA,iFAAiD;AAOjD,MAAqB,UAAU;IAK3B,YACQ,IAAY,EACZ,MAAe,EACf,OAA2B;;QANlB,aAAQ,GAAgB,IAAI,CAAC;QAQ1C,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAC3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAC;SAC/D;QACD,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG,CACF,aAAqB;QAEzB,OAAO,IAAI,uBAAa,CACpB,aAAa,EACb,IAAI,CAAC,IAAI,CACZ,CAAC;IACN,CAAC;CACJ;AArCD,6BAqCC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
import Prize from "../model/Prize";
|
|
17
|
+
|
|
18
|
+
import PrizeTableRef from "../ref/PrizeTableRef";
|
|
19
|
+
|
|
20
|
+
export interface PrizeTableOptions {
|
|
21
|
+
metadata?: string|null|undefined;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
export default class PrizeTable {
|
|
26
|
+
private readonly name: string;
|
|
27
|
+
private readonly metadata: string|null = null;
|
|
28
|
+
private readonly prizes: Prize[];
|
|
29
|
+
|
|
30
|
+
public constructor(
|
|
31
|
+
name: string,
|
|
32
|
+
prizes: Prize[],
|
|
33
|
+
options?: PrizeTableOptions,
|
|
34
|
+
) {
|
|
35
|
+
this.name = name;
|
|
36
|
+
this.metadata = options?.metadata ?? null;
|
|
37
|
+
this.prizes = prizes;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
public properties(): {[name: string]: any} {
|
|
41
|
+
let properties: {[name: string]: any} = {};
|
|
42
|
+
if (this.name != null) {
|
|
43
|
+
properties["Name"] = this.name;
|
|
44
|
+
}
|
|
45
|
+
if (this.metadata != null) {
|
|
46
|
+
properties["Metadata"] = this.metadata;
|
|
47
|
+
}
|
|
48
|
+
if (this.prizes != null) {
|
|
49
|
+
properties["Prizes"] = this.prizes.map(v => v.properties());
|
|
50
|
+
}
|
|
51
|
+
return properties;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
public ref(
|
|
55
|
+
namespaceName: string,
|
|
56
|
+
): PrizeTableRef {
|
|
57
|
+
return new PrizeTableRef(
|
|
58
|
+
namespaceName,
|
|
59
|
+
this.name,
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import core from "../../core";
|
|
2
|
+
import { GetAttr } from "../../core/func";
|
|
3
|
+
import { Stack } from "../../core/model";
|
|
4
|
+
import Prize from "./Prize";
|
|
5
|
+
import PrizeTableMasterRef from "../ref/PrizeTableMasterRef";
|
|
6
|
+
export interface PrizeTableMasterOptions {
|
|
7
|
+
description?: string | null | undefined;
|
|
8
|
+
metadata?: string | null | undefined;
|
|
9
|
+
}
|
|
10
|
+
export default class PrizeTableMaster extends core.CdkResource {
|
|
11
|
+
private stack;
|
|
12
|
+
private readonly namespaceName;
|
|
13
|
+
private readonly name;
|
|
14
|
+
private readonly description;
|
|
15
|
+
private readonly metadata;
|
|
16
|
+
private readonly prizes;
|
|
17
|
+
constructor(stack: Stack, namespaceName: string, name: string, prizes: Prize[], options?: PrizeTableMasterOptions);
|
|
18
|
+
resourceType(): string;
|
|
19
|
+
properties(): {
|
|
20
|
+
[name: string]: any;
|
|
21
|
+
};
|
|
22
|
+
ref(namespaceName: string): PrizeTableMasterRef;
|
|
23
|
+
getAttrPrizeTableId(): GetAttr;
|
|
24
|
+
}
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
const tslib_1 = require("tslib");
|
|
19
|
+
const core_1 = tslib_1.__importDefault(require("../../core"));
|
|
20
|
+
const func_1 = require("../../core/func");
|
|
21
|
+
const PrizeTableMasterRef_1 = tslib_1.__importDefault(require("../ref/PrizeTableMasterRef"));
|
|
22
|
+
class PrizeTableMaster extends core_1.default.CdkResource {
|
|
23
|
+
constructor(stack, namespaceName, name, prizes, options) {
|
|
24
|
+
var _a, _b;
|
|
25
|
+
super("Lottery_PrizeTableMaster_" + name);
|
|
26
|
+
this.description = null;
|
|
27
|
+
this.metadata = null;
|
|
28
|
+
this.stack = stack;
|
|
29
|
+
this.namespaceName = namespaceName;
|
|
30
|
+
this.name = name;
|
|
31
|
+
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
32
|
+
this.metadata = (_b = options === null || options === void 0 ? void 0 : options.metadata) !== null && _b !== void 0 ? _b : null;
|
|
33
|
+
this.prizes = prizes;
|
|
34
|
+
stack.addResource(this);
|
|
35
|
+
}
|
|
36
|
+
resourceType() {
|
|
37
|
+
return "GS2::Lottery::PrizeTableMaster";
|
|
38
|
+
}
|
|
39
|
+
properties() {
|
|
40
|
+
let properties = {};
|
|
41
|
+
if (this.namespaceName != null) {
|
|
42
|
+
properties["NamespaceName"] = this.namespaceName;
|
|
43
|
+
}
|
|
44
|
+
if (this.name != null) {
|
|
45
|
+
properties["Name"] = this.name;
|
|
46
|
+
}
|
|
47
|
+
if (this.description != null) {
|
|
48
|
+
properties["Description"] = this.description;
|
|
49
|
+
}
|
|
50
|
+
if (this.metadata != null) {
|
|
51
|
+
properties["Metadata"] = this.metadata;
|
|
52
|
+
}
|
|
53
|
+
if (this.prizes != null) {
|
|
54
|
+
properties["Prizes"] = this.prizes.map(v => v.properties());
|
|
55
|
+
}
|
|
56
|
+
return properties;
|
|
57
|
+
}
|
|
58
|
+
ref(namespaceName) {
|
|
59
|
+
return new PrizeTableMasterRef_1.default(namespaceName, this.name);
|
|
60
|
+
}
|
|
61
|
+
getAttrPrizeTableId() {
|
|
62
|
+
return new func_1.GetAttr(null, null, "Item.PrizeTableId");
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exports.default = PrizeTableMaster;
|
|
66
|
+
//# sourceMappingURL=PrizeTableMaster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PrizeTableMaster.js","sourceRoot":"","sources":["PrizeTableMaster.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,8DAA8B;AAC9B,0CAAwC;AAIxC,6FAA6D;AAO7D,MAAqB,gBAAiB,SAAQ,cAAI,CAAC,WAAW;IAS1D,YACQ,KAAY,EACZ,aAAqB,EACrB,IAAY,EACZ,MAAe,EACf,OAAiC;;QAErC,KAAK,CAAC,2BAA2B,GAAG,IAAI,CAAC,CAAC;QAXhC,gBAAW,GAAgB,IAAI,CAAC;QAChC,aAAQ,GAAgB,IAAI,CAAC;QAYvC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QAErB,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAEM,YAAY;QACf,OAAO,gCAAgC,CAAC;IAC5C,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAC3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAC;SAC/D;QACD,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG,CACF,aAAqB;QAEzB,OAAO,IAAI,6BAAmB,CAC1B,aAAa,EACb,IAAI,CAAC,IAAI,CACZ,CAAC;IACN,CAAC;IAEM,mBAAmB;QACtB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,IAAI,EACJ,mBAAmB,CACtB,CAAC;IACN,CAAC;CACJ;AApED,mCAoEC"}
|
|
@@ -0,0 +1,97 @@
|
|
|
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 core from "../../core";
|
|
18
|
+
import {GetAttr} from "../../core/func";
|
|
19
|
+
import {Stack} from "../../core/model";
|
|
20
|
+
import Prize from "./Prize";
|
|
21
|
+
|
|
22
|
+
import PrizeTableMasterRef from "../ref/PrizeTableMasterRef";
|
|
23
|
+
|
|
24
|
+
export interface PrizeTableMasterOptions {
|
|
25
|
+
description?: string|null|undefined;
|
|
26
|
+
metadata?: string|null|undefined;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export default class PrizeTableMaster extends core.CdkResource {
|
|
30
|
+
|
|
31
|
+
private stack: Stack;
|
|
32
|
+
private readonly namespaceName: string;
|
|
33
|
+
private readonly name: string;
|
|
34
|
+
private readonly description: string|null = null;
|
|
35
|
+
private readonly metadata: string|null = null;
|
|
36
|
+
private readonly prizes: Prize[];
|
|
37
|
+
|
|
38
|
+
public constructor(
|
|
39
|
+
stack: Stack,
|
|
40
|
+
namespaceName: string,
|
|
41
|
+
name: string,
|
|
42
|
+
prizes: Prize[],
|
|
43
|
+
options?: PrizeTableMasterOptions,
|
|
44
|
+
) {
|
|
45
|
+
super("Lottery_PrizeTableMaster_" + name);
|
|
46
|
+
|
|
47
|
+
this.stack = stack;
|
|
48
|
+
this.namespaceName = namespaceName;
|
|
49
|
+
this.name = name;
|
|
50
|
+
this.description = options?.description ?? null;
|
|
51
|
+
this.metadata = options?.metadata ?? null;
|
|
52
|
+
this.prizes = prizes;
|
|
53
|
+
|
|
54
|
+
stack.addResource(this);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
public resourceType(): string {
|
|
58
|
+
return "GS2::Lottery::PrizeTableMaster";
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
public properties(): {[name: string]: any} {
|
|
62
|
+
let properties: {[name: string]: any} = {};
|
|
63
|
+
if (this.namespaceName != null) {
|
|
64
|
+
properties["NamespaceName"] = this.namespaceName;
|
|
65
|
+
}
|
|
66
|
+
if (this.name != null) {
|
|
67
|
+
properties["Name"] = this.name;
|
|
68
|
+
}
|
|
69
|
+
if (this.description != null) {
|
|
70
|
+
properties["Description"] = this.description;
|
|
71
|
+
}
|
|
72
|
+
if (this.metadata != null) {
|
|
73
|
+
properties["Metadata"] = this.metadata;
|
|
74
|
+
}
|
|
75
|
+
if (this.prizes != null) {
|
|
76
|
+
properties["Prizes"] = this.prizes.map(v => v.properties());
|
|
77
|
+
}
|
|
78
|
+
return properties;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
public ref(
|
|
82
|
+
namespaceName: string,
|
|
83
|
+
): PrizeTableMasterRef {
|
|
84
|
+
return new PrizeTableMasterRef(
|
|
85
|
+
namespaceName,
|
|
86
|
+
this.name,
|
|
87
|
+
);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
public getAttrPrizeTableId(): GetAttr {
|
|
91
|
+
return new GetAttr(
|
|
92
|
+
null,
|
|
93
|
+
null,
|
|
94
|
+
"Item.PrizeTableId"
|
|
95
|
+
);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import DrawnPrize from "./DrawnPrize";
|
|
2
|
+
export interface ProbabilityOptions {
|
|
3
|
+
}
|
|
4
|
+
export default class Probability {
|
|
5
|
+
private readonly prize;
|
|
6
|
+
private readonly rate;
|
|
7
|
+
constructor(prize: DrawnPrize, rate: number, options?: ProbabilityOptions);
|
|
8
|
+
properties(): {
|
|
9
|
+
[name: string]: any;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
class Probability {
|
|
4
|
+
constructor(prize, rate, options) {
|
|
5
|
+
this.prize = prize;
|
|
6
|
+
this.rate = rate;
|
|
7
|
+
}
|
|
8
|
+
properties() {
|
|
9
|
+
let properties = {};
|
|
10
|
+
if (this.prize != null) {
|
|
11
|
+
properties["Prize"] = this.prize.properties();
|
|
12
|
+
}
|
|
13
|
+
if (this.rate != null) {
|
|
14
|
+
properties["Rate"] = this.rate;
|
|
15
|
+
}
|
|
16
|
+
return properties;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.default = Probability;
|
|
20
|
+
//# sourceMappingURL=Probability.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Probability.js","sourceRoot":"","sources":["Probability.ts"],"names":[],"mappings":";;AAoBA,MAAqB,WAAW;IAI5B,YACQ,KAAiB,EACjB,IAAY,EACZ,OAA4B;QAEhC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;IACrB,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAC3C,IAAI,IAAI,CAAC,KAAK,IAAI,IAAI,EAAE;YACpB,UAAU,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,EAAE,CAAC;SACjD;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAvBD,8BAuBC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
import DrawnPrize from "./DrawnPrize";
|
|
17
|
+
|
|
18
|
+
export interface ProbabilityOptions {
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export default class Probability {
|
|
22
|
+
private readonly prize: DrawnPrize;
|
|
23
|
+
private readonly rate: number;
|
|
24
|
+
|
|
25
|
+
public constructor(
|
|
26
|
+
prize: DrawnPrize,
|
|
27
|
+
rate: number,
|
|
28
|
+
options?: ProbabilityOptions,
|
|
29
|
+
) {
|
|
30
|
+
this.prize = prize;
|
|
31
|
+
this.rate = rate;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
public properties(): {[name: string]: any} {
|
|
35
|
+
let properties: {[name: string]: any} = {};
|
|
36
|
+
if (this.prize != null) {
|
|
37
|
+
properties["Prize"] = this.prize.properties();
|
|
38
|
+
}
|
|
39
|
+
if (this.rate != null) {
|
|
40
|
+
properties["Rate"] = this.rate;
|
|
41
|
+
}
|
|
42
|
+
return properties;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import Probability from "./Probability";
|
|
2
|
+
import Prize from "./Prize";
|
|
3
|
+
import { PrizeType } from "./Prize";
|
|
4
|
+
import DrawnPrize from "./DrawnPrize";
|
|
5
|
+
import BoxItem from "./BoxItem";
|
|
6
|
+
import BoxItems from "./BoxItems";
|
|
7
|
+
import LotteryModel from "./LotteryModel";
|
|
8
|
+
import { LotteryModelMode } from "./LotteryModel";
|
|
9
|
+
import { LotteryModelMethod } from "./LotteryModel";
|
|
10
|
+
import PrizeTable from "./PrizeTable";
|
|
11
|
+
import CurrentMasterData from "./CurrentMasterData";
|
|
12
|
+
import Namespace from "./Namespace";
|
|
13
|
+
import LotteryModelMaster from "./LotteryModelMaster";
|
|
14
|
+
import { LotteryModelMasterMode } from "./LotteryModelMaster";
|
|
15
|
+
import { LotteryModelMasterMethod } from "./LotteryModelMaster";
|
|
16
|
+
import PrizeTableMaster from "./PrizeTableMaster";
|
|
17
|
+
export { Probability, Prize, PrizeType, DrawnPrize, BoxItem, BoxItems, LotteryModel, LotteryModelMode, LotteryModelMethod, PrizeTable, CurrentMasterData, Namespace, LotteryModelMaster, LotteryModelMasterMode, LotteryModelMasterMethod, PrizeTableMaster, };
|