openxiangda-contracts 2.78.0 → 2.81.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.
Files changed (172) hide show
  1. package/dist/ai.d.ts +321 -21
  2. package/dist/ai.d.ts.map +1 -1
  3. package/dist/ai.js +37 -14
  4. package/dist/ai.js.map +1 -1
  5. package/dist/application-agent.d.ts +540 -0
  6. package/dist/application-agent.d.ts.map +1 -0
  7. package/dist/application-agent.js +98 -0
  8. package/dist/application-agent.js.map +1 -0
  9. package/dist/browser.d.ts +15 -0
  10. package/dist/browser.d.ts.map +1 -1
  11. package/dist/browser.js +14 -0
  12. package/dist/browser.js.map +1 -1
  13. package/dist/cli.d.ts +5 -0
  14. package/dist/cli.d.ts.map +1 -1
  15. package/dist/data-field-validation.js +26 -23
  16. package/dist/data-field-validation.js.map +1 -1
  17. package/dist/field-value-schemas.d.ts +2 -1427
  18. package/dist/field-value-schemas.d.ts.map +1 -1
  19. package/dist/field-value-schemas.js +2 -261
  20. package/dist/field-value-schemas.js.map +1 -1
  21. package/dist/index.d.ts +13 -0
  22. package/dist/index.d.ts.map +1 -1
  23. package/dist/index.js +13 -0
  24. package/dist/index.js.map +1 -1
  25. package/dist/native-compiler/address-value.d.ts +13 -0
  26. package/dist/native-compiler/address-value.d.ts.map +1 -0
  27. package/dist/native-compiler/address-value.js +70 -0
  28. package/dist/native-compiler/address-value.js.map +1 -0
  29. package/dist/native-compiler/application-agent.d.ts +39 -0
  30. package/dist/native-compiler/application-agent.d.ts.map +1 -0
  31. package/dist/native-compiler/application-agent.js +344 -0
  32. package/dist/native-compiler/application-agent.js.map +1 -0
  33. package/dist/native-compiler/cascade-value.d.ts +6 -0
  34. package/dist/native-compiler/cascade-value.d.ts.map +1 -0
  35. package/dist/native-compiler/cascade-value.js +47 -0
  36. package/dist/native-compiler/cascade-value.js.map +1 -0
  37. package/dist/native-compiler/compiler.d.ts +1 -1
  38. package/dist/native-compiler/compiler.d.ts.map +1 -1
  39. package/dist/native-compiler/compiler.js +85 -56
  40. package/dist/native-compiler/compiler.js.map +1 -1
  41. package/dist/native-compiler/data-field.d.ts +3 -0
  42. package/dist/native-compiler/data-field.d.ts.map +1 -1
  43. package/dist/native-compiler/data-field.js +10 -2
  44. package/dist/native-compiler/data-field.js.map +1 -1
  45. package/dist/native-compiler/declaration-capacity.d.ts +3 -0
  46. package/dist/native-compiler/declaration-capacity.d.ts.map +1 -1
  47. package/dist/native-compiler/declaration-capacity.js +1 -1
  48. package/dist/native-compiler/declaration-capacity.js.map +1 -1
  49. package/dist/native-compiler/field-value-schemas.d.ts +1428 -0
  50. package/dist/native-compiler/field-value-schemas.d.ts.map +1 -0
  51. package/dist/native-compiler/field-value-schemas.js +262 -0
  52. package/dist/native-compiler/field-value-schemas.js.map +1 -0
  53. package/dist/native-compiler/index.cjs +4 -4
  54. package/dist/native-compiler/index.d.ts +17 -0
  55. package/dist/native-compiler/index.d.ts.map +1 -1
  56. package/dist/native-compiler/index.js +4 -4
  57. package/dist/native-compiler/resource-query.d.ts +21 -0
  58. package/dist/native-compiler/resource-query.d.ts.map +1 -0
  59. package/dist/native-compiler/resource-query.js +154 -0
  60. package/dist/native-compiler/resource-query.js.map +1 -0
  61. package/dist/native-compiler/workflow-approval-empty.d.ts +1 -1
  62. package/dist/native-compiler/workflow-approval-empty.d.ts.map +1 -1
  63. package/dist/native-compiler/workflow-approval-empty.js +1 -1
  64. package/dist/native-compiler/workflow-approval-empty.js.map +1 -1
  65. package/dist/native-compiler/workflow-authoring.d.ts +24 -0
  66. package/dist/native-compiler/workflow-authoring.d.ts.map +1 -0
  67. package/dist/native-compiler/workflow-authoring.js +84 -0
  68. package/dist/native-compiler/workflow-authoring.js.map +1 -0
  69. package/dist/native-compiler/workflow-business-step.d.ts +13 -2
  70. package/dist/native-compiler/workflow-business-step.d.ts.map +1 -1
  71. package/dist/native-compiler/workflow-business-step.js +31 -6
  72. package/dist/native-compiler/workflow-business-step.js.map +1 -1
  73. package/dist/native-compiler/workflow-completion-deadline.d.ts +1 -0
  74. package/dist/native-compiler/workflow-completion-deadline.d.ts.map +1 -1
  75. package/dist/native-compiler/workflow-completion-deadline.js +1 -1
  76. package/dist/native-compiler/workflow-completion-deadline.js.map +1 -1
  77. package/dist/native-compiler/workflow-correction.d.ts +1 -0
  78. package/dist/native-compiler/workflow-correction.d.ts.map +1 -1
  79. package/dist/native-compiler/workflow-correction.js +5 -4
  80. package/dist/native-compiler/workflow-correction.js.map +1 -1
  81. package/dist/native-compiler/workflow-designer.d.ts +134 -0
  82. package/dist/native-compiler/workflow-designer.d.ts.map +1 -0
  83. package/dist/native-compiler/workflow-designer.js +407 -0
  84. package/dist/native-compiler/workflow-designer.js.map +1 -0
  85. package/dist/native-compiler/workflow-events.d.ts +8 -0
  86. package/dist/native-compiler/workflow-events.d.ts.map +1 -0
  87. package/dist/native-compiler/workflow-events.js +53 -0
  88. package/dist/native-compiler/workflow-events.js.map +1 -0
  89. package/dist/native-compiler/workflow-expression.d.ts +4 -0
  90. package/dist/native-compiler/workflow-expression.d.ts.map +1 -0
  91. package/dist/native-compiler/workflow-expression.js +47 -0
  92. package/dist/native-compiler/workflow-expression.js.map +1 -0
  93. package/dist/native-compiler/workflow-graph.d.ts +16 -1
  94. package/dist/native-compiler/workflow-graph.d.ts.map +1 -1
  95. package/dist/native-compiler/workflow-graph.js +27 -5
  96. package/dist/native-compiler/workflow-graph.js.map +1 -1
  97. package/dist/native-compiler/workflow-handle.d.ts +4 -0
  98. package/dist/native-compiler/workflow-handle.d.ts.map +1 -0
  99. package/dist/native-compiler/workflow-handle.js +20 -0
  100. package/dist/native-compiler/workflow-handle.js.map +1 -0
  101. package/dist/native-compiler/workflow-initiator-approval.d.ts +1 -0
  102. package/dist/native-compiler/workflow-initiator-approval.d.ts.map +1 -1
  103. package/dist/native-compiler/workflow-initiator-approval.js +1 -1
  104. package/dist/native-compiler/workflow-initiator-approval.js.map +1 -1
  105. package/dist/native-compiler/workflow-node-administration.d.ts +12 -1
  106. package/dist/native-compiler/workflow-node-administration.d.ts.map +1 -1
  107. package/dist/native-compiler/workflow-node-administration.js +66 -14
  108. package/dist/native-compiler/workflow-node-administration.js.map +1 -1
  109. package/dist/native-compiler/workflow-parallel.d.ts +69 -0
  110. package/dist/native-compiler/workflow-parallel.d.ts.map +1 -0
  111. package/dist/native-compiler/workflow-parallel.js +178 -0
  112. package/dist/native-compiler/workflow-parallel.js.map +1 -0
  113. package/dist/native-compiler/workflow-platform-notify.d.ts +41 -0
  114. package/dist/native-compiler/workflow-platform-notify.d.ts.map +1 -0
  115. package/dist/native-compiler/workflow-platform-notify.js +49 -0
  116. package/dist/native-compiler/workflow-platform-notify.js.map +1 -0
  117. package/dist/native-compiler/workflow-reminders.d.ts +11 -0
  118. package/dist/native-compiler/workflow-reminders.d.ts.map +1 -0
  119. package/dist/native-compiler/workflow-reminders.js +12 -0
  120. package/dist/native-compiler/workflow-reminders.js.map +1 -0
  121. package/dist/native-compiler/workflow-return-eligibility.d.ts +8 -0
  122. package/dist/native-compiler/workflow-return-eligibility.d.ts.map +1 -0
  123. package/dist/native-compiler/workflow-return-eligibility.js +32 -0
  124. package/dist/native-compiler/workflow-return-eligibility.js.map +1 -0
  125. package/dist/native-compiler/workflow-return-policy.d.ts +20 -0
  126. package/dist/native-compiler/workflow-return-policy.d.ts.map +1 -0
  127. package/dist/native-compiler/workflow-return-policy.js +37 -0
  128. package/dist/native-compiler/workflow-return-policy.js.map +1 -0
  129. package/dist/native-compiler/workflow-role-union.d.ts +5 -1
  130. package/dist/native-compiler/workflow-role-union.d.ts.map +1 -1
  131. package/dist/native-compiler/workflow-role-union.js +1 -1
  132. package/dist/native-compiler/workflow-role-union.js.map +1 -1
  133. package/dist/native-compiler/workflow-schema-constants.d.ts +5 -0
  134. package/dist/native-compiler/workflow-schema-constants.d.ts.map +1 -0
  135. package/dist/native-compiler/workflow-schema-constants.js +5 -0
  136. package/dist/native-compiler/workflow-schema-constants.js.map +1 -0
  137. package/dist/native-compiler/workflow-schema.d.ts +1634 -0
  138. package/dist/native-compiler/workflow-schema.d.ts.map +1 -0
  139. package/dist/native-compiler/workflow-schema.js +519 -0
  140. package/dist/native-compiler/workflow-schema.js.map +1 -0
  141. package/dist/native-compiler/workflow-source-sync.d.ts +109 -0
  142. package/dist/native-compiler/workflow-source-sync.d.ts.map +1 -0
  143. package/dist/native-compiler/workflow-source-sync.js +116 -0
  144. package/dist/native-compiler/workflow-source-sync.js.map +1 -0
  145. package/dist/native-compiler/workflow-supervisor-chain.d.ts +16 -0
  146. package/dist/native-compiler/workflow-supervisor-chain.d.ts.map +1 -0
  147. package/dist/native-compiler/workflow-supervisor-chain.js +44 -0
  148. package/dist/native-compiler/workflow-supervisor-chain.js.map +1 -0
  149. package/dist/native-compiler/workflow-task-page.js +1 -1
  150. package/dist/native-compiler/workflow-task-page.js.map +1 -1
  151. package/dist/native-version.d.ts +7 -0
  152. package/dist/native-version.d.ts.map +1 -1
  153. package/dist/native-version.js +7 -0
  154. package/dist/native-version.js.map +1 -1
  155. package/dist/native.d.ts +10 -0
  156. package/dist/native.d.ts.map +1 -1
  157. package/dist/native.js.map +1 -1
  158. package/dist/references.d.ts +4 -0
  159. package/dist/references.d.ts.map +1 -1
  160. package/dist/schemas.d.ts +1485 -1088
  161. package/dist/schemas.d.ts.map +1 -1
  162. package/dist/schemas.js +33 -449
  163. package/dist/schemas.js.map +1 -1
  164. package/dist/types.d.ts +48 -12
  165. package/dist/types.d.ts.map +1 -1
  166. package/dist/types.js +4 -42
  167. package/dist/types.js.map +1 -1
  168. package/dist/workflow-summary.d.ts +1 -1
  169. package/dist/workflow-summary.d.ts.map +1 -1
  170. package/dist/workflow-summary.js +2 -1
  171. package/dist/workflow-summary.js.map +1 -1
  172. package/package.json +1 -1
package/dist/schemas.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ export { workflowDefinitionSchema, workflowBindingSchema, workflowBusinessStepNodeSchema } from './native-compiler/workflow-schema.js';
1
2
  export declare const diagnosticSchema: {
2
3
  readonly $id: "openxiangda.diagnostic/v2";
3
4
  readonly type: "object";
@@ -4281,6 +4282,9 @@ export declare const directorySearchResultSchema: {
4281
4282
  readonly selectable: {
4282
4283
  readonly type: "boolean";
4283
4284
  };
4285
+ readonly inactive: {
4286
+ readonly type: "boolean";
4287
+ };
4284
4288
  readonly path: {
4285
4289
  readonly type: "array";
4286
4290
  readonly items: {
@@ -4561,6 +4565,9 @@ export declare const directoryEntryPageSchema: {
4561
4565
  readonly selectable: {
4562
4566
  readonly type: "boolean";
4563
4567
  };
4568
+ readonly inactive: {
4569
+ readonly type: "boolean";
4570
+ };
4564
4571
  readonly path: {
4565
4572
  readonly type: "array";
4566
4573
  readonly items: {
@@ -4603,7 +4610,7 @@ export declare const nativeScopeValueResolveRequestSchema: {
4603
4610
  readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
4604
4611
  };
4605
4612
  readonly operation: {
4606
- readonly enum: readonly ["create", "update"];
4613
+ readonly enum: readonly ["create", "update", "filter"];
4607
4614
  };
4608
4615
  readonly values: {
4609
4616
  readonly type: "array";
@@ -4677,7 +4684,7 @@ export declare const nativeScopeValuePageSchema: {
4677
4684
  readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
4678
4685
  };
4679
4686
  readonly operation: {
4680
- readonly enum: readonly ["create", "update"];
4687
+ readonly enum: readonly ["create", "update", "filter"];
4681
4688
  };
4682
4689
  readonly items: {
4683
4690
  readonly type: "array";
@@ -4698,6 +4705,9 @@ export declare const nativeScopeValuePageSchema: {
4698
4705
  readonly selectable: {
4699
4706
  readonly type: "boolean";
4700
4707
  };
4708
+ readonly inactive: {
4709
+ readonly type: "boolean";
4710
+ };
4701
4711
  };
4702
4712
  };
4703
4713
  };
@@ -4711,6 +4721,54 @@ export declare const dataFieldSourceQuerySchema: {
4711
4721
  readonly type: "object";
4712
4722
  readonly additionalProperties: false;
4713
4723
  readonly required: readonly ["schemaVersion", "operation"];
4724
+ readonly allOf: readonly [{
4725
+ readonly if: {
4726
+ readonly properties: {
4727
+ readonly operation: {
4728
+ readonly const: "filter";
4729
+ };
4730
+ };
4731
+ };
4732
+ readonly then: {
4733
+ readonly not: {
4734
+ readonly anyOf: {
4735
+ required: string[];
4736
+ }[];
4737
+ };
4738
+ };
4739
+ }, {
4740
+ readonly if: {
4741
+ readonly required: readonly ["record"];
4742
+ };
4743
+ readonly then: {
4744
+ readonly properties: {
4745
+ readonly operation: {
4746
+ readonly const: "update";
4747
+ };
4748
+ };
4749
+ readonly not: {
4750
+ readonly anyOf: readonly [{
4751
+ readonly required: readonly ["launch"];
4752
+ }, {
4753
+ readonly required: readonly ["action"];
4754
+ }];
4755
+ };
4756
+ };
4757
+ }, {
4758
+ readonly if: {
4759
+ readonly required: readonly ["action"];
4760
+ };
4761
+ readonly then: {
4762
+ readonly properties: {
4763
+ readonly operation: {
4764
+ readonly const: "update";
4765
+ };
4766
+ };
4767
+ readonly not: {
4768
+ readonly required: readonly ["launch"];
4769
+ };
4770
+ };
4771
+ }];
4714
4772
  readonly properties: {
4715
4773
  readonly schemaVersion: {
4716
4774
  readonly const: "openxiangda.data-field-source-query/v2";
@@ -4736,8 +4794,24 @@ export declare const dataFieldSourceQuerySchema: {
4736
4794
  };
4737
4795
  };
4738
4796
  };
4797
+ readonly record: {
4798
+ readonly type: "object";
4799
+ readonly additionalProperties: false;
4800
+ readonly required: readonly ["id", "expectedRevision"];
4801
+ readonly properties: {
4802
+ readonly id: {
4803
+ readonly type: "string";
4804
+ readonly format: "uuid";
4805
+ };
4806
+ readonly expectedRevision: {
4807
+ readonly type: "integer";
4808
+ readonly minimum: 1;
4809
+ readonly maximum: number;
4810
+ };
4811
+ };
4812
+ };
4739
4813
  readonly operation: {
4740
- readonly enum: readonly ["create", "update"];
4814
+ readonly enum: readonly ["create", "update", "filter"];
4741
4815
  };
4742
4816
  readonly launch: {
4743
4817
  readonly type: "object";
@@ -4922,7 +4996,7 @@ export declare const dataFieldSourcePageSchema: {
4922
4996
  readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
4923
4997
  };
4924
4998
  readonly operation: {
4925
- readonly enum: readonly ["create", "update"];
4999
+ readonly enum: readonly ["create", "update", "filter"];
4926
5000
  };
4927
5001
  readonly items: {
4928
5002
  readonly type: "array";
@@ -5657,6 +5731,25 @@ export declare const dataResourceSchema: {
5657
5731
  }];
5658
5732
  };
5659
5733
  };
5734
+ readonly filterWhere: {
5735
+ readonly type: "array";
5736
+ readonly maxItems: 20;
5737
+ readonly items: {
5738
+ readonly type: "object";
5739
+ readonly additionalProperties: false;
5740
+ readonly required: readonly ["field", "operator", "value"];
5741
+ readonly properties: {
5742
+ readonly field: {
5743
+ readonly type: "string";
5744
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
5745
+ };
5746
+ readonly operator: {
5747
+ readonly enum: readonly ["eq", "in"];
5748
+ };
5749
+ readonly value: {};
5750
+ };
5751
+ };
5752
+ };
5660
5753
  readonly pageSize: {
5661
5754
  readonly type: "integer";
5662
5755
  readonly minimum: 1;
@@ -6653,6 +6746,25 @@ export declare const dataResourceSchema: {
6653
6746
  }];
6654
6747
  };
6655
6748
  };
6749
+ readonly filterWhere: {
6750
+ readonly type: "array";
6751
+ readonly maxItems: 20;
6752
+ readonly items: {
6753
+ readonly type: "object";
6754
+ readonly additionalProperties: false;
6755
+ readonly required: readonly ["field", "operator", "value"];
6756
+ readonly properties: {
6757
+ readonly field: {
6758
+ readonly type: "string";
6759
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
6760
+ };
6761
+ readonly operator: {
6762
+ readonly enum: readonly ["eq", "in"];
6763
+ };
6764
+ readonly value: {};
6765
+ };
6766
+ };
6767
+ };
6656
6768
  readonly pageSize: {
6657
6769
  readonly type: "integer";
6658
6770
  readonly minimum: 1;
@@ -12008,1066 +12120,6 @@ export declare const eventDeliveryAckSchema: {
12008
12120
  };
12009
12121
  };
12010
12122
  };
12011
- export declare const workflowBusinessStepNodeSchema: {
12012
- readonly type: "object";
12013
- readonly additionalProperties: false;
12014
- readonly required: readonly ["id", "kind", "title", "next", "handler", "inputSchema", "outputSchema", "inputs"];
12015
- readonly properties: {
12016
- readonly id: {
12017
- readonly type: "string";
12018
- readonly minLength: 1;
12019
- };
12020
- readonly kind: {
12021
- readonly const: "action";
12022
- };
12023
- readonly title: {
12024
- readonly type: "string";
12025
- readonly minLength: 1;
12026
- };
12027
- readonly next: {
12028
- readonly type: "string";
12029
- readonly minLength: 1;
12030
- };
12031
- readonly handler: {
12032
- readonly type: "object";
12033
- readonly additionalProperties: false;
12034
- readonly required: readonly ["code", "version", "mode"];
12035
- readonly properties: {
12036
- readonly code: {
12037
- readonly type: "string";
12038
- readonly pattern: "^[a-z][a-z0-9-]{0,100}$";
12039
- };
12040
- readonly version: {
12041
- readonly type: "integer";
12042
- readonly minimum: 1;
12043
- readonly maximum: 1000000;
12044
- };
12045
- readonly mode: {
12046
- readonly enum: readonly ["pure", "reconciled-effect"];
12047
- };
12048
- readonly dataTransaction: {
12049
- readonly const: true;
12050
- };
12051
- };
12052
- readonly allOf: readonly [{
12053
- readonly if: {
12054
- readonly required: readonly ["dataTransaction"];
12055
- };
12056
- readonly then: {
12057
- readonly properties: {
12058
- readonly mode: {
12059
- readonly const: "reconciled-effect";
12060
- };
12061
- };
12062
- };
12063
- }];
12064
- };
12065
- readonly inputSchema: {
12066
- readonly type: "object";
12067
- };
12068
- readonly outputSchema: {
12069
- readonly type: "object";
12070
- };
12071
- readonly inputs: {
12072
- readonly type: "object";
12073
- readonly maxProperties: 32;
12074
- readonly additionalProperties: {
12075
- readonly oneOf: readonly [{
12076
- readonly type: "object";
12077
- readonly additionalProperties: false;
12078
- readonly required: readonly ["source", "path"];
12079
- readonly properties: {
12080
- readonly source: {
12081
- readonly const: "fact";
12082
- };
12083
- readonly path: {
12084
- readonly type: "string";
12085
- readonly minLength: 1;
12086
- readonly maxLength: 256;
12087
- };
12088
- };
12089
- }, {
12090
- readonly type: "object";
12091
- readonly additionalProperties: false;
12092
- readonly required: readonly ["source", "value"];
12093
- readonly properties: {
12094
- readonly source: {
12095
- readonly const: "literal";
12096
- };
12097
- readonly value: {};
12098
- };
12099
- }];
12100
- };
12101
- };
12102
- };
12103
- };
12104
- export declare const workflowDefinitionSchema: {
12105
- readonly $id: "openxiangda.workflow-definition/v2";
12106
- readonly type: "object";
12107
- readonly additionalProperties: false;
12108
- readonly required: readonly ["schemaVersion", "code", "title", "acceptedCommandDeactivationPolicy", "subject", "startAt", "inputSchema", "nodes"];
12109
- readonly properties: {
12110
- readonly schemaVersion: {
12111
- readonly const: "openxiangda.workflow-definition/v2";
12112
- };
12113
- readonly code: {
12114
- readonly type: "string";
12115
- readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,127}$";
12116
- };
12117
- readonly title: {
12118
- readonly type: "string";
12119
- readonly minLength: 1;
12120
- };
12121
- readonly launchPreflight: {
12122
- readonly type: "object";
12123
- readonly additionalProperties: false;
12124
- readonly required: readonly ["requiredApprovalNodes"];
12125
- readonly properties: {
12126
- readonly requiredApprovalNodes: {
12127
- readonly type: "array";
12128
- readonly minItems: 1;
12129
- readonly maxItems: 20;
12130
- readonly uniqueItems: true;
12131
- readonly items: {
12132
- readonly type: "string";
12133
- readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,127}$";
12134
- };
12135
- };
12136
- };
12137
- };
12138
- readonly approvedDelegation: {
12139
- readonly type: "object";
12140
- readonly additionalProperties: false;
12141
- readonly required: readonly ["confirmationNodeId", "confirmer", "requestsField", "maxRequests"];
12142
- readonly properties: {
12143
- readonly confirmationNodeId: {
12144
- readonly type: "string";
12145
- readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,127}$";
12146
- };
12147
- readonly confirmer: {
12148
- readonly enum: readonly ["initiator", "delegate"];
12149
- };
12150
- readonly requestsField: {
12151
- readonly type: "string";
12152
- readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
12153
- };
12154
- readonly maxRequests: {
12155
- readonly type: "integer";
12156
- readonly minimum: 1;
12157
- readonly maximum: 500;
12158
- };
12159
- };
12160
- };
12161
- readonly commandHandlers: {
12162
- readonly type: "object";
12163
- readonly additionalProperties: false;
12164
- readonly minProperties: 1;
12165
- readonly properties: {
12166
- [k: string]: {
12167
- type: string;
12168
- additionalProperties: boolean;
12169
- required: string[];
12170
- properties: {
12171
- derivedSubjectFields?: {
12172
- type: string;
12173
- minItems: number;
12174
- maxItems: number;
12175
- uniqueItems: boolean;
12176
- items: {
12177
- type: string;
12178
- pattern: string;
12179
- };
12180
- };
12181
- transitionPolicy?: {
12182
- const: string;
12183
- };
12184
- operationCode: {
12185
- type: string;
12186
- pattern: string;
12187
- };
12188
- };
12189
- };
12190
- };
12191
- };
12192
- readonly taskPages: {
12193
- readonly type: "object";
12194
- readonly minProperties: 1;
12195
- readonly maxProperties: 16;
12196
- readonly propertyNames: {
12197
- readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,63}$";
12198
- };
12199
- readonly additionalProperties: {
12200
- readonly type: "object";
12201
- readonly additionalProperties: false;
12202
- readonly required: readonly ["title", "fields"];
12203
- readonly properties: {
12204
- readonly title: {
12205
- readonly type: "string";
12206
- readonly minLength: 1;
12207
- readonly maxLength: 160;
12208
- };
12209
- readonly fields: {
12210
- readonly type: "array";
12211
- readonly minItems: 1;
12212
- readonly maxItems: 200;
12213
- readonly items: {
12214
- readonly type: "object";
12215
- readonly additionalProperties: false;
12216
- readonly required: readonly ["code"];
12217
- readonly properties: {
12218
- readonly code: {
12219
- readonly type: "string";
12220
- readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
12221
- };
12222
- readonly readonly: {
12223
- readonly type: "boolean";
12224
- };
12225
- readonly required: {
12226
- readonly type: "boolean";
12227
- };
12228
- readonly visibleWhen: {
12229
- readonly type: "object";
12230
- readonly required: readonly ["op"];
12231
- readonly properties: {
12232
- readonly op: {
12233
- readonly enum: readonly ["literal", "path", "eq", "neq", "gt", "gte", "lt", "lte", "in", "contains", "and", "or", "not", "exists"];
12234
- };
12235
- readonly value: {};
12236
- readonly path: {
12237
- readonly type: "string";
12238
- readonly pattern: "^[A-Za-z][A-Za-z0-9_.]{0,254}$";
12239
- };
12240
- readonly left: {
12241
- readonly type: "object";
12242
- };
12243
- readonly right: {
12244
- readonly type: "object";
12245
- };
12246
- readonly values: {
12247
- readonly type: "array";
12248
- readonly minItems: 1;
12249
- readonly items: {
12250
- readonly type: "object";
12251
- };
12252
- };
12253
- };
12254
- };
12255
- readonly requiredWhen: {
12256
- readonly type: "object";
12257
- readonly required: readonly ["op"];
12258
- readonly properties: {
12259
- readonly op: {
12260
- readonly enum: readonly ["literal", "path", "eq", "neq", "gt", "gte", "lt", "lte", "in", "contains", "and", "or", "not", "exists"];
12261
- };
12262
- readonly value: {};
12263
- readonly path: {
12264
- readonly type: "string";
12265
- readonly pattern: "^[A-Za-z][A-Za-z0-9_.]{0,254}$";
12266
- };
12267
- readonly left: {
12268
- readonly type: "object";
12269
- };
12270
- readonly right: {
12271
- readonly type: "object";
12272
- };
12273
- readonly values: {
12274
- readonly type: "array";
12275
- readonly minItems: 1;
12276
- readonly items: {
12277
- readonly type: "object";
12278
- };
12279
- };
12280
- };
12281
- };
12282
- };
12283
- };
12284
- };
12285
- };
12286
- };
12287
- };
12288
- readonly acceptedCommandDeactivationPolicy: {
12289
- readonly enum: readonly ["finish-pinned", "cancel-on-deactivate"];
12290
- };
12291
- readonly rejectionNotification: {
12292
- readonly type: "object";
12293
- readonly additionalProperties: false;
12294
- readonly required: readonly ["recipient", "title", "summary"];
12295
- readonly properties: {
12296
- readonly recipient: {
12297
- readonly const: "record_last_modifier";
12298
- };
12299
- readonly title: {
12300
- readonly type: "string";
12301
- readonly minLength: 1;
12302
- readonly maxLength: 160;
12303
- readonly pattern: "\\S";
12304
- };
12305
- readonly summary: {
12306
- readonly type: "string";
12307
- readonly minLength: 1;
12308
- readonly maxLength: 500;
12309
- readonly pattern: "\\S";
12310
- };
12311
- };
12312
- };
12313
- readonly instanceCommands: {
12314
- readonly type: "object";
12315
- readonly additionalProperties: false;
12316
- readonly minProperties: 1;
12317
- readonly properties: {
12318
- readonly withdraw: {
12319
- readonly type: "object";
12320
- readonly additionalProperties: false;
12321
- readonly minProperties: 1;
12322
- readonly properties: {
12323
- readonly beforeFact: {
12324
- readonly type: "string";
12325
- readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
12326
- };
12327
- readonly reasonRequired: {
12328
- readonly type: "boolean";
12329
- };
12330
- };
12331
- };
12332
- readonly terminate: {
12333
- readonly type: "object";
12334
- readonly additionalProperties: false;
12335
- readonly required: readonly ["capability"];
12336
- readonly properties: {
12337
- readonly capability: {
12338
- readonly type: "string";
12339
- readonly maxLength: 255;
12340
- readonly pattern: "^app:[a-z][a-z0-9]*(?:-[a-z0-9]+)*:[A-Za-z0-9:._-]+$";
12341
- };
12342
- readonly beforeFact: {
12343
- readonly type: "string";
12344
- readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
12345
- };
12346
- };
12347
- };
12348
- };
12349
- };
12350
- readonly subject: {
12351
- readonly type: "object";
12352
- readonly additionalProperties: false;
12353
- readonly required: readonly ["resourceCode", "factProjection", "summaryFields"];
12354
- readonly properties: {
12355
- readonly resourceCode: {
12356
- readonly type: "string";
12357
- readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
12358
- };
12359
- readonly factProjection: {
12360
- readonly type: "object";
12361
- readonly minProperties: 1;
12362
- readonly maxProperties: 64;
12363
- readonly propertyNames: {
12364
- readonly pattern: "^[A-Za-z][A-Za-z0-9_.]{0,127}$";
12365
- };
12366
- readonly additionalProperties: {
12367
- readonly type: "string";
12368
- readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
12369
- };
12370
- };
12371
- readonly summaryFields: {
12372
- readonly type: "array";
12373
- readonly maxItems: 16;
12374
- readonly uniqueItems: true;
12375
- readonly items: {
12376
- readonly type: "string";
12377
- readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
12378
- };
12379
- };
12380
- };
12381
- };
12382
- readonly startAt: {
12383
- readonly type: "string";
12384
- readonly minLength: 1;
12385
- };
12386
- readonly inputSchema: {
12387
- readonly type: "object";
12388
- readonly required: readonly ["type", "additionalProperties"];
12389
- readonly properties: {
12390
- readonly type: {
12391
- readonly const: "object";
12392
- };
12393
- readonly additionalProperties: {
12394
- readonly const: false;
12395
- };
12396
- };
12397
- };
12398
- readonly organizationContext: {
12399
- readonly type: "object";
12400
- readonly additionalProperties: false;
12401
- readonly properties: {
12402
- readonly department: {
12403
- readonly type: "object";
12404
- readonly additionalProperties: false;
12405
- readonly required: readonly ["source"];
12406
- readonly properties: {
12407
- readonly source: {
12408
- readonly enum: readonly ["none", "user_primary_department", "choose_if_multiple", "always_choose", "fixed", "from_input", "from_role_scope"];
12409
- };
12410
- readonly required: {
12411
- readonly type: "boolean";
12412
- };
12413
- readonly value: {
12414
- readonly type: "string";
12415
- };
12416
- readonly path: {
12417
- readonly type: "string";
12418
- };
12419
- readonly dimension: {
12420
- readonly type: "string";
12421
- };
12422
- };
12423
- };
12424
- };
12425
- };
12426
- readonly nodes: {
12427
- readonly type: "object";
12428
- readonly minProperties: 1;
12429
- readonly maxProperties: 200;
12430
- readonly additionalProperties: {
12431
- readonly oneOf: readonly [{
12432
- readonly type: "object";
12433
- readonly additionalProperties: false;
12434
- readonly required: readonly ["id", "kind", "title", "binding", "mode", "onApprove", "onReject"];
12435
- readonly properties: {
12436
- readonly id: {
12437
- readonly type: "string";
12438
- readonly minLength: 1;
12439
- };
12440
- readonly kind: {
12441
- readonly const: "approval";
12442
- };
12443
- readonly title: {
12444
- readonly type: "string";
12445
- readonly minLength: 1;
12446
- };
12447
- readonly binding: {
12448
- readonly type: "string";
12449
- readonly minLength: 1;
12450
- };
12451
- readonly mode: {
12452
- readonly enum: readonly ["single", "any", "all", "sequence"];
12453
- };
12454
- readonly emptyPolicy: {
12455
- readonly enum: readonly ["block", "skip"];
12456
- };
12457
- readonly initiatorApprovalPolicy: {
12458
- readonly enum: readonly ["manual", "auto_approve"];
12459
- };
12460
- readonly completionDeadline: {
12461
- readonly type: "object";
12462
- readonly additionalProperties: false;
12463
- readonly required: readonly ["afterSeconds", "action"];
12464
- readonly properties: {
12465
- readonly afterSeconds: {
12466
- readonly type: "integer";
12467
- readonly minimum: 1;
12468
- readonly maximum: 2592000;
12469
- };
12470
- readonly action: {
12471
- readonly const: "approve";
12472
- };
12473
- };
12474
- };
12475
- readonly onApprove: {
12476
- readonly type: "string";
12477
- readonly minLength: 1;
12478
- };
12479
- readonly onReject: {
12480
- readonly type: "string";
12481
- readonly minLength: 1;
12482
- };
12483
- readonly taskPageCode: {
12484
- readonly type: "string";
12485
- readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,63}$";
12486
- };
12487
- readonly operationPolicy: {
12488
- readonly type: "object";
12489
- readonly additionalProperties: false;
12490
- readonly properties: {
12491
- [k: string]: {
12492
- type: string;
12493
- additionalProperties: boolean;
12494
- minProperties: number;
12495
- properties: {
12496
- reasonRequired?: {
12497
- type: string;
12498
- };
12499
- commentRequired?: {
12500
- type: string;
12501
- };
12502
- label: {
12503
- type: string;
12504
- minLength: number;
12505
- maxLength: number;
12506
- pattern: string;
12507
- };
12508
- };
12509
- };
12510
- };
12511
- };
12512
- readonly allowedOperations: {
12513
- readonly type: "array";
12514
- readonly uniqueItems: true;
12515
- readonly items: {
12516
- readonly enum: readonly ["approve", "reject", "return", "transfer", "delegate", "add_assignee", "resubmit", "save_form", "admin_reassign", "admin_override"];
12517
- };
12518
- };
12519
- readonly returnTargets: {
12520
- readonly type: "array";
12521
- readonly uniqueItems: true;
12522
- readonly items: {
12523
- readonly type: "string";
12524
- readonly minLength: 1;
12525
- };
12526
- };
12527
- readonly fieldPolicy: {
12528
- readonly type: "object";
12529
- readonly additionalProperties: false;
12530
- readonly properties: {
12531
- readonly default: {
12532
- readonly enum: readonly ["hidden", "readonly", "edit", "edit_required"];
12533
- };
12534
- readonly fields: {
12535
- readonly type: "object";
12536
- readonly additionalProperties: {
12537
- readonly enum: readonly ["hidden", "readonly", "edit", "edit_required"];
12538
- };
12539
- };
12540
- };
12541
- };
12542
- };
12543
- }, {
12544
- readonly type: "object";
12545
- readonly additionalProperties: false;
12546
- readonly required: readonly ["id", "kind", "branches", "otherwise"];
12547
- readonly properties: {
12548
- readonly id: {
12549
- readonly type: "string";
12550
- readonly minLength: 1;
12551
- };
12552
- readonly kind: {
12553
- readonly const: "condition";
12554
- };
12555
- readonly title: {
12556
- readonly type: "string";
12557
- };
12558
- readonly branches: {
12559
- readonly type: "array";
12560
- readonly minItems: 1;
12561
- readonly items: {
12562
- readonly type: "object";
12563
- readonly additionalProperties: false;
12564
- readonly required: readonly ["when", "target"];
12565
- readonly properties: {
12566
- readonly when: {
12567
- readonly type: "object";
12568
- readonly required: readonly ["op"];
12569
- readonly properties: {
12570
- readonly op: {
12571
- readonly enum: readonly ["literal", "path", "eq", "neq", "gt", "gte", "lt", "lte", "in", "contains", "and", "or", "not", "exists"];
12572
- };
12573
- readonly value: {};
12574
- readonly path: {
12575
- readonly type: "string";
12576
- readonly pattern: "^[A-Za-z][A-Za-z0-9_.]{0,254}$";
12577
- };
12578
- readonly left: {
12579
- readonly type: "object";
12580
- };
12581
- readonly right: {
12582
- readonly type: "object";
12583
- };
12584
- readonly values: {
12585
- readonly type: "array";
12586
- readonly minItems: 1;
12587
- readonly items: {
12588
- readonly type: "object";
12589
- };
12590
- };
12591
- };
12592
- };
12593
- readonly target: {
12594
- readonly type: "string";
12595
- readonly minLength: 1;
12596
- };
12597
- readonly label: {
12598
- readonly type: "string";
12599
- };
12600
- };
12601
- };
12602
- };
12603
- readonly otherwise: {
12604
- readonly type: "string";
12605
- readonly minLength: 1;
12606
- };
12607
- };
12608
- }, {
12609
- readonly type: "object";
12610
- readonly additionalProperties: false;
12611
- readonly required: readonly ["id", "kind", "title", "outcome"];
12612
- readonly properties: {
12613
- readonly id: {
12614
- readonly type: "string";
12615
- readonly minLength: 1;
12616
- };
12617
- readonly kind: {
12618
- readonly const: "end";
12619
- };
12620
- readonly title: {
12621
- readonly type: "string";
12622
- readonly minLength: 1;
12623
- };
12624
- readonly outcome: {
12625
- readonly type: "string";
12626
- readonly minLength: 1;
12627
- };
12628
- };
12629
- }, {
12630
- readonly type: "object";
12631
- readonly additionalProperties: false;
12632
- readonly required: readonly ["id", "kind", "title", "binding", "next", "emptyPolicy"];
12633
- readonly properties: {
12634
- readonly id: {
12635
- readonly type: "string";
12636
- readonly minLength: 1;
12637
- };
12638
- readonly kind: {
12639
- readonly const: "cc";
12640
- };
12641
- readonly title: {
12642
- readonly type: "string";
12643
- readonly minLength: 1;
12644
- };
12645
- readonly binding: {
12646
- readonly type: "string";
12647
- readonly minLength: 1;
12648
- };
12649
- readonly next: {
12650
- readonly type: "string";
12651
- readonly minLength: 1;
12652
- };
12653
- readonly emptyPolicy: {
12654
- readonly enum: readonly ["block", "skip"];
12655
- };
12656
- readonly notify: {
12657
- readonly type: "boolean";
12658
- };
12659
- readonly administration: {
12660
- readonly type: "object";
12661
- readonly additionalProperties: false;
12662
- readonly properties: {
12663
- readonly assigneeProviders: {
12664
- readonly type: "array";
12665
- readonly minItems: 1;
12666
- readonly maxItems: 3;
12667
- readonly uniqueItems: true;
12668
- readonly items: {
12669
- readonly enum: readonly ["fixed_users", "app_role", "app_role_in_scope"];
12670
- };
12671
- };
12672
- };
12673
- };
12674
- };
12675
- }, {
12676
- readonly type: "object";
12677
- readonly additionalProperties: false;
12678
- readonly required: readonly ["id", "kind", "title", "next", "handler", "inputSchema", "outputSchema", "inputs"];
12679
- readonly properties: {
12680
- readonly id: {
12681
- readonly type: "string";
12682
- readonly minLength: 1;
12683
- };
12684
- readonly kind: {
12685
- readonly const: "action";
12686
- };
12687
- readonly title: {
12688
- readonly type: "string";
12689
- readonly minLength: 1;
12690
- };
12691
- readonly next: {
12692
- readonly type: "string";
12693
- readonly minLength: 1;
12694
- };
12695
- readonly handler: {
12696
- readonly type: "object";
12697
- readonly additionalProperties: false;
12698
- readonly required: readonly ["code", "version", "mode"];
12699
- readonly properties: {
12700
- readonly code: {
12701
- readonly type: "string";
12702
- readonly pattern: "^[a-z][a-z0-9-]{0,100}$";
12703
- };
12704
- readonly version: {
12705
- readonly type: "integer";
12706
- readonly minimum: 1;
12707
- readonly maximum: 1000000;
12708
- };
12709
- readonly mode: {
12710
- readonly enum: readonly ["pure", "reconciled-effect"];
12711
- };
12712
- readonly dataTransaction: {
12713
- readonly const: true;
12714
- };
12715
- };
12716
- readonly allOf: readonly [{
12717
- readonly if: {
12718
- readonly required: readonly ["dataTransaction"];
12719
- };
12720
- readonly then: {
12721
- readonly properties: {
12722
- readonly mode: {
12723
- readonly const: "reconciled-effect";
12724
- };
12725
- };
12726
- };
12727
- }];
12728
- };
12729
- readonly inputSchema: {
12730
- readonly type: "object";
12731
- };
12732
- readonly outputSchema: {
12733
- readonly type: "object";
12734
- };
12735
- readonly inputs: {
12736
- readonly type: "object";
12737
- readonly maxProperties: 32;
12738
- readonly additionalProperties: {
12739
- readonly oneOf: readonly [{
12740
- readonly type: "object";
12741
- readonly additionalProperties: false;
12742
- readonly required: readonly ["source", "path"];
12743
- readonly properties: {
12744
- readonly source: {
12745
- readonly const: "fact";
12746
- };
12747
- readonly path: {
12748
- readonly type: "string";
12749
- readonly minLength: 1;
12750
- readonly maxLength: 256;
12751
- };
12752
- };
12753
- }, {
12754
- readonly type: "object";
12755
- readonly additionalProperties: false;
12756
- readonly required: readonly ["source", "value"];
12757
- readonly properties: {
12758
- readonly source: {
12759
- readonly const: "literal";
12760
- };
12761
- readonly value: {};
12762
- };
12763
- }];
12764
- };
12765
- };
12766
- };
12767
- }, {
12768
- readonly type: "object";
12769
- readonly additionalProperties: false;
12770
- readonly required: readonly ["id", "kind", "title", "taskPageCode", "next"];
12771
- readonly properties: {
12772
- readonly id: {
12773
- readonly type: "string";
12774
- readonly minLength: 1;
12775
- };
12776
- readonly kind: {
12777
- readonly const: "correction";
12778
- };
12779
- readonly title: {
12780
- readonly type: "string";
12781
- readonly minLength: 1;
12782
- };
12783
- readonly taskPageCode: {
12784
- readonly type: "string";
12785
- readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,63}$";
12786
- };
12787
- readonly next: {
12788
- readonly type: "string";
12789
- readonly minLength: 1;
12790
- };
12791
- };
12792
- }];
12793
- };
12794
- };
12795
- };
12796
- };
12797
- export declare const workflowBindingSchema: {
12798
- readonly $id: "openxiangda.workflow-binding/v2";
12799
- readonly type: "object";
12800
- readonly additionalProperties: false;
12801
- readonly required: readonly ["schemaVersion", "workflowCode", "bindings"];
12802
- readonly properties: {
12803
- readonly schemaVersion: {
12804
- readonly const: "openxiangda.workflow-binding/v2";
12805
- };
12806
- readonly workflowCode: {
12807
- readonly type: "string";
12808
- readonly minLength: 1;
12809
- };
12810
- readonly bindings: {
12811
- readonly type: "object";
12812
- readonly maxProperties: 200;
12813
- readonly additionalProperties: {
12814
- readonly type: "object";
12815
- readonly additionalProperties: false;
12816
- readonly required: readonly ["provider"];
12817
- readonly allOf: readonly [{
12818
- readonly if: {
12819
- readonly required: readonly ["roleCodes"];
12820
- };
12821
- readonly then: {
12822
- readonly properties: {
12823
- readonly provider: {
12824
- readonly enum: readonly ["app_role", "app_role_in_scope"];
12825
- };
12826
- };
12827
- readonly not: {
12828
- readonly anyOf: readonly [{
12829
- readonly required: readonly ["roleCode"];
12830
- }, {
12831
- readonly required: readonly ["candidateField"];
12832
- }];
12833
- };
12834
- };
12835
- }, {
12836
- readonly if: {
12837
- readonly required: readonly ["candidateField"];
12838
- };
12839
- readonly then: {
12840
- readonly required: readonly ["inputPath"];
12841
- readonly properties: {
12842
- readonly provider: {
12843
- readonly const: "form_field_users";
12844
- };
12845
- };
12846
- readonly not: {
12847
- readonly anyOf: readonly [{
12848
- readonly required: readonly ["roleCode"];
12849
- }, {
12850
- readonly required: readonly ["scope"];
12851
- }, {
12852
- readonly required: readonly ["routing"];
12853
- }];
12854
- };
12855
- };
12856
- }, {
12857
- readonly if: {
12858
- readonly required: readonly ["selectedInputPath"];
12859
- };
12860
- readonly then: {
12861
- readonly properties: {
12862
- readonly provider: {
12863
- readonly enum: readonly ["app_role", "app_role_in_scope"];
12864
- };
12865
- };
12866
- readonly anyOf: readonly [{
12867
- readonly required: readonly ["roleCode"];
12868
- }, {
12869
- readonly required: readonly ["roleCodes"];
12870
- }];
12871
- readonly not: {
12872
- readonly anyOf: readonly [{
12873
- readonly required: readonly ["candidateField"];
12874
- }, {
12875
- readonly required: readonly ["inputPath"];
12876
- }, {
12877
- readonly required: readonly ["routing"];
12878
- }];
12879
- };
12880
- };
12881
- }];
12882
- readonly properties: {
12883
- readonly provider: {
12884
- readonly enum: readonly ["fixed_users", "initiator", "input_users", "form_field_users", "department_supervisor", "app_role", "app_role_in_scope", "business_relation", "previous_node_actor", "initiator_select", "application_provider"];
12885
- };
12886
- readonly users: {
12887
- readonly type: "array";
12888
- readonly uniqueItems: true;
12889
- readonly items: {
12890
- readonly type: "string";
12891
- readonly minLength: 1;
12892
- };
12893
- };
12894
- readonly inputPath: {
12895
- readonly type: "string";
12896
- };
12897
- readonly selectedInputPath: {
12898
- readonly type: "string";
12899
- readonly maxLength: 255;
12900
- readonly pattern: "^[A-Za-z][A-Za-z0-9_-]*(?:\\.[A-Za-z][A-Za-z0-9_-]*)*$";
12901
- };
12902
- readonly candidateField: {
12903
- readonly type: "string";
12904
- readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
12905
- };
12906
- readonly departmentIdFrom: {
12907
- readonly type: "string";
12908
- };
12909
- readonly level: {
12910
- readonly type: "integer";
12911
- readonly minimum: 1;
12912
- readonly maximum: 20;
12913
- };
12914
- readonly fallbackToAncestorSupervisor: {
12915
- readonly type: "boolean";
12916
- };
12917
- readonly roleCode: {
12918
- readonly type: "string";
12919
- };
12920
- readonly roleCodes: {
12921
- readonly type: "array";
12922
- readonly minItems: 2;
12923
- readonly maxItems: 8;
12924
- readonly uniqueItems: true;
12925
- readonly items: {
12926
- readonly type: "string";
12927
- readonly maxLength: 128;
12928
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
12929
- };
12930
- };
12931
- readonly scope: {
12932
- readonly type: "object";
12933
- readonly additionalProperties: false;
12934
- readonly required: readonly ["dimension"];
12935
- readonly properties: {
12936
- readonly dimension: {
12937
- readonly type: "string";
12938
- readonly minLength: 1;
12939
- };
12940
- readonly valueFrom: {
12941
- readonly type: "string";
12942
- };
12943
- readonly value: {
12944
- readonly type: "string";
12945
- };
12946
- };
12947
- };
12948
- readonly relationCode: {
12949
- readonly type: "string";
12950
- };
12951
- readonly resourceCode: {
12952
- readonly type: "string";
12953
- };
12954
- readonly resourceIdFrom: {
12955
- readonly type: "string";
12956
- };
12957
- readonly providerCode: {
12958
- readonly type: "string";
12959
- };
12960
- readonly min: {
12961
- readonly type: "integer";
12962
- readonly minimum: 1;
12963
- readonly maximum: 200;
12964
- };
12965
- readonly max: {
12966
- readonly type: "integer";
12967
- readonly minimum: 1;
12968
- readonly maximum: 200;
12969
- };
12970
- readonly delegatable: {
12971
- readonly type: "boolean";
12972
- };
12973
- readonly routing: {
12974
- readonly type: "object";
12975
- readonly additionalProperties: false;
12976
- readonly required: readonly ["policyCode", "title", "strategy", "dimensions", "sources"];
12977
- readonly properties: {
12978
- readonly policyCode: {
12979
- readonly type: "string";
12980
- readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
12981
- };
12982
- readonly title: {
12983
- readonly type: "string";
12984
- readonly minLength: 1;
12985
- readonly maxLength: 128;
12986
- };
12987
- readonly strategy: {
12988
- readonly enum: readonly ["replace_then_append", "replace_only"];
12989
- };
12990
- readonly dimensions: {
12991
- readonly type: "object";
12992
- readonly maxProperties: 8;
12993
- readonly propertyNames: {
12994
- readonly type: "string";
12995
- readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
12996
- };
12997
- readonly additionalProperties: {
12998
- readonly type: "object";
12999
- readonly additionalProperties: false;
13000
- readonly required: readonly ["title", "valueFrom"];
13001
- readonly properties: {
13002
- readonly title: {
13003
- readonly type: "string";
13004
- readonly minLength: 1;
13005
- readonly maxLength: 128;
13006
- };
13007
- readonly valueFrom: {
13008
- readonly type: "string";
13009
- readonly minLength: 1;
13010
- readonly maxLength: 255;
13011
- };
13012
- };
13013
- };
13014
- };
13015
- readonly sources: {
13016
- readonly type: "object";
13017
- readonly minProperties: 1;
13018
- readonly maxProperties: 16;
13019
- readonly propertyNames: {
13020
- readonly type: "string";
13021
- readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
13022
- };
13023
- readonly additionalProperties: {
13024
- readonly type: "object";
13025
- readonly additionalProperties: false;
13026
- readonly required: readonly ["title", "provider", "roleCode"];
13027
- readonly properties: {
13028
- readonly title: {
13029
- readonly type: "string";
13030
- readonly minLength: 1;
13031
- readonly maxLength: 128;
13032
- };
13033
- readonly provider: {
13034
- readonly enum: readonly ["app_role", "app_role_in_scope"];
13035
- };
13036
- readonly roleCode: {
13037
- readonly type: "string";
13038
- readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
13039
- };
13040
- readonly scope: {
13041
- readonly type: "object";
13042
- readonly additionalProperties: false;
13043
- readonly required: readonly ["dimension"];
13044
- readonly properties: {
13045
- readonly dimension: {
13046
- readonly type: "string";
13047
- readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
13048
- };
13049
- readonly value: {
13050
- readonly type: "string";
13051
- readonly minLength: 1;
13052
- readonly maxLength: 255;
13053
- };
13054
- readonly valueFrom: {
13055
- readonly type: "string";
13056
- readonly minLength: 1;
13057
- readonly maxLength: 255;
13058
- };
13059
- };
13060
- };
13061
- };
13062
- };
13063
- };
13064
- };
13065
- };
13066
- };
13067
- };
13068
- };
13069
- };
13070
- };
13071
12123
  export declare const workflowPreparationSchema: {
13072
12124
  readonly $id: "openxiangda.workflow-preparation/v2";
13073
12125
  readonly type: "object";
@@ -16291,6 +15343,22 @@ export declare const workflowSurfaceSchema: {
16291
15343
  readonly type: "array";
16292
15344
  readonly items: {
16293
15345
  readonly type: "object";
15346
+ readonly properties: {
15347
+ readonly prominence: {
15348
+ readonly anyOf: readonly [{
15349
+ readonly type: "integer";
15350
+ readonly minimum: 1;
15351
+ readonly maximum: 1000;
15352
+ }, {
15353
+ readonly type: "null";
15354
+ }];
15355
+ };
15356
+ readonly consequence: {
15357
+ readonly type: "string";
15358
+ readonly minLength: 1;
15359
+ readonly maxLength: 1000;
15360
+ };
15361
+ };
16294
15362
  };
16295
15363
  };
16296
15364
  readonly extensions: {
@@ -16703,6 +15771,22 @@ export declare const workflowDetailSurfaceSchema: {
16703
15771
  readonly type: "array";
16704
15772
  readonly items: {
16705
15773
  readonly type: "object";
15774
+ readonly properties: {
15775
+ readonly prominence: {
15776
+ readonly anyOf: readonly [{
15777
+ readonly type: "integer";
15778
+ readonly minimum: 1;
15779
+ readonly maximum: 1000;
15780
+ }, {
15781
+ readonly type: "null";
15782
+ }];
15783
+ };
15784
+ readonly consequence: {
15785
+ readonly type: "string";
15786
+ readonly minLength: 1;
15787
+ readonly maxLength: 1000;
15788
+ };
15789
+ };
16706
15790
  };
16707
15791
  };
16708
15792
  readonly extensions: {
@@ -16791,6 +15875,22 @@ export declare const workflowDetailSurfaceSchema: {
16791
15875
  readonly type: "array";
16792
15876
  readonly items: {
16793
15877
  readonly type: "object";
15878
+ readonly properties: {
15879
+ readonly prominence: {
15880
+ readonly anyOf: readonly [{
15881
+ readonly type: "integer";
15882
+ readonly minimum: 1;
15883
+ readonly maximum: 1000;
15884
+ }, {
15885
+ readonly type: "null";
15886
+ }];
15887
+ };
15888
+ readonly consequence: {
15889
+ readonly type: "string";
15890
+ readonly minLength: 1;
15891
+ readonly maxLength: 1000;
15892
+ };
15893
+ };
16794
15894
  };
16795
15895
  };
16796
15896
  readonly navigationContext: {
@@ -17839,6 +16939,177 @@ export declare const configurationBundleSchema: {
17839
16939
  readonly schemaVersion: {
17840
16940
  readonly const: "openxiangda.config-bundle/v3";
17841
16941
  };
16942
+ readonly agents: {
16943
+ readonly type: "array";
16944
+ readonly maxItems: 20;
16945
+ readonly items: {
16946
+ readonly type: "object";
16947
+ readonly additionalProperties: false;
16948
+ readonly required: readonly ["code", "name", "purpose", "instructions", "tasks"];
16949
+ readonly properties: {
16950
+ readonly code: {
16951
+ type: string;
16952
+ minLength: number;
16953
+ maxLength: number;
16954
+ pattern: string;
16955
+ };
16956
+ readonly name: {
16957
+ readonly type: "string";
16958
+ readonly minLength: 1;
16959
+ readonly maxLength: 80;
16960
+ };
16961
+ readonly purpose: {
16962
+ readonly type: "string";
16963
+ readonly minLength: 1;
16964
+ readonly maxLength: 1000;
16965
+ };
16966
+ readonly instructions: {
16967
+ readonly type: "string";
16968
+ readonly minLength: 1;
16969
+ readonly maxLength: 16000;
16970
+ };
16971
+ readonly starters: {
16972
+ readonly type: "array";
16973
+ readonly maxItems: 12;
16974
+ readonly uniqueItems: true;
16975
+ readonly items: {
16976
+ readonly type: "string";
16977
+ readonly minLength: 1;
16978
+ readonly maxLength: 160;
16979
+ };
16980
+ };
16981
+ readonly tasks: {
16982
+ readonly type: "array";
16983
+ readonly minItems: 1;
16984
+ readonly maxItems: 20;
16985
+ readonly items: {
16986
+ readonly oneOf: readonly [{
16987
+ readonly type: "object";
16988
+ readonly additionalProperties: false;
16989
+ readonly required: readonly ["code", "kind", "resource", "view"];
16990
+ readonly properties: {
16991
+ readonly kind: {
16992
+ readonly const: "view";
16993
+ };
16994
+ readonly filters: {
16995
+ type: string;
16996
+ maxItems: number;
16997
+ uniqueItems: boolean;
16998
+ items: {
16999
+ type: string;
17000
+ minLength: number;
17001
+ maxLength: number;
17002
+ };
17003
+ };
17004
+ readonly code: {
17005
+ type: string;
17006
+ minLength: number;
17007
+ maxLength: number;
17008
+ pattern: string;
17009
+ };
17010
+ readonly name: {
17011
+ type: string;
17012
+ minLength: number;
17013
+ maxLength: number;
17014
+ };
17015
+ readonly description: {
17016
+ type: string;
17017
+ minLength: number;
17018
+ maxLength: number;
17019
+ };
17020
+ readonly resource: {
17021
+ type: string;
17022
+ minLength: number;
17023
+ maxLength: number;
17024
+ pattern: string;
17025
+ };
17026
+ readonly view: {
17027
+ type: string;
17028
+ minLength: number;
17029
+ maxLength: number;
17030
+ pattern: string;
17031
+ };
17032
+ readonly examples: {
17033
+ type: string;
17034
+ maxItems: number;
17035
+ uniqueItems: boolean;
17036
+ items: {
17037
+ type: string;
17038
+ minLength: number;
17039
+ maxLength: number;
17040
+ };
17041
+ };
17042
+ };
17043
+ }, {
17044
+ readonly type: "object";
17045
+ readonly additionalProperties: false;
17046
+ readonly required: readonly ["code", "kind", "resource", "view", "action", "fields"];
17047
+ readonly properties: {
17048
+ readonly kind: {
17049
+ readonly const: "form";
17050
+ };
17051
+ readonly action: {
17052
+ readonly enum: readonly ["create", "update"];
17053
+ };
17054
+ readonly fields: {
17055
+ readonly minItems: 1;
17056
+ readonly type: string;
17057
+ readonly maxItems: number;
17058
+ readonly uniqueItems: boolean;
17059
+ readonly items: {
17060
+ type: string;
17061
+ minLength: number;
17062
+ maxLength: number;
17063
+ };
17064
+ };
17065
+ readonly confirmation: {
17066
+ readonly enum: readonly ["none", "required"];
17067
+ };
17068
+ readonly code: {
17069
+ type: string;
17070
+ minLength: number;
17071
+ maxLength: number;
17072
+ pattern: string;
17073
+ };
17074
+ readonly name: {
17075
+ type: string;
17076
+ minLength: number;
17077
+ maxLength: number;
17078
+ };
17079
+ readonly description: {
17080
+ type: string;
17081
+ minLength: number;
17082
+ maxLength: number;
17083
+ };
17084
+ readonly resource: {
17085
+ type: string;
17086
+ minLength: number;
17087
+ maxLength: number;
17088
+ pattern: string;
17089
+ };
17090
+ readonly view: {
17091
+ type: string;
17092
+ minLength: number;
17093
+ maxLength: number;
17094
+ pattern: string;
17095
+ };
17096
+ readonly examples: {
17097
+ type: string;
17098
+ maxItems: number;
17099
+ uniqueItems: boolean;
17100
+ items: {
17101
+ type: string;
17102
+ minLength: number;
17103
+ maxLength: number;
17104
+ };
17105
+ };
17106
+ };
17107
+ }];
17108
+ };
17109
+ };
17110
+ };
17111
+ };
17112
+ };
17842
17113
  readonly compilerContractVersion: {
17843
17114
  readonly const: "native-4";
17844
17115
  };
@@ -26611,6 +25882,9 @@ export declare const contractSchemas: {
26611
25882
  readonly selectable: {
26612
25883
  readonly type: "boolean";
26613
25884
  };
25885
+ readonly inactive: {
25886
+ readonly type: "boolean";
25887
+ };
26614
25888
  readonly path: {
26615
25889
  readonly type: "array";
26616
25890
  readonly items: {
@@ -26891,6 +26165,9 @@ export declare const contractSchemas: {
26891
26165
  readonly selectable: {
26892
26166
  readonly type: "boolean";
26893
26167
  };
26168
+ readonly inactive: {
26169
+ readonly type: "boolean";
26170
+ };
26894
26171
  readonly path: {
26895
26172
  readonly type: "array";
26896
26173
  readonly items: {
@@ -26933,7 +26210,7 @@ export declare const contractSchemas: {
26933
26210
  readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
26934
26211
  };
26935
26212
  readonly operation: {
26936
- readonly enum: readonly ["create", "update"];
26213
+ readonly enum: readonly ["create", "update", "filter"];
26937
26214
  };
26938
26215
  readonly values: {
26939
26216
  readonly type: "array";
@@ -27007,7 +26284,7 @@ export declare const contractSchemas: {
27007
26284
  readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
27008
26285
  };
27009
26286
  readonly operation: {
27010
- readonly enum: readonly ["create", "update"];
26287
+ readonly enum: readonly ["create", "update", "filter"];
27011
26288
  };
27012
26289
  readonly items: {
27013
26290
  readonly type: "array";
@@ -27028,6 +26305,9 @@ export declare const contractSchemas: {
27028
26305
  readonly selectable: {
27029
26306
  readonly type: "boolean";
27030
26307
  };
26308
+ readonly inactive: {
26309
+ readonly type: "boolean";
26310
+ };
27031
26311
  };
27032
26312
  };
27033
26313
  };
@@ -27041,6 +26321,54 @@ export declare const contractSchemas: {
27041
26321
  readonly type: "object";
27042
26322
  readonly additionalProperties: false;
27043
26323
  readonly required: readonly ["schemaVersion", "operation"];
26324
+ readonly allOf: readonly [{
26325
+ readonly if: {
26326
+ readonly properties: {
26327
+ readonly operation: {
26328
+ readonly const: "filter";
26329
+ };
26330
+ };
26331
+ };
26332
+ readonly then: {
26333
+ readonly not: {
26334
+ readonly anyOf: {
26335
+ required: string[];
26336
+ }[];
26337
+ };
26338
+ };
26339
+ }, {
26340
+ readonly if: {
26341
+ readonly required: readonly ["record"];
26342
+ };
26343
+ readonly then: {
26344
+ readonly properties: {
26345
+ readonly operation: {
26346
+ readonly const: "update";
26347
+ };
26348
+ };
26349
+ readonly not: {
26350
+ readonly anyOf: readonly [{
26351
+ readonly required: readonly ["launch"];
26352
+ }, {
26353
+ readonly required: readonly ["action"];
26354
+ }];
26355
+ };
26356
+ };
26357
+ }, {
26358
+ readonly if: {
26359
+ readonly required: readonly ["action"];
26360
+ };
26361
+ readonly then: {
26362
+ readonly properties: {
26363
+ readonly operation: {
26364
+ readonly const: "update";
26365
+ };
26366
+ };
26367
+ readonly not: {
26368
+ readonly required: readonly ["launch"];
26369
+ };
26370
+ };
26371
+ }];
27044
26372
  readonly properties: {
27045
26373
  readonly schemaVersion: {
27046
26374
  readonly const: "openxiangda.data-field-source-query/v2";
@@ -27066,8 +26394,24 @@ export declare const contractSchemas: {
27066
26394
  };
27067
26395
  };
27068
26396
  };
26397
+ readonly record: {
26398
+ readonly type: "object";
26399
+ readonly additionalProperties: false;
26400
+ readonly required: readonly ["id", "expectedRevision"];
26401
+ readonly properties: {
26402
+ readonly id: {
26403
+ readonly type: "string";
26404
+ readonly format: "uuid";
26405
+ };
26406
+ readonly expectedRevision: {
26407
+ readonly type: "integer";
26408
+ readonly minimum: 1;
26409
+ readonly maximum: number;
26410
+ };
26411
+ };
26412
+ };
27069
26413
  readonly operation: {
27070
- readonly enum: readonly ["create", "update"];
26414
+ readonly enum: readonly ["create", "update", "filter"];
27071
26415
  };
27072
26416
  readonly launch: {
27073
26417
  readonly type: "object";
@@ -27252,7 +26596,7 @@ export declare const contractSchemas: {
27252
26596
  readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
27253
26597
  };
27254
26598
  readonly operation: {
27255
- readonly enum: readonly ["create", "update"];
26599
+ readonly enum: readonly ["create", "update", "filter"];
27256
26600
  };
27257
26601
  readonly items: {
27258
26602
  readonly type: "array";
@@ -27918,6 +27262,25 @@ export declare const contractSchemas: {
27918
27262
  }];
27919
27263
  };
27920
27264
  };
27265
+ readonly filterWhere: {
27266
+ readonly type: "array";
27267
+ readonly maxItems: 20;
27268
+ readonly items: {
27269
+ readonly type: "object";
27270
+ readonly additionalProperties: false;
27271
+ readonly required: readonly ["field", "operator", "value"];
27272
+ readonly properties: {
27273
+ readonly field: {
27274
+ readonly type: "string";
27275
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
27276
+ };
27277
+ readonly operator: {
27278
+ readonly enum: readonly ["eq", "in"];
27279
+ };
27280
+ readonly value: {};
27281
+ };
27282
+ };
27283
+ };
27921
27284
  readonly pageSize: {
27922
27285
  readonly type: "integer";
27923
27286
  readonly minimum: 1;
@@ -28914,6 +28277,25 @@ export declare const contractSchemas: {
28914
28277
  }];
28915
28278
  };
28916
28279
  };
28280
+ readonly filterWhere: {
28281
+ readonly type: "array";
28282
+ readonly maxItems: 20;
28283
+ readonly items: {
28284
+ readonly type: "object";
28285
+ readonly additionalProperties: false;
28286
+ readonly required: readonly ["field", "operator", "value"];
28287
+ readonly properties: {
28288
+ readonly field: {
28289
+ readonly type: "string";
28290
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
28291
+ };
28292
+ readonly operator: {
28293
+ readonly enum: readonly ["eq", "in"];
28294
+ };
28295
+ readonly value: {};
28296
+ };
28297
+ };
28298
+ };
28917
28299
  readonly pageSize: {
28918
28300
  readonly type: "integer";
28919
28301
  readonly minimum: 1;
@@ -32291,6 +31673,55 @@ export declare const contractSchemas: {
32291
31673
  readonly schemaVersion: {
32292
31674
  readonly const: "openxiangda.workflow-definition/v2";
32293
31675
  };
31676
+ readonly authoring: {
31677
+ readonly type: "object";
31678
+ readonly additionalProperties: false;
31679
+ readonly properties: {
31680
+ readonly businessSteps: {
31681
+ readonly type: "array";
31682
+ readonly maxItems: 100;
31683
+ readonly items: {
31684
+ readonly type: "object";
31685
+ readonly additionalProperties: false;
31686
+ readonly required: readonly ["title", "handler", "inputSchema", "outputSchema"];
31687
+ readonly properties: {
31688
+ readonly title: {
31689
+ readonly type: "string";
31690
+ readonly minLength: 1;
31691
+ readonly maxLength: 160;
31692
+ };
31693
+ readonly handler: {
31694
+ readonly type: "object";
31695
+ readonly additionalProperties: false;
31696
+ readonly required: readonly ["code", "version", "mode"];
31697
+ readonly properties: {
31698
+ readonly code: {
31699
+ readonly type: "string";
31700
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
31701
+ };
31702
+ readonly version: {
31703
+ readonly type: "integer";
31704
+ readonly minimum: 1;
31705
+ };
31706
+ readonly mode: {
31707
+ readonly enum: readonly ["pure", "reconciled-effect"];
31708
+ };
31709
+ readonly dataTransaction: {
31710
+ readonly const: true;
31711
+ };
31712
+ };
31713
+ };
31714
+ readonly inputSchema: {
31715
+ readonly type: "object";
31716
+ };
31717
+ readonly outputSchema: {
31718
+ readonly type: "object";
31719
+ };
31720
+ };
31721
+ };
31722
+ };
31723
+ };
31724
+ };
32294
31725
  readonly code: {
32295
31726
  readonly type: "string";
32296
31727
  readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,127}$";
@@ -32610,6 +32041,205 @@ export declare const contractSchemas: {
32610
32041
  readonly maxProperties: 200;
32611
32042
  readonly additionalProperties: {
32612
32043
  readonly oneOf: readonly [{
32044
+ readonly type: "object";
32045
+ readonly additionalProperties: false;
32046
+ readonly required: readonly ["id", "kind", "title", "binding", "mode", "next", "allowedOperations", "requiredOperations"];
32047
+ readonly properties: {
32048
+ readonly id: {
32049
+ readonly type: "string";
32050
+ readonly minLength: 1;
32051
+ };
32052
+ readonly kind: {
32053
+ readonly const: "handle";
32054
+ };
32055
+ readonly title: {
32056
+ readonly type: "string";
32057
+ readonly minLength: 1;
32058
+ };
32059
+ readonly reminders: {
32060
+ type: string;
32061
+ additionalProperties: boolean;
32062
+ required: string[];
32063
+ properties: {
32064
+ afterSeconds: {
32065
+ type: string;
32066
+ minimum: number;
32067
+ maximum: number;
32068
+ };
32069
+ everySeconds: {
32070
+ type: string;
32071
+ minimum: number;
32072
+ maximum: number;
32073
+ };
32074
+ max: {
32075
+ type: string;
32076
+ minimum: number;
32077
+ maximum: number;
32078
+ };
32079
+ to: {
32080
+ type: string;
32081
+ minItems: number;
32082
+ maxItems: number;
32083
+ items: {
32084
+ const: string;
32085
+ };
32086
+ };
32087
+ };
32088
+ };
32089
+ readonly binding: {
32090
+ readonly type: "string";
32091
+ readonly minLength: 1;
32092
+ };
32093
+ readonly mode: {
32094
+ readonly enum: readonly ["single", "any", "all", "sequence"];
32095
+ };
32096
+ readonly next: {
32097
+ readonly type: "string";
32098
+ readonly minLength: 1;
32099
+ };
32100
+ readonly emptyPolicy: {
32101
+ readonly const: "block";
32102
+ };
32103
+ readonly taskPageCode: {
32104
+ readonly type: "string";
32105
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,63}$";
32106
+ };
32107
+ readonly allowedOperations: {
32108
+ readonly type: "array";
32109
+ readonly uniqueItems: true;
32110
+ readonly items: {
32111
+ readonly enum: readonly ["complete", "save_form", "return", "transfer", "delegate"];
32112
+ };
32113
+ };
32114
+ readonly requiredOperations: {
32115
+ readonly type: "array";
32116
+ readonly uniqueItems: true;
32117
+ readonly items: {
32118
+ readonly enum: readonly ["complete", "save_form", "return", "transfer", "delegate"];
32119
+ };
32120
+ };
32121
+ readonly returnPolicy: {
32122
+ type: string;
32123
+ additionalProperties: boolean;
32124
+ required: string[];
32125
+ properties: {
32126
+ targets: {
32127
+ type: string;
32128
+ maxItems: number;
32129
+ items: {
32130
+ type: string;
32131
+ additionalProperties: boolean;
32132
+ required: string[];
32133
+ properties: {
32134
+ nodeId: {
32135
+ readonly type: "string";
32136
+ readonly minLength: 1;
32137
+ };
32138
+ routes: {
32139
+ type: string;
32140
+ minItems: number;
32141
+ maxItems: number;
32142
+ uniqueItems: boolean;
32143
+ items: {
32144
+ enum: string[];
32145
+ };
32146
+ };
32147
+ defaultRoute: {
32148
+ enum: string[];
32149
+ };
32150
+ };
32151
+ };
32152
+ };
32153
+ };
32154
+ };
32155
+ readonly returnTargets: {
32156
+ readonly type: "array";
32157
+ readonly items: {
32158
+ readonly type: "string";
32159
+ readonly minLength: 1;
32160
+ };
32161
+ readonly uniqueItems: true;
32162
+ };
32163
+ readonly operationPolicy: {
32164
+ readonly type: "object";
32165
+ readonly additionalProperties: false;
32166
+ readonly properties: {
32167
+ [k: string]: {
32168
+ type: string;
32169
+ additionalProperties: boolean;
32170
+ minProperties: number;
32171
+ properties: {
32172
+ reasonRequired?: {
32173
+ type: string;
32174
+ };
32175
+ commentRequired?: {
32176
+ type: string;
32177
+ };
32178
+ opinion?: {
32179
+ enum: string[];
32180
+ };
32181
+ minimumOpinion?: {
32182
+ enum: string[];
32183
+ };
32184
+ label: {
32185
+ type: string;
32186
+ minLength: number;
32187
+ maxLength: number;
32188
+ };
32189
+ };
32190
+ };
32191
+ };
32192
+ };
32193
+ readonly administration: {
32194
+ readonly type: "object";
32195
+ readonly additionalProperties: false;
32196
+ readonly properties: {
32197
+ readonly modes: {
32198
+ readonly type: "array";
32199
+ readonly uniqueItems: true;
32200
+ readonly minItems: 1;
32201
+ readonly maxItems: 4;
32202
+ readonly items: {
32203
+ readonly enum: readonly ["single", "any", "all", "sequence"];
32204
+ };
32205
+ };
32206
+ readonly assigneeProviders: {
32207
+ readonly type: "array";
32208
+ readonly uniqueItems: true;
32209
+ readonly minItems: 1;
32210
+ readonly maxItems: 3;
32211
+ readonly items: {
32212
+ readonly enum: readonly ["fixed_users", "app_role", "app_role_in_scope"];
32213
+ };
32214
+ };
32215
+ readonly operations: {
32216
+ readonly type: "array";
32217
+ readonly uniqueItems: true;
32218
+ readonly minItems: 1;
32219
+ readonly maxItems: 5;
32220
+ readonly items: {
32221
+ readonly enum: readonly ["complete", "save_form", "return", "transfer", "delegate"];
32222
+ };
32223
+ };
32224
+ };
32225
+ };
32226
+ readonly fieldPolicy: {
32227
+ readonly type: "object";
32228
+ readonly additionalProperties: false;
32229
+ readonly properties: {
32230
+ readonly default: {
32231
+ readonly enum: readonly ["hidden", "readonly", "edit", "edit_required"];
32232
+ };
32233
+ readonly fields: {
32234
+ readonly type: "object";
32235
+ readonly additionalProperties: {
32236
+ readonly enum: readonly ["hidden", "readonly", "edit", "edit_required"];
32237
+ };
32238
+ };
32239
+ };
32240
+ };
32241
+ };
32242
+ }, {
32613
32243
  readonly type: "object";
32614
32244
  readonly additionalProperties: false;
32615
32245
  readonly required: readonly ["id", "kind", "title", "binding", "mode", "onApprove", "onReject"];
@@ -32621,6 +32251,36 @@ export declare const contractSchemas: {
32621
32251
  readonly kind: {
32622
32252
  readonly const: "approval";
32623
32253
  };
32254
+ readonly reminders: {
32255
+ type: string;
32256
+ additionalProperties: boolean;
32257
+ required: string[];
32258
+ properties: {
32259
+ afterSeconds: {
32260
+ type: string;
32261
+ minimum: number;
32262
+ maximum: number;
32263
+ };
32264
+ everySeconds: {
32265
+ type: string;
32266
+ minimum: number;
32267
+ maximum: number;
32268
+ };
32269
+ max: {
32270
+ type: string;
32271
+ minimum: number;
32272
+ maximum: number;
32273
+ };
32274
+ to: {
32275
+ type: string;
32276
+ minItems: number;
32277
+ maxItems: number;
32278
+ items: {
32279
+ const: string;
32280
+ };
32281
+ };
32282
+ };
32283
+ };
32624
32284
  readonly title: {
32625
32285
  readonly type: "string";
32626
32286
  readonly minLength: 1;
@@ -32680,6 +32340,12 @@ export declare const contractSchemas: {
32680
32340
  commentRequired?: {
32681
32341
  type: string;
32682
32342
  };
32343
+ opinion?: {
32344
+ enum: string[];
32345
+ };
32346
+ minimumOpinion?: {
32347
+ enum: string[];
32348
+ };
32683
32349
  label: {
32684
32350
  type: string;
32685
32351
  minLength: number;
@@ -32690,6 +32356,48 @@ export declare const contractSchemas: {
32690
32356
  };
32691
32357
  };
32692
32358
  };
32359
+ readonly administration: {
32360
+ readonly type: "object";
32361
+ readonly additionalProperties: false;
32362
+ readonly properties: {
32363
+ readonly modes: {
32364
+ readonly type: "array";
32365
+ readonly minItems: 1;
32366
+ readonly maxItems: 4;
32367
+ readonly uniqueItems: true;
32368
+ readonly items: {
32369
+ readonly enum: readonly ["single", "any", "all", "sequence"];
32370
+ };
32371
+ };
32372
+ readonly assigneeProviders: {
32373
+ readonly type: "array";
32374
+ readonly minItems: 1;
32375
+ readonly maxItems: 3;
32376
+ readonly uniqueItems: true;
32377
+ readonly items: {
32378
+ readonly enum: readonly ["fixed_users", "app_role", "app_role_in_scope"];
32379
+ };
32380
+ };
32381
+ readonly operations: {
32382
+ readonly type: "array";
32383
+ readonly minItems: 1;
32384
+ readonly maxItems: 8;
32385
+ readonly uniqueItems: true;
32386
+ readonly items: {
32387
+ readonly enum: readonly ["complete", "approve", "reject", "save_form", "return", "transfer", "delegate", "add_assignee"];
32388
+ };
32389
+ };
32390
+ };
32391
+ };
32392
+ readonly requiredOperations: {
32393
+ readonly type: "array";
32394
+ readonly minItems: 1;
32395
+ readonly maxItems: 7;
32396
+ readonly uniqueItems: true;
32397
+ readonly items: {
32398
+ readonly enum: readonly ["complete", "approve", "reject", "save_form", "return", "transfer", "delegate", "add_assignee"];
32399
+ };
32400
+ };
32693
32401
  readonly allowedOperations: {
32694
32402
  readonly type: "array";
32695
32403
  readonly uniqueItems: true;
@@ -32697,6 +32405,40 @@ export declare const contractSchemas: {
32697
32405
  readonly enum: readonly ["approve", "reject", "return", "transfer", "delegate", "add_assignee", "resubmit", "save_form", "admin_reassign", "admin_override"];
32698
32406
  };
32699
32407
  };
32408
+ readonly returnPolicy: {
32409
+ type: string;
32410
+ additionalProperties: boolean;
32411
+ required: string[];
32412
+ properties: {
32413
+ targets: {
32414
+ type: string;
32415
+ maxItems: number;
32416
+ items: {
32417
+ type: string;
32418
+ additionalProperties: boolean;
32419
+ required: string[];
32420
+ properties: {
32421
+ nodeId: {
32422
+ readonly type: "string";
32423
+ readonly minLength: 1;
32424
+ };
32425
+ routes: {
32426
+ type: string;
32427
+ minItems: number;
32428
+ maxItems: number;
32429
+ uniqueItems: boolean;
32430
+ items: {
32431
+ enum: string[];
32432
+ };
32433
+ };
32434
+ defaultRoute: {
32435
+ enum: string[];
32436
+ };
32437
+ };
32438
+ };
32439
+ };
32440
+ };
32441
+ };
32700
32442
  readonly returnTargets: {
32701
32443
  readonly type: "array";
32702
32444
  readonly uniqueItems: true;
@@ -32907,6 +32649,74 @@ export declare const contractSchemas: {
32907
32649
  };
32908
32650
  }];
32909
32651
  };
32652
+ readonly notification: {
32653
+ readonly type: "object";
32654
+ readonly additionalProperties: false;
32655
+ readonly required: readonly ["template", "recipients"];
32656
+ readonly properties: {
32657
+ readonly template: {
32658
+ readonly const: "workflow_message";
32659
+ };
32660
+ readonly recipients: {
32661
+ readonly oneOf: readonly [{
32662
+ readonly type: "object";
32663
+ readonly additionalProperties: false;
32664
+ readonly required: readonly ["provider"];
32665
+ readonly properties: {
32666
+ readonly provider: {
32667
+ readonly const: "initiator";
32668
+ };
32669
+ };
32670
+ }, {
32671
+ readonly type: "object";
32672
+ readonly additionalProperties: false;
32673
+ readonly required: readonly ["provider", "users"];
32674
+ readonly properties: {
32675
+ readonly provider: {
32676
+ readonly const: "fixed_users";
32677
+ };
32678
+ readonly users: {
32679
+ readonly type: "array";
32680
+ readonly minItems: 1;
32681
+ readonly maxItems: 50;
32682
+ readonly uniqueItems: true;
32683
+ readonly items: {
32684
+ readonly type: "string";
32685
+ readonly minLength: 1;
32686
+ readonly maxLength: 255;
32687
+ };
32688
+ };
32689
+ };
32690
+ }, {
32691
+ readonly type: "object";
32692
+ readonly additionalProperties: false;
32693
+ readonly required: readonly ["provider", "roleCode"];
32694
+ readonly properties: {
32695
+ readonly provider: {
32696
+ readonly const: "app_role";
32697
+ };
32698
+ readonly roleCode: {
32699
+ readonly type: "string";
32700
+ readonly minLength: 1;
32701
+ };
32702
+ };
32703
+ }, {
32704
+ readonly type: "object";
32705
+ readonly additionalProperties: false;
32706
+ readonly required: readonly ["provider", "inputPath"];
32707
+ readonly properties: {
32708
+ readonly provider: {
32709
+ readonly const: "form_field_users";
32710
+ };
32711
+ readonly inputPath: {
32712
+ readonly type: "string";
32713
+ readonly minLength: 1;
32714
+ };
32715
+ };
32716
+ }];
32717
+ };
32718
+ };
32719
+ };
32910
32720
  readonly inputSchema: {
32911
32721
  readonly type: "object";
32912
32722
  };
@@ -32961,6 +32771,36 @@ export declare const contractSchemas: {
32961
32771
  readonly type: "string";
32962
32772
  readonly minLength: 1;
32963
32773
  };
32774
+ readonly reminders: {
32775
+ type: string;
32776
+ additionalProperties: boolean;
32777
+ required: string[];
32778
+ properties: {
32779
+ afterSeconds: {
32780
+ type: string;
32781
+ minimum: number;
32782
+ maximum: number;
32783
+ };
32784
+ everySeconds: {
32785
+ type: string;
32786
+ minimum: number;
32787
+ maximum: number;
32788
+ };
32789
+ max: {
32790
+ type: string;
32791
+ minimum: number;
32792
+ maximum: number;
32793
+ };
32794
+ to: {
32795
+ type: string;
32796
+ minItems: number;
32797
+ maxItems: number;
32798
+ items: {
32799
+ const: string;
32800
+ };
32801
+ };
32802
+ };
32803
+ };
32964
32804
  readonly taskPageCode: {
32965
32805
  readonly type: "string";
32966
32806
  readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,63}$";
@@ -33062,7 +32902,7 @@ export declare const contractSchemas: {
33062
32902
  }];
33063
32903
  readonly properties: {
33064
32904
  readonly provider: {
33065
- readonly enum: readonly ["fixed_users", "initiator", "input_users", "form_field_users", "department_supervisor", "app_role", "app_role_in_scope", "business_relation", "previous_node_actor", "initiator_select", "application_provider"];
32905
+ readonly enum: readonly ["fixed_users", "initiator", "input_users", "form_field_users", "department_supervisor", "supervisor_chain", "app_role", "app_role_in_scope", "business_relation", "previous_node_actor", "initiator_select", "application_provider"];
33066
32906
  };
33067
32907
  readonly users: {
33068
32908
  readonly type: "array";
@@ -33084,6 +32924,53 @@ export declare const contractSchemas: {
33084
32924
  readonly type: "string";
33085
32925
  readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
33086
32926
  };
32927
+ readonly from: {
32928
+ readonly oneOf: readonly [{
32929
+ readonly const: "initiator";
32930
+ }, {
32931
+ readonly type: "object";
32932
+ readonly additionalProperties: false;
32933
+ readonly required: readonly ["field"];
32934
+ readonly properties: {
32935
+ readonly field: {
32936
+ readonly type: "string";
32937
+ readonly maxLength: 255;
32938
+ };
32939
+ };
32940
+ }];
32941
+ };
32942
+ readonly until: {
32943
+ readonly oneOf: readonly [{
32944
+ readonly const: "top";
32945
+ }, {
32946
+ readonly type: "object";
32947
+ readonly additionalProperties: false;
32948
+ readonly required: readonly ["level"];
32949
+ readonly properties: {
32950
+ readonly level: {
32951
+ readonly type: "integer";
32952
+ readonly minimum: 1;
32953
+ readonly maximum: 20;
32954
+ };
32955
+ };
32956
+ }, {
32957
+ readonly type: "object";
32958
+ readonly additionalProperties: false;
32959
+ readonly required: readonly ["roleCode"];
32960
+ readonly properties: {
32961
+ readonly roleCode: {
32962
+ readonly type: "string";
32963
+ readonly minLength: 1;
32964
+ };
32965
+ };
32966
+ }];
32967
+ };
32968
+ readonly continuous: {
32969
+ readonly type: "boolean";
32970
+ };
32971
+ readonly missing: {
32972
+ readonly enum: readonly ["skip_level", "block"];
32973
+ };
33087
32974
  readonly departmentIdFrom: {
33088
32975
  readonly type: "string";
33089
32976
  };
@@ -34089,6 +33976,22 @@ export declare const contractSchemas: {
34089
33976
  readonly type: "array";
34090
33977
  readonly items: {
34091
33978
  readonly type: "object";
33979
+ readonly properties: {
33980
+ readonly prominence: {
33981
+ readonly anyOf: readonly [{
33982
+ readonly type: "integer";
33983
+ readonly minimum: 1;
33984
+ readonly maximum: 1000;
33985
+ }, {
33986
+ readonly type: "null";
33987
+ }];
33988
+ };
33989
+ readonly consequence: {
33990
+ readonly type: "string";
33991
+ readonly minLength: 1;
33992
+ readonly maxLength: 1000;
33993
+ };
33994
+ };
34092
33995
  };
34093
33996
  };
34094
33997
  readonly extensions: {
@@ -34501,6 +34404,22 @@ export declare const contractSchemas: {
34501
34404
  readonly type: "array";
34502
34405
  readonly items: {
34503
34406
  readonly type: "object";
34407
+ readonly properties: {
34408
+ readonly prominence: {
34409
+ readonly anyOf: readonly [{
34410
+ readonly type: "integer";
34411
+ readonly minimum: 1;
34412
+ readonly maximum: 1000;
34413
+ }, {
34414
+ readonly type: "null";
34415
+ }];
34416
+ };
34417
+ readonly consequence: {
34418
+ readonly type: "string";
34419
+ readonly minLength: 1;
34420
+ readonly maxLength: 1000;
34421
+ };
34422
+ };
34504
34423
  };
34505
34424
  };
34506
34425
  readonly extensions: {
@@ -34589,6 +34508,22 @@ export declare const contractSchemas: {
34589
34508
  readonly type: "array";
34590
34509
  readonly items: {
34591
34510
  readonly type: "object";
34511
+ readonly properties: {
34512
+ readonly prominence: {
34513
+ readonly anyOf: readonly [{
34514
+ readonly type: "integer";
34515
+ readonly minimum: 1;
34516
+ readonly maximum: 1000;
34517
+ }, {
34518
+ readonly type: "null";
34519
+ }];
34520
+ };
34521
+ readonly consequence: {
34522
+ readonly type: "string";
34523
+ readonly minLength: 1;
34524
+ readonly maxLength: 1000;
34525
+ };
34526
+ };
34592
34527
  };
34593
34528
  };
34594
34529
  readonly navigationContext: {
@@ -40726,6 +40661,177 @@ export declare const contractSchemas: {
40726
40661
  readonly schemaVersion: {
40727
40662
  readonly const: "openxiangda.config-bundle/v3";
40728
40663
  };
40664
+ readonly agents: {
40665
+ readonly type: "array";
40666
+ readonly maxItems: 20;
40667
+ readonly items: {
40668
+ readonly type: "object";
40669
+ readonly additionalProperties: false;
40670
+ readonly required: readonly ["code", "name", "purpose", "instructions", "tasks"];
40671
+ readonly properties: {
40672
+ readonly code: {
40673
+ type: string;
40674
+ minLength: number;
40675
+ maxLength: number;
40676
+ pattern: string;
40677
+ };
40678
+ readonly name: {
40679
+ readonly type: "string";
40680
+ readonly minLength: 1;
40681
+ readonly maxLength: 80;
40682
+ };
40683
+ readonly purpose: {
40684
+ readonly type: "string";
40685
+ readonly minLength: 1;
40686
+ readonly maxLength: 1000;
40687
+ };
40688
+ readonly instructions: {
40689
+ readonly type: "string";
40690
+ readonly minLength: 1;
40691
+ readonly maxLength: 16000;
40692
+ };
40693
+ readonly starters: {
40694
+ readonly type: "array";
40695
+ readonly maxItems: 12;
40696
+ readonly uniqueItems: true;
40697
+ readonly items: {
40698
+ readonly type: "string";
40699
+ readonly minLength: 1;
40700
+ readonly maxLength: 160;
40701
+ };
40702
+ };
40703
+ readonly tasks: {
40704
+ readonly type: "array";
40705
+ readonly minItems: 1;
40706
+ readonly maxItems: 20;
40707
+ readonly items: {
40708
+ readonly oneOf: readonly [{
40709
+ readonly type: "object";
40710
+ readonly additionalProperties: false;
40711
+ readonly required: readonly ["code", "kind", "resource", "view"];
40712
+ readonly properties: {
40713
+ readonly kind: {
40714
+ readonly const: "view";
40715
+ };
40716
+ readonly filters: {
40717
+ type: string;
40718
+ maxItems: number;
40719
+ uniqueItems: boolean;
40720
+ items: {
40721
+ type: string;
40722
+ minLength: number;
40723
+ maxLength: number;
40724
+ };
40725
+ };
40726
+ readonly code: {
40727
+ type: string;
40728
+ minLength: number;
40729
+ maxLength: number;
40730
+ pattern: string;
40731
+ };
40732
+ readonly name: {
40733
+ type: string;
40734
+ minLength: number;
40735
+ maxLength: number;
40736
+ };
40737
+ readonly description: {
40738
+ type: string;
40739
+ minLength: number;
40740
+ maxLength: number;
40741
+ };
40742
+ readonly resource: {
40743
+ type: string;
40744
+ minLength: number;
40745
+ maxLength: number;
40746
+ pattern: string;
40747
+ };
40748
+ readonly view: {
40749
+ type: string;
40750
+ minLength: number;
40751
+ maxLength: number;
40752
+ pattern: string;
40753
+ };
40754
+ readonly examples: {
40755
+ type: string;
40756
+ maxItems: number;
40757
+ uniqueItems: boolean;
40758
+ items: {
40759
+ type: string;
40760
+ minLength: number;
40761
+ maxLength: number;
40762
+ };
40763
+ };
40764
+ };
40765
+ }, {
40766
+ readonly type: "object";
40767
+ readonly additionalProperties: false;
40768
+ readonly required: readonly ["code", "kind", "resource", "view", "action", "fields"];
40769
+ readonly properties: {
40770
+ readonly kind: {
40771
+ readonly const: "form";
40772
+ };
40773
+ readonly action: {
40774
+ readonly enum: readonly ["create", "update"];
40775
+ };
40776
+ readonly fields: {
40777
+ readonly minItems: 1;
40778
+ readonly type: string;
40779
+ readonly maxItems: number;
40780
+ readonly uniqueItems: boolean;
40781
+ readonly items: {
40782
+ type: string;
40783
+ minLength: number;
40784
+ maxLength: number;
40785
+ };
40786
+ };
40787
+ readonly confirmation: {
40788
+ readonly enum: readonly ["none", "required"];
40789
+ };
40790
+ readonly code: {
40791
+ type: string;
40792
+ minLength: number;
40793
+ maxLength: number;
40794
+ pattern: string;
40795
+ };
40796
+ readonly name: {
40797
+ type: string;
40798
+ minLength: number;
40799
+ maxLength: number;
40800
+ };
40801
+ readonly description: {
40802
+ type: string;
40803
+ minLength: number;
40804
+ maxLength: number;
40805
+ };
40806
+ readonly resource: {
40807
+ type: string;
40808
+ minLength: number;
40809
+ maxLength: number;
40810
+ pattern: string;
40811
+ };
40812
+ readonly view: {
40813
+ type: string;
40814
+ minLength: number;
40815
+ maxLength: number;
40816
+ pattern: string;
40817
+ };
40818
+ readonly examples: {
40819
+ type: string;
40820
+ maxItems: number;
40821
+ uniqueItems: boolean;
40822
+ items: {
40823
+ type: string;
40824
+ minLength: number;
40825
+ maxLength: number;
40826
+ };
40827
+ };
40828
+ };
40829
+ }];
40830
+ };
40831
+ };
40832
+ };
40833
+ };
40834
+ };
40729
40835
  readonly compilerContractVersion: {
40730
40836
  readonly const: "native-4";
40731
40837
  };
@@ -44925,7 +45031,7 @@ export declare const contractSchemas: {
44925
45031
  readonly minLength: 1;
44926
45032
  };
44927
45033
  readonly kind: {
44928
- readonly enum: readonly ["generatedCrud", "customAction"];
45034
+ readonly enum: readonly ["generatedCrud", "customAction", "nativeTask"];
44929
45035
  };
44930
45036
  readonly operation: {
44931
45037
  readonly enum: readonly ["query", "get", "create", "update", "delete", "custom"];
@@ -44994,6 +45100,30 @@ export declare const contractSchemas: {
44994
45100
  readonly type: "string";
44995
45101
  };
44996
45102
  };
45103
+ readonly reconcile: {
45104
+ readonly oneOf: readonly [{
45105
+ readonly type: "object";
45106
+ readonly additionalProperties: false;
45107
+ readonly required: readonly ["kind"];
45108
+ readonly properties: {
45109
+ readonly kind: {
45110
+ readonly const: "platform-transaction";
45111
+ };
45112
+ };
45113
+ }, {
45114
+ readonly type: "object";
45115
+ readonly additionalProperties: false;
45116
+ readonly required: readonly ["kind", "operation"];
45117
+ readonly properties: {
45118
+ readonly kind: {
45119
+ readonly const: "status-operation";
45120
+ };
45121
+ readonly operation: {
45122
+ readonly type: "string";
45123
+ };
45124
+ };
45125
+ }];
45126
+ };
44997
45127
  readonly agent: {
44998
45128
  readonly type: "object";
44999
45129
  readonly additionalProperties: false;
@@ -45002,6 +45132,203 @@ export declare const contractSchemas: {
45002
45132
  readonly visibility: {
45003
45133
  readonly enum: readonly ["task", "support"];
45004
45134
  };
45135
+ readonly nativeTask: {
45136
+ readonly type: "object";
45137
+ readonly additionalProperties: false;
45138
+ readonly required: readonly ["contractVersion", "agentCode", "taskCode", "hintSchema"];
45139
+ readonly properties: {
45140
+ readonly contractVersion: {
45141
+ readonly const: 2;
45142
+ };
45143
+ readonly agentCode: {
45144
+ type: string;
45145
+ minLength: number;
45146
+ maxLength: number;
45147
+ pattern: string;
45148
+ };
45149
+ readonly taskCode: {
45150
+ type: string;
45151
+ minLength: number;
45152
+ maxLength: number;
45153
+ pattern: string;
45154
+ };
45155
+ readonly hintSchema: {
45156
+ readonly type: "object";
45157
+ };
45158
+ readonly coverage: {
45159
+ type: string;
45160
+ maxItems: number;
45161
+ items: {
45162
+ type: string;
45163
+ additionalProperties: boolean;
45164
+ required: string[];
45165
+ properties: {
45166
+ field: {
45167
+ type: string;
45168
+ minLength: number;
45169
+ maxLength: number;
45170
+ };
45171
+ selector: {
45172
+ oneOf: ({
45173
+ type: string;
45174
+ additionalProperties: boolean;
45175
+ required: string[];
45176
+ properties: {
45177
+ owner: {
45178
+ enum: string[];
45179
+ const?: never;
45180
+ };
45181
+ dimensionCode?: never;
45182
+ };
45183
+ } | {
45184
+ type: string;
45185
+ additionalProperties: boolean;
45186
+ required: string[];
45187
+ properties: {
45188
+ owner: {
45189
+ const: string;
45190
+ enum?: never;
45191
+ };
45192
+ dimensionCode: {
45193
+ type: string;
45194
+ minLength: number;
45195
+ maxLength: number;
45196
+ pattern: string;
45197
+ };
45198
+ };
45199
+ })[];
45200
+ };
45201
+ create: {
45202
+ type: string;
45203
+ };
45204
+ update: {
45205
+ type: string;
45206
+ };
45207
+ filter: {
45208
+ type: string;
45209
+ };
45210
+ output: {
45211
+ enum: string[];
45212
+ };
45213
+ reason: {
45214
+ enum: string[];
45215
+ };
45216
+ };
45217
+ };
45218
+ };
45219
+ readonly form: {
45220
+ readonly type: "object";
45221
+ readonly additionalProperties: false;
45222
+ readonly required: readonly ["contractVersion", "action", "title", "submitLabel", "resource", "view", "fields"];
45223
+ readonly properties: {
45224
+ readonly contractVersion: {
45225
+ readonly const: 2;
45226
+ };
45227
+ readonly action: {
45228
+ readonly enum: readonly ["create", "update"];
45229
+ };
45230
+ readonly title: {
45231
+ readonly type: "string";
45232
+ readonly minLength: 1;
45233
+ readonly maxLength: 80;
45234
+ };
45235
+ readonly submitLabel: {
45236
+ readonly type: "string";
45237
+ readonly minLength: 1;
45238
+ readonly maxLength: 40;
45239
+ };
45240
+ readonly resource: {
45241
+ type: string;
45242
+ minLength: number;
45243
+ maxLength: number;
45244
+ pattern: string;
45245
+ };
45246
+ readonly view: {
45247
+ type: string;
45248
+ minLength: number;
45249
+ maxLength: number;
45250
+ pattern: string;
45251
+ };
45252
+ readonly fields: {
45253
+ readonly type: "array";
45254
+ readonly minItems: 1;
45255
+ readonly maxItems: 20;
45256
+ readonly items: {
45257
+ readonly type: "object";
45258
+ readonly additionalProperties: false;
45259
+ readonly required: readonly ["path", "label", "fieldType", "required", "source"];
45260
+ readonly properties: {
45261
+ readonly path: {
45262
+ readonly type: "string";
45263
+ readonly minLength: 1;
45264
+ readonly maxLength: 100;
45265
+ };
45266
+ readonly label: {
45267
+ readonly type: "string";
45268
+ readonly minLength: 1;
45269
+ readonly maxLength: 500;
45270
+ };
45271
+ readonly fieldType: {
45272
+ readonly enum: readonly ["text.short", "text.long", "text.rich", "number.integer", "number.decimal", "boolean", "date", "time", "datetime", "date-range", "datetime-range", "option.single", "option.multiple", "cascade.single", "cascade.multiple", "user.single", "user.multiple", "department.single", "department.multiple", "resource-ref.single", "resource-ref.multiple", "image", "signature", "address", "location", "uuid", "json", "file", "serial-number", "subtable"];
45273
+ };
45274
+ readonly required: {
45275
+ readonly type: "boolean";
45276
+ };
45277
+ readonly selector: {
45278
+ oneOf: ({
45279
+ type: string;
45280
+ additionalProperties: boolean;
45281
+ required: string[];
45282
+ properties: {
45283
+ owner: {
45284
+ enum: string[];
45285
+ const?: never;
45286
+ };
45287
+ dimensionCode?: never;
45288
+ };
45289
+ } | {
45290
+ type: string;
45291
+ additionalProperties: boolean;
45292
+ required: string[];
45293
+ properties: {
45294
+ owner: {
45295
+ const: string;
45296
+ enum?: never;
45297
+ };
45298
+ dimensionCode: {
45299
+ type: string;
45300
+ minLength: number;
45301
+ maxLength: number;
45302
+ pattern: string;
45303
+ };
45304
+ };
45305
+ })[];
45306
+ };
45307
+ readonly source: {
45308
+ readonly type: "object";
45309
+ readonly additionalProperties: false;
45310
+ readonly required: readonly ["resource", "field"];
45311
+ readonly properties: {
45312
+ readonly resource: {
45313
+ type: string;
45314
+ minLength: number;
45315
+ maxLength: number;
45316
+ pattern: string;
45317
+ };
45318
+ readonly field: {
45319
+ readonly type: "string";
45320
+ readonly minLength: 1;
45321
+ readonly maxLength: 100;
45322
+ };
45323
+ };
45324
+ };
45325
+ };
45326
+ };
45327
+ };
45328
+ };
45329
+ };
45330
+ };
45331
+ };
45005
45332
  readonly examples: {
45006
45333
  readonly type: "array";
45007
45334
  readonly maxItems: 12;
@@ -45134,25 +45461,95 @@ export declare const contractSchemas: {
45134
45461
  };
45135
45462
  };
45136
45463
  readonly binding: {
45137
- readonly type: "object";
45138
- readonly additionalProperties: false;
45139
- readonly required: readonly ["kind", "operationCode", "method", "path"];
45140
- readonly properties: {
45141
- readonly kind: {
45142
- readonly const: "app-api";
45143
- };
45144
- readonly operationCode: {
45145
- readonly type: "string";
45146
- readonly minLength: 1;
45147
- };
45148
- readonly method: {
45149
- readonly enum: readonly ["GET", "POST", "PUT", "PATCH", "DELETE"];
45150
- };
45151
- readonly path: {
45152
- readonly type: "string";
45153
- readonly pattern: "^/[A-Za-z0-9/_-]+$";
45464
+ readonly oneOf: readonly [{
45465
+ readonly oneOf: readonly [{
45466
+ readonly type: "object";
45467
+ readonly additionalProperties: false;
45468
+ readonly required: readonly ["kind", "resourceCode", "viewCode", "filterFields"];
45469
+ readonly properties: {
45470
+ readonly kind: {
45471
+ readonly const: "native-view";
45472
+ };
45473
+ readonly resourceCode: {
45474
+ type: string;
45475
+ minLength: number;
45476
+ maxLength: number;
45477
+ pattern: string;
45478
+ };
45479
+ readonly viewCode: {
45480
+ type: string;
45481
+ minLength: number;
45482
+ maxLength: number;
45483
+ pattern: string;
45484
+ };
45485
+ readonly filterFields: {
45486
+ type: string;
45487
+ maxItems: number;
45488
+ uniqueItems: boolean;
45489
+ items: {
45490
+ type: string;
45491
+ minLength: number;
45492
+ maxLength: number;
45493
+ };
45494
+ };
45495
+ };
45496
+ }, {
45497
+ readonly type: "object";
45498
+ readonly additionalProperties: false;
45499
+ readonly required: readonly ["kind", "resourceCode", "viewCode", "action", "fields"];
45500
+ readonly properties: {
45501
+ readonly kind: {
45502
+ readonly const: "native-form";
45503
+ };
45504
+ readonly resourceCode: {
45505
+ type: string;
45506
+ minLength: number;
45507
+ maxLength: number;
45508
+ pattern: string;
45509
+ };
45510
+ readonly viewCode: {
45511
+ type: string;
45512
+ minLength: number;
45513
+ maxLength: number;
45514
+ pattern: string;
45515
+ };
45516
+ readonly action: {
45517
+ readonly enum: readonly ["create", "update"];
45518
+ };
45519
+ readonly fields: {
45520
+ readonly minItems: 1;
45521
+ readonly type: string;
45522
+ readonly maxItems: number;
45523
+ readonly uniqueItems: boolean;
45524
+ readonly items: {
45525
+ type: string;
45526
+ minLength: number;
45527
+ maxLength: number;
45528
+ };
45529
+ };
45530
+ };
45531
+ }];
45532
+ }, {
45533
+ readonly type: "object";
45534
+ readonly additionalProperties: false;
45535
+ readonly required: readonly ["kind", "operationCode", "method", "path"];
45536
+ readonly properties: {
45537
+ readonly kind: {
45538
+ readonly const: "app-api";
45539
+ };
45540
+ readonly operationCode: {
45541
+ readonly type: "string";
45542
+ readonly minLength: 1;
45543
+ };
45544
+ readonly method: {
45545
+ readonly enum: readonly ["GET", "POST", "PUT", "PATCH", "DELETE"];
45546
+ };
45547
+ readonly path: {
45548
+ readonly type: "string";
45549
+ readonly pattern: "^/[A-Za-z0-9/_-]+$";
45550
+ };
45154
45551
  };
45155
- };
45552
+ }];
45156
45553
  };
45157
45554
  };
45158
45555
  };