openxiangda-contracts 2.63.0 → 2.69.1

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 (144) hide show
  1. package/dist/ai.d.ts +1 -1
  2. package/dist/ai.d.ts.map +1 -1
  3. package/dist/ai.js +4 -3
  4. package/dist/ai.js.map +1 -1
  5. package/dist/browser.d.ts +6 -0
  6. package/dist/browser.d.ts.map +1 -1
  7. package/dist/browser.js +6 -0
  8. package/dist/browser.js.map +1 -1
  9. package/dist/concurrency.d.ts +1 -1
  10. package/dist/concurrency.d.ts.map +1 -1
  11. package/dist/data-field-validation.js +7 -2
  12. package/dist/data-field-validation.js.map +1 -1
  13. package/dist/field-value-schemas.d.ts +1 -1
  14. package/dist/index.d.ts +10 -0
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +10 -0
  17. package/dist/index.js.map +1 -1
  18. package/dist/native-compiler/actor-authority.d.ts +11 -0
  19. package/dist/native-compiler/actor-authority.d.ts.map +1 -0
  20. package/dist/native-compiler/actor-authority.js +56 -0
  21. package/dist/native-compiler/actor-authority.js.map +1 -0
  22. package/dist/native-compiler/artifact-capacity.d.ts +12 -0
  23. package/dist/native-compiler/artifact-capacity.d.ts.map +1 -0
  24. package/dist/native-compiler/artifact-capacity.js +34 -0
  25. package/dist/native-compiler/artifact-capacity.js.map +1 -0
  26. package/dist/native-compiler/authenticated-public-read.d.ts +18 -0
  27. package/dist/native-compiler/authenticated-public-read.d.ts.map +1 -0
  28. package/dist/native-compiler/authenticated-public-read.js +79 -0
  29. package/dist/native-compiler/authenticated-public-read.js.map +1 -0
  30. package/dist/native-compiler/compiler.d.ts +2 -21
  31. package/dist/native-compiler/compiler.d.ts.map +1 -1
  32. package/dist/native-compiler/compiler.js +203 -46
  33. package/dist/native-compiler/compiler.js.map +1 -1
  34. package/dist/native-compiler/data-business-command.d.ts +3 -1
  35. package/dist/native-compiler/data-business-command.d.ts.map +1 -1
  36. package/dist/native-compiler/data-business-command.js.map +1 -1
  37. package/dist/native-compiler/data-capacity.d.ts +14 -3
  38. package/dist/native-compiler/data-capacity.d.ts.map +1 -1
  39. package/dist/native-compiler/data-capacity.js +11 -3
  40. package/dist/native-compiler/data-capacity.js.map +1 -1
  41. package/dist/native-compiler/data-field.d.ts +22 -0
  42. package/dist/native-compiler/data-field.d.ts.map +1 -1
  43. package/dist/native-compiler/data-field.js +19 -2
  44. package/dist/native-compiler/data-field.js.map +1 -1
  45. package/dist/native-compiler/date-event-projection.d.ts +13 -0
  46. package/dist/native-compiler/date-event-projection.d.ts.map +1 -0
  47. package/dist/native-compiler/date-event-projection.js +71 -0
  48. package/dist/native-compiler/date-event-projection.js.map +1 -0
  49. package/dist/native-compiler/declaration-capacity.d.ts +60 -0
  50. package/dist/native-compiler/declaration-capacity.d.ts.map +1 -0
  51. package/dist/native-compiler/declaration-capacity.js +32 -0
  52. package/dist/native-compiler/declaration-capacity.js.map +1 -0
  53. package/dist/native-compiler/development-backend.d.ts +84 -0
  54. package/dist/native-compiler/development-backend.d.ts.map +1 -0
  55. package/dist/native-compiler/development-backend.js +77 -0
  56. package/dist/native-compiler/development-backend.js.map +1 -0
  57. package/dist/native-compiler/development-configuration.d.ts +65 -0
  58. package/dist/native-compiler/development-configuration.d.ts.map +1 -0
  59. package/dist/native-compiler/development-configuration.js +143 -0
  60. package/dist/native-compiler/development-configuration.js.map +1 -0
  61. package/dist/native-compiler/index.cjs +6 -6
  62. package/dist/native-compiler/index.d.ts +13 -0
  63. package/dist/native-compiler/index.d.ts.map +1 -1
  64. package/dist/native-compiler/index.js +6 -6
  65. package/dist/native-compiler/record-set-guard.d.ts +5 -0
  66. package/dist/native-compiler/record-set-guard.d.ts.map +1 -0
  67. package/dist/native-compiler/record-set-guard.js +27 -0
  68. package/dist/native-compiler/record-set-guard.js.map +1 -0
  69. package/dist/native-compiler/user-candidates.d.ts +9 -1
  70. package/dist/native-compiler/user-candidates.d.ts.map +1 -1
  71. package/dist/native-compiler/user-candidates.js +14 -1
  72. package/dist/native-compiler/user-candidates.js.map +1 -1
  73. package/dist/native-compiler/workflow-approved-delegation.d.ts +39 -0
  74. package/dist/native-compiler/workflow-approved-delegation.d.ts.map +1 -0
  75. package/dist/native-compiler/workflow-approved-delegation.js +94 -0
  76. package/dist/native-compiler/workflow-approved-delegation.js.map +1 -0
  77. package/dist/native-compiler/workflow-business-command.d.ts +2 -2
  78. package/dist/native-compiler/workflow-business-command.d.ts.map +1 -1
  79. package/dist/native-compiler/workflow-business-command.js +8 -4
  80. package/dist/native-compiler/workflow-business-command.js.map +1 -1
  81. package/dist/native-compiler/workflow-completion-deadline.d.ts +41 -0
  82. package/dist/native-compiler/workflow-completion-deadline.d.ts.map +1 -0
  83. package/dist/native-compiler/workflow-completion-deadline.js +40 -0
  84. package/dist/native-compiler/workflow-completion-deadline.js.map +1 -0
  85. package/dist/native-compiler/workflow-correction.d.ts +16 -0
  86. package/dist/native-compiler/workflow-correction.d.ts.map +1 -0
  87. package/dist/native-compiler/workflow-correction.js +42 -0
  88. package/dist/native-compiler/workflow-correction.js.map +1 -0
  89. package/dist/native-compiler/workflow-delegation-administration.d.ts +73 -0
  90. package/dist/native-compiler/workflow-delegation-administration.d.ts.map +1 -1
  91. package/dist/native-compiler/workflow-delegation-administration.js +6 -4
  92. package/dist/native-compiler/workflow-delegation-administration.js.map +1 -1
  93. package/dist/native-compiler/workflow-graph.d.ts +13 -2
  94. package/dist/native-compiler/workflow-graph.d.ts.map +1 -1
  95. package/dist/native-compiler/workflow-graph.js +20 -4
  96. package/dist/native-compiler/workflow-graph.js.map +1 -1
  97. package/dist/native-compiler/workflow-initiator-approval.d.ts +5 -1
  98. package/dist/native-compiler/workflow-initiator-approval.d.ts.map +1 -1
  99. package/dist/native-compiler/workflow-initiator-approval.js +18 -3
  100. package/dist/native-compiler/workflow-initiator-approval.js.map +1 -1
  101. package/dist/native-compiler/workflow-native-stage.d.ts +69 -0
  102. package/dist/native-compiler/workflow-native-stage.d.ts.map +1 -0
  103. package/dist/native-compiler/workflow-native-stage.js +42 -0
  104. package/dist/native-compiler/workflow-native-stage.js.map +1 -0
  105. package/dist/native-compiler/workflow-node-administration.d.ts +5 -1
  106. package/dist/native-compiler/workflow-node-administration.d.ts.map +1 -1
  107. package/dist/native-compiler/workflow-node-administration.js +17 -4
  108. package/dist/native-compiler/workflow-node-administration.js.map +1 -1
  109. package/dist/native-compiler/workflow-owned-subject.d.ts +60 -0
  110. package/dist/native-compiler/workflow-owned-subject.d.ts.map +1 -0
  111. package/dist/native-compiler/workflow-owned-subject.js +69 -0
  112. package/dist/native-compiler/workflow-owned-subject.js.map +1 -0
  113. package/dist/native-compiler/workflow-role-union.d.ts +31 -0
  114. package/dist/native-compiler/workflow-role-union.d.ts.map +1 -0
  115. package/dist/native-compiler/workflow-role-union.js +38 -0
  116. package/dist/native-compiler/workflow-role-union.js.map +1 -0
  117. package/dist/native-compiler/workflow-task-page.d.ts +10 -3
  118. package/dist/native-compiler/workflow-task-page.d.ts.map +1 -1
  119. package/dist/native-compiler/workflow-task-page.js +5 -3
  120. package/dist/native-compiler/workflow-task-page.js.map +1 -1
  121. package/dist/native-version.d.ts +20 -0
  122. package/dist/native-version.d.ts.map +1 -1
  123. package/dist/native-version.js +20 -0
  124. package/dist/native-version.js.map +1 -1
  125. package/dist/native.d.ts +9 -0
  126. package/dist/native.d.ts.map +1 -1
  127. package/dist/native.js.map +1 -1
  128. package/dist/references.d.ts +2 -0
  129. package/dist/references.d.ts.map +1 -1
  130. package/dist/schemas.d.ts +1708 -80
  131. package/dist/schemas.d.ts.map +1 -1
  132. package/dist/schemas.js +147 -27
  133. package/dist/schemas.js.map +1 -1
  134. package/dist/surface.d.ts +1 -0
  135. package/dist/surface.d.ts.map +1 -1
  136. package/dist/surface.js.map +1 -1
  137. package/dist/types.d.ts +87 -7
  138. package/dist/types.d.ts.map +1 -1
  139. package/dist/types.js +2 -2
  140. package/dist/types.js.map +1 -1
  141. package/dist/validation.d.ts.map +1 -1
  142. package/dist/validation.js +26 -0
  143. package/dist/validation.js.map +1 -1
  144. package/package.json +1 -1
package/dist/schemas.d.ts CHANGED
@@ -4754,6 +4754,10 @@ export declare const dataFieldSourceQuerySchema: {
4754
4754
  readonly minLength: 1;
4755
4755
  readonly maxLength: 255;
4756
4756
  };
4757
+ readonly subtableFieldCode: {
4758
+ readonly type: "string";
4759
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
4760
+ };
4757
4761
  };
4758
4762
  };
4759
4763
  readonly keyword: {
@@ -4775,6 +4779,89 @@ export declare const dataFieldSourceQuerySchema: {
4775
4779
  };
4776
4780
  };
4777
4781
  };
4782
+ export declare const workflowTaskFieldSourceQuerySchema: {
4783
+ readonly $id: "openxiangda.workflow-task-field-source-query/v2";
4784
+ readonly type: "object";
4785
+ readonly additionalProperties: false;
4786
+ readonly required: readonly ["schemaVersion", "expectedRevision", "expectedTaskVersion"];
4787
+ readonly properties: {
4788
+ readonly schemaVersion: {
4789
+ readonly const: "openxiangda.workflow-task-field-source-query/v2";
4790
+ };
4791
+ readonly expectedRevision: {
4792
+ readonly type: "integer";
4793
+ readonly minimum: 1;
4794
+ readonly maximum: number;
4795
+ };
4796
+ readonly expectedTaskVersion: {
4797
+ readonly type: "integer";
4798
+ readonly minimum: 1;
4799
+ readonly maximum: number;
4800
+ };
4801
+ readonly keyword: {
4802
+ readonly type: "string";
4803
+ readonly maxLength: 500;
4804
+ };
4805
+ readonly cursor: {
4806
+ readonly type: "string";
4807
+ readonly minLength: 1;
4808
+ readonly maxLength: 4096;
4809
+ };
4810
+ readonly bindings: {
4811
+ readonly type: "object";
4812
+ readonly maxProperties: 20;
4813
+ readonly propertyNames: {
4814
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
4815
+ };
4816
+ readonly additionalProperties: true;
4817
+ };
4818
+ readonly subtable: {
4819
+ readonly type: "object";
4820
+ readonly additionalProperties: false;
4821
+ readonly required: readonly ["fieldCode", "row"];
4822
+ readonly properties: {
4823
+ readonly fieldCode: {
4824
+ readonly type: "string";
4825
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
4826
+ };
4827
+ readonly row: {
4828
+ readonly oneOf: readonly [{
4829
+ readonly type: "object";
4830
+ readonly additionalProperties: false;
4831
+ readonly required: readonly ["kind", "id", "expectedRevision"];
4832
+ readonly properties: {
4833
+ readonly kind: {
4834
+ readonly const: "persisted";
4835
+ };
4836
+ readonly id: {
4837
+ readonly type: "string";
4838
+ readonly format: "uuid";
4839
+ };
4840
+ readonly expectedRevision: {
4841
+ readonly type: "integer";
4842
+ readonly minimum: 1;
4843
+ readonly maximum: number;
4844
+ };
4845
+ };
4846
+ }, {
4847
+ readonly type: "object";
4848
+ readonly additionalProperties: false;
4849
+ readonly required: readonly ["kind", "key"];
4850
+ readonly properties: {
4851
+ readonly kind: {
4852
+ readonly const: "new";
4853
+ };
4854
+ readonly key: {
4855
+ readonly type: "string";
4856
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9_.:-]{0,127}$";
4857
+ };
4858
+ };
4859
+ }];
4860
+ };
4861
+ };
4862
+ };
4863
+ };
4864
+ };
4778
4865
  export declare const dataFieldSourcePageSchema: {
4779
4866
  readonly $id: "openxiangda.data-field-source-page/v2";
4780
4867
  readonly type: "object";
@@ -4906,8 +4993,18 @@ export declare const userCandidatesQuerySchema: {
4906
4993
  readonly minLength: 1;
4907
4994
  readonly maxLength: 255;
4908
4995
  };
4996
+ readonly subtableFieldCode: {
4997
+ readonly type: "string";
4998
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
4999
+ };
4909
5000
  };
4910
5001
  };
5002
+ readonly scopeValue: {
5003
+ readonly type: "string";
5004
+ readonly minLength: 1;
5005
+ readonly maxLength: 255;
5006
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
5007
+ };
4911
5008
  readonly schemaVersion: {
4912
5009
  readonly const: "openxiangda.user-candidates-query/v2";
4913
5010
  };
@@ -4987,6 +5084,10 @@ export declare const userCandidatesQuerySchema: {
4987
5084
  readonly minLength: 1;
4988
5085
  readonly maxLength: 255;
4989
5086
  };
5087
+ readonly subtableFieldCode: {
5088
+ readonly type: "string";
5089
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
5090
+ };
4990
5091
  };
4991
5092
  };
4992
5093
  readonly schemaVersion: {
@@ -5229,6 +5330,9 @@ export declare const dataFieldUserCandidatesSchema: {
5229
5330
  readonly maxLength: 255;
5230
5331
  readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
5231
5332
  };
5333
+ readonly creation: {
5334
+ readonly const: "prospective";
5335
+ };
5232
5336
  };
5233
5337
  readonly oneOf: readonly [{
5234
5338
  readonly required: readonly ["field"];
@@ -5238,7 +5342,11 @@ export declare const dataFieldUserCandidatesSchema: {
5238
5342
  }, {
5239
5343
  readonly required: readonly ["value"];
5240
5344
  readonly not: {
5241
- readonly required: readonly ["field"];
5345
+ readonly anyOf: readonly [{
5346
+ readonly required: readonly ["field"];
5347
+ }, {
5348
+ readonly required: readonly ["creation"];
5349
+ }];
5242
5350
  };
5243
5351
  }];
5244
5352
  };
@@ -5552,6 +5660,9 @@ export declare const dataResourceSchema: {
5552
5660
  readonly loadMode: {
5553
5661
  readonly enum: readonly ["search", "all"];
5554
5662
  };
5663
+ readonly clearOnBindingChange: {
5664
+ readonly type: "boolean";
5665
+ };
5555
5666
  };
5556
5667
  };
5557
5668
  readonly userCandidates: {
@@ -5600,6 +5711,9 @@ export declare const dataResourceSchema: {
5600
5711
  readonly maxLength: 255;
5601
5712
  readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
5602
5713
  };
5714
+ readonly creation: {
5715
+ readonly const: "prospective";
5716
+ };
5603
5717
  };
5604
5718
  readonly oneOf: readonly [{
5605
5719
  readonly required: readonly ["field"];
@@ -5609,7 +5723,11 @@ export declare const dataResourceSchema: {
5609
5723
  }, {
5610
5724
  readonly required: readonly ["value"];
5611
5725
  readonly not: {
5612
- readonly required: readonly ["field"];
5726
+ readonly anyOf: readonly [{
5727
+ readonly required: readonly ["field"];
5728
+ }, {
5729
+ readonly required: readonly ["creation"];
5730
+ }];
5613
5731
  };
5614
5732
  }];
5615
5733
  };
@@ -5706,10 +5824,15 @@ export declare const dataResourceSchema: {
5706
5824
  readonly type: "string";
5707
5825
  readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
5708
5826
  };
5827
+ readonly minRows: {
5828
+ readonly type: "integer";
5829
+ readonly minimum: 0;
5830
+ readonly maximum: 500;
5831
+ };
5709
5832
  readonly maxRows: {
5710
5833
  readonly type: "integer";
5711
5834
  readonly minimum: 1;
5712
- readonly maximum: 100;
5835
+ readonly maximum: 500;
5713
5836
  };
5714
5837
  };
5715
5838
  };
@@ -6533,6 +6656,9 @@ export declare const dataResourceSchema: {
6533
6656
  readonly loadMode: {
6534
6657
  readonly enum: readonly ["search", "all"];
6535
6658
  };
6659
+ readonly clearOnBindingChange: {
6660
+ readonly type: "boolean";
6661
+ };
6536
6662
  };
6537
6663
  };
6538
6664
  readonly userCandidates: {
@@ -6581,6 +6707,9 @@ export declare const dataResourceSchema: {
6581
6707
  readonly maxLength: 255;
6582
6708
  readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
6583
6709
  };
6710
+ readonly creation: {
6711
+ readonly const: "prospective";
6712
+ };
6584
6713
  };
6585
6714
  readonly oneOf: readonly [{
6586
6715
  readonly required: readonly ["field"];
@@ -6590,7 +6719,11 @@ export declare const dataResourceSchema: {
6590
6719
  }, {
6591
6720
  readonly required: readonly ["value"];
6592
6721
  readonly not: {
6593
- readonly required: readonly ["field"];
6722
+ readonly anyOf: readonly [{
6723
+ readonly required: readonly ["field"];
6724
+ }, {
6725
+ readonly required: readonly ["creation"];
6726
+ }];
6594
6727
  };
6595
6728
  }];
6596
6729
  };
@@ -6635,10 +6768,15 @@ export declare const dataResourceSchema: {
6635
6768
  readonly type: "string";
6636
6769
  readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
6637
6770
  };
6771
+ readonly minRows: {
6772
+ readonly type: "integer";
6773
+ readonly minimum: 0;
6774
+ readonly maximum: 500;
6775
+ };
6638
6776
  readonly maxRows: {
6639
6777
  readonly type: "integer";
6640
6778
  readonly minimum: 1;
6641
- readonly maximum: 100;
6779
+ readonly maximum: 500;
6642
6780
  };
6643
6781
  };
6644
6782
  };
@@ -8108,6 +8246,105 @@ export declare const dataTransactionRequestSchema: {
8108
8246
  readonly maxItems: 20;
8109
8247
  readonly items: {
8110
8248
  readonly oneOf: readonly [{
8249
+ readonly type: "object";
8250
+ readonly additionalProperties: false;
8251
+ readonly required: readonly ["kind", "resourceCode", "errorCode", "records"];
8252
+ readonly properties: {
8253
+ readonly kind: {
8254
+ readonly const: "record-set-match";
8255
+ };
8256
+ readonly resourceCode: {
8257
+ readonly type: "string";
8258
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
8259
+ };
8260
+ readonly errorCode: {
8261
+ readonly type: "string";
8262
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
8263
+ };
8264
+ readonly records: {
8265
+ readonly type: "array";
8266
+ readonly minItems: 1;
8267
+ readonly maxItems: 500;
8268
+ readonly uniqueItems: true;
8269
+ readonly items: {
8270
+ readonly type: "object";
8271
+ readonly additionalProperties: false;
8272
+ readonly required: readonly ["id", "expectedRevision"];
8273
+ readonly properties: {
8274
+ readonly id: {
8275
+ readonly type: "string";
8276
+ readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
8277
+ };
8278
+ readonly expectedRevision: {
8279
+ readonly type: "integer";
8280
+ readonly minimum: 1;
8281
+ readonly maximum: number;
8282
+ };
8283
+ };
8284
+ };
8285
+ };
8286
+ readonly where: {
8287
+ readonly $ref: "#/$defs/dataWhere";
8288
+ };
8289
+ };
8290
+ }, {
8291
+ readonly type: "object";
8292
+ readonly additionalProperties: false;
8293
+ readonly required: readonly ["kind", "errorCode", "anyOf"];
8294
+ readonly properties: {
8295
+ readonly kind: {
8296
+ readonly const: "actor-authority";
8297
+ };
8298
+ readonly errorCode: {
8299
+ readonly type: "string";
8300
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
8301
+ };
8302
+ readonly allowAppSuperAdmin: {
8303
+ readonly type: "boolean";
8304
+ };
8305
+ readonly anyOf: {
8306
+ readonly type: "array";
8307
+ readonly minItems: 1;
8308
+ readonly maxItems: 20;
8309
+ readonly uniqueItems: true;
8310
+ readonly items: {
8311
+ readonly type: "object";
8312
+ readonly additionalProperties: false;
8313
+ readonly required: readonly ["roleCode"];
8314
+ readonly properties: {
8315
+ readonly roleCode: {
8316
+ readonly type: "string";
8317
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
8318
+ readonly maxLength: 100;
8319
+ };
8320
+ readonly scope: {
8321
+ readonly type: "object";
8322
+ readonly additionalProperties: false;
8323
+ readonly required: readonly ["dimensionCode", "value", "operation"];
8324
+ readonly properties: {
8325
+ readonly dimensionCode: {
8326
+ readonly type: "string";
8327
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
8328
+ readonly maxLength: 100;
8329
+ };
8330
+ readonly value: {
8331
+ readonly type: "string";
8332
+ readonly minLength: 1;
8333
+ readonly maxLength: 255;
8334
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
8335
+ };
8336
+ readonly operation: {
8337
+ readonly type: "string";
8338
+ readonly maxLength: 64;
8339
+ readonly pattern: "^[A-Za-z0-9*][A-Za-z0-9*._:-]*$";
8340
+ };
8341
+ };
8342
+ };
8343
+ };
8344
+ };
8345
+ };
8346
+ };
8347
+ }, {
8111
8348
  readonly type: "object";
8112
8349
  readonly additionalProperties: false;
8113
8350
  readonly required: readonly ["kind", "operationIndex", "field", "operator", "offsetMilliseconds", "errorCode"];
@@ -8401,7 +8638,7 @@ export declare const dataTransactionRequestSchema: {
8401
8638
  readonly operations: {
8402
8639
  readonly type: "array";
8403
8640
  readonly minItems: 1;
8404
- readonly maxItems: 1000;
8641
+ readonly maxItems: number;
8405
8642
  readonly items: {
8406
8643
  readonly oneOf: readonly [{
8407
8644
  readonly type: "object";
@@ -8588,7 +8825,7 @@ export declare const dataTransactionResultSchema: {
8588
8825
  };
8589
8826
  readonly items: {
8590
8827
  readonly type: "array";
8591
- readonly maxItems: 1000;
8828
+ readonly maxItems: number;
8592
8829
  readonly items: {
8593
8830
  readonly oneOf: readonly [{
8594
8831
  readonly type: "object";
@@ -11848,6 +12085,29 @@ export declare const workflowDefinitionSchema: {
11848
12085
  };
11849
12086
  };
11850
12087
  };
12088
+ readonly approvedDelegation: {
12089
+ readonly type: "object";
12090
+ readonly additionalProperties: false;
12091
+ readonly required: readonly ["confirmationNodeId", "confirmer", "requestsField", "maxRequests"];
12092
+ readonly properties: {
12093
+ readonly confirmationNodeId: {
12094
+ readonly type: "string";
12095
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,127}$";
12096
+ };
12097
+ readonly confirmer: {
12098
+ readonly enum: readonly ["initiator", "delegate"];
12099
+ };
12100
+ readonly requestsField: {
12101
+ readonly type: "string";
12102
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
12103
+ };
12104
+ readonly maxRequests: {
12105
+ readonly type: "integer";
12106
+ readonly minimum: 1;
12107
+ readonly maximum: 500;
12108
+ };
12109
+ };
12110
+ };
11851
12111
  readonly commandHandlers: {
11852
12112
  readonly type: "object";
11853
12113
  readonly additionalProperties: false;
@@ -12134,6 +12394,21 @@ export declare const workflowDefinitionSchema: {
12134
12394
  readonly initiatorApprovalPolicy: {
12135
12395
  readonly enum: readonly ["manual", "auto_approve"];
12136
12396
  };
12397
+ readonly completionDeadline: {
12398
+ readonly type: "object";
12399
+ readonly additionalProperties: false;
12400
+ readonly required: readonly ["afterSeconds", "action"];
12401
+ readonly properties: {
12402
+ readonly afterSeconds: {
12403
+ readonly type: "integer";
12404
+ readonly minimum: 1;
12405
+ readonly maximum: 2592000;
12406
+ };
12407
+ readonly action: {
12408
+ readonly const: "approve";
12409
+ };
12410
+ };
12411
+ };
12137
12412
  readonly onApprove: {
12138
12413
  readonly type: "string";
12139
12414
  readonly minLength: 1;
@@ -12155,6 +12430,9 @@ export declare const workflowDefinitionSchema: {
12155
12430
  additionalProperties: boolean;
12156
12431
  minProperties: number;
12157
12432
  properties: {
12433
+ reasonRequired?: {
12434
+ type: string;
12435
+ };
12158
12436
  commentRequired?: {
12159
12437
  type: string;
12160
12438
  };
@@ -12408,6 +12686,31 @@ export declare const workflowDefinitionSchema: {
12408
12686
  };
12409
12687
  };
12410
12688
  };
12689
+ }, {
12690
+ readonly type: "object";
12691
+ readonly additionalProperties: false;
12692
+ readonly required: readonly ["id", "kind", "title", "taskPageCode", "next"];
12693
+ readonly properties: {
12694
+ readonly id: {
12695
+ readonly type: "string";
12696
+ readonly minLength: 1;
12697
+ };
12698
+ readonly kind: {
12699
+ readonly const: "correction";
12700
+ };
12701
+ readonly title: {
12702
+ readonly type: "string";
12703
+ readonly minLength: 1;
12704
+ };
12705
+ readonly taskPageCode: {
12706
+ readonly type: "string";
12707
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,63}$";
12708
+ };
12709
+ readonly next: {
12710
+ readonly type: "string";
12711
+ readonly minLength: 1;
12712
+ };
12713
+ };
12411
12714
  }];
12412
12715
  };
12413
12716
  };
@@ -12434,6 +12737,24 @@ export declare const workflowBindingSchema: {
12434
12737
  readonly additionalProperties: false;
12435
12738
  readonly required: readonly ["provider"];
12436
12739
  readonly allOf: readonly [{
12740
+ readonly if: {
12741
+ readonly required: readonly ["roleCodes"];
12742
+ };
12743
+ readonly then: {
12744
+ readonly properties: {
12745
+ readonly provider: {
12746
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
12747
+ };
12748
+ };
12749
+ readonly not: {
12750
+ readonly anyOf: readonly [{
12751
+ readonly required: readonly ["roleCode"];
12752
+ }, {
12753
+ readonly required: readonly ["candidateField"];
12754
+ }];
12755
+ };
12756
+ };
12757
+ }, {
12437
12758
  readonly if: {
12438
12759
  readonly required: readonly ["candidateField"];
12439
12760
  };
@@ -12488,6 +12809,17 @@ export declare const workflowBindingSchema: {
12488
12809
  readonly roleCode: {
12489
12810
  readonly type: "string";
12490
12811
  };
12812
+ readonly roleCodes: {
12813
+ readonly type: "array";
12814
+ readonly minItems: 2;
12815
+ readonly maxItems: 8;
12816
+ readonly uniqueItems: true;
12817
+ readonly items: {
12818
+ readonly type: "string";
12819
+ readonly maxLength: 128;
12820
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
12821
+ };
12822
+ };
12491
12823
  readonly scope: {
12492
12824
  readonly type: "object";
12493
12825
  readonly additionalProperties: false;
@@ -12747,6 +13079,105 @@ export declare const businessProcessCommitSchema: {
12747
13079
  readonly maxItems: 20;
12748
13080
  readonly items: {
12749
13081
  readonly oneOf: readonly [{
13082
+ readonly type: "object";
13083
+ readonly additionalProperties: false;
13084
+ readonly required: readonly ["kind", "resourceCode", "errorCode", "records"];
13085
+ readonly properties: {
13086
+ readonly kind: {
13087
+ readonly const: "record-set-match";
13088
+ };
13089
+ readonly resourceCode: {
13090
+ readonly type: "string";
13091
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
13092
+ };
13093
+ readonly errorCode: {
13094
+ readonly type: "string";
13095
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13096
+ };
13097
+ readonly records: {
13098
+ readonly type: "array";
13099
+ readonly minItems: 1;
13100
+ readonly maxItems: 500;
13101
+ readonly uniqueItems: true;
13102
+ readonly items: {
13103
+ readonly type: "object";
13104
+ readonly additionalProperties: false;
13105
+ readonly required: readonly ["id", "expectedRevision"];
13106
+ readonly properties: {
13107
+ readonly id: {
13108
+ readonly type: "string";
13109
+ readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
13110
+ };
13111
+ readonly expectedRevision: {
13112
+ readonly type: "integer";
13113
+ readonly minimum: 1;
13114
+ readonly maximum: number;
13115
+ };
13116
+ };
13117
+ };
13118
+ };
13119
+ readonly where: {
13120
+ readonly $ref: "#/$defs/dataWhere";
13121
+ };
13122
+ };
13123
+ }, {
13124
+ readonly type: "object";
13125
+ readonly additionalProperties: false;
13126
+ readonly required: readonly ["kind", "errorCode", "anyOf"];
13127
+ readonly properties: {
13128
+ readonly kind: {
13129
+ readonly const: "actor-authority";
13130
+ };
13131
+ readonly errorCode: {
13132
+ readonly type: "string";
13133
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13134
+ };
13135
+ readonly allowAppSuperAdmin: {
13136
+ readonly type: "boolean";
13137
+ };
13138
+ readonly anyOf: {
13139
+ readonly type: "array";
13140
+ readonly minItems: 1;
13141
+ readonly maxItems: 20;
13142
+ readonly uniqueItems: true;
13143
+ readonly items: {
13144
+ readonly type: "object";
13145
+ readonly additionalProperties: false;
13146
+ readonly required: readonly ["roleCode"];
13147
+ readonly properties: {
13148
+ readonly roleCode: {
13149
+ readonly type: "string";
13150
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
13151
+ readonly maxLength: 100;
13152
+ };
13153
+ readonly scope: {
13154
+ readonly type: "object";
13155
+ readonly additionalProperties: false;
13156
+ readonly required: readonly ["dimensionCode", "value", "operation"];
13157
+ readonly properties: {
13158
+ readonly dimensionCode: {
13159
+ readonly type: "string";
13160
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
13161
+ readonly maxLength: 100;
13162
+ };
13163
+ readonly value: {
13164
+ readonly type: "string";
13165
+ readonly minLength: 1;
13166
+ readonly maxLength: 255;
13167
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
13168
+ };
13169
+ readonly operation: {
13170
+ readonly type: "string";
13171
+ readonly maxLength: 64;
13172
+ readonly pattern: "^[A-Za-z0-9*][A-Za-z0-9*._:-]*$";
13173
+ };
13174
+ };
13175
+ };
13176
+ };
13177
+ };
13178
+ };
13179
+ };
13180
+ }, {
12750
13181
  readonly type: "object";
12751
13182
  readonly additionalProperties: false;
12752
13183
  readonly required: readonly ["kind", "operationIndex", "field", "operator", "offsetMilliseconds", "errorCode"];
@@ -13343,6 +13774,38 @@ export declare const businessProcessCommandWithDataSchema: {
13343
13774
  readonly type: "object";
13344
13775
  readonly additionalProperties: false;
13345
13776
  readonly required: readonly ["schemaVersion", "environmentKey", "workflow", "subject", "data", "expectedTransition"];
13777
+ readonly allOf: readonly [{
13778
+ readonly if: {
13779
+ readonly properties: {
13780
+ readonly expectedTransition: {
13781
+ readonly required: readonly ["kind"];
13782
+ readonly properties: {
13783
+ readonly kind: {
13784
+ readonly const: "correction-replay";
13785
+ };
13786
+ };
13787
+ };
13788
+ };
13789
+ };
13790
+ readonly then: {
13791
+ readonly properties: {
13792
+ readonly workflow: {
13793
+ readonly properties: {
13794
+ readonly target: {
13795
+ readonly properties: {
13796
+ readonly kind: {
13797
+ readonly const: "task";
13798
+ };
13799
+ readonly command: {
13800
+ readonly const: "resubmit";
13801
+ };
13802
+ };
13803
+ };
13804
+ };
13805
+ };
13806
+ };
13807
+ };
13808
+ }];
13346
13809
  readonly properties: {
13347
13810
  readonly schemaVersion: {
13348
13811
  readonly const: "openxiangda.business-process-command-with-data/v2";
@@ -13373,7 +13836,7 @@ export declare const businessProcessCommandWithDataSchema: {
13373
13836
  readonly format: "uuid";
13374
13837
  };
13375
13838
  readonly command: {
13376
- readonly enum: readonly ["approve", "reject"];
13839
+ readonly enum: readonly ["approve", "reject", "resubmit"];
13377
13840
  };
13378
13841
  };
13379
13842
  }, {
@@ -13439,6 +13902,105 @@ export declare const businessProcessCommandWithDataSchema: {
13439
13902
  readonly maxItems: 20;
13440
13903
  readonly items: {
13441
13904
  readonly oneOf: readonly [{
13905
+ readonly type: "object";
13906
+ readonly additionalProperties: false;
13907
+ readonly required: readonly ["kind", "resourceCode", "errorCode", "records"];
13908
+ readonly properties: {
13909
+ readonly kind: {
13910
+ readonly const: "record-set-match";
13911
+ };
13912
+ readonly resourceCode: {
13913
+ readonly type: "string";
13914
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
13915
+ };
13916
+ readonly errorCode: {
13917
+ readonly type: "string";
13918
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13919
+ };
13920
+ readonly records: {
13921
+ readonly type: "array";
13922
+ readonly minItems: 1;
13923
+ readonly maxItems: 500;
13924
+ readonly uniqueItems: true;
13925
+ readonly items: {
13926
+ readonly type: "object";
13927
+ readonly additionalProperties: false;
13928
+ readonly required: readonly ["id", "expectedRevision"];
13929
+ readonly properties: {
13930
+ readonly id: {
13931
+ readonly type: "string";
13932
+ readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
13933
+ };
13934
+ readonly expectedRevision: {
13935
+ readonly type: "integer";
13936
+ readonly minimum: 1;
13937
+ readonly maximum: number;
13938
+ };
13939
+ };
13940
+ };
13941
+ };
13942
+ readonly where: {
13943
+ readonly $ref: "#/$defs/dataWhere";
13944
+ };
13945
+ };
13946
+ }, {
13947
+ readonly type: "object";
13948
+ readonly additionalProperties: false;
13949
+ readonly required: readonly ["kind", "errorCode", "anyOf"];
13950
+ readonly properties: {
13951
+ readonly kind: {
13952
+ readonly const: "actor-authority";
13953
+ };
13954
+ readonly errorCode: {
13955
+ readonly type: "string";
13956
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13957
+ };
13958
+ readonly allowAppSuperAdmin: {
13959
+ readonly type: "boolean";
13960
+ };
13961
+ readonly anyOf: {
13962
+ readonly type: "array";
13963
+ readonly minItems: 1;
13964
+ readonly maxItems: 20;
13965
+ readonly uniqueItems: true;
13966
+ readonly items: {
13967
+ readonly type: "object";
13968
+ readonly additionalProperties: false;
13969
+ readonly required: readonly ["roleCode"];
13970
+ readonly properties: {
13971
+ readonly roleCode: {
13972
+ readonly type: "string";
13973
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
13974
+ readonly maxLength: 100;
13975
+ };
13976
+ readonly scope: {
13977
+ readonly type: "object";
13978
+ readonly additionalProperties: false;
13979
+ readonly required: readonly ["dimensionCode", "value", "operation"];
13980
+ readonly properties: {
13981
+ readonly dimensionCode: {
13982
+ readonly type: "string";
13983
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
13984
+ readonly maxLength: 100;
13985
+ };
13986
+ readonly value: {
13987
+ readonly type: "string";
13988
+ readonly minLength: 1;
13989
+ readonly maxLength: 255;
13990
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
13991
+ };
13992
+ readonly operation: {
13993
+ readonly type: "string";
13994
+ readonly maxLength: 64;
13995
+ readonly pattern: "^[A-Za-z0-9*][A-Za-z0-9*._:-]*$";
13996
+ };
13997
+ };
13998
+ };
13999
+ };
14000
+ };
14001
+ };
14002
+ };
14003
+ }, {
13442
14004
  readonly type: "object";
13443
14005
  readonly additionalProperties: false;
13444
14006
  readonly required: readonly ["kind", "operationIndex", "field", "operator", "offsetMilliseconds", "errorCode"];
@@ -13849,23 +14411,34 @@ export declare const businessProcessCommandWithDataSchema: {
13849
14411
  };
13850
14412
  };
13851
14413
  readonly expectedTransition: {
13852
- readonly type: "object";
13853
- readonly additionalProperties: false;
13854
- readonly required: readonly ["status", "outcome", "currentNodeId"];
13855
- readonly properties: {
13856
- readonly status: {
13857
- readonly enum: readonly ["running", "approved", "rejected", "withdrawn"];
13858
- };
13859
- readonly outcome: {
13860
- readonly type: readonly ["string", "null"];
13861
- readonly maxLength: 128;
14414
+ readonly oneOf: readonly [{
14415
+ readonly type: "object";
14416
+ readonly additionalProperties: false;
14417
+ readonly required: readonly ["status", "outcome", "currentNodeId"];
14418
+ readonly properties: {
14419
+ readonly status: {
14420
+ readonly enum: readonly ["running", "approved", "rejected", "withdrawn"];
14421
+ };
14422
+ readonly outcome: {
14423
+ readonly type: readonly ["string", "null"];
14424
+ readonly maxLength: 128;
14425
+ };
14426
+ readonly currentNodeId: {
14427
+ readonly type: readonly ["string", "null"];
14428
+ readonly minLength: 1;
14429
+ readonly maxLength: 128;
14430
+ };
13862
14431
  };
13863
- readonly currentNodeId: {
13864
- readonly type: readonly ["string", "null"];
13865
- readonly minLength: 1;
13866
- readonly maxLength: 128;
14432
+ }, {
14433
+ readonly type: "object";
14434
+ readonly additionalProperties: false;
14435
+ readonly required: readonly ["kind"];
14436
+ readonly properties: {
14437
+ readonly kind: {
14438
+ readonly const: "correction-replay";
14439
+ };
13867
14440
  };
13868
- };
14441
+ }];
13869
14442
  };
13870
14443
  };
13871
14444
  };
@@ -16315,6 +16888,47 @@ export declare const workflowLaunchSurfaceSchema: {
16315
16888
  readonly additionalProperties: false;
16316
16889
  readonly required: readonly ["operationCode", "method", "href", "requiredCapability", "requestSchemaDigest", "responseSchemaDigest", "inputs", "output"];
16317
16890
  readonly properties: {
16891
+ readonly ownedSubject: {
16892
+ readonly type: "object";
16893
+ readonly additionalProperties: false;
16894
+ readonly required: readonly ["mode", "resourceCode", "subtables"];
16895
+ readonly properties: {
16896
+ readonly mode: {
16897
+ readonly const: "create";
16898
+ };
16899
+ readonly resourceCode: {
16900
+ readonly type: "string";
16901
+ readonly maxLength: 64;
16902
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
16903
+ };
16904
+ readonly subtables: {
16905
+ readonly type: "array";
16906
+ readonly minItems: 1;
16907
+ readonly maxItems: 16;
16908
+ readonly items: {
16909
+ readonly type: "object";
16910
+ readonly additionalProperties: false;
16911
+ readonly required: readonly ["fieldCode", "fieldCodes"];
16912
+ readonly properties: {
16913
+ readonly fieldCode: {
16914
+ readonly type: "string";
16915
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16916
+ };
16917
+ readonly fieldCodes: {
16918
+ readonly type: "array";
16919
+ readonly minItems: 1;
16920
+ readonly maxItems: 200;
16921
+ readonly uniqueItems: true;
16922
+ readonly items: {
16923
+ readonly type: "string";
16924
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16925
+ };
16926
+ };
16927
+ };
16928
+ };
16929
+ };
16930
+ };
16931
+ };
16318
16932
  readonly operationCode: {
16319
16933
  readonly type: "string";
16320
16934
  readonly pattern: "^[A-Za-z][A-Za-z0-9_.:-]{0,254}$";
@@ -16399,6 +17013,47 @@ export declare const workflowLaunchSurfaceSchema: {
16399
17013
  readonly additionalProperties: false;
16400
17014
  readonly required: readonly ["operationCode", "method", "href", "requiredCapability", "requestSchemaDigest", "responseSchemaDigest", "inputs", "output"];
16401
17015
  readonly properties: {
17016
+ readonly ownedSubject: {
17017
+ readonly type: "object";
17018
+ readonly additionalProperties: false;
17019
+ readonly required: readonly ["mode", "resourceCode", "subtables"];
17020
+ readonly properties: {
17021
+ readonly mode: {
17022
+ readonly const: "create";
17023
+ };
17024
+ readonly resourceCode: {
17025
+ readonly type: "string";
17026
+ readonly maxLength: 64;
17027
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
17028
+ };
17029
+ readonly subtables: {
17030
+ readonly type: "array";
17031
+ readonly minItems: 1;
17032
+ readonly maxItems: 16;
17033
+ readonly items: {
17034
+ readonly type: "object";
17035
+ readonly additionalProperties: false;
17036
+ readonly required: readonly ["fieldCode", "fieldCodes"];
17037
+ readonly properties: {
17038
+ readonly fieldCode: {
17039
+ readonly type: "string";
17040
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
17041
+ };
17042
+ readonly fieldCodes: {
17043
+ readonly type: "array";
17044
+ readonly minItems: 1;
17045
+ readonly maxItems: 200;
17046
+ readonly uniqueItems: true;
17047
+ readonly items: {
17048
+ readonly type: "string";
17049
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
17050
+ };
17051
+ };
17052
+ };
17053
+ };
17054
+ };
17055
+ };
17056
+ };
16402
17057
  readonly operationCode: {
16403
17058
  readonly type: "string";
16404
17059
  readonly pattern: "^[A-Za-z][A-Za-z0-9_.:-]{0,254}$";
@@ -16526,6 +17181,10 @@ export declare const workflowDelegationSchema: {
16526
17181
  readonly workflowCode: {
16527
17182
  readonly type: readonly ["string", "null"];
16528
17183
  };
17184
+ readonly nodeId: {
17185
+ readonly type: readonly ["string", "null"];
17186
+ readonly pattern: "^[A-Za-z0-9._:-]{1,128}$";
17187
+ };
16529
17188
  readonly delegatorUserId: {
16530
17189
  readonly type: "string";
16531
17190
  readonly minLength: 1;
@@ -17109,7 +17768,7 @@ export declare const configurationBundleSchema: {
17109
17768
  };
17110
17769
  readonly capabilities: {
17111
17770
  readonly type: "array";
17112
- readonly maxItems: 2000;
17771
+ readonly maxItems: 4096;
17113
17772
  readonly items: {
17114
17773
  readonly type: "object";
17115
17774
  readonly additionalProperties: false;
@@ -17136,7 +17795,7 @@ export declare const configurationBundleSchema: {
17136
17795
  };
17137
17796
  readonly roles: {
17138
17797
  readonly type: "array";
17139
- readonly maxItems: 100;
17798
+ readonly maxItems: 256;
17140
17799
  readonly items: {
17141
17800
  readonly type: "object";
17142
17801
  readonly additionalProperties: false;
@@ -17489,7 +18148,7 @@ export declare const configurationBundleSchema: {
17489
18148
  };
17490
18149
  readonly dataPolicies: {
17491
18150
  readonly type: "array";
17492
- readonly maxItems: 100;
18151
+ readonly maxItems: 512;
17493
18152
  readonly items: {
17494
18153
  readonly type: "object";
17495
18154
  readonly additionalProperties: false;
@@ -17520,6 +18179,23 @@ export declare const configurationBundleSchema: {
17520
18179
  readonly maxLength: 128;
17521
18180
  };
17522
18181
  };
18182
+ readonly publicRead: {
18183
+ readonly type: "object";
18184
+ readonly additionalProperties: false;
18185
+ readonly required: readonly ["fields"];
18186
+ readonly properties: {
18187
+ readonly fields: {
18188
+ readonly type: "array";
18189
+ readonly minItems: 1;
18190
+ readonly maxItems: 1000;
18191
+ readonly uniqueItems: true;
18192
+ readonly items: {
18193
+ readonly type: "string";
18194
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
18195
+ };
18196
+ };
18197
+ };
18198
+ };
17523
18199
  readonly operations: {
17524
18200
  readonly type: "array";
17525
18201
  readonly minItems: 1;
@@ -17787,6 +18463,25 @@ export declare const configurationBundleSchema: {
17787
18463
  readonly not: {
17788
18464
  readonly required: readonly ["operations", "readExpression"];
17789
18465
  };
18466
+ }, {
18467
+ readonly if: {
18468
+ readonly required: readonly ["publicRead"];
18469
+ };
18470
+ readonly then: {
18471
+ readonly required: readonly ["operations"];
18472
+ readonly properties: {
18473
+ readonly operations: {
18474
+ readonly const: readonly ["read"];
18475
+ };
18476
+ };
18477
+ readonly not: {
18478
+ readonly anyOf: readonly [{
18479
+ readonly required: readonly ["readExpression"];
18480
+ }, {
18481
+ readonly required: readonly ["writeBoundary"];
18482
+ }];
18483
+ };
18484
+ };
17790
18485
  }];
17791
18486
  };
17792
18487
  };
@@ -17886,6 +18581,97 @@ export declare const configurationBundleSchema: {
17886
18581
  readonly additionalProperties: false;
17887
18582
  readonly minProperties: 1;
17888
18583
  readonly properties: {
18584
+ readonly ownedSubject: {
18585
+ readonly type: "object";
18586
+ readonly additionalProperties: false;
18587
+ readonly required: readonly ["mode", "resourceCode", "subtables"];
18588
+ readonly properties: {
18589
+ readonly mode: {
18590
+ readonly const: "create";
18591
+ };
18592
+ readonly resourceCode: {
18593
+ readonly type: "string";
18594
+ readonly maxLength: 64;
18595
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
18596
+ };
18597
+ readonly subtables: {
18598
+ readonly type: "array";
18599
+ readonly minItems: 1;
18600
+ readonly maxItems: 16;
18601
+ readonly items: {
18602
+ readonly type: "object";
18603
+ readonly additionalProperties: false;
18604
+ readonly required: readonly ["fieldCode", "fieldCodes"];
18605
+ readonly properties: {
18606
+ readonly fieldCode: {
18607
+ readonly type: "string";
18608
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
18609
+ };
18610
+ readonly fieldCodes: {
18611
+ readonly type: "array";
18612
+ readonly minItems: 1;
18613
+ readonly maxItems: 200;
18614
+ readonly uniqueItems: true;
18615
+ readonly items: {
18616
+ readonly type: "string";
18617
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
18618
+ };
18619
+ };
18620
+ };
18621
+ };
18622
+ };
18623
+ };
18624
+ };
18625
+ readonly workflowStage: {
18626
+ readonly type: "object";
18627
+ readonly additionalProperties: false;
18628
+ readonly required: readonly ["workflowCode", "resourceCode", "actor", "runningNodeIds", "allowedStatuses"];
18629
+ readonly properties: {
18630
+ readonly workflowCode: {
18631
+ readonly type: "string";
18632
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
18633
+ readonly maxLength: 100;
18634
+ };
18635
+ readonly resourceCode: {
18636
+ readonly type: "string";
18637
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
18638
+ readonly maxLength: 100;
18639
+ };
18640
+ readonly actor: {
18641
+ readonly enum: readonly ["initiator", "reader"];
18642
+ };
18643
+ readonly runningNodeIds: {
18644
+ readonly type: "array";
18645
+ readonly maxItems: 32;
18646
+ readonly uniqueItems: true;
18647
+ readonly items: {
18648
+ readonly type: "string";
18649
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$";
18650
+ };
18651
+ };
18652
+ readonly allowedStatuses: {
18653
+ readonly type: "array";
18654
+ readonly maxItems: 5;
18655
+ readonly uniqueItems: true;
18656
+ readonly items: {
18657
+ readonly enum: readonly ["approved", "rejected", "cancelled", "terminated", "returned"];
18658
+ };
18659
+ };
18660
+ };
18661
+ readonly anyOf: readonly [{
18662
+ readonly properties: {
18663
+ readonly runningNodeIds: {
18664
+ readonly minItems: 1;
18665
+ };
18666
+ };
18667
+ }, {
18668
+ readonly properties: {
18669
+ readonly allowedStatuses: {
18670
+ readonly minItems: 1;
18671
+ };
18672
+ };
18673
+ }];
18674
+ };
17889
18675
  readonly recordEdit: {
17890
18676
  readonly type: "object";
17891
18677
  readonly additionalProperties: false;
@@ -17933,6 +18719,9 @@ export declare const configurationBundleSchema: {
17933
18719
  readonly maxLength: 100;
17934
18720
  };
17935
18721
  };
18722
+ readonly actorAuthority: {
18723
+ readonly const: true;
18724
+ };
17936
18725
  };
17937
18726
  };
17938
18727
  readonly directory: {
@@ -18081,10 +18870,10 @@ export declare const configurationBundleSchema: {
18081
18870
  readonly businessCommands: {
18082
18871
  readonly type: "array";
18083
18872
  readonly minItems: 1;
18084
- readonly maxItems: 3;
18873
+ readonly maxItems: 4;
18085
18874
  readonly uniqueItems: true;
18086
18875
  readonly items: {
18087
- readonly enum: readonly ["approve", "reject", "withdraw"];
18876
+ readonly enum: readonly ["approve", "reject", "withdraw", "resubmit"];
18088
18877
  };
18089
18878
  };
18090
18879
  };
@@ -18466,7 +19255,7 @@ export declare const configurationBundleSchema: {
18466
19255
  readonly properties: {
18467
19256
  readonly resources: {
18468
19257
  readonly type: "array";
18469
- readonly maxItems: 100;
19258
+ readonly maxItems: 512;
18470
19259
  readonly items: {
18471
19260
  readonly $ref: "openxiangda.data-resource/v2";
18472
19261
  };
@@ -18701,21 +19490,21 @@ export declare const configurationBundleSchema: {
18701
19490
  readonly properties: {
18702
19491
  readonly definitions: {
18703
19492
  readonly type: "array";
18704
- readonly maxItems: 100;
19493
+ readonly maxItems: 512;
18705
19494
  readonly items: {
18706
19495
  readonly type: "object";
18707
19496
  };
18708
19497
  };
18709
19498
  readonly bindings: {
18710
19499
  readonly type: "array";
18711
- readonly maxItems: 100;
19500
+ readonly maxItems: 512;
18712
19501
  readonly items: {
18713
19502
  readonly type: "object";
18714
19503
  };
18715
19504
  };
18716
19505
  readonly activations: {
18717
19506
  readonly type: "array";
18718
- readonly maxItems: 100;
19507
+ readonly maxItems: 512;
18719
19508
  readonly items: {
18720
19509
  readonly type: "object";
18721
19510
  };
@@ -18743,7 +19532,7 @@ export declare const configurationBundleSchema: {
18743
19532
  readonly properties: {
18744
19533
  readonly routes: {
18745
19534
  readonly type: "array";
18746
- readonly maxItems: 500;
19535
+ readonly maxItems: 2048;
18747
19536
  readonly items: {
18748
19537
  readonly type: "object";
18749
19538
  readonly additionalProperties: false;
@@ -19537,7 +20326,7 @@ export declare const applicationRouteManifestSchema: {
19537
20326
  };
19538
20327
  readonly routes: {
19539
20328
  readonly type: "array";
19540
- readonly maxItems: 512;
20329
+ readonly maxItems: 2048;
19541
20330
  readonly items: {
19542
20331
  readonly type: "object";
19543
20332
  readonly additionalProperties: false;
@@ -19789,7 +20578,7 @@ export declare const contractBundleSchema: {
19789
20578
  };
19790
20579
  readonly resources: {
19791
20580
  readonly type: "array";
19792
- readonly maxItems: 100;
20581
+ readonly maxItems: 512;
19793
20582
  readonly items: {
19794
20583
  readonly type: "object";
19795
20584
  };
@@ -19904,7 +20693,7 @@ export declare const contractBundleSchema: {
19904
20693
  };
19905
20694
  readonly capabilities: {
19906
20695
  readonly type: "array";
19907
- readonly maxItems: 2000;
20696
+ readonly maxItems: 4096;
19908
20697
  readonly items: {
19909
20698
  readonly type: "object";
19910
20699
  };
@@ -20064,14 +20853,14 @@ export declare const contractBundleSchema: {
20064
20853
  };
20065
20854
  readonly workflows: {
20066
20855
  readonly type: "array";
20067
- readonly maxItems: 100;
20856
+ readonly maxItems: 512;
20068
20857
  readonly items: {
20069
20858
  readonly type: "object";
20070
20859
  };
20071
20860
  };
20072
20861
  readonly routes: {
20073
20862
  readonly type: "array";
20074
- readonly maxItems: 500;
20863
+ readonly maxItems: 2048;
20075
20864
  readonly items: {
20076
20865
  readonly required: readonly ["code", "path", "label", "surface", "tabPersistence", "keepAlive"];
20077
20866
  readonly type: "object";
@@ -20670,7 +21459,7 @@ export declare const contractBundleSchema: {
20670
21459
  };
20671
21460
  readonly routes: {
20672
21461
  readonly type: "array";
20673
- readonly maxItems: 512;
21462
+ readonly maxItems: 2048;
20674
21463
  readonly items: {
20675
21464
  readonly type: "object";
20676
21465
  readonly additionalProperties: false;
@@ -20883,7 +21672,7 @@ export declare const contractBundleSchema: {
20883
21672
  };
20884
21673
  readonly adminPages: {
20885
21674
  readonly type: "array";
20886
- readonly maxItems: 500;
21675
+ readonly maxItems: 2048;
20887
21676
  readonly items: {
20888
21677
  readonly type: "object";
20889
21678
  readonly additionalProperties: false;
@@ -26117,6 +26906,10 @@ export declare const contractSchemas: {
26117
26906
  readonly minLength: 1;
26118
26907
  readonly maxLength: 255;
26119
26908
  };
26909
+ readonly subtableFieldCode: {
26910
+ readonly type: "string";
26911
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
26912
+ };
26120
26913
  };
26121
26914
  };
26122
26915
  readonly keyword: {
@@ -26138,6 +26931,89 @@ export declare const contractSchemas: {
26138
26931
  };
26139
26932
  };
26140
26933
  };
26934
+ readonly workflowTaskFieldSourceQuery: {
26935
+ readonly $id: "openxiangda.workflow-task-field-source-query/v2";
26936
+ readonly type: "object";
26937
+ readonly additionalProperties: false;
26938
+ readonly required: readonly ["schemaVersion", "expectedRevision", "expectedTaskVersion"];
26939
+ readonly properties: {
26940
+ readonly schemaVersion: {
26941
+ readonly const: "openxiangda.workflow-task-field-source-query/v2";
26942
+ };
26943
+ readonly expectedRevision: {
26944
+ readonly type: "integer";
26945
+ readonly minimum: 1;
26946
+ readonly maximum: number;
26947
+ };
26948
+ readonly expectedTaskVersion: {
26949
+ readonly type: "integer";
26950
+ readonly minimum: 1;
26951
+ readonly maximum: number;
26952
+ };
26953
+ readonly keyword: {
26954
+ readonly type: "string";
26955
+ readonly maxLength: 500;
26956
+ };
26957
+ readonly cursor: {
26958
+ readonly type: "string";
26959
+ readonly minLength: 1;
26960
+ readonly maxLength: 4096;
26961
+ };
26962
+ readonly bindings: {
26963
+ readonly type: "object";
26964
+ readonly maxProperties: 20;
26965
+ readonly propertyNames: {
26966
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
26967
+ };
26968
+ readonly additionalProperties: true;
26969
+ };
26970
+ readonly subtable: {
26971
+ readonly type: "object";
26972
+ readonly additionalProperties: false;
26973
+ readonly required: readonly ["fieldCode", "row"];
26974
+ readonly properties: {
26975
+ readonly fieldCode: {
26976
+ readonly type: "string";
26977
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
26978
+ };
26979
+ readonly row: {
26980
+ readonly oneOf: readonly [{
26981
+ readonly type: "object";
26982
+ readonly additionalProperties: false;
26983
+ readonly required: readonly ["kind", "id", "expectedRevision"];
26984
+ readonly properties: {
26985
+ readonly kind: {
26986
+ readonly const: "persisted";
26987
+ };
26988
+ readonly id: {
26989
+ readonly type: "string";
26990
+ readonly format: "uuid";
26991
+ };
26992
+ readonly expectedRevision: {
26993
+ readonly type: "integer";
26994
+ readonly minimum: 1;
26995
+ readonly maximum: number;
26996
+ };
26997
+ };
26998
+ }, {
26999
+ readonly type: "object";
27000
+ readonly additionalProperties: false;
27001
+ readonly required: readonly ["kind", "key"];
27002
+ readonly properties: {
27003
+ readonly kind: {
27004
+ readonly const: "new";
27005
+ };
27006
+ readonly key: {
27007
+ readonly type: "string";
27008
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9_.:-]{0,127}$";
27009
+ };
27010
+ };
27011
+ }];
27012
+ };
27013
+ };
27014
+ };
27015
+ };
27016
+ };
26141
27017
  readonly dataFieldSourcePage: {
26142
27018
  readonly $id: "openxiangda.data-field-source-page/v2";
26143
27019
  readonly type: "object";
@@ -26268,8 +27144,18 @@ export declare const contractSchemas: {
26268
27144
  readonly minLength: 1;
26269
27145
  readonly maxLength: 255;
26270
27146
  };
27147
+ readonly subtableFieldCode: {
27148
+ readonly type: "string";
27149
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
27150
+ };
26271
27151
  };
26272
27152
  };
27153
+ readonly scopeValue: {
27154
+ readonly type: "string";
27155
+ readonly minLength: 1;
27156
+ readonly maxLength: 255;
27157
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
27158
+ };
26273
27159
  readonly schemaVersion: {
26274
27160
  readonly const: "openxiangda.user-candidates-query/v2";
26275
27161
  };
@@ -26349,6 +27235,10 @@ export declare const contractSchemas: {
26349
27235
  readonly minLength: 1;
26350
27236
  readonly maxLength: 255;
26351
27237
  };
27238
+ readonly subtableFieldCode: {
27239
+ readonly type: "string";
27240
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
27241
+ };
26352
27242
  };
26353
27243
  };
26354
27244
  readonly schemaVersion: {
@@ -26853,6 +27743,9 @@ export declare const contractSchemas: {
26853
27743
  readonly loadMode: {
26854
27744
  readonly enum: readonly ["search", "all"];
26855
27745
  };
27746
+ readonly clearOnBindingChange: {
27747
+ readonly type: "boolean";
27748
+ };
26856
27749
  };
26857
27750
  };
26858
27751
  readonly userCandidates: {
@@ -26901,6 +27794,9 @@ export declare const contractSchemas: {
26901
27794
  readonly maxLength: 255;
26902
27795
  readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
26903
27796
  };
27797
+ readonly creation: {
27798
+ readonly const: "prospective";
27799
+ };
26904
27800
  };
26905
27801
  readonly oneOf: readonly [{
26906
27802
  readonly required: readonly ["field"];
@@ -26910,7 +27806,11 @@ export declare const contractSchemas: {
26910
27806
  }, {
26911
27807
  readonly required: readonly ["value"];
26912
27808
  readonly not: {
26913
- readonly required: readonly ["field"];
27809
+ readonly anyOf: readonly [{
27810
+ readonly required: readonly ["field"];
27811
+ }, {
27812
+ readonly required: readonly ["creation"];
27813
+ }];
26914
27814
  };
26915
27815
  }];
26916
27816
  };
@@ -27007,10 +27907,15 @@ export declare const contractSchemas: {
27007
27907
  readonly type: "string";
27008
27908
  readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
27009
27909
  };
27910
+ readonly minRows: {
27911
+ readonly type: "integer";
27912
+ readonly minimum: 0;
27913
+ readonly maximum: 500;
27914
+ };
27010
27915
  readonly maxRows: {
27011
27916
  readonly type: "integer";
27012
27917
  readonly minimum: 1;
27013
- readonly maximum: 100;
27918
+ readonly maximum: 500;
27014
27919
  };
27015
27920
  };
27016
27921
  };
@@ -27834,6 +28739,9 @@ export declare const contractSchemas: {
27834
28739
  readonly loadMode: {
27835
28740
  readonly enum: readonly ["search", "all"];
27836
28741
  };
28742
+ readonly clearOnBindingChange: {
28743
+ readonly type: "boolean";
28744
+ };
27837
28745
  };
27838
28746
  };
27839
28747
  readonly userCandidates: {
@@ -27882,6 +28790,9 @@ export declare const contractSchemas: {
27882
28790
  readonly maxLength: 255;
27883
28791
  readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
27884
28792
  };
28793
+ readonly creation: {
28794
+ readonly const: "prospective";
28795
+ };
27885
28796
  };
27886
28797
  readonly oneOf: readonly [{
27887
28798
  readonly required: readonly ["field"];
@@ -27891,7 +28802,11 @@ export declare const contractSchemas: {
27891
28802
  }, {
27892
28803
  readonly required: readonly ["value"];
27893
28804
  readonly not: {
27894
- readonly required: readonly ["field"];
28805
+ readonly anyOf: readonly [{
28806
+ readonly required: readonly ["field"];
28807
+ }, {
28808
+ readonly required: readonly ["creation"];
28809
+ }];
27895
28810
  };
27896
28811
  }];
27897
28812
  };
@@ -27936,10 +28851,15 @@ export declare const contractSchemas: {
27936
28851
  readonly type: "string";
27937
28852
  readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
27938
28853
  };
28854
+ readonly minRows: {
28855
+ readonly type: "integer";
28856
+ readonly minimum: 0;
28857
+ readonly maximum: 500;
28858
+ };
27939
28859
  readonly maxRows: {
27940
28860
  readonly type: "integer";
27941
28861
  readonly minimum: 1;
27942
- readonly maximum: 100;
28862
+ readonly maximum: 500;
27943
28863
  };
27944
28864
  };
27945
28865
  };
@@ -29409,6 +30329,105 @@ export declare const contractSchemas: {
29409
30329
  readonly maxItems: 20;
29410
30330
  readonly items: {
29411
30331
  readonly oneOf: readonly [{
30332
+ readonly type: "object";
30333
+ readonly additionalProperties: false;
30334
+ readonly required: readonly ["kind", "resourceCode", "errorCode", "records"];
30335
+ readonly properties: {
30336
+ readonly kind: {
30337
+ readonly const: "record-set-match";
30338
+ };
30339
+ readonly resourceCode: {
30340
+ readonly type: "string";
30341
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
30342
+ };
30343
+ readonly errorCode: {
30344
+ readonly type: "string";
30345
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
30346
+ };
30347
+ readonly records: {
30348
+ readonly type: "array";
30349
+ readonly minItems: 1;
30350
+ readonly maxItems: 500;
30351
+ readonly uniqueItems: true;
30352
+ readonly items: {
30353
+ readonly type: "object";
30354
+ readonly additionalProperties: false;
30355
+ readonly required: readonly ["id", "expectedRevision"];
30356
+ readonly properties: {
30357
+ readonly id: {
30358
+ readonly type: "string";
30359
+ readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
30360
+ };
30361
+ readonly expectedRevision: {
30362
+ readonly type: "integer";
30363
+ readonly minimum: 1;
30364
+ readonly maximum: number;
30365
+ };
30366
+ };
30367
+ };
30368
+ };
30369
+ readonly where: {
30370
+ readonly $ref: "#/$defs/dataWhere";
30371
+ };
30372
+ };
30373
+ }, {
30374
+ readonly type: "object";
30375
+ readonly additionalProperties: false;
30376
+ readonly required: readonly ["kind", "errorCode", "anyOf"];
30377
+ readonly properties: {
30378
+ readonly kind: {
30379
+ readonly const: "actor-authority";
30380
+ };
30381
+ readonly errorCode: {
30382
+ readonly type: "string";
30383
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
30384
+ };
30385
+ readonly allowAppSuperAdmin: {
30386
+ readonly type: "boolean";
30387
+ };
30388
+ readonly anyOf: {
30389
+ readonly type: "array";
30390
+ readonly minItems: 1;
30391
+ readonly maxItems: 20;
30392
+ readonly uniqueItems: true;
30393
+ readonly items: {
30394
+ readonly type: "object";
30395
+ readonly additionalProperties: false;
30396
+ readonly required: readonly ["roleCode"];
30397
+ readonly properties: {
30398
+ readonly roleCode: {
30399
+ readonly type: "string";
30400
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
30401
+ readonly maxLength: 100;
30402
+ };
30403
+ readonly scope: {
30404
+ readonly type: "object";
30405
+ readonly additionalProperties: false;
30406
+ readonly required: readonly ["dimensionCode", "value", "operation"];
30407
+ readonly properties: {
30408
+ readonly dimensionCode: {
30409
+ readonly type: "string";
30410
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
30411
+ readonly maxLength: 100;
30412
+ };
30413
+ readonly value: {
30414
+ readonly type: "string";
30415
+ readonly minLength: 1;
30416
+ readonly maxLength: 255;
30417
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
30418
+ };
30419
+ readonly operation: {
30420
+ readonly type: "string";
30421
+ readonly maxLength: 64;
30422
+ readonly pattern: "^[A-Za-z0-9*][A-Za-z0-9*._:-]*$";
30423
+ };
30424
+ };
30425
+ };
30426
+ };
30427
+ };
30428
+ };
30429
+ };
30430
+ }, {
29412
30431
  readonly type: "object";
29413
30432
  readonly additionalProperties: false;
29414
30433
  readonly required: readonly ["kind", "operationIndex", "field", "operator", "offsetMilliseconds", "errorCode"];
@@ -29702,7 +30721,7 @@ export declare const contractSchemas: {
29702
30721
  readonly operations: {
29703
30722
  readonly type: "array";
29704
30723
  readonly minItems: 1;
29705
- readonly maxItems: 1000;
30724
+ readonly maxItems: number;
29706
30725
  readonly items: {
29707
30726
  readonly oneOf: readonly [{
29708
30727
  readonly type: "object";
@@ -29889,7 +30908,7 @@ export declare const contractSchemas: {
29889
30908
  };
29890
30909
  readonly items: {
29891
30910
  readonly type: "array";
29892
- readonly maxItems: 1000;
30911
+ readonly maxItems: number;
29893
30912
  readonly items: {
29894
30913
  readonly oneOf: readonly [{
29895
30914
  readonly type: "object";
@@ -31099,6 +32118,29 @@ export declare const contractSchemas: {
31099
32118
  };
31100
32119
  };
31101
32120
  };
32121
+ readonly approvedDelegation: {
32122
+ readonly type: "object";
32123
+ readonly additionalProperties: false;
32124
+ readonly required: readonly ["confirmationNodeId", "confirmer", "requestsField", "maxRequests"];
32125
+ readonly properties: {
32126
+ readonly confirmationNodeId: {
32127
+ readonly type: "string";
32128
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,127}$";
32129
+ };
32130
+ readonly confirmer: {
32131
+ readonly enum: readonly ["initiator", "delegate"];
32132
+ };
32133
+ readonly requestsField: {
32134
+ readonly type: "string";
32135
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32136
+ };
32137
+ readonly maxRequests: {
32138
+ readonly type: "integer";
32139
+ readonly minimum: 1;
32140
+ readonly maximum: 500;
32141
+ };
32142
+ };
32143
+ };
31102
32144
  readonly commandHandlers: {
31103
32145
  readonly type: "object";
31104
32146
  readonly additionalProperties: false;
@@ -31385,6 +32427,21 @@ export declare const contractSchemas: {
31385
32427
  readonly initiatorApprovalPolicy: {
31386
32428
  readonly enum: readonly ["manual", "auto_approve"];
31387
32429
  };
32430
+ readonly completionDeadline: {
32431
+ readonly type: "object";
32432
+ readonly additionalProperties: false;
32433
+ readonly required: readonly ["afterSeconds", "action"];
32434
+ readonly properties: {
32435
+ readonly afterSeconds: {
32436
+ readonly type: "integer";
32437
+ readonly minimum: 1;
32438
+ readonly maximum: 2592000;
32439
+ };
32440
+ readonly action: {
32441
+ readonly const: "approve";
32442
+ };
32443
+ };
32444
+ };
31388
32445
  readonly onApprove: {
31389
32446
  readonly type: "string";
31390
32447
  readonly minLength: 1;
@@ -31406,6 +32463,9 @@ export declare const contractSchemas: {
31406
32463
  additionalProperties: boolean;
31407
32464
  minProperties: number;
31408
32465
  properties: {
32466
+ reasonRequired?: {
32467
+ type: string;
32468
+ };
31409
32469
  commentRequired?: {
31410
32470
  type: string;
31411
32471
  };
@@ -31659,6 +32719,31 @@ export declare const contractSchemas: {
31659
32719
  };
31660
32720
  };
31661
32721
  };
32722
+ }, {
32723
+ readonly type: "object";
32724
+ readonly additionalProperties: false;
32725
+ readonly required: readonly ["id", "kind", "title", "taskPageCode", "next"];
32726
+ readonly properties: {
32727
+ readonly id: {
32728
+ readonly type: "string";
32729
+ readonly minLength: 1;
32730
+ };
32731
+ readonly kind: {
32732
+ readonly const: "correction";
32733
+ };
32734
+ readonly title: {
32735
+ readonly type: "string";
32736
+ readonly minLength: 1;
32737
+ };
32738
+ readonly taskPageCode: {
32739
+ readonly type: "string";
32740
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,63}$";
32741
+ };
32742
+ readonly next: {
32743
+ readonly type: "string";
32744
+ readonly minLength: 1;
32745
+ };
32746
+ };
31662
32747
  }];
31663
32748
  };
31664
32749
  };
@@ -31685,6 +32770,24 @@ export declare const contractSchemas: {
31685
32770
  readonly additionalProperties: false;
31686
32771
  readonly required: readonly ["provider"];
31687
32772
  readonly allOf: readonly [{
32773
+ readonly if: {
32774
+ readonly required: readonly ["roleCodes"];
32775
+ };
32776
+ readonly then: {
32777
+ readonly properties: {
32778
+ readonly provider: {
32779
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
32780
+ };
32781
+ };
32782
+ readonly not: {
32783
+ readonly anyOf: readonly [{
32784
+ readonly required: readonly ["roleCode"];
32785
+ }, {
32786
+ readonly required: readonly ["candidateField"];
32787
+ }];
32788
+ };
32789
+ };
32790
+ }, {
31688
32791
  readonly if: {
31689
32792
  readonly required: readonly ["candidateField"];
31690
32793
  };
@@ -31739,6 +32842,17 @@ export declare const contractSchemas: {
31739
32842
  readonly roleCode: {
31740
32843
  readonly type: "string";
31741
32844
  };
32845
+ readonly roleCodes: {
32846
+ readonly type: "array";
32847
+ readonly minItems: 2;
32848
+ readonly maxItems: 8;
32849
+ readonly uniqueItems: true;
32850
+ readonly items: {
32851
+ readonly type: "string";
32852
+ readonly maxLength: 128;
32853
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
32854
+ };
32855
+ };
31742
32856
  readonly scope: {
31743
32857
  readonly type: "object";
31744
32858
  readonly additionalProperties: false;
@@ -33455,6 +34569,47 @@ export declare const contractSchemas: {
33455
34569
  readonly additionalProperties: false;
33456
34570
  readonly required: readonly ["operationCode", "method", "href", "requiredCapability", "requestSchemaDigest", "responseSchemaDigest", "inputs", "output"];
33457
34571
  readonly properties: {
34572
+ readonly ownedSubject: {
34573
+ readonly type: "object";
34574
+ readonly additionalProperties: false;
34575
+ readonly required: readonly ["mode", "resourceCode", "subtables"];
34576
+ readonly properties: {
34577
+ readonly mode: {
34578
+ readonly const: "create";
34579
+ };
34580
+ readonly resourceCode: {
34581
+ readonly type: "string";
34582
+ readonly maxLength: 64;
34583
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
34584
+ };
34585
+ readonly subtables: {
34586
+ readonly type: "array";
34587
+ readonly minItems: 1;
34588
+ readonly maxItems: 16;
34589
+ readonly items: {
34590
+ readonly type: "object";
34591
+ readonly additionalProperties: false;
34592
+ readonly required: readonly ["fieldCode", "fieldCodes"];
34593
+ readonly properties: {
34594
+ readonly fieldCode: {
34595
+ readonly type: "string";
34596
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34597
+ };
34598
+ readonly fieldCodes: {
34599
+ readonly type: "array";
34600
+ readonly minItems: 1;
34601
+ readonly maxItems: 200;
34602
+ readonly uniqueItems: true;
34603
+ readonly items: {
34604
+ readonly type: "string";
34605
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34606
+ };
34607
+ };
34608
+ };
34609
+ };
34610
+ };
34611
+ };
34612
+ };
33458
34613
  readonly operationCode: {
33459
34614
  readonly type: "string";
33460
34615
  readonly pattern: "^[A-Za-z][A-Za-z0-9_.:-]{0,254}$";
@@ -33539,6 +34694,47 @@ export declare const contractSchemas: {
33539
34694
  readonly additionalProperties: false;
33540
34695
  readonly required: readonly ["operationCode", "method", "href", "requiredCapability", "requestSchemaDigest", "responseSchemaDigest", "inputs", "output"];
33541
34696
  readonly properties: {
34697
+ readonly ownedSubject: {
34698
+ readonly type: "object";
34699
+ readonly additionalProperties: false;
34700
+ readonly required: readonly ["mode", "resourceCode", "subtables"];
34701
+ readonly properties: {
34702
+ readonly mode: {
34703
+ readonly const: "create";
34704
+ };
34705
+ readonly resourceCode: {
34706
+ readonly type: "string";
34707
+ readonly maxLength: 64;
34708
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
34709
+ };
34710
+ readonly subtables: {
34711
+ readonly type: "array";
34712
+ readonly minItems: 1;
34713
+ readonly maxItems: 16;
34714
+ readonly items: {
34715
+ readonly type: "object";
34716
+ readonly additionalProperties: false;
34717
+ readonly required: readonly ["fieldCode", "fieldCodes"];
34718
+ readonly properties: {
34719
+ readonly fieldCode: {
34720
+ readonly type: "string";
34721
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34722
+ };
34723
+ readonly fieldCodes: {
34724
+ readonly type: "array";
34725
+ readonly minItems: 1;
34726
+ readonly maxItems: 200;
34727
+ readonly uniqueItems: true;
34728
+ readonly items: {
34729
+ readonly type: "string";
34730
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34731
+ };
34732
+ };
34733
+ };
34734
+ };
34735
+ };
34736
+ };
34737
+ };
33542
34738
  readonly operationCode: {
33543
34739
  readonly type: "string";
33544
34740
  readonly pattern: "^[A-Za-z][A-Za-z0-9_.:-]{0,254}$";
@@ -33666,6 +34862,10 @@ export declare const contractSchemas: {
33666
34862
  readonly workflowCode: {
33667
34863
  readonly type: readonly ["string", "null"];
33668
34864
  };
34865
+ readonly nodeId: {
34866
+ readonly type: readonly ["string", "null"];
34867
+ readonly pattern: "^[A-Za-z0-9._:-]{1,128}$";
34868
+ };
33669
34869
  readonly delegatorUserId: {
33670
34870
  readonly type: "string";
33671
34871
  readonly minLength: 1;
@@ -33747,6 +34947,14 @@ export declare const contractSchemas: {
33747
34947
  readonly type: "null";
33748
34948
  }];
33749
34949
  };
34950
+ readonly nodeId: {
34951
+ readonly anyOf: readonly [{
34952
+ readonly type: "string";
34953
+ readonly pattern: "^[A-Za-z0-9._:-]{1,128}$";
34954
+ }, {
34955
+ readonly type: "null";
34956
+ }];
34957
+ };
33750
34958
  readonly delegatorUserId: {
33751
34959
  readonly type: "string";
33752
34960
  readonly minLength: 1;
@@ -33889,6 +35097,14 @@ export declare const contractSchemas: {
33889
35097
  readonly type: "null";
33890
35098
  }];
33891
35099
  };
35100
+ readonly nodeId: {
35101
+ readonly anyOf: readonly [{
35102
+ readonly type: "string";
35103
+ readonly pattern: "^[A-Za-z0-9._:-]{1,128}$";
35104
+ }, {
35105
+ readonly type: "null";
35106
+ }];
35107
+ };
33892
35108
  readonly delegatorRoleSubjectKey: {
33893
35109
  readonly type: "string";
33894
35110
  readonly pattern: "^membership:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$";
@@ -33936,6 +35152,23 @@ export declare const contractSchemas: {
33936
35152
  readonly pattern: "\\S";
33937
35153
  };
33938
35154
  };
35155
+ readonly if: {
35156
+ readonly required: readonly ["nodeId"];
35157
+ readonly properties: {
35158
+ readonly nodeId: {
35159
+ readonly type: "string";
35160
+ };
35161
+ };
35162
+ };
35163
+ readonly then: {
35164
+ readonly properties: {
35165
+ readonly workflowCode: {
35166
+ readonly type: "string";
35167
+ readonly minLength: 1;
35168
+ readonly maxLength: 255;
35169
+ };
35170
+ };
35171
+ };
33939
35172
  }, {
33940
35173
  readonly type: "object";
33941
35174
  readonly additionalProperties: false;
@@ -34027,6 +35260,14 @@ export declare const contractSchemas: {
34027
35260
  readonly type: "null";
34028
35261
  }];
34029
35262
  };
35263
+ readonly nodeId: {
35264
+ readonly anyOf: readonly [{
35265
+ readonly type: "string";
35266
+ readonly pattern: "^[A-Za-z0-9._:-]{1,128}$";
35267
+ }, {
35268
+ readonly type: "null";
35269
+ }];
35270
+ };
34030
35271
  readonly delegatorUserId: {
34031
35272
  readonly type: "string";
34032
35273
  readonly minLength: 1;
@@ -34184,6 +35425,14 @@ export declare const contractSchemas: {
34184
35425
  readonly type: "null";
34185
35426
  }];
34186
35427
  };
35428
+ readonly nodeId: {
35429
+ readonly anyOf: readonly [{
35430
+ readonly type: "string";
35431
+ readonly pattern: "^[A-Za-z0-9._:-]{1,128}$";
35432
+ }, {
35433
+ readonly type: "null";
35434
+ }];
35435
+ };
34187
35436
  readonly delegatorUserId: {
34188
35437
  readonly type: "string";
34189
35438
  readonly minLength: 1;
@@ -34385,6 +35634,14 @@ export declare const contractSchemas: {
34385
35634
  readonly type: "null";
34386
35635
  }];
34387
35636
  };
35637
+ readonly nodeId: {
35638
+ readonly anyOf: readonly [{
35639
+ readonly type: "string";
35640
+ readonly pattern: "^[A-Za-z0-9._:-]{1,128}$";
35641
+ }, {
35642
+ readonly type: "null";
35643
+ }];
35644
+ };
34388
35645
  readonly delegatorUserId: {
34389
35646
  readonly type: "string";
34390
35647
  readonly minLength: 1;
@@ -34747,6 +36004,105 @@ export declare const contractSchemas: {
34747
36004
  readonly maxItems: 20;
34748
36005
  readonly items: {
34749
36006
  readonly oneOf: readonly [{
36007
+ readonly type: "object";
36008
+ readonly additionalProperties: false;
36009
+ readonly required: readonly ["kind", "resourceCode", "errorCode", "records"];
36010
+ readonly properties: {
36011
+ readonly kind: {
36012
+ readonly const: "record-set-match";
36013
+ };
36014
+ readonly resourceCode: {
36015
+ readonly type: "string";
36016
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
36017
+ };
36018
+ readonly errorCode: {
36019
+ readonly type: "string";
36020
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
36021
+ };
36022
+ readonly records: {
36023
+ readonly type: "array";
36024
+ readonly minItems: 1;
36025
+ readonly maxItems: 500;
36026
+ readonly uniqueItems: true;
36027
+ readonly items: {
36028
+ readonly type: "object";
36029
+ readonly additionalProperties: false;
36030
+ readonly required: readonly ["id", "expectedRevision"];
36031
+ readonly properties: {
36032
+ readonly id: {
36033
+ readonly type: "string";
36034
+ readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
36035
+ };
36036
+ readonly expectedRevision: {
36037
+ readonly type: "integer";
36038
+ readonly minimum: 1;
36039
+ readonly maximum: number;
36040
+ };
36041
+ };
36042
+ };
36043
+ };
36044
+ readonly where: {
36045
+ readonly $ref: "#/$defs/dataWhere";
36046
+ };
36047
+ };
36048
+ }, {
36049
+ readonly type: "object";
36050
+ readonly additionalProperties: false;
36051
+ readonly required: readonly ["kind", "errorCode", "anyOf"];
36052
+ readonly properties: {
36053
+ readonly kind: {
36054
+ readonly const: "actor-authority";
36055
+ };
36056
+ readonly errorCode: {
36057
+ readonly type: "string";
36058
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
36059
+ };
36060
+ readonly allowAppSuperAdmin: {
36061
+ readonly type: "boolean";
36062
+ };
36063
+ readonly anyOf: {
36064
+ readonly type: "array";
36065
+ readonly minItems: 1;
36066
+ readonly maxItems: 20;
36067
+ readonly uniqueItems: true;
36068
+ readonly items: {
36069
+ readonly type: "object";
36070
+ readonly additionalProperties: false;
36071
+ readonly required: readonly ["roleCode"];
36072
+ readonly properties: {
36073
+ readonly roleCode: {
36074
+ readonly type: "string";
36075
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
36076
+ readonly maxLength: 100;
36077
+ };
36078
+ readonly scope: {
36079
+ readonly type: "object";
36080
+ readonly additionalProperties: false;
36081
+ readonly required: readonly ["dimensionCode", "value", "operation"];
36082
+ readonly properties: {
36083
+ readonly dimensionCode: {
36084
+ readonly type: "string";
36085
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
36086
+ readonly maxLength: 100;
36087
+ };
36088
+ readonly value: {
36089
+ readonly type: "string";
36090
+ readonly minLength: 1;
36091
+ readonly maxLength: 255;
36092
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
36093
+ };
36094
+ readonly operation: {
36095
+ readonly type: "string";
36096
+ readonly maxLength: 64;
36097
+ readonly pattern: "^[A-Za-z0-9*][A-Za-z0-9*._:-]*$";
36098
+ };
36099
+ };
36100
+ };
36101
+ };
36102
+ };
36103
+ };
36104
+ };
36105
+ }, {
34750
36106
  readonly type: "object";
34751
36107
  readonly additionalProperties: false;
34752
36108
  readonly required: readonly ["kind", "operationIndex", "field", "operator", "offsetMilliseconds", "errorCode"];
@@ -35343,6 +36699,38 @@ export declare const contractSchemas: {
35343
36699
  readonly type: "object";
35344
36700
  readonly additionalProperties: false;
35345
36701
  readonly required: readonly ["schemaVersion", "environmentKey", "workflow", "subject", "data", "expectedTransition"];
36702
+ readonly allOf: readonly [{
36703
+ readonly if: {
36704
+ readonly properties: {
36705
+ readonly expectedTransition: {
36706
+ readonly required: readonly ["kind"];
36707
+ readonly properties: {
36708
+ readonly kind: {
36709
+ readonly const: "correction-replay";
36710
+ };
36711
+ };
36712
+ };
36713
+ };
36714
+ };
36715
+ readonly then: {
36716
+ readonly properties: {
36717
+ readonly workflow: {
36718
+ readonly properties: {
36719
+ readonly target: {
36720
+ readonly properties: {
36721
+ readonly kind: {
36722
+ readonly const: "task";
36723
+ };
36724
+ readonly command: {
36725
+ readonly const: "resubmit";
36726
+ };
36727
+ };
36728
+ };
36729
+ };
36730
+ };
36731
+ };
36732
+ };
36733
+ }];
35346
36734
  readonly properties: {
35347
36735
  readonly schemaVersion: {
35348
36736
  readonly const: "openxiangda.business-process-command-with-data/v2";
@@ -35373,7 +36761,7 @@ export declare const contractSchemas: {
35373
36761
  readonly format: "uuid";
35374
36762
  };
35375
36763
  readonly command: {
35376
- readonly enum: readonly ["approve", "reject"];
36764
+ readonly enum: readonly ["approve", "reject", "resubmit"];
35377
36765
  };
35378
36766
  };
35379
36767
  }, {
@@ -35439,6 +36827,105 @@ export declare const contractSchemas: {
35439
36827
  readonly maxItems: 20;
35440
36828
  readonly items: {
35441
36829
  readonly oneOf: readonly [{
36830
+ readonly type: "object";
36831
+ readonly additionalProperties: false;
36832
+ readonly required: readonly ["kind", "resourceCode", "errorCode", "records"];
36833
+ readonly properties: {
36834
+ readonly kind: {
36835
+ readonly const: "record-set-match";
36836
+ };
36837
+ readonly resourceCode: {
36838
+ readonly type: "string";
36839
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
36840
+ };
36841
+ readonly errorCode: {
36842
+ readonly type: "string";
36843
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
36844
+ };
36845
+ readonly records: {
36846
+ readonly type: "array";
36847
+ readonly minItems: 1;
36848
+ readonly maxItems: 500;
36849
+ readonly uniqueItems: true;
36850
+ readonly items: {
36851
+ readonly type: "object";
36852
+ readonly additionalProperties: false;
36853
+ readonly required: readonly ["id", "expectedRevision"];
36854
+ readonly properties: {
36855
+ readonly id: {
36856
+ readonly type: "string";
36857
+ readonly pattern: "^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$";
36858
+ };
36859
+ readonly expectedRevision: {
36860
+ readonly type: "integer";
36861
+ readonly minimum: 1;
36862
+ readonly maximum: number;
36863
+ };
36864
+ };
36865
+ };
36866
+ };
36867
+ readonly where: {
36868
+ readonly $ref: "#/$defs/dataWhere";
36869
+ };
36870
+ };
36871
+ }, {
36872
+ readonly type: "object";
36873
+ readonly additionalProperties: false;
36874
+ readonly required: readonly ["kind", "errorCode", "anyOf"];
36875
+ readonly properties: {
36876
+ readonly kind: {
36877
+ readonly const: "actor-authority";
36878
+ };
36879
+ readonly errorCode: {
36880
+ readonly type: "string";
36881
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
36882
+ };
36883
+ readonly allowAppSuperAdmin: {
36884
+ readonly type: "boolean";
36885
+ };
36886
+ readonly anyOf: {
36887
+ readonly type: "array";
36888
+ readonly minItems: 1;
36889
+ readonly maxItems: 20;
36890
+ readonly uniqueItems: true;
36891
+ readonly items: {
36892
+ readonly type: "object";
36893
+ readonly additionalProperties: false;
36894
+ readonly required: readonly ["roleCode"];
36895
+ readonly properties: {
36896
+ readonly roleCode: {
36897
+ readonly type: "string";
36898
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
36899
+ readonly maxLength: 100;
36900
+ };
36901
+ readonly scope: {
36902
+ readonly type: "object";
36903
+ readonly additionalProperties: false;
36904
+ readonly required: readonly ["dimensionCode", "value", "operation"];
36905
+ readonly properties: {
36906
+ readonly dimensionCode: {
36907
+ readonly type: "string";
36908
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
36909
+ readonly maxLength: 100;
36910
+ };
36911
+ readonly value: {
36912
+ readonly type: "string";
36913
+ readonly minLength: 1;
36914
+ readonly maxLength: 255;
36915
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
36916
+ };
36917
+ readonly operation: {
36918
+ readonly type: "string";
36919
+ readonly maxLength: 64;
36920
+ readonly pattern: "^[A-Za-z0-9*][A-Za-z0-9*._:-]*$";
36921
+ };
36922
+ };
36923
+ };
36924
+ };
36925
+ };
36926
+ };
36927
+ };
36928
+ }, {
35442
36929
  readonly type: "object";
35443
36930
  readonly additionalProperties: false;
35444
36931
  readonly required: readonly ["kind", "operationIndex", "field", "operator", "offsetMilliseconds", "errorCode"];
@@ -35849,23 +37336,34 @@ export declare const contractSchemas: {
35849
37336
  };
35850
37337
  };
35851
37338
  readonly expectedTransition: {
35852
- readonly type: "object";
35853
- readonly additionalProperties: false;
35854
- readonly required: readonly ["status", "outcome", "currentNodeId"];
35855
- readonly properties: {
35856
- readonly status: {
35857
- readonly enum: readonly ["running", "approved", "rejected", "withdrawn"];
35858
- };
35859
- readonly outcome: {
35860
- readonly type: readonly ["string", "null"];
35861
- readonly maxLength: 128;
37339
+ readonly oneOf: readonly [{
37340
+ readonly type: "object";
37341
+ readonly additionalProperties: false;
37342
+ readonly required: readonly ["status", "outcome", "currentNodeId"];
37343
+ readonly properties: {
37344
+ readonly status: {
37345
+ readonly enum: readonly ["running", "approved", "rejected", "withdrawn"];
37346
+ };
37347
+ readonly outcome: {
37348
+ readonly type: readonly ["string", "null"];
37349
+ readonly maxLength: 128;
37350
+ };
37351
+ readonly currentNodeId: {
37352
+ readonly type: readonly ["string", "null"];
37353
+ readonly minLength: 1;
37354
+ readonly maxLength: 128;
37355
+ };
35862
37356
  };
35863
- readonly currentNodeId: {
35864
- readonly type: readonly ["string", "null"];
35865
- readonly minLength: 1;
35866
- readonly maxLength: 128;
37357
+ }, {
37358
+ readonly type: "object";
37359
+ readonly additionalProperties: false;
37360
+ readonly required: readonly ["kind"];
37361
+ readonly properties: {
37362
+ readonly kind: {
37363
+ readonly const: "correction-replay";
37364
+ };
35867
37365
  };
35868
- };
37366
+ }];
35869
37367
  };
35870
37368
  };
35871
37369
  };
@@ -39009,7 +40507,7 @@ export declare const contractSchemas: {
39009
40507
  };
39010
40508
  readonly capabilities: {
39011
40509
  readonly type: "array";
39012
- readonly maxItems: 2000;
40510
+ readonly maxItems: 4096;
39013
40511
  readonly items: {
39014
40512
  readonly type: "object";
39015
40513
  readonly additionalProperties: false;
@@ -39036,7 +40534,7 @@ export declare const contractSchemas: {
39036
40534
  };
39037
40535
  readonly roles: {
39038
40536
  readonly type: "array";
39039
- readonly maxItems: 100;
40537
+ readonly maxItems: 256;
39040
40538
  readonly items: {
39041
40539
  readonly type: "object";
39042
40540
  readonly additionalProperties: false;
@@ -39389,7 +40887,7 @@ export declare const contractSchemas: {
39389
40887
  };
39390
40888
  readonly dataPolicies: {
39391
40889
  readonly type: "array";
39392
- readonly maxItems: 100;
40890
+ readonly maxItems: 512;
39393
40891
  readonly items: {
39394
40892
  readonly type: "object";
39395
40893
  readonly additionalProperties: false;
@@ -39420,6 +40918,23 @@ export declare const contractSchemas: {
39420
40918
  readonly maxLength: 128;
39421
40919
  };
39422
40920
  };
40921
+ readonly publicRead: {
40922
+ readonly type: "object";
40923
+ readonly additionalProperties: false;
40924
+ readonly required: readonly ["fields"];
40925
+ readonly properties: {
40926
+ readonly fields: {
40927
+ readonly type: "array";
40928
+ readonly minItems: 1;
40929
+ readonly maxItems: 1000;
40930
+ readonly uniqueItems: true;
40931
+ readonly items: {
40932
+ readonly type: "string";
40933
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
40934
+ };
40935
+ };
40936
+ };
40937
+ };
39423
40938
  readonly operations: {
39424
40939
  readonly type: "array";
39425
40940
  readonly minItems: 1;
@@ -39687,6 +41202,25 @@ export declare const contractSchemas: {
39687
41202
  readonly not: {
39688
41203
  readonly required: readonly ["operations", "readExpression"];
39689
41204
  };
41205
+ }, {
41206
+ readonly if: {
41207
+ readonly required: readonly ["publicRead"];
41208
+ };
41209
+ readonly then: {
41210
+ readonly required: readonly ["operations"];
41211
+ readonly properties: {
41212
+ readonly operations: {
41213
+ readonly const: readonly ["read"];
41214
+ };
41215
+ };
41216
+ readonly not: {
41217
+ readonly anyOf: readonly [{
41218
+ readonly required: readonly ["readExpression"];
41219
+ }, {
41220
+ readonly required: readonly ["writeBoundary"];
41221
+ }];
41222
+ };
41223
+ };
39690
41224
  }];
39691
41225
  };
39692
41226
  };
@@ -39786,6 +41320,97 @@ export declare const contractSchemas: {
39786
41320
  readonly additionalProperties: false;
39787
41321
  readonly minProperties: 1;
39788
41322
  readonly properties: {
41323
+ readonly ownedSubject: {
41324
+ readonly type: "object";
41325
+ readonly additionalProperties: false;
41326
+ readonly required: readonly ["mode", "resourceCode", "subtables"];
41327
+ readonly properties: {
41328
+ readonly mode: {
41329
+ readonly const: "create";
41330
+ };
41331
+ readonly resourceCode: {
41332
+ readonly type: "string";
41333
+ readonly maxLength: 64;
41334
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
41335
+ };
41336
+ readonly subtables: {
41337
+ readonly type: "array";
41338
+ readonly minItems: 1;
41339
+ readonly maxItems: 16;
41340
+ readonly items: {
41341
+ readonly type: "object";
41342
+ readonly additionalProperties: false;
41343
+ readonly required: readonly ["fieldCode", "fieldCodes"];
41344
+ readonly properties: {
41345
+ readonly fieldCode: {
41346
+ readonly type: "string";
41347
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
41348
+ };
41349
+ readonly fieldCodes: {
41350
+ readonly type: "array";
41351
+ readonly minItems: 1;
41352
+ readonly maxItems: 200;
41353
+ readonly uniqueItems: true;
41354
+ readonly items: {
41355
+ readonly type: "string";
41356
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
41357
+ };
41358
+ };
41359
+ };
41360
+ };
41361
+ };
41362
+ };
41363
+ };
41364
+ readonly workflowStage: {
41365
+ readonly type: "object";
41366
+ readonly additionalProperties: false;
41367
+ readonly required: readonly ["workflowCode", "resourceCode", "actor", "runningNodeIds", "allowedStatuses"];
41368
+ readonly properties: {
41369
+ readonly workflowCode: {
41370
+ readonly type: "string";
41371
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
41372
+ readonly maxLength: 100;
41373
+ };
41374
+ readonly resourceCode: {
41375
+ readonly type: "string";
41376
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
41377
+ readonly maxLength: 100;
41378
+ };
41379
+ readonly actor: {
41380
+ readonly enum: readonly ["initiator", "reader"];
41381
+ };
41382
+ readonly runningNodeIds: {
41383
+ readonly type: "array";
41384
+ readonly maxItems: 32;
41385
+ readonly uniqueItems: true;
41386
+ readonly items: {
41387
+ readonly type: "string";
41388
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$";
41389
+ };
41390
+ };
41391
+ readonly allowedStatuses: {
41392
+ readonly type: "array";
41393
+ readonly maxItems: 5;
41394
+ readonly uniqueItems: true;
41395
+ readonly items: {
41396
+ readonly enum: readonly ["approved", "rejected", "cancelled", "terminated", "returned"];
41397
+ };
41398
+ };
41399
+ };
41400
+ readonly anyOf: readonly [{
41401
+ readonly properties: {
41402
+ readonly runningNodeIds: {
41403
+ readonly minItems: 1;
41404
+ };
41405
+ };
41406
+ }, {
41407
+ readonly properties: {
41408
+ readonly allowedStatuses: {
41409
+ readonly minItems: 1;
41410
+ };
41411
+ };
41412
+ }];
41413
+ };
39789
41414
  readonly recordEdit: {
39790
41415
  readonly type: "object";
39791
41416
  readonly additionalProperties: false;
@@ -39833,6 +41458,9 @@ export declare const contractSchemas: {
39833
41458
  readonly maxLength: 100;
39834
41459
  };
39835
41460
  };
41461
+ readonly actorAuthority: {
41462
+ readonly const: true;
41463
+ };
39836
41464
  };
39837
41465
  };
39838
41466
  readonly directory: {
@@ -39981,10 +41609,10 @@ export declare const contractSchemas: {
39981
41609
  readonly businessCommands: {
39982
41610
  readonly type: "array";
39983
41611
  readonly minItems: 1;
39984
- readonly maxItems: 3;
41612
+ readonly maxItems: 4;
39985
41613
  readonly uniqueItems: true;
39986
41614
  readonly items: {
39987
- readonly enum: readonly ["approve", "reject", "withdraw"];
41615
+ readonly enum: readonly ["approve", "reject", "withdraw", "resubmit"];
39988
41616
  };
39989
41617
  };
39990
41618
  };
@@ -40366,7 +41994,7 @@ export declare const contractSchemas: {
40366
41994
  readonly properties: {
40367
41995
  readonly resources: {
40368
41996
  readonly type: "array";
40369
- readonly maxItems: 100;
41997
+ readonly maxItems: 512;
40370
41998
  readonly items: {
40371
41999
  readonly $ref: "openxiangda.data-resource/v2";
40372
42000
  };
@@ -40601,21 +42229,21 @@ export declare const contractSchemas: {
40601
42229
  readonly properties: {
40602
42230
  readonly definitions: {
40603
42231
  readonly type: "array";
40604
- readonly maxItems: 100;
42232
+ readonly maxItems: 512;
40605
42233
  readonly items: {
40606
42234
  readonly type: "object";
40607
42235
  };
40608
42236
  };
40609
42237
  readonly bindings: {
40610
42238
  readonly type: "array";
40611
- readonly maxItems: 100;
42239
+ readonly maxItems: 512;
40612
42240
  readonly items: {
40613
42241
  readonly type: "object";
40614
42242
  };
40615
42243
  };
40616
42244
  readonly activations: {
40617
42245
  readonly type: "array";
40618
- readonly maxItems: 100;
42246
+ readonly maxItems: 512;
40619
42247
  readonly items: {
40620
42248
  readonly type: "object";
40621
42249
  };
@@ -40643,7 +42271,7 @@ export declare const contractSchemas: {
40643
42271
  readonly properties: {
40644
42272
  readonly routes: {
40645
42273
  readonly type: "array";
40646
- readonly maxItems: 500;
42274
+ readonly maxItems: 2048;
40647
42275
  readonly items: {
40648
42276
  readonly type: "object";
40649
42277
  readonly additionalProperties: false;
@@ -41437,7 +43065,7 @@ export declare const contractSchemas: {
41437
43065
  };
41438
43066
  readonly routes: {
41439
43067
  readonly type: "array";
41440
- readonly maxItems: 512;
43068
+ readonly maxItems: 2048;
41441
43069
  readonly items: {
41442
43070
  readonly type: "object";
41443
43071
  readonly additionalProperties: false;
@@ -41689,7 +43317,7 @@ export declare const contractSchemas: {
41689
43317
  };
41690
43318
  readonly resources: {
41691
43319
  readonly type: "array";
41692
- readonly maxItems: 100;
43320
+ readonly maxItems: 512;
41693
43321
  readonly items: {
41694
43322
  readonly type: "object";
41695
43323
  };
@@ -41804,7 +43432,7 @@ export declare const contractSchemas: {
41804
43432
  };
41805
43433
  readonly capabilities: {
41806
43434
  readonly type: "array";
41807
- readonly maxItems: 2000;
43435
+ readonly maxItems: 4096;
41808
43436
  readonly items: {
41809
43437
  readonly type: "object";
41810
43438
  };
@@ -41964,14 +43592,14 @@ export declare const contractSchemas: {
41964
43592
  };
41965
43593
  readonly workflows: {
41966
43594
  readonly type: "array";
41967
- readonly maxItems: 100;
43595
+ readonly maxItems: 512;
41968
43596
  readonly items: {
41969
43597
  readonly type: "object";
41970
43598
  };
41971
43599
  };
41972
43600
  readonly routes: {
41973
43601
  readonly type: "array";
41974
- readonly maxItems: 500;
43602
+ readonly maxItems: 2048;
41975
43603
  readonly items: {
41976
43604
  readonly required: readonly ["code", "path", "label", "surface", "tabPersistence", "keepAlive"];
41977
43605
  readonly type: "object";
@@ -42570,7 +44198,7 @@ export declare const contractSchemas: {
42570
44198
  };
42571
44199
  readonly routes: {
42572
44200
  readonly type: "array";
42573
- readonly maxItems: 512;
44201
+ readonly maxItems: 2048;
42574
44202
  readonly items: {
42575
44203
  readonly type: "object";
42576
44204
  readonly additionalProperties: false;
@@ -42783,7 +44411,7 @@ export declare const contractSchemas: {
42783
44411
  };
42784
44412
  readonly adminPages: {
42785
44413
  readonly type: "array";
42786
- readonly maxItems: 500;
44414
+ readonly maxItems: 2048;
42787
44415
  readonly items: {
42788
44416
  readonly type: "object";
42789
44417
  readonly additionalProperties: false;
@@ -42949,7 +44577,7 @@ export declare const contractSchemas: {
42949
44577
  };
42950
44578
  readonly capabilities: {
42951
44579
  readonly type: "array";
42952
- readonly maxItems: 500;
44580
+ readonly maxItems: 4096;
42953
44581
  readonly items: {
42954
44582
  readonly type: "object";
42955
44583
  readonly additionalProperties: false;