@freelog/freelog-cg-collection 1.2.14 → 1.2.16

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.
Files changed (152) hide show
  1. package/CollectionPolicyCustomVisitor.js +2 -1
  2. package/dist/config/ConfigEvent.d.ts +22 -0
  3. package/dist/{resources/context_config/event_configs.json → config/ConfigEvent.js} +9 -2
  4. package/dist/tools/PolicyMapper.js +6 -3
  5. package/package.json +1 -1
  6. package/src/config/ConfigEvent.ts +128 -0
  7. package/src/tools/PolicyMapper.ts +5 -1
  8. package/tsconfig.json +5 -4
  9. package/dist/function-executor/DefaultFunctionInvoke.d.ts +0 -5
  10. package/dist/function-executor/DefaultFunctionInvoke.js +0 -13
  11. package/dist/function-executor/FunctionHandle.d.ts +0 -17
  12. package/dist/function-executor/FunctionHandle.js +0 -44
  13. package/dist/function-executor/api/FunctionApiExecutor.d.ts +0 -5
  14. package/dist/function-executor/api/FunctionApiExecutor.js +0 -12
  15. package/dist/function-executor/fun/FunctionFunExecutor.d.ts +0 -9
  16. package/dist/function-executor/fun/FunctionFunExecutor.js +0 -30
  17. package/dist/function-executor/kit/FunctionKitExecutor.d.ts +0 -5
  18. package/dist/function-executor/kit/FunctionKitExecutor.js +0 -12
  19. package/dist/function-executor/query/FunctionQueryExecutor.d.ts +0 -5
  20. package/dist/function-executor/query/FunctionQueryExecutor.js +0 -12
  21. package/dist/function-executor/time/FunctionTimeExecutor.d.ts +0 -5
  22. package/dist/function-executor/time/FunctionTimeExecutor.js +0 -12
  23. package/dist/interface/DefaultFunctionInvoke.d.ts +0 -5
  24. package/dist/interface/DefaultFunctionInvoke.js +0 -13
  25. package/dist/model/contract-declaration/ContractDeclarationInfo.d.ts +0 -6
  26. package/dist/model/contract-declaration/ContractDeclarationInfo.js +0 -7
  27. package/dist/src/calculator/CalculatorFactory.d.ts +0 -17
  28. package/dist/src/calculator/CalculatorFactory.js +0 -40
  29. package/dist/src/calculator/CalculatorFactoryBuilder.d.ts +0 -4
  30. package/dist/src/calculator/CalculatorFactoryBuilder.js +0 -13
  31. package/dist/src/calculator/ExpArgsGroupCalculator.d.ts +0 -12
  32. package/dist/src/calculator/ExpArgsGroupCalculator.js +0 -25
  33. package/dist/src/calculator/ExpBooleanCalculator.d.ts +0 -13
  34. package/dist/src/calculator/ExpBooleanCalculator.js +0 -81
  35. package/dist/src/calculator/ExpCalculator.d.ts +0 -17
  36. package/dist/src/calculator/ExpCalculator.js +0 -56
  37. package/dist/src/calculator/ExpCollectionCalculator.d.ts +0 -0
  38. package/dist/src/calculator/ExpCollectionCalculator.js +0 -1
  39. package/dist/src/calculator/ExpConditionCalculator.d.ts +0 -12
  40. package/dist/src/calculator/ExpConditionCalculator.js +0 -34
  41. package/dist/src/contract-declaration-executor/DefaultContractDeclarationExecutor.d.ts +0 -8
  42. package/dist/src/contract-declaration-executor/DefaultContractDeclarationExecutor.js +0 -13
  43. package/dist/src/contract-declaration-executor/DynamicContractDeclarationExecutor.d.ts +0 -7
  44. package/dist/src/contract-declaration-executor/DynamicContractDeclarationExecutor.js +0 -21
  45. package/dist/src/contract-declaration-executor/USEContractDeclaration.d.ts +0 -4
  46. package/dist/src/contract-declaration-executor/USEContractDeclaration.js +0 -23
  47. package/dist/src/function-executor/ApiFunctionExecutor.d.ts +0 -11
  48. package/dist/src/function-executor/ApiFunctionExecutor.js +0 -17
  49. package/dist/src/function-executor/DefaultFunctionExecutor.d.ts +0 -11
  50. package/dist/src/function-executor/DefaultFunctionExecutor.js +0 -19
  51. package/dist/src/function-executor/DynamicFunctionExecutor.d.ts +0 -13
  52. package/dist/src/function-executor/DynamicFunctionExecutor.js +0 -58
  53. package/dist/src/function-executor/FunFunctionExecutor.d.ts +0 -15
  54. package/dist/src/function-executor/FunFunctionExecutor.js +0 -48
  55. package/dist/src/function-executor/KitFunctionExecutor.d.ts +0 -9
  56. package/dist/src/function-executor/KitFunctionExecutor.js +0 -32
  57. package/dist/src/function-executor/QueryFunctionExecutor.d.ts +0 -40
  58. package/dist/src/function-executor/QueryFunctionExecutor.js +0 -42
  59. package/dist/src/function-executor/TimeFunctionExecutor.d.ts +0 -8
  60. package/dist/src/function-executor/TimeFunctionExecutor.js +0 -51
  61. package/dist/src/helper/ContractDeclarationHelper.d.ts +0 -7
  62. package/dist/src/helper/ContractDeclarationHelper.js +0 -28
  63. package/dist/src/helper/ExpHelper.d.ts +0 -16
  64. package/dist/src/helper/ExpHelper.js +0 -86
  65. package/dist/src/helper/FunctionHelper.d.ts +0 -41
  66. package/dist/src/helper/FunctionHelper.js +0 -161
  67. package/dist/src/helper/GetPostHelper.d.ts +0 -5
  68. package/dist/src/helper/GetPostHelper.js +0 -13
  69. package/dist/src/helper/PolicyHelper.d.ts +0 -102
  70. package/dist/src/helper/PolicyHelper.js +0 -519
  71. package/dist/src/interface/Calculator.d.ts +0 -5
  72. package/dist/src/interface/Calculator.js +0 -3
  73. package/dist/src/interface/ConstantForApi.d.ts +0 -12
  74. package/dist/src/interface/ConstantForApi.js +0 -17
  75. package/dist/src/interface/ContractDeclarationExecute.d.ts +0 -3
  76. package/dist/src/interface/ContractDeclarationExecute.js +0 -3
  77. package/dist/src/interface/ExpHelperAware.d.ts +0 -4
  78. package/dist/src/interface/ExpHelperAware.js +0 -3
  79. package/dist/src/interface/FunctionHelperAware.d.ts +0 -4
  80. package/dist/src/interface/FunctionHelperAware.js +0 -3
  81. package/dist/src/interface/FunctionInvoke.d.ts +0 -4
  82. package/dist/src/interface/FunctionInvoke.js +0 -3
  83. package/dist/src/interface/GetPostInvoke.d.ts +0 -4
  84. package/dist/src/interface/GetPostInvoke.js +0 -3
  85. package/dist/src/interface/OutsideApiServiceAware.d.ts +0 -4
  86. package/dist/src/interface/OutsideApiServiceAware.js +0 -3
  87. package/dist/src/interface/VarContextCapable.d.ts +0 -3
  88. package/dist/src/interface/VarContextCapable.js +0 -3
  89. package/dist/src/model/AssignmentClauseInfo.d.ts +0 -3
  90. package/dist/src/model/AssignmentClauseInfo.js +0 -3
  91. package/dist/src/model/contract-declaration/VarContractDeclarationInfo.d.ts +0 -17
  92. package/dist/src/model/contract-declaration/VarContractDeclarationInfo.js +0 -3
  93. package/dist/src/model/exp/EntityInfo.d.ts +0 -6
  94. package/dist/src/model/exp/EntityInfo.js +0 -3
  95. package/dist/src/model/exp/Exp.d.ts +0 -3
  96. package/dist/src/model/exp/Exp.js +0 -3
  97. package/dist/src/model/exp/ExpAtom.d.ts +0 -3
  98. package/dist/src/model/exp/ExpAtom.js +0 -3
  99. package/dist/src/model/exp/ExpOp.d.ts +0 -7
  100. package/dist/src/model/exp/ExpOp.js +0 -3
  101. package/dist/src/model/exp/ExpParen.d.ts +0 -5
  102. package/dist/src/model/exp/ExpParen.js +0 -3
  103. package/dist/src/model/exp/ExpSigned.d.ts +0 -6
  104. package/dist/src/model/exp/ExpSigned.js +0 -3
  105. package/dist/src/model/exp/FunctionCallInfo.d.ts +0 -12
  106. package/dist/src/model/exp/FunctionCallInfo.js +0 -3
  107. package/dist/src/model/exp/NumberInfo.d.ts +0 -5
  108. package/dist/src/model/exp/NumberInfo.js +0 -3
  109. package/dist/src/model/exp/StringInfo.d.ts +0 -5
  110. package/dist/src/model/exp/StringInfo.js +0 -3
  111. package/dist/src/model/exp/VariableChainInfo.d.ts +0 -6
  112. package/dist/src/model/exp/VariableChainInfo.js +0 -3
  113. package/dist/src/model/exp-args-group/ExpArgsGroup.d.ts +0 -9
  114. package/dist/src/model/exp-args-group/ExpArgsGroup.js +0 -3
  115. package/dist/src/model/exp-boolean/BooleanInfo.d.ts +0 -5
  116. package/dist/src/model/exp-boolean/BooleanInfo.js +0 -3
  117. package/dist/src/model/exp-boolean/ExpBoolean.d.ts +0 -3
  118. package/dist/src/model/exp-boolean/ExpBoolean.js +0 -3
  119. package/dist/src/model/exp-boolean/ExpBooleanAtom.d.ts +0 -3
  120. package/dist/src/model/exp-boolean/ExpBooleanAtom.js +0 -3
  121. package/dist/src/model/exp-boolean/ExpBooleanOpCollection.d.ts +0 -7
  122. package/dist/src/model/exp-boolean/ExpBooleanOpCollection.js +0 -3
  123. package/dist/src/model/exp-boolean/ExpBooleanOpCompare.d.ts +0 -7
  124. package/dist/src/model/exp-boolean/ExpBooleanOpCompare.js +0 -3
  125. package/dist/src/model/exp-boolean/ExpBooleanOpLogic.d.ts +0 -7
  126. package/dist/src/model/exp-boolean/ExpBooleanOpLogic.js +0 -3
  127. package/dist/src/model/exp-boolean/ExpBooleanParen.d.ts +0 -5
  128. package/dist/src/model/exp-boolean/ExpBooleanParen.js +0 -3
  129. package/dist/src/model/exp-collection/ExpCollection.d.ts +0 -9
  130. package/dist/src/model/exp-collection/ExpCollection.js +0 -3
  131. package/dist/src/model/exp-condition/ExpCondition.d.ts +0 -11
  132. package/dist/src/model/exp-condition/ExpCondition.js +0 -3
  133. package/dist/src/model/policy/ActionInfo.d.ts +0 -20
  134. package/dist/src/model/policy/ActionInfo.js +0 -3
  135. package/dist/src/model/policy/ContractDeclarationInfo.d.ts +0 -7
  136. package/dist/src/model/policy/ContractDeclarationInfo.js +0 -7
  137. package/dist/src/model/policy/EventInfo.d.ts +0 -27
  138. package/dist/src/model/policy/EventInfo.js +0 -3
  139. package/dist/src/model/policy/PolicyInfo.d.ts +0 -32
  140. package/dist/src/model/policy/PolicyInfo.js +0 -3
  141. package/dist/src/model/policy/VarDeclarationInfo.d.ts +0 -10
  142. package/dist/src/model/policy/VarDeclarationInfo.js +0 -3
  143. package/dist/src/service/OutsideApiService.d.ts +0 -58
  144. package/dist/src/service/OutsideApiService.js +0 -62
  145. package/dist/src/state-machine/ContractFsmHook.d.ts +0 -17
  146. package/dist/src/state-machine/ContractFsmHook.js +0 -33
  147. package/dist/src/state-machine/ContractStateMachine.d.ts +0 -51
  148. package/dist/src/state-machine/ContractStateMachine.js +0 -190
  149. package/dist/src/tools/PolicyDecompiler.d.ts +0 -26
  150. package/dist/src/tools/PolicyDecompiler.js +0 -298
  151. package/dist/src/tools/PolicyMapper.d.ts +0 -3
  152. package/dist/src/tools/PolicyMapper.js +0 -83
@@ -1,4 +0,0 @@
1
- export interface GetPostInvoke {
2
- doGet(url: string, payloadData: any): Promise<any>;
3
- doPost(url: string, payloadData: any): Promise<any>;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR2V0UG9zdEludm9rZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvR2V0UG9zdEludm9rZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,4 +0,0 @@
1
- import { OutsideApiService } from "../service/OutsideApiService";
2
- export interface OutsideApiServiceAware {
3
- setOutsideApiService(outsideApiService: OutsideApiService): void;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiT3V0c2lkZUFwaVNlcnZpY2VBd2FyZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9pbnRlcmZhY2UvT3V0c2lkZUFwaVNlcnZpY2VBd2FyZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,3 +0,0 @@
1
- export interface VarContextCapable<T> {
2
- getVarContext(varName: string): T;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVmFyQ29udGV4dENhcGFibGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvaW50ZXJmYWNlL1ZhckNvbnRleHRDYXBhYmxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,3 +0,0 @@
1
- export interface AssignmentClauseInfo {
2
- expType: string;
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQXNzaWdubWVudENsYXVzZUluZm8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbW9kZWwvQXNzaWdubWVudENsYXVzZUluZm8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,17 +0,0 @@
1
- import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
2
- export interface VarContractDeclarationInfo {
3
- expType: "varContractDeclaration";
4
- keyword: "DEMAND" | "USE";
5
- type: string;
6
- conditions: [
7
- {
8
- paramName: string;
9
- paramValue: string;
10
- paramValueObj: AssignmentClauseInfo;
11
- content: string;
12
- }
13
- ];
14
- varName: string;
15
- varValue: string;
16
- varValueType: string;
17
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVmFyQ29udHJhY3REZWNsYXJhdGlvbkluZm8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvY29udHJhY3QtZGVjbGFyYXRpb24vVmFyQ29udHJhY3REZWNsYXJhdGlvbkluZm8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,6 +0,0 @@
1
- import { ExpAtom } from "./ExpAtom";
2
- export interface EntityInfo extends ExpAtom {
3
- expType: "entity";
4
- entityType: string;
5
- entityName: string;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRW50aXR5SW5mby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAvRW50aXR5SW5mby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,3 +0,0 @@
1
- import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
2
- export interface Exp extends AssignmentClauseInfo {
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL2V4cC9FeHAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,3 +0,0 @@
1
- import { Exp } from "./Exp";
2
- export interface ExpAtom extends Exp {
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQXRvbS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAvRXhwQXRvbS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,7 +0,0 @@
1
- import { Exp } from "./Exp";
2
- export interface ExpOp extends Exp {
3
- expType: "expOp";
4
- op: "+" | "-" | "*" | "/" | "^";
5
- var1: any;
6
- var2: any;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwT3AuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvZXhwL0V4cE9wLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,5 +0,0 @@
1
- import { ExpAtom } from "./ExpAtom";
2
- export interface ExpParen extends ExpAtom {
3
- expType: "expParen";
4
- var1: any;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwUGFyZW4uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvZXhwL0V4cFBhcmVuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,6 +0,0 @@
1
- import { Exp } from "./Exp";
2
- export interface ExpSigned extends Exp {
3
- expType: "expSigned";
4
- symbol: "+" | "-";
5
- var1: any;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwU2lnbmVkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL2V4cC9FeHBTaWduZWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,12 +0,0 @@
1
- import { Exp } from "./Exp";
2
- import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
3
- export interface FunctionCallInfo extends Exp {
4
- expType: "functionCall";
5
- varChain?: string;
6
- funcName: string;
7
- paramList: {
8
- paramName?: string;
9
- paramValue: string;
10
- paramValueObj: AssignmentClauseInfo;
11
- }[];
12
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRnVuY3Rpb25DYWxsSW5mby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAvRnVuY3Rpb25DYWxsSW5mby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,5 +0,0 @@
1
- import { ExpAtom } from "./ExpAtom";
2
- export interface NumberInfo extends ExpAtom {
3
- expType: "number";
4
- value: string;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiTnVtYmVySW5mby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAvTnVtYmVySW5mby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,5 +0,0 @@
1
- import { ExpAtom } from "./ExpAtom";
2
- export interface StringInfo extends ExpAtom {
3
- expType: "string";
4
- value: string;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU3RyaW5nSW5mby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAvU3RyaW5nSW5mby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,6 +0,0 @@
1
- import { ExpAtom } from "./ExpAtom";
2
- export interface VariableChainInfo extends ExpAtom {
3
- expType: "variableChain";
4
- varType: "normal" | "context" | "event";
5
- content: string;
6
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVmFyaWFibGVDaGFpbkluZm8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvZXhwL1ZhcmlhYmxlQ2hhaW5JbmZvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,9 +0,0 @@
1
- import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
2
- export interface ExpArgsGroup extends AssignmentClauseInfo {
3
- expType: "expArgsGroup";
4
- paramList: {
5
- paramName: string;
6
- paramValue: string;
7
- paramValueObj: any;
8
- }[];
9
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQXJnc0dyb3VwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL2V4cC1hcmdzLWdyb3VwL0V4cEFyZ3NHcm91cC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,5 +0,0 @@
1
- import { ExpBooleanAtom } from "./ExpBooleanAtom";
2
- export interface BooleanInfo extends ExpBooleanAtom {
3
- expType: "boolean";
4
- value: string;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQm9vbGVhbkluZm8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvZXhwLWJvb2xlYW4vQm9vbGVhbkluZm8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,3 +0,0 @@
1
- import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
2
- export interface ExpBoolean extends AssignmentClauseInfo {
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQm9vbGVhbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAtYm9vbGVhbi9FeHBCb29sZWFuLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,3 +0,0 @@
1
- import { ExpBoolean } from "./ExpBoolean";
2
- export interface ExpBooleanAtom extends ExpBoolean {
3
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQm9vbGVhbkF0b20uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvZXhwLWJvb2xlYW4vRXhwQm9vbGVhbkF0b20udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,7 +0,0 @@
1
- import { ExpBoolean } from "./ExpBoolean";
2
- export interface ExpBooleanOpCollection extends ExpBoolean {
3
- expType: "expBooleanOpCollection";
4
- op: "in";
5
- var1: any;
6
- var2: any;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQm9vbGVhbk9wQ29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAtYm9vbGVhbi9FeHBCb29sZWFuT3BDb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,7 +0,0 @@
1
- import { ExpBoolean } from "./ExpBoolean";
2
- export interface ExpBooleanOpCompare extends ExpBoolean {
3
- expType: "expBooleanOpCompare";
4
- op: "less" | "before" | "lessOrEqual" | "greater" | "after" | "greaterOrEqual" | "equal" | "notEqual" | "<" | "<=" | ">" | ">=" | "==" | "!=";
5
- var1: any;
6
- var2: any;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQm9vbGVhbk9wQ29tcGFyZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAtYm9vbGVhbi9FeHBCb29sZWFuT3BDb21wYXJlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,7 +0,0 @@
1
- import { ExpBoolean } from "./ExpBoolean";
2
- export interface ExpBooleanOpLogic extends ExpBoolean {
3
- expType: "expBooleanOpLogic";
4
- op: "and" | "or" | "not";
5
- var1: ExpBoolean;
6
- var2?: ExpBoolean;
7
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQm9vbGVhbk9wTG9naWMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvZXhwLWJvb2xlYW4vRXhwQm9vbGVhbk9wTG9naWMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,5 +0,0 @@
1
- import { ExpBoolean } from "./ExpBoolean";
2
- export interface ExpBooleanParen extends ExpBoolean {
3
- expType: "expBooleanParen";
4
- var1: ExpBoolean;
5
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQm9vbGVhblBhcmVuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL2V4cC1ib29sZWFuL0V4cEJvb2xlYW5QYXJlbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,9 +0,0 @@
1
- import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
2
- import { Exp } from "../exp/Exp";
3
- export interface ExpCollection extends AssignmentClauseInfo {
4
- expType: "expCollection";
5
- lSymbol: "[" | "(";
6
- rSymbol: "]" | ")";
7
- var1: Exp;
8
- var2: Exp;
9
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQ29sbGVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9leHAtY29sbGVjdGlvbi9FeHBDb2xsZWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,11 +0,0 @@
1
- import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
2
- import { ExpBoolean } from "../exp-boolean/ExpBoolean";
3
- export interface ExpCondition extends AssignmentClauseInfo {
4
- expType: "expCondition";
5
- paramList: {
6
- paramCondition?: string;
7
- paramConditionObj?: ExpBoolean;
8
- paramValue: string;
9
- paramValueObj: any;
10
- }[];
11
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhwQ29uZGl0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL2V4cC1jb25kaXRpb24vRXhwQ29uZGl0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==
@@ -1,20 +0,0 @@
1
- import { FunctionCallInfo } from "../exp/FunctionCallInfo";
2
- import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
3
- export interface ActionInfo {
4
- type: string;
5
- }
6
- export interface ActionFunctionCall extends ActionInfo {
7
- type: "functionCall";
8
- content: string;
9
- actionObj: FunctionCallInfo;
10
- }
11
- export interface ActionVarAssignment extends ActionInfo {
12
- type: "varAssignment";
13
- content: string;
14
- actionObj: {
15
- varName: string;
16
- varValue: string;
17
- varValueObj: AssignmentClauseInfo;
18
- varValueType: string;
19
- };
20
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQWN0aW9uSW5mby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9wb2xpY3kvQWN0aW9uSW5mby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,7 +0,0 @@
1
- import { VarContractDeclarationInfo } from "../contract-declaration/VarContractDeclarationInfo";
2
- export declare class ContractDeclarationInfo {
3
- type: "contractDeclaration";
4
- content: string;
5
- keywords: string[];
6
- varValueObj?: VarContractDeclarationInfo;
7
- }
@@ -1,7 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ContractDeclarationInfo = void 0;
4
- class ContractDeclarationInfo {
5
- }
6
- exports.ContractDeclarationInfo = ContractDeclarationInfo;
7
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQ29udHJhY3REZWNsYXJhdGlvbkluZm8uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbW9kZWwvcG9saWN5L0NvbnRyYWN0RGVjbGFyYXRpb25JbmZvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUVBLE1BQWEsdUJBQXVCO0NBS25DO0FBTEQsMERBS0MifQ==
@@ -1,27 +0,0 @@
1
- import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
2
- import { ActionInfo } from "./ActionInfo";
3
- export interface EventInfo {
4
- type: "normal" | "terminate";
5
- content: string;
6
- eventName: string;
7
- eventPath?: string;
8
- eventParamList?: [
9
- {
10
- paramName?: string;
11
- paramValue: string;
12
- paramValueObj: AssignmentClauseInfo;
13
- }
14
- ];
15
- toState: string;
16
- stateContextArgs?: [
17
- {
18
- paramName: string;
19
- paramValue: string;
20
- paramValueObj: AssignmentClauseInfo;
21
- content: string;
22
- }
23
- ];
24
- actions: ActionInfo[];
25
- eventCode?: string;
26
- eventId?: string;
27
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXZlbnRJbmZvLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL3BvbGljeS9FdmVudEluZm8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,32 +0,0 @@
1
- import { VarDeclarationInfo } from "./VarDeclarationInfo";
2
- import { EventInfo } from "./EventInfo";
3
- import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
4
- import { ContractDeclarationInfo } from "./ContractDeclarationInfo";
5
- export interface PolicyInfo {
6
- audienceSection: AudienceSection;
7
- contractDeclarationSection: ContractDeclarationSection;
8
- varDeclarationList: VarDeclarationInfo[];
9
- stateMachine: StateInfo[];
10
- }
11
- export interface AudienceSection {
12
- audiences: string[];
13
- conditions: {
14
- paramName?: string;
15
- paramValue: string;
16
- paramValueObj: AssignmentClauseInfo;
17
- content: string;
18
- }[];
19
- }
20
- export interface ContractDeclarationSection {
21
- contractDeclarations: ContractDeclarationInfo[];
22
- }
23
- export interface StateInfo {
24
- stateName: string;
25
- assignments: VarDeclarationInfo[];
26
- events: EventInfo[];
27
- serviceStateSection?: {
28
- serviceState?: string;
29
- serviceStateCollection?: string[];
30
- };
31
- stateContextArgs?: string[];
32
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUG9saWN5SW5mby5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9tb2RlbC9wb2xpY3kvUG9saWN5SW5mby50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=
@@ -1,10 +0,0 @@
1
- import { AssignmentClauseInfo } from "../AssignmentClauseInfo";
2
- export interface VarDeclarationInfo {
3
- type: "varGlobal" | "varMacro" | "expCustom" | "varAssigment" | "varInitial";
4
- content: string;
5
- varName: string;
6
- paramList?: string[];
7
- varValue: string;
8
- varValueObj: AssignmentClauseInfo;
9
- varValueType?: "void" | "boolean" | "number" | "string" | "entity" | "array" | "argsGroup" | "any";
10
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVmFyRGVjbGFyYXRpb25JbmZvLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL21vZGVsL3BvbGljeS9WYXJEZWNsYXJhdGlvbkluZm8udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9
@@ -1,58 +0,0 @@
1
- import { GetPostInvoke } from "../interface/GetPostInvoke";
2
- export declare class OutsideApiService {
3
- private getPostInvoke;
4
- private apiAddressMap;
5
- resourceCountOfUpdates(args: {
6
- subject: any;
7
- interval?: "PAST_MONTH";
8
- startTime?: string;
9
- limitTime?: string;
10
- }): Promise<number>;
11
- echoLabels(args: {
12
- subject: any;
13
- policyId?: string;
14
- licensee: any;
15
- }): Promise<string[]>;
16
- echoLabelInfos(args: {
17
- subject: any;
18
- policyId?: string;
19
- licensee: any;
20
- }): Promise<any[]>;
21
- contractSignCount(args: {
22
- node?: string;
23
- subject?: any;
24
- policyId?: string;
25
- status?: number;
26
- licensee: any;
27
- }): Promise<number>;
28
- contractInfos(args: {
29
- subject: any;
30
- policyId: string;
31
- licensee: any;
32
- status?: number;
33
- }): Promise<any[]>;
34
- transactionRecordsCount(args: {
35
- subject?: any;
36
- contractId?: string;
37
- amount?: number;
38
- licenseeOwner: number;
39
- }): Promise<number>;
40
- transactionAmountsSum(args: {
41
- subject?: any;
42
- contractId?: string;
43
- interval?: "PAST_MONTH";
44
- startTime?: string;
45
- limitTime?: string;
46
- }): Promise<number>;
47
- funAppendTTL(args: any): Promise<string>;
48
- funSendEvent(args: {
49
- title: string;
50
- }): Promise<void>;
51
- funSetLabel(args: any): Promise<void>;
52
- setGetPostInvoke(getPostInvoke: GetPostInvoke): void;
53
- setApiAddress(api: string, url: string): void;
54
- setApiAddressMulti(tuples: {
55
- api: string;
56
- url: string;
57
- }[]): void;
58
- }
@@ -1,62 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.OutsideApiService = void 0;
4
- const ConstantForApi_1 = require("../interface/ConstantForApi");
5
- class OutsideApiService {
6
- constructor() {
7
- this.apiAddressMap = new Map();
8
- }
9
- // 资源更新数
10
- async resourceCountOfUpdates(args) {
11
- return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.ResourceCountOfUpdates), args);
12
- }
13
- // 乙方标签
14
- async echoLabels(args) {
15
- return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.EchoLabels), args);
16
- }
17
- // 乙方标签信息
18
- async echoLabelInfos(args) {
19
- return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.EchoLabelInfos), args);
20
- }
21
- // 合约签约数
22
- async contractSignCount(args) {
23
- return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.ContractSignCount), args);
24
- }
25
- // 合约信息
26
- async contractInfos(args) {
27
- return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.ContractInfos), args);
28
- }
29
- // 交易记录数
30
- async transactionRecordsCount(args) {
31
- return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.TransactionRecordsCount), args);
32
- }
33
- // 交易记录额
34
- async transactionAmountsSum(args) {
35
- return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.TransactionAmountsSum), args);
36
- }
37
- // 追加时间
38
- async funAppendTTL(args) {
39
- return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.FunAppendTTL), args);
40
- }
41
- // 发送事件
42
- async funSendEvent(args) {
43
- return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.FunSendEvent), args);
44
- }
45
- // 设置用户组标签
46
- async funSetLabel(args) {
47
- return this.getPostInvoke.doPost(this.apiAddressMap.get(ConstantForApi_1.ConstantForApi.FunSetLabel), args);
48
- }
49
- setGetPostInvoke(getPostInvoke) {
50
- this.getPostInvoke = getPostInvoke;
51
- }
52
- setApiAddress(api, url) {
53
- this.apiAddressMap.set(api, url);
54
- }
55
- setApiAddressMulti(tuples) {
56
- for (let tuple of tuples) {
57
- this.setApiAddress(tuple.api, tuple.url);
58
- }
59
- }
60
- }
61
- exports.OutsideApiService = OutsideApiService;
62
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiT3V0c2lkZUFwaVNlcnZpY2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvc2VydmljZS9PdXRzaWRlQXBpU2VydmljZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFDQSxnRUFBMkQ7QUFFM0QsTUFBYSxpQkFBaUI7SUFBOUI7UUFJWSxrQkFBYSxHQUF3QixJQUFJLEdBQUcsRUFBa0IsQ0FBQztJQXVGM0UsQ0FBQztJQXJGRyxRQUFRO0lBQ1IsS0FBSyxDQUFDLHNCQUFzQixDQUFDLElBSzVCO1FBQ0csT0FBTyxJQUFJLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQywrQkFBYyxDQUFDLHNCQUFzQixDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDMUcsQ0FBQztJQUVELE9BQU87SUFDUCxLQUFLLENBQUMsVUFBVSxDQUFDLElBQXdEO1FBQ3JFLE9BQU8sSUFBSSxDQUFDLGFBQWEsQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLGFBQWEsQ0FBQyxHQUFHLENBQUMsK0JBQWMsQ0FBQyxVQUFVLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQztJQUM5RixDQUFDO0lBRUQsU0FBUztJQUNULEtBQUssQ0FBQyxjQUFjLENBQUMsSUFBd0Q7UUFDekUsT0FBTyxJQUFJLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQywrQkFBYyxDQUFDLGNBQWMsQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQ2xHLENBQUM7SUFFRCxRQUFRO0lBQ1IsS0FBSyxDQUFDLGlCQUFpQixDQUFDLElBTXZCO1FBQ0csT0FBTyxJQUFJLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQywrQkFBYyxDQUFDLGlCQUFpQixDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDckcsQ0FBQztJQUVELE9BQU87SUFDUCxLQUFLLENBQUMsYUFBYSxDQUFDLElBQXdFO1FBQ3hGLE9BQU8sSUFBSSxDQUFDLGFBQWEsQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLGFBQWEsQ0FBQyxHQUFHLENBQUMsK0JBQWMsQ0FBQyxhQUFhLENBQUMsRUFBRSxJQUFJLENBQUMsQ0FBQztJQUNqRyxDQUFDO0lBRUQsUUFBUTtJQUNSLEtBQUssQ0FBQyx1QkFBdUIsQ0FBQyxJQUs3QjtRQUNHLE9BQU8sSUFBSSxDQUFDLGFBQWEsQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLGFBQWEsQ0FBQyxHQUFHLENBQUMsK0JBQWMsQ0FBQyx1QkFBdUIsQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQzNHLENBQUM7SUFFRCxRQUFRO0lBQ1IsS0FBSyxDQUFDLHFCQUFxQixDQUFDLElBTTNCO1FBQ0csT0FBTyxJQUFJLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQywrQkFBYyxDQUFDLHFCQUFxQixDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDekcsQ0FBQztJQUVELE9BQU87SUFDUCxLQUFLLENBQUMsWUFBWSxDQUFDLElBQUk7UUFDbkIsT0FBTyxJQUFJLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQywrQkFBYyxDQUFDLFlBQVksQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQ2hHLENBQUM7SUFFRCxPQUFPO0lBQ1AsS0FBSyxDQUFDLFlBQVksQ0FBQyxJQUF1QjtRQUN0QyxPQUFPLElBQUksQ0FBQyxhQUFhLENBQUMsTUFBTSxDQUFDLElBQUksQ0FBQyxhQUFhLENBQUMsR0FBRyxDQUFDLCtCQUFjLENBQUMsWUFBWSxDQUFDLEVBQUUsSUFBSSxDQUFDLENBQUM7SUFDaEcsQ0FBQztJQUVELFVBQVU7SUFDVixLQUFLLENBQUMsV0FBVyxDQUFDLElBQUk7UUFDbEIsT0FBTyxJQUFJLENBQUMsYUFBYSxDQUFDLE1BQU0sQ0FBQyxJQUFJLENBQUMsYUFBYSxDQUFDLEdBQUcsQ0FBQywrQkFBYyxDQUFDLFdBQVcsQ0FBQyxFQUFFLElBQUksQ0FBQyxDQUFDO0lBQy9GLENBQUM7SUFFRCxnQkFBZ0IsQ0FBQyxhQUE0QjtRQUN6QyxJQUFJLENBQUMsYUFBYSxHQUFHLGFBQWEsQ0FBQztJQUN2QyxDQUFDO0lBRUQsYUFBYSxDQUFDLEdBQVcsRUFBRSxHQUFXO1FBQ2xDLElBQUksQ0FBQyxhQUFhLENBQUMsR0FBRyxDQUFDLEdBQUcsRUFBRSxHQUFHLENBQUMsQ0FBQztJQUNyQyxDQUFDO0lBRUQsa0JBQWtCLENBQUMsTUFBc0M7UUFDckQsS0FBSyxJQUFJLEtBQUssSUFBSSxNQUFNLEVBQUUsQ0FBQztZQUN2QixJQUFJLENBQUMsYUFBYSxDQUFDLEtBQUssQ0FBQyxHQUFHLEVBQUUsS0FBSyxDQUFDLEdBQUcsQ0FBQyxDQUFDO1FBQzdDLENBQUM7SUFDTCxDQUFDO0NBQ0o7QUEzRkQsOENBMkZDIn0=
@@ -1,17 +0,0 @@
1
- import { ContractStateMachine } from "./ContractStateMachine";
2
- export declare abstract class ContractFsmHook {
3
- csm: ContractStateMachine;
4
- constructor(csm: ContractStateMachine);
5
- doOnBeforeTransition(lifeCycle: any): Promise<void>;
6
- doOnLeaveState(lifeCycle: any): Promise<void>;
7
- doOnTransition(lifeCycle: any): Promise<boolean>;
8
- doOnEnterState(lifeCycle: any): Promise<void>;
9
- doOnAfterTransition(lifeCycle: any): Promise<void>;
10
- doOnInvalidTransition(lifeCycle: any): Promise<void>;
11
- getCurrentInfo(): Promise<{
12
- state: any;
13
- transitions: any;
14
- initEventNameList: string[];
15
- policyInfoResult: import("../helper/PolicyHelper").PolicyInfoResult;
16
- }>;
17
- }