openxiangda-contracts 2.63.0 → 2.70.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (152) 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 +11 -0
  15. package/dist/index.d.ts.map +1 -1
  16. package/dist/index.js +11 -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 +213 -49
  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 +25 -3
  38. package/dist/native-compiler/data-capacity.d.ts.map +1 -1
  39. package/dist/native-compiler/data-capacity.js +26 -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 +25 -4
  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 +14 -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-business-step.d.ts +4 -0
  82. package/dist/native-compiler/workflow-business-step.d.ts.map +1 -1
  83. package/dist/native-compiler/workflow-business-step.js +11 -6
  84. package/dist/native-compiler/workflow-business-step.js.map +1 -1
  85. package/dist/native-compiler/workflow-completion-deadline.d.ts +41 -0
  86. package/dist/native-compiler/workflow-completion-deadline.d.ts.map +1 -0
  87. package/dist/native-compiler/workflow-completion-deadline.js +40 -0
  88. package/dist/native-compiler/workflow-completion-deadline.js.map +1 -0
  89. package/dist/native-compiler/workflow-correction.d.ts +16 -0
  90. package/dist/native-compiler/workflow-correction.d.ts.map +1 -0
  91. package/dist/native-compiler/workflow-correction.js +42 -0
  92. package/dist/native-compiler/workflow-correction.js.map +1 -0
  93. package/dist/native-compiler/workflow-delegation-administration.d.ts +73 -0
  94. package/dist/native-compiler/workflow-delegation-administration.d.ts.map +1 -1
  95. package/dist/native-compiler/workflow-delegation-administration.js +6 -4
  96. package/dist/native-compiler/workflow-delegation-administration.js.map +1 -1
  97. package/dist/native-compiler/workflow-graph.d.ts +13 -2
  98. package/dist/native-compiler/workflow-graph.d.ts.map +1 -1
  99. package/dist/native-compiler/workflow-graph.js +20 -4
  100. package/dist/native-compiler/workflow-graph.js.map +1 -1
  101. package/dist/native-compiler/workflow-initiator-approval.d.ts +5 -1
  102. package/dist/native-compiler/workflow-initiator-approval.d.ts.map +1 -1
  103. package/dist/native-compiler/workflow-initiator-approval.js +18 -3
  104. package/dist/native-compiler/workflow-initiator-approval.js.map +1 -1
  105. package/dist/native-compiler/workflow-native-stage.d.ts +69 -0
  106. package/dist/native-compiler/workflow-native-stage.d.ts.map +1 -0
  107. package/dist/native-compiler/workflow-native-stage.js +42 -0
  108. package/dist/native-compiler/workflow-native-stage.js.map +1 -0
  109. package/dist/native-compiler/workflow-node-administration.d.ts +5 -1
  110. package/dist/native-compiler/workflow-node-administration.d.ts.map +1 -1
  111. package/dist/native-compiler/workflow-node-administration.js +17 -4
  112. package/dist/native-compiler/workflow-node-administration.js.map +1 -1
  113. package/dist/native-compiler/workflow-owned-subject.d.ts +60 -0
  114. package/dist/native-compiler/workflow-owned-subject.d.ts.map +1 -0
  115. package/dist/native-compiler/workflow-owned-subject.js +69 -0
  116. package/dist/native-compiler/workflow-owned-subject.js.map +1 -0
  117. package/dist/native-compiler/workflow-role-union.d.ts +31 -0
  118. package/dist/native-compiler/workflow-role-union.d.ts.map +1 -0
  119. package/dist/native-compiler/workflow-role-union.js +38 -0
  120. package/dist/native-compiler/workflow-role-union.js.map +1 -0
  121. package/dist/native-compiler/workflow-step-data.d.ts +28 -0
  122. package/dist/native-compiler/workflow-step-data.d.ts.map +1 -0
  123. package/dist/native-compiler/workflow-step-data.js +34 -0
  124. package/dist/native-compiler/workflow-step-data.js.map +1 -0
  125. package/dist/native-compiler/workflow-task-page.d.ts +11 -4
  126. package/dist/native-compiler/workflow-task-page.d.ts.map +1 -1
  127. package/dist/native-compiler/workflow-task-page.js +7 -5
  128. package/dist/native-compiler/workflow-task-page.js.map +1 -1
  129. package/dist/native-version.d.ts +22 -0
  130. package/dist/native-version.d.ts.map +1 -1
  131. package/dist/native-version.js +22 -0
  132. package/dist/native-version.js.map +1 -1
  133. package/dist/native.d.ts +9 -0
  134. package/dist/native.d.ts.map +1 -1
  135. package/dist/native.js.map +1 -1
  136. package/dist/references.d.ts +2 -0
  137. package/dist/references.d.ts.map +1 -1
  138. package/dist/schemas.d.ts +1838 -80
  139. package/dist/schemas.d.ts.map +1 -1
  140. package/dist/schemas.js +153 -30
  141. package/dist/schemas.js.map +1 -1
  142. package/dist/surface.d.ts +1 -0
  143. package/dist/surface.d.ts.map +1 -1
  144. package/dist/surface.js.map +1 -1
  145. package/dist/types.d.ts +89 -7
  146. package/dist/types.d.ts.map +1 -1
  147. package/dist/types.js +2 -2
  148. package/dist/types.js.map +1 -1
  149. package/dist/validation.d.ts.map +1 -1
  150. package/dist/validation.js +30 -1
  151. package/dist/validation.js.map +1 -1
  152. 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
  };
@@ -5383,6 +5491,11 @@ export declare const dataResourceSchema: {
5383
5491
  readonly additionalProperties: false;
5384
5492
  readonly required: readonly ["fields"];
5385
5493
  readonly properties: {
5494
+ readonly ownedRowLimit: {
5495
+ readonly type: "integer";
5496
+ readonly minimum: 1;
5497
+ readonly maximum: 1000;
5498
+ };
5386
5499
  readonly fields: {
5387
5500
  readonly type: "array";
5388
5501
  readonly minItems: 1;
@@ -5552,6 +5665,9 @@ export declare const dataResourceSchema: {
5552
5665
  readonly loadMode: {
5553
5666
  readonly enum: readonly ["search", "all"];
5554
5667
  };
5668
+ readonly clearOnBindingChange: {
5669
+ readonly type: "boolean";
5670
+ };
5555
5671
  };
5556
5672
  };
5557
5673
  readonly userCandidates: {
@@ -5600,6 +5716,9 @@ export declare const dataResourceSchema: {
5600
5716
  readonly maxLength: 255;
5601
5717
  readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
5602
5718
  };
5719
+ readonly creation: {
5720
+ readonly const: "prospective";
5721
+ };
5603
5722
  };
5604
5723
  readonly oneOf: readonly [{
5605
5724
  readonly required: readonly ["field"];
@@ -5609,7 +5728,11 @@ export declare const dataResourceSchema: {
5609
5728
  }, {
5610
5729
  readonly required: readonly ["value"];
5611
5730
  readonly not: {
5612
- readonly required: readonly ["field"];
5731
+ readonly anyOf: readonly [{
5732
+ readonly required: readonly ["field"];
5733
+ }, {
5734
+ readonly required: readonly ["creation"];
5735
+ }];
5613
5736
  };
5614
5737
  }];
5615
5738
  };
@@ -5706,10 +5829,15 @@ export declare const dataResourceSchema: {
5706
5829
  readonly type: "string";
5707
5830
  readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
5708
5831
  };
5832
+ readonly minRows: {
5833
+ readonly type: "integer";
5834
+ readonly minimum: 0;
5835
+ readonly maximum: 500;
5836
+ };
5709
5837
  readonly maxRows: {
5710
5838
  readonly type: "integer";
5711
5839
  readonly minimum: 1;
5712
- readonly maximum: 100;
5840
+ readonly maximum: 500;
5713
5841
  };
5714
5842
  };
5715
5843
  };
@@ -6533,6 +6661,9 @@ export declare const dataResourceSchema: {
6533
6661
  readonly loadMode: {
6534
6662
  readonly enum: readonly ["search", "all"];
6535
6663
  };
6664
+ readonly clearOnBindingChange: {
6665
+ readonly type: "boolean";
6666
+ };
6536
6667
  };
6537
6668
  };
6538
6669
  readonly userCandidates: {
@@ -6581,6 +6712,9 @@ export declare const dataResourceSchema: {
6581
6712
  readonly maxLength: 255;
6582
6713
  readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
6583
6714
  };
6715
+ readonly creation: {
6716
+ readonly const: "prospective";
6717
+ };
6584
6718
  };
6585
6719
  readonly oneOf: readonly [{
6586
6720
  readonly required: readonly ["field"];
@@ -6590,7 +6724,11 @@ export declare const dataResourceSchema: {
6590
6724
  }, {
6591
6725
  readonly required: readonly ["value"];
6592
6726
  readonly not: {
6593
- readonly required: readonly ["field"];
6727
+ readonly anyOf: readonly [{
6728
+ readonly required: readonly ["field"];
6729
+ }, {
6730
+ readonly required: readonly ["creation"];
6731
+ }];
6594
6732
  };
6595
6733
  }];
6596
6734
  };
@@ -6635,10 +6773,15 @@ export declare const dataResourceSchema: {
6635
6773
  readonly type: "string";
6636
6774
  readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
6637
6775
  };
6776
+ readonly minRows: {
6777
+ readonly type: "integer";
6778
+ readonly minimum: 0;
6779
+ readonly maximum: 500;
6780
+ };
6638
6781
  readonly maxRows: {
6639
6782
  readonly type: "integer";
6640
6783
  readonly minimum: 1;
6641
- readonly maximum: 100;
6784
+ readonly maximum: 500;
6642
6785
  };
6643
6786
  };
6644
6787
  };
@@ -8108,6 +8251,105 @@ export declare const dataTransactionRequestSchema: {
8108
8251
  readonly maxItems: 20;
8109
8252
  readonly items: {
8110
8253
  readonly oneOf: readonly [{
8254
+ readonly type: "object";
8255
+ readonly additionalProperties: false;
8256
+ readonly required: readonly ["kind", "resourceCode", "errorCode", "records"];
8257
+ readonly properties: {
8258
+ readonly kind: {
8259
+ readonly const: "record-set-match";
8260
+ };
8261
+ readonly resourceCode: {
8262
+ readonly type: "string";
8263
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
8264
+ };
8265
+ readonly errorCode: {
8266
+ readonly type: "string";
8267
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
8268
+ };
8269
+ readonly records: {
8270
+ readonly type: "array";
8271
+ readonly minItems: 1;
8272
+ readonly maxItems: 500;
8273
+ readonly uniqueItems: true;
8274
+ readonly items: {
8275
+ readonly type: "object";
8276
+ readonly additionalProperties: false;
8277
+ readonly required: readonly ["id", "expectedRevision"];
8278
+ readonly properties: {
8279
+ readonly id: {
8280
+ readonly type: "string";
8281
+ 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}$";
8282
+ };
8283
+ readonly expectedRevision: {
8284
+ readonly type: "integer";
8285
+ readonly minimum: 1;
8286
+ readonly maximum: number;
8287
+ };
8288
+ };
8289
+ };
8290
+ };
8291
+ readonly where: {
8292
+ readonly $ref: "#/$defs/dataWhere";
8293
+ };
8294
+ };
8295
+ }, {
8296
+ readonly type: "object";
8297
+ readonly additionalProperties: false;
8298
+ readonly required: readonly ["kind", "errorCode", "anyOf"];
8299
+ readonly properties: {
8300
+ readonly kind: {
8301
+ readonly const: "actor-authority";
8302
+ };
8303
+ readonly errorCode: {
8304
+ readonly type: "string";
8305
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
8306
+ };
8307
+ readonly allowAppSuperAdmin: {
8308
+ readonly type: "boolean";
8309
+ };
8310
+ readonly anyOf: {
8311
+ readonly type: "array";
8312
+ readonly minItems: 1;
8313
+ readonly maxItems: 20;
8314
+ readonly uniqueItems: true;
8315
+ readonly items: {
8316
+ readonly type: "object";
8317
+ readonly additionalProperties: false;
8318
+ readonly required: readonly ["roleCode"];
8319
+ readonly properties: {
8320
+ readonly roleCode: {
8321
+ readonly type: "string";
8322
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
8323
+ readonly maxLength: 100;
8324
+ };
8325
+ readonly scope: {
8326
+ readonly type: "object";
8327
+ readonly additionalProperties: false;
8328
+ readonly required: readonly ["dimensionCode", "value", "operation"];
8329
+ readonly properties: {
8330
+ readonly dimensionCode: {
8331
+ readonly type: "string";
8332
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
8333
+ readonly maxLength: 100;
8334
+ };
8335
+ readonly value: {
8336
+ readonly type: "string";
8337
+ readonly minLength: 1;
8338
+ readonly maxLength: 255;
8339
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
8340
+ };
8341
+ readonly operation: {
8342
+ readonly type: "string";
8343
+ readonly maxLength: 64;
8344
+ readonly pattern: "^[A-Za-z0-9*][A-Za-z0-9*._:-]*$";
8345
+ };
8346
+ };
8347
+ };
8348
+ };
8349
+ };
8350
+ };
8351
+ };
8352
+ }, {
8111
8353
  readonly type: "object";
8112
8354
  readonly additionalProperties: false;
8113
8355
  readonly required: readonly ["kind", "operationIndex", "field", "operator", "offsetMilliseconds", "errorCode"];
@@ -8401,7 +8643,7 @@ export declare const dataTransactionRequestSchema: {
8401
8643
  readonly operations: {
8402
8644
  readonly type: "array";
8403
8645
  readonly minItems: 1;
8404
- readonly maxItems: 1000;
8646
+ readonly maxItems: number;
8405
8647
  readonly items: {
8406
8648
  readonly oneOf: readonly [{
8407
8649
  readonly type: "object";
@@ -8588,7 +8830,7 @@ export declare const dataTransactionResultSchema: {
8588
8830
  };
8589
8831
  readonly items: {
8590
8832
  readonly type: "array";
8591
- readonly maxItems: 1000;
8833
+ readonly maxItems: number;
8592
8834
  readonly items: {
8593
8835
  readonly oneOf: readonly [{
8594
8836
  readonly type: "object";
@@ -11306,6 +11548,9 @@ export declare const workflowBusinessStepHandlerSchema: {
11306
11548
  readonly mode: {
11307
11549
  readonly enum: readonly ["pure", "reconciled-effect"];
11308
11550
  };
11551
+ readonly dataTransaction: {
11552
+ readonly const: true;
11553
+ };
11309
11554
  readonly inputSchema: {
11310
11555
  readonly type: "object";
11311
11556
  };
@@ -11313,6 +11558,18 @@ export declare const workflowBusinessStepHandlerSchema: {
11313
11558
  readonly type: "object";
11314
11559
  };
11315
11560
  };
11561
+ readonly allOf: readonly [{
11562
+ readonly if: {
11563
+ readonly required: readonly ["dataTransaction"];
11564
+ };
11565
+ readonly then: {
11566
+ readonly properties: {
11567
+ readonly mode: {
11568
+ readonly const: "reconciled-effect";
11569
+ };
11570
+ };
11571
+ };
11572
+ }];
11316
11573
  };
11317
11574
  export declare const eventReceiptCommandSchema: {
11318
11575
  readonly $id: "openxiangda.event-receipt-command/v2";
@@ -11695,6 +11952,9 @@ export declare const eventHandlerManifestSchema: {
11695
11952
  readonly mode: {
11696
11953
  readonly enum: readonly ["pure", "reconciled-effect"];
11697
11954
  };
11955
+ readonly dataTransaction: {
11956
+ readonly const: true;
11957
+ };
11698
11958
  readonly inputSchema: {
11699
11959
  readonly type: "object";
11700
11960
  };
@@ -11702,6 +11962,18 @@ export declare const eventHandlerManifestSchema: {
11702
11962
  readonly type: "object";
11703
11963
  };
11704
11964
  };
11965
+ readonly allOf: readonly [{
11966
+ readonly if: {
11967
+ readonly required: readonly ["dataTransaction"];
11968
+ };
11969
+ readonly then: {
11970
+ readonly properties: {
11971
+ readonly mode: {
11972
+ readonly const: "reconciled-effect";
11973
+ };
11974
+ };
11975
+ };
11976
+ }];
11705
11977
  };
11706
11978
  };
11707
11979
  };
@@ -11773,7 +12045,22 @@ export declare const workflowBusinessStepNodeSchema: {
11773
12045
  readonly mode: {
11774
12046
  readonly enum: readonly ["pure", "reconciled-effect"];
11775
12047
  };
12048
+ readonly dataTransaction: {
12049
+ readonly const: true;
12050
+ };
11776
12051
  };
12052
+ readonly allOf: readonly [{
12053
+ readonly if: {
12054
+ readonly required: readonly ["dataTransaction"];
12055
+ };
12056
+ readonly then: {
12057
+ readonly properties: {
12058
+ readonly mode: {
12059
+ readonly const: "reconciled-effect";
12060
+ };
12061
+ };
12062
+ };
12063
+ }];
11777
12064
  };
11778
12065
  readonly inputSchema: {
11779
12066
  readonly type: "object";
@@ -11848,6 +12135,29 @@ export declare const workflowDefinitionSchema: {
11848
12135
  };
11849
12136
  };
11850
12137
  };
12138
+ readonly approvedDelegation: {
12139
+ readonly type: "object";
12140
+ readonly additionalProperties: false;
12141
+ readonly required: readonly ["confirmationNodeId", "confirmer", "requestsField", "maxRequests"];
12142
+ readonly properties: {
12143
+ readonly confirmationNodeId: {
12144
+ readonly type: "string";
12145
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,127}$";
12146
+ };
12147
+ readonly confirmer: {
12148
+ readonly enum: readonly ["initiator", "delegate"];
12149
+ };
12150
+ readonly requestsField: {
12151
+ readonly type: "string";
12152
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
12153
+ };
12154
+ readonly maxRequests: {
12155
+ readonly type: "integer";
12156
+ readonly minimum: 1;
12157
+ readonly maximum: 500;
12158
+ };
12159
+ };
12160
+ };
11851
12161
  readonly commandHandlers: {
11852
12162
  readonly type: "object";
11853
12163
  readonly additionalProperties: false;
@@ -12134,6 +12444,21 @@ export declare const workflowDefinitionSchema: {
12134
12444
  readonly initiatorApprovalPolicy: {
12135
12445
  readonly enum: readonly ["manual", "auto_approve"];
12136
12446
  };
12447
+ readonly completionDeadline: {
12448
+ readonly type: "object";
12449
+ readonly additionalProperties: false;
12450
+ readonly required: readonly ["afterSeconds", "action"];
12451
+ readonly properties: {
12452
+ readonly afterSeconds: {
12453
+ readonly type: "integer";
12454
+ readonly minimum: 1;
12455
+ readonly maximum: 2592000;
12456
+ };
12457
+ readonly action: {
12458
+ readonly const: "approve";
12459
+ };
12460
+ };
12461
+ };
12137
12462
  readonly onApprove: {
12138
12463
  readonly type: "string";
12139
12464
  readonly minLength: 1;
@@ -12155,6 +12480,9 @@ export declare const workflowDefinitionSchema: {
12155
12480
  additionalProperties: boolean;
12156
12481
  minProperties: number;
12157
12482
  properties: {
12483
+ reasonRequired?: {
12484
+ type: string;
12485
+ };
12158
12486
  commentRequired?: {
12159
12487
  type: string;
12160
12488
  };
@@ -12368,7 +12696,22 @@ export declare const workflowDefinitionSchema: {
12368
12696
  readonly mode: {
12369
12697
  readonly enum: readonly ["pure", "reconciled-effect"];
12370
12698
  };
12699
+ readonly dataTransaction: {
12700
+ readonly const: true;
12701
+ };
12371
12702
  };
12703
+ readonly allOf: readonly [{
12704
+ readonly if: {
12705
+ readonly required: readonly ["dataTransaction"];
12706
+ };
12707
+ readonly then: {
12708
+ readonly properties: {
12709
+ readonly mode: {
12710
+ readonly const: "reconciled-effect";
12711
+ };
12712
+ };
12713
+ };
12714
+ }];
12372
12715
  };
12373
12716
  readonly inputSchema: {
12374
12717
  readonly type: "object";
@@ -12408,6 +12751,31 @@ export declare const workflowDefinitionSchema: {
12408
12751
  };
12409
12752
  };
12410
12753
  };
12754
+ }, {
12755
+ readonly type: "object";
12756
+ readonly additionalProperties: false;
12757
+ readonly required: readonly ["id", "kind", "title", "taskPageCode", "next"];
12758
+ readonly properties: {
12759
+ readonly id: {
12760
+ readonly type: "string";
12761
+ readonly minLength: 1;
12762
+ };
12763
+ readonly kind: {
12764
+ readonly const: "correction";
12765
+ };
12766
+ readonly title: {
12767
+ readonly type: "string";
12768
+ readonly minLength: 1;
12769
+ };
12770
+ readonly taskPageCode: {
12771
+ readonly type: "string";
12772
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,63}$";
12773
+ };
12774
+ readonly next: {
12775
+ readonly type: "string";
12776
+ readonly minLength: 1;
12777
+ };
12778
+ };
12411
12779
  }];
12412
12780
  };
12413
12781
  };
@@ -12434,6 +12802,24 @@ export declare const workflowBindingSchema: {
12434
12802
  readonly additionalProperties: false;
12435
12803
  readonly required: readonly ["provider"];
12436
12804
  readonly allOf: readonly [{
12805
+ readonly if: {
12806
+ readonly required: readonly ["roleCodes"];
12807
+ };
12808
+ readonly then: {
12809
+ readonly properties: {
12810
+ readonly provider: {
12811
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
12812
+ };
12813
+ };
12814
+ readonly not: {
12815
+ readonly anyOf: readonly [{
12816
+ readonly required: readonly ["roleCode"];
12817
+ }, {
12818
+ readonly required: readonly ["candidateField"];
12819
+ }];
12820
+ };
12821
+ };
12822
+ }, {
12437
12823
  readonly if: {
12438
12824
  readonly required: readonly ["candidateField"];
12439
12825
  };
@@ -12488,6 +12874,17 @@ export declare const workflowBindingSchema: {
12488
12874
  readonly roleCode: {
12489
12875
  readonly type: "string";
12490
12876
  };
12877
+ readonly roleCodes: {
12878
+ readonly type: "array";
12879
+ readonly minItems: 2;
12880
+ readonly maxItems: 8;
12881
+ readonly uniqueItems: true;
12882
+ readonly items: {
12883
+ readonly type: "string";
12884
+ readonly maxLength: 128;
12885
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
12886
+ };
12887
+ };
12491
12888
  readonly scope: {
12492
12889
  readonly type: "object";
12493
12890
  readonly additionalProperties: false;
@@ -12747,6 +13144,105 @@ export declare const businessProcessCommitSchema: {
12747
13144
  readonly maxItems: 20;
12748
13145
  readonly items: {
12749
13146
  readonly oneOf: readonly [{
13147
+ readonly type: "object";
13148
+ readonly additionalProperties: false;
13149
+ readonly required: readonly ["kind", "resourceCode", "errorCode", "records"];
13150
+ readonly properties: {
13151
+ readonly kind: {
13152
+ readonly const: "record-set-match";
13153
+ };
13154
+ readonly resourceCode: {
13155
+ readonly type: "string";
13156
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
13157
+ };
13158
+ readonly errorCode: {
13159
+ readonly type: "string";
13160
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13161
+ };
13162
+ readonly records: {
13163
+ readonly type: "array";
13164
+ readonly minItems: 1;
13165
+ readonly maxItems: 500;
13166
+ readonly uniqueItems: true;
13167
+ readonly items: {
13168
+ readonly type: "object";
13169
+ readonly additionalProperties: false;
13170
+ readonly required: readonly ["id", "expectedRevision"];
13171
+ readonly properties: {
13172
+ readonly id: {
13173
+ readonly type: "string";
13174
+ 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}$";
13175
+ };
13176
+ readonly expectedRevision: {
13177
+ readonly type: "integer";
13178
+ readonly minimum: 1;
13179
+ readonly maximum: number;
13180
+ };
13181
+ };
13182
+ };
13183
+ };
13184
+ readonly where: {
13185
+ readonly $ref: "#/$defs/dataWhere";
13186
+ };
13187
+ };
13188
+ }, {
13189
+ readonly type: "object";
13190
+ readonly additionalProperties: false;
13191
+ readonly required: readonly ["kind", "errorCode", "anyOf"];
13192
+ readonly properties: {
13193
+ readonly kind: {
13194
+ readonly const: "actor-authority";
13195
+ };
13196
+ readonly errorCode: {
13197
+ readonly type: "string";
13198
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13199
+ };
13200
+ readonly allowAppSuperAdmin: {
13201
+ readonly type: "boolean";
13202
+ };
13203
+ readonly anyOf: {
13204
+ readonly type: "array";
13205
+ readonly minItems: 1;
13206
+ readonly maxItems: 20;
13207
+ readonly uniqueItems: true;
13208
+ readonly items: {
13209
+ readonly type: "object";
13210
+ readonly additionalProperties: false;
13211
+ readonly required: readonly ["roleCode"];
13212
+ readonly properties: {
13213
+ readonly roleCode: {
13214
+ readonly type: "string";
13215
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
13216
+ readonly maxLength: 100;
13217
+ };
13218
+ readonly scope: {
13219
+ readonly type: "object";
13220
+ readonly additionalProperties: false;
13221
+ readonly required: readonly ["dimensionCode", "value", "operation"];
13222
+ readonly properties: {
13223
+ readonly dimensionCode: {
13224
+ readonly type: "string";
13225
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
13226
+ readonly maxLength: 100;
13227
+ };
13228
+ readonly value: {
13229
+ readonly type: "string";
13230
+ readonly minLength: 1;
13231
+ readonly maxLength: 255;
13232
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
13233
+ };
13234
+ readonly operation: {
13235
+ readonly type: "string";
13236
+ readonly maxLength: 64;
13237
+ readonly pattern: "^[A-Za-z0-9*][A-Za-z0-9*._:-]*$";
13238
+ };
13239
+ };
13240
+ };
13241
+ };
13242
+ };
13243
+ };
13244
+ };
13245
+ }, {
12750
13246
  readonly type: "object";
12751
13247
  readonly additionalProperties: false;
12752
13248
  readonly required: readonly ["kind", "operationIndex", "field", "operator", "offsetMilliseconds", "errorCode"];
@@ -13343,6 +13839,38 @@ export declare const businessProcessCommandWithDataSchema: {
13343
13839
  readonly type: "object";
13344
13840
  readonly additionalProperties: false;
13345
13841
  readonly required: readonly ["schemaVersion", "environmentKey", "workflow", "subject", "data", "expectedTransition"];
13842
+ readonly allOf: readonly [{
13843
+ readonly if: {
13844
+ readonly properties: {
13845
+ readonly expectedTransition: {
13846
+ readonly required: readonly ["kind"];
13847
+ readonly properties: {
13848
+ readonly kind: {
13849
+ readonly const: "correction-replay";
13850
+ };
13851
+ };
13852
+ };
13853
+ };
13854
+ };
13855
+ readonly then: {
13856
+ readonly properties: {
13857
+ readonly workflow: {
13858
+ readonly properties: {
13859
+ readonly target: {
13860
+ readonly properties: {
13861
+ readonly kind: {
13862
+ readonly const: "task";
13863
+ };
13864
+ readonly command: {
13865
+ readonly const: "resubmit";
13866
+ };
13867
+ };
13868
+ };
13869
+ };
13870
+ };
13871
+ };
13872
+ };
13873
+ }];
13346
13874
  readonly properties: {
13347
13875
  readonly schemaVersion: {
13348
13876
  readonly const: "openxiangda.business-process-command-with-data/v2";
@@ -13373,7 +13901,7 @@ export declare const businessProcessCommandWithDataSchema: {
13373
13901
  readonly format: "uuid";
13374
13902
  };
13375
13903
  readonly command: {
13376
- readonly enum: readonly ["approve", "reject"];
13904
+ readonly enum: readonly ["approve", "reject", "resubmit"];
13377
13905
  };
13378
13906
  };
13379
13907
  }, {
@@ -13439,6 +13967,105 @@ export declare const businessProcessCommandWithDataSchema: {
13439
13967
  readonly maxItems: 20;
13440
13968
  readonly items: {
13441
13969
  readonly oneOf: readonly [{
13970
+ readonly type: "object";
13971
+ readonly additionalProperties: false;
13972
+ readonly required: readonly ["kind", "resourceCode", "errorCode", "records"];
13973
+ readonly properties: {
13974
+ readonly kind: {
13975
+ readonly const: "record-set-match";
13976
+ };
13977
+ readonly resourceCode: {
13978
+ readonly type: "string";
13979
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
13980
+ };
13981
+ readonly errorCode: {
13982
+ readonly type: "string";
13983
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13984
+ };
13985
+ readonly records: {
13986
+ readonly type: "array";
13987
+ readonly minItems: 1;
13988
+ readonly maxItems: 500;
13989
+ readonly uniqueItems: true;
13990
+ readonly items: {
13991
+ readonly type: "object";
13992
+ readonly additionalProperties: false;
13993
+ readonly required: readonly ["id", "expectedRevision"];
13994
+ readonly properties: {
13995
+ readonly id: {
13996
+ readonly type: "string";
13997
+ 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}$";
13998
+ };
13999
+ readonly expectedRevision: {
14000
+ readonly type: "integer";
14001
+ readonly minimum: 1;
14002
+ readonly maximum: number;
14003
+ };
14004
+ };
14005
+ };
14006
+ };
14007
+ readonly where: {
14008
+ readonly $ref: "#/$defs/dataWhere";
14009
+ };
14010
+ };
14011
+ }, {
14012
+ readonly type: "object";
14013
+ readonly additionalProperties: false;
14014
+ readonly required: readonly ["kind", "errorCode", "anyOf"];
14015
+ readonly properties: {
14016
+ readonly kind: {
14017
+ readonly const: "actor-authority";
14018
+ };
14019
+ readonly errorCode: {
14020
+ readonly type: "string";
14021
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
14022
+ };
14023
+ readonly allowAppSuperAdmin: {
14024
+ readonly type: "boolean";
14025
+ };
14026
+ readonly anyOf: {
14027
+ readonly type: "array";
14028
+ readonly minItems: 1;
14029
+ readonly maxItems: 20;
14030
+ readonly uniqueItems: true;
14031
+ readonly items: {
14032
+ readonly type: "object";
14033
+ readonly additionalProperties: false;
14034
+ readonly required: readonly ["roleCode"];
14035
+ readonly properties: {
14036
+ readonly roleCode: {
14037
+ readonly type: "string";
14038
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
14039
+ readonly maxLength: 100;
14040
+ };
14041
+ readonly scope: {
14042
+ readonly type: "object";
14043
+ readonly additionalProperties: false;
14044
+ readonly required: readonly ["dimensionCode", "value", "operation"];
14045
+ readonly properties: {
14046
+ readonly dimensionCode: {
14047
+ readonly type: "string";
14048
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
14049
+ readonly maxLength: 100;
14050
+ };
14051
+ readonly value: {
14052
+ readonly type: "string";
14053
+ readonly minLength: 1;
14054
+ readonly maxLength: 255;
14055
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
14056
+ };
14057
+ readonly operation: {
14058
+ readonly type: "string";
14059
+ readonly maxLength: 64;
14060
+ readonly pattern: "^[A-Za-z0-9*][A-Za-z0-9*._:-]*$";
14061
+ };
14062
+ };
14063
+ };
14064
+ };
14065
+ };
14066
+ };
14067
+ };
14068
+ }, {
13442
14069
  readonly type: "object";
13443
14070
  readonly additionalProperties: false;
13444
14071
  readonly required: readonly ["kind", "operationIndex", "field", "operator", "offsetMilliseconds", "errorCode"];
@@ -13849,23 +14476,34 @@ export declare const businessProcessCommandWithDataSchema: {
13849
14476
  };
13850
14477
  };
13851
14478
  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;
14479
+ readonly oneOf: readonly [{
14480
+ readonly type: "object";
14481
+ readonly additionalProperties: false;
14482
+ readonly required: readonly ["status", "outcome", "currentNodeId"];
14483
+ readonly properties: {
14484
+ readonly status: {
14485
+ readonly enum: readonly ["running", "approved", "rejected", "withdrawn"];
14486
+ };
14487
+ readonly outcome: {
14488
+ readonly type: readonly ["string", "null"];
14489
+ readonly maxLength: 128;
14490
+ };
14491
+ readonly currentNodeId: {
14492
+ readonly type: readonly ["string", "null"];
14493
+ readonly minLength: 1;
14494
+ readonly maxLength: 128;
14495
+ };
13862
14496
  };
13863
- readonly currentNodeId: {
13864
- readonly type: readonly ["string", "null"];
13865
- readonly minLength: 1;
13866
- readonly maxLength: 128;
14497
+ }, {
14498
+ readonly type: "object";
14499
+ readonly additionalProperties: false;
14500
+ readonly required: readonly ["kind"];
14501
+ readonly properties: {
14502
+ readonly kind: {
14503
+ readonly const: "correction-replay";
14504
+ };
13867
14505
  };
13868
- };
14506
+ }];
13869
14507
  };
13870
14508
  };
13871
14509
  };
@@ -16315,6 +16953,47 @@ export declare const workflowLaunchSurfaceSchema: {
16315
16953
  readonly additionalProperties: false;
16316
16954
  readonly required: readonly ["operationCode", "method", "href", "requiredCapability", "requestSchemaDigest", "responseSchemaDigest", "inputs", "output"];
16317
16955
  readonly properties: {
16956
+ readonly ownedSubject: {
16957
+ readonly type: "object";
16958
+ readonly additionalProperties: false;
16959
+ readonly required: readonly ["mode", "resourceCode", "subtables"];
16960
+ readonly properties: {
16961
+ readonly mode: {
16962
+ readonly const: "create";
16963
+ };
16964
+ readonly resourceCode: {
16965
+ readonly type: "string";
16966
+ readonly maxLength: 64;
16967
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
16968
+ };
16969
+ readonly subtables: {
16970
+ readonly type: "array";
16971
+ readonly minItems: 1;
16972
+ readonly maxItems: 16;
16973
+ readonly items: {
16974
+ readonly type: "object";
16975
+ readonly additionalProperties: false;
16976
+ readonly required: readonly ["fieldCode", "fieldCodes"];
16977
+ readonly properties: {
16978
+ readonly fieldCode: {
16979
+ readonly type: "string";
16980
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16981
+ };
16982
+ readonly fieldCodes: {
16983
+ readonly type: "array";
16984
+ readonly minItems: 1;
16985
+ readonly maxItems: 200;
16986
+ readonly uniqueItems: true;
16987
+ readonly items: {
16988
+ readonly type: "string";
16989
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
16990
+ };
16991
+ };
16992
+ };
16993
+ };
16994
+ };
16995
+ };
16996
+ };
16318
16997
  readonly operationCode: {
16319
16998
  readonly type: "string";
16320
16999
  readonly pattern: "^[A-Za-z][A-Za-z0-9_.:-]{0,254}$";
@@ -16399,6 +17078,47 @@ export declare const workflowLaunchSurfaceSchema: {
16399
17078
  readonly additionalProperties: false;
16400
17079
  readonly required: readonly ["operationCode", "method", "href", "requiredCapability", "requestSchemaDigest", "responseSchemaDigest", "inputs", "output"];
16401
17080
  readonly properties: {
17081
+ readonly ownedSubject: {
17082
+ readonly type: "object";
17083
+ readonly additionalProperties: false;
17084
+ readonly required: readonly ["mode", "resourceCode", "subtables"];
17085
+ readonly properties: {
17086
+ readonly mode: {
17087
+ readonly const: "create";
17088
+ };
17089
+ readonly resourceCode: {
17090
+ readonly type: "string";
17091
+ readonly maxLength: 64;
17092
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
17093
+ };
17094
+ readonly subtables: {
17095
+ readonly type: "array";
17096
+ readonly minItems: 1;
17097
+ readonly maxItems: 16;
17098
+ readonly items: {
17099
+ readonly type: "object";
17100
+ readonly additionalProperties: false;
17101
+ readonly required: readonly ["fieldCode", "fieldCodes"];
17102
+ readonly properties: {
17103
+ readonly fieldCode: {
17104
+ readonly type: "string";
17105
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
17106
+ };
17107
+ readonly fieldCodes: {
17108
+ readonly type: "array";
17109
+ readonly minItems: 1;
17110
+ readonly maxItems: 200;
17111
+ readonly uniqueItems: true;
17112
+ readonly items: {
17113
+ readonly type: "string";
17114
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
17115
+ };
17116
+ };
17117
+ };
17118
+ };
17119
+ };
17120
+ };
17121
+ };
16402
17122
  readonly operationCode: {
16403
17123
  readonly type: "string";
16404
17124
  readonly pattern: "^[A-Za-z][A-Za-z0-9_.:-]{0,254}$";
@@ -16526,6 +17246,10 @@ export declare const workflowDelegationSchema: {
16526
17246
  readonly workflowCode: {
16527
17247
  readonly type: readonly ["string", "null"];
16528
17248
  };
17249
+ readonly nodeId: {
17250
+ readonly type: readonly ["string", "null"];
17251
+ readonly pattern: "^[A-Za-z0-9._:-]{1,128}$";
17252
+ };
16529
17253
  readonly delegatorUserId: {
16530
17254
  readonly type: "string";
16531
17255
  readonly minLength: 1;
@@ -17109,7 +17833,7 @@ export declare const configurationBundleSchema: {
17109
17833
  };
17110
17834
  readonly capabilities: {
17111
17835
  readonly type: "array";
17112
- readonly maxItems: 2000;
17836
+ readonly maxItems: 4096;
17113
17837
  readonly items: {
17114
17838
  readonly type: "object";
17115
17839
  readonly additionalProperties: false;
@@ -17136,7 +17860,7 @@ export declare const configurationBundleSchema: {
17136
17860
  };
17137
17861
  readonly roles: {
17138
17862
  readonly type: "array";
17139
- readonly maxItems: 100;
17863
+ readonly maxItems: 256;
17140
17864
  readonly items: {
17141
17865
  readonly type: "object";
17142
17866
  readonly additionalProperties: false;
@@ -17489,7 +18213,7 @@ export declare const configurationBundleSchema: {
17489
18213
  };
17490
18214
  readonly dataPolicies: {
17491
18215
  readonly type: "array";
17492
- readonly maxItems: 100;
18216
+ readonly maxItems: 512;
17493
18217
  readonly items: {
17494
18218
  readonly type: "object";
17495
18219
  readonly additionalProperties: false;
@@ -17520,6 +18244,23 @@ export declare const configurationBundleSchema: {
17520
18244
  readonly maxLength: 128;
17521
18245
  };
17522
18246
  };
18247
+ readonly publicRead: {
18248
+ readonly type: "object";
18249
+ readonly additionalProperties: false;
18250
+ readonly required: readonly ["fields"];
18251
+ readonly properties: {
18252
+ readonly fields: {
18253
+ readonly type: "array";
18254
+ readonly minItems: 1;
18255
+ readonly maxItems: 1000;
18256
+ readonly uniqueItems: true;
18257
+ readonly items: {
18258
+ readonly type: "string";
18259
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
18260
+ };
18261
+ };
18262
+ };
18263
+ };
17523
18264
  readonly operations: {
17524
18265
  readonly type: "array";
17525
18266
  readonly minItems: 1;
@@ -17787,6 +18528,25 @@ export declare const configurationBundleSchema: {
17787
18528
  readonly not: {
17788
18529
  readonly required: readonly ["operations", "readExpression"];
17789
18530
  };
18531
+ }, {
18532
+ readonly if: {
18533
+ readonly required: readonly ["publicRead"];
18534
+ };
18535
+ readonly then: {
18536
+ readonly required: readonly ["operations"];
18537
+ readonly properties: {
18538
+ readonly operations: {
18539
+ readonly const: readonly ["read"];
18540
+ };
18541
+ };
18542
+ readonly not: {
18543
+ readonly anyOf: readonly [{
18544
+ readonly required: readonly ["readExpression"];
18545
+ }, {
18546
+ readonly required: readonly ["writeBoundary"];
18547
+ }];
18548
+ };
18549
+ };
17790
18550
  }];
17791
18551
  };
17792
18552
  };
@@ -17886,6 +18646,97 @@ export declare const configurationBundleSchema: {
17886
18646
  readonly additionalProperties: false;
17887
18647
  readonly minProperties: 1;
17888
18648
  readonly properties: {
18649
+ readonly ownedSubject: {
18650
+ readonly type: "object";
18651
+ readonly additionalProperties: false;
18652
+ readonly required: readonly ["mode", "resourceCode", "subtables"];
18653
+ readonly properties: {
18654
+ readonly mode: {
18655
+ readonly const: "create";
18656
+ };
18657
+ readonly resourceCode: {
18658
+ readonly type: "string";
18659
+ readonly maxLength: 64;
18660
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
18661
+ };
18662
+ readonly subtables: {
18663
+ readonly type: "array";
18664
+ readonly minItems: 1;
18665
+ readonly maxItems: 16;
18666
+ readonly items: {
18667
+ readonly type: "object";
18668
+ readonly additionalProperties: false;
18669
+ readonly required: readonly ["fieldCode", "fieldCodes"];
18670
+ readonly properties: {
18671
+ readonly fieldCode: {
18672
+ readonly type: "string";
18673
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
18674
+ };
18675
+ readonly fieldCodes: {
18676
+ readonly type: "array";
18677
+ readonly minItems: 1;
18678
+ readonly maxItems: 200;
18679
+ readonly uniqueItems: true;
18680
+ readonly items: {
18681
+ readonly type: "string";
18682
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
18683
+ };
18684
+ };
18685
+ };
18686
+ };
18687
+ };
18688
+ };
18689
+ };
18690
+ readonly workflowStage: {
18691
+ readonly type: "object";
18692
+ readonly additionalProperties: false;
18693
+ readonly required: readonly ["workflowCode", "resourceCode", "actor", "runningNodeIds", "allowedStatuses"];
18694
+ readonly properties: {
18695
+ readonly workflowCode: {
18696
+ readonly type: "string";
18697
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
18698
+ readonly maxLength: 100;
18699
+ };
18700
+ readonly resourceCode: {
18701
+ readonly type: "string";
18702
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
18703
+ readonly maxLength: 100;
18704
+ };
18705
+ readonly actor: {
18706
+ readonly enum: readonly ["initiator", "reader"];
18707
+ };
18708
+ readonly runningNodeIds: {
18709
+ readonly type: "array";
18710
+ readonly maxItems: 32;
18711
+ readonly uniqueItems: true;
18712
+ readonly items: {
18713
+ readonly type: "string";
18714
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$";
18715
+ };
18716
+ };
18717
+ readonly allowedStatuses: {
18718
+ readonly type: "array";
18719
+ readonly maxItems: 5;
18720
+ readonly uniqueItems: true;
18721
+ readonly items: {
18722
+ readonly enum: readonly ["approved", "rejected", "cancelled", "terminated", "returned"];
18723
+ };
18724
+ };
18725
+ };
18726
+ readonly anyOf: readonly [{
18727
+ readonly properties: {
18728
+ readonly runningNodeIds: {
18729
+ readonly minItems: 1;
18730
+ };
18731
+ };
18732
+ }, {
18733
+ readonly properties: {
18734
+ readonly allowedStatuses: {
18735
+ readonly minItems: 1;
18736
+ };
18737
+ };
18738
+ }];
18739
+ };
17889
18740
  readonly recordEdit: {
17890
18741
  readonly type: "object";
17891
18742
  readonly additionalProperties: false;
@@ -17933,6 +18784,9 @@ export declare const configurationBundleSchema: {
17933
18784
  readonly maxLength: 100;
17934
18785
  };
17935
18786
  };
18787
+ readonly actorAuthority: {
18788
+ readonly const: true;
18789
+ };
17936
18790
  };
17937
18791
  };
17938
18792
  readonly directory: {
@@ -18081,10 +18935,10 @@ export declare const configurationBundleSchema: {
18081
18935
  readonly businessCommands: {
18082
18936
  readonly type: "array";
18083
18937
  readonly minItems: 1;
18084
- readonly maxItems: 3;
18938
+ readonly maxItems: 4;
18085
18939
  readonly uniqueItems: true;
18086
18940
  readonly items: {
18087
- readonly enum: readonly ["approve", "reject", "withdraw"];
18941
+ readonly enum: readonly ["approve", "reject", "withdraw", "resubmit"];
18088
18942
  };
18089
18943
  };
18090
18944
  };
@@ -18466,7 +19320,7 @@ export declare const configurationBundleSchema: {
18466
19320
  readonly properties: {
18467
19321
  readonly resources: {
18468
19322
  readonly type: "array";
18469
- readonly maxItems: 100;
19323
+ readonly maxItems: 512;
18470
19324
  readonly items: {
18471
19325
  readonly $ref: "openxiangda.data-resource/v2";
18472
19326
  };
@@ -18701,21 +19555,21 @@ export declare const configurationBundleSchema: {
18701
19555
  readonly properties: {
18702
19556
  readonly definitions: {
18703
19557
  readonly type: "array";
18704
- readonly maxItems: 100;
19558
+ readonly maxItems: 512;
18705
19559
  readonly items: {
18706
19560
  readonly type: "object";
18707
19561
  };
18708
19562
  };
18709
19563
  readonly bindings: {
18710
19564
  readonly type: "array";
18711
- readonly maxItems: 100;
19565
+ readonly maxItems: 512;
18712
19566
  readonly items: {
18713
19567
  readonly type: "object";
18714
19568
  };
18715
19569
  };
18716
19570
  readonly activations: {
18717
19571
  readonly type: "array";
18718
- readonly maxItems: 100;
19572
+ readonly maxItems: 512;
18719
19573
  readonly items: {
18720
19574
  readonly type: "object";
18721
19575
  };
@@ -18743,7 +19597,7 @@ export declare const configurationBundleSchema: {
18743
19597
  readonly properties: {
18744
19598
  readonly routes: {
18745
19599
  readonly type: "array";
18746
- readonly maxItems: 500;
19600
+ readonly maxItems: 2048;
18747
19601
  readonly items: {
18748
19602
  readonly type: "object";
18749
19603
  readonly additionalProperties: false;
@@ -19537,7 +20391,7 @@ export declare const applicationRouteManifestSchema: {
19537
20391
  };
19538
20392
  readonly routes: {
19539
20393
  readonly type: "array";
19540
- readonly maxItems: 512;
20394
+ readonly maxItems: 2048;
19541
20395
  readonly items: {
19542
20396
  readonly type: "object";
19543
20397
  readonly additionalProperties: false;
@@ -19789,7 +20643,7 @@ export declare const contractBundleSchema: {
19789
20643
  };
19790
20644
  readonly resources: {
19791
20645
  readonly type: "array";
19792
- readonly maxItems: 100;
20646
+ readonly maxItems: 512;
19793
20647
  readonly items: {
19794
20648
  readonly type: "object";
19795
20649
  };
@@ -19904,7 +20758,7 @@ export declare const contractBundleSchema: {
19904
20758
  };
19905
20759
  readonly capabilities: {
19906
20760
  readonly type: "array";
19907
- readonly maxItems: 2000;
20761
+ readonly maxItems: 4096;
19908
20762
  readonly items: {
19909
20763
  readonly type: "object";
19910
20764
  };
@@ -20041,6 +20895,9 @@ export declare const contractBundleSchema: {
20041
20895
  readonly mode: {
20042
20896
  readonly enum: readonly ["pure", "reconciled-effect"];
20043
20897
  };
20898
+ readonly dataTransaction: {
20899
+ readonly const: true;
20900
+ };
20044
20901
  readonly inputSchema: {
20045
20902
  readonly type: "object";
20046
20903
  };
@@ -20048,6 +20905,18 @@ export declare const contractBundleSchema: {
20048
20905
  readonly type: "object";
20049
20906
  };
20050
20907
  };
20908
+ readonly allOf: readonly [{
20909
+ readonly if: {
20910
+ readonly required: readonly ["dataTransaction"];
20911
+ };
20912
+ readonly then: {
20913
+ readonly properties: {
20914
+ readonly mode: {
20915
+ readonly const: "reconciled-effect";
20916
+ };
20917
+ };
20918
+ };
20919
+ }];
20051
20920
  };
20052
20921
  };
20053
20922
  };
@@ -20064,14 +20933,14 @@ export declare const contractBundleSchema: {
20064
20933
  };
20065
20934
  readonly workflows: {
20066
20935
  readonly type: "array";
20067
- readonly maxItems: 100;
20936
+ readonly maxItems: 512;
20068
20937
  readonly items: {
20069
20938
  readonly type: "object";
20070
20939
  };
20071
20940
  };
20072
20941
  readonly routes: {
20073
20942
  readonly type: "array";
20074
- readonly maxItems: 500;
20943
+ readonly maxItems: 2048;
20075
20944
  readonly items: {
20076
20945
  readonly required: readonly ["code", "path", "label", "surface", "tabPersistence", "keepAlive"];
20077
20946
  readonly type: "object";
@@ -20670,7 +21539,7 @@ export declare const contractBundleSchema: {
20670
21539
  };
20671
21540
  readonly routes: {
20672
21541
  readonly type: "array";
20673
- readonly maxItems: 512;
21542
+ readonly maxItems: 2048;
20674
21543
  readonly items: {
20675
21544
  readonly type: "object";
20676
21545
  readonly additionalProperties: false;
@@ -20883,7 +21752,7 @@ export declare const contractBundleSchema: {
20883
21752
  };
20884
21753
  readonly adminPages: {
20885
21754
  readonly type: "array";
20886
- readonly maxItems: 500;
21755
+ readonly maxItems: 2048;
20887
21756
  readonly items: {
20888
21757
  readonly type: "object";
20889
21758
  readonly additionalProperties: false;
@@ -26117,6 +26986,10 @@ export declare const contractSchemas: {
26117
26986
  readonly minLength: 1;
26118
26987
  readonly maxLength: 255;
26119
26988
  };
26989
+ readonly subtableFieldCode: {
26990
+ readonly type: "string";
26991
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
26992
+ };
26120
26993
  };
26121
26994
  };
26122
26995
  readonly keyword: {
@@ -26138,6 +27011,89 @@ export declare const contractSchemas: {
26138
27011
  };
26139
27012
  };
26140
27013
  };
27014
+ readonly workflowTaskFieldSourceQuery: {
27015
+ readonly $id: "openxiangda.workflow-task-field-source-query/v2";
27016
+ readonly type: "object";
27017
+ readonly additionalProperties: false;
27018
+ readonly required: readonly ["schemaVersion", "expectedRevision", "expectedTaskVersion"];
27019
+ readonly properties: {
27020
+ readonly schemaVersion: {
27021
+ readonly const: "openxiangda.workflow-task-field-source-query/v2";
27022
+ };
27023
+ readonly expectedRevision: {
27024
+ readonly type: "integer";
27025
+ readonly minimum: 1;
27026
+ readonly maximum: number;
27027
+ };
27028
+ readonly expectedTaskVersion: {
27029
+ readonly type: "integer";
27030
+ readonly minimum: 1;
27031
+ readonly maximum: number;
27032
+ };
27033
+ readonly keyword: {
27034
+ readonly type: "string";
27035
+ readonly maxLength: 500;
27036
+ };
27037
+ readonly cursor: {
27038
+ readonly type: "string";
27039
+ readonly minLength: 1;
27040
+ readonly maxLength: 4096;
27041
+ };
27042
+ readonly bindings: {
27043
+ readonly type: "object";
27044
+ readonly maxProperties: 20;
27045
+ readonly propertyNames: {
27046
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
27047
+ };
27048
+ readonly additionalProperties: true;
27049
+ };
27050
+ readonly subtable: {
27051
+ readonly type: "object";
27052
+ readonly additionalProperties: false;
27053
+ readonly required: readonly ["fieldCode", "row"];
27054
+ readonly properties: {
27055
+ readonly fieldCode: {
27056
+ readonly type: "string";
27057
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
27058
+ };
27059
+ readonly row: {
27060
+ readonly oneOf: readonly [{
27061
+ readonly type: "object";
27062
+ readonly additionalProperties: false;
27063
+ readonly required: readonly ["kind", "id", "expectedRevision"];
27064
+ readonly properties: {
27065
+ readonly kind: {
27066
+ readonly const: "persisted";
27067
+ };
27068
+ readonly id: {
27069
+ readonly type: "string";
27070
+ readonly format: "uuid";
27071
+ };
27072
+ readonly expectedRevision: {
27073
+ readonly type: "integer";
27074
+ readonly minimum: 1;
27075
+ readonly maximum: number;
27076
+ };
27077
+ };
27078
+ }, {
27079
+ readonly type: "object";
27080
+ readonly additionalProperties: false;
27081
+ readonly required: readonly ["kind", "key"];
27082
+ readonly properties: {
27083
+ readonly kind: {
27084
+ readonly const: "new";
27085
+ };
27086
+ readonly key: {
27087
+ readonly type: "string";
27088
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9_.:-]{0,127}$";
27089
+ };
27090
+ };
27091
+ }];
27092
+ };
27093
+ };
27094
+ };
27095
+ };
27096
+ };
26141
27097
  readonly dataFieldSourcePage: {
26142
27098
  readonly $id: "openxiangda.data-field-source-page/v2";
26143
27099
  readonly type: "object";
@@ -26268,8 +27224,18 @@ export declare const contractSchemas: {
26268
27224
  readonly minLength: 1;
26269
27225
  readonly maxLength: 255;
26270
27226
  };
27227
+ readonly subtableFieldCode: {
27228
+ readonly type: "string";
27229
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
27230
+ };
26271
27231
  };
26272
27232
  };
27233
+ readonly scopeValue: {
27234
+ readonly type: "string";
27235
+ readonly minLength: 1;
27236
+ readonly maxLength: 255;
27237
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
27238
+ };
26273
27239
  readonly schemaVersion: {
26274
27240
  readonly const: "openxiangda.user-candidates-query/v2";
26275
27241
  };
@@ -26349,6 +27315,10 @@ export declare const contractSchemas: {
26349
27315
  readonly minLength: 1;
26350
27316
  readonly maxLength: 255;
26351
27317
  };
27318
+ readonly subtableFieldCode: {
27319
+ readonly type: "string";
27320
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
27321
+ };
26352
27322
  };
26353
27323
  };
26354
27324
  readonly schemaVersion: {
@@ -26684,6 +27654,11 @@ export declare const contractSchemas: {
26684
27654
  readonly additionalProperties: false;
26685
27655
  readonly required: readonly ["fields"];
26686
27656
  readonly properties: {
27657
+ readonly ownedRowLimit: {
27658
+ readonly type: "integer";
27659
+ readonly minimum: 1;
27660
+ readonly maximum: 1000;
27661
+ };
26687
27662
  readonly fields: {
26688
27663
  readonly type: "array";
26689
27664
  readonly minItems: 1;
@@ -26853,6 +27828,9 @@ export declare const contractSchemas: {
26853
27828
  readonly loadMode: {
26854
27829
  readonly enum: readonly ["search", "all"];
26855
27830
  };
27831
+ readonly clearOnBindingChange: {
27832
+ readonly type: "boolean";
27833
+ };
26856
27834
  };
26857
27835
  };
26858
27836
  readonly userCandidates: {
@@ -26901,6 +27879,9 @@ export declare const contractSchemas: {
26901
27879
  readonly maxLength: 255;
26902
27880
  readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
26903
27881
  };
27882
+ readonly creation: {
27883
+ readonly const: "prospective";
27884
+ };
26904
27885
  };
26905
27886
  readonly oneOf: readonly [{
26906
27887
  readonly required: readonly ["field"];
@@ -26910,7 +27891,11 @@ export declare const contractSchemas: {
26910
27891
  }, {
26911
27892
  readonly required: readonly ["value"];
26912
27893
  readonly not: {
26913
- readonly required: readonly ["field"];
27894
+ readonly anyOf: readonly [{
27895
+ readonly required: readonly ["field"];
27896
+ }, {
27897
+ readonly required: readonly ["creation"];
27898
+ }];
26914
27899
  };
26915
27900
  }];
26916
27901
  };
@@ -27007,10 +27992,15 @@ export declare const contractSchemas: {
27007
27992
  readonly type: "string";
27008
27993
  readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
27009
27994
  };
27995
+ readonly minRows: {
27996
+ readonly type: "integer";
27997
+ readonly minimum: 0;
27998
+ readonly maximum: 500;
27999
+ };
27010
28000
  readonly maxRows: {
27011
28001
  readonly type: "integer";
27012
28002
  readonly minimum: 1;
27013
- readonly maximum: 100;
28003
+ readonly maximum: 500;
27014
28004
  };
27015
28005
  };
27016
28006
  };
@@ -27834,6 +28824,9 @@ export declare const contractSchemas: {
27834
28824
  readonly loadMode: {
27835
28825
  readonly enum: readonly ["search", "all"];
27836
28826
  };
28827
+ readonly clearOnBindingChange: {
28828
+ readonly type: "boolean";
28829
+ };
27837
28830
  };
27838
28831
  };
27839
28832
  readonly userCandidates: {
@@ -27882,6 +28875,9 @@ export declare const contractSchemas: {
27882
28875
  readonly maxLength: 255;
27883
28876
  readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
27884
28877
  };
28878
+ readonly creation: {
28879
+ readonly const: "prospective";
28880
+ };
27885
28881
  };
27886
28882
  readonly oneOf: readonly [{
27887
28883
  readonly required: readonly ["field"];
@@ -27891,7 +28887,11 @@ export declare const contractSchemas: {
27891
28887
  }, {
27892
28888
  readonly required: readonly ["value"];
27893
28889
  readonly not: {
27894
- readonly required: readonly ["field"];
28890
+ readonly anyOf: readonly [{
28891
+ readonly required: readonly ["field"];
28892
+ }, {
28893
+ readonly required: readonly ["creation"];
28894
+ }];
27895
28895
  };
27896
28896
  }];
27897
28897
  };
@@ -27936,10 +28936,15 @@ export declare const contractSchemas: {
27936
28936
  readonly type: "string";
27937
28937
  readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
27938
28938
  };
28939
+ readonly minRows: {
28940
+ readonly type: "integer";
28941
+ readonly minimum: 0;
28942
+ readonly maximum: 500;
28943
+ };
27939
28944
  readonly maxRows: {
27940
28945
  readonly type: "integer";
27941
28946
  readonly minimum: 1;
27942
- readonly maximum: 100;
28947
+ readonly maximum: 500;
27943
28948
  };
27944
28949
  };
27945
28950
  };
@@ -29409,6 +30414,105 @@ export declare const contractSchemas: {
29409
30414
  readonly maxItems: 20;
29410
30415
  readonly items: {
29411
30416
  readonly oneOf: readonly [{
30417
+ readonly type: "object";
30418
+ readonly additionalProperties: false;
30419
+ readonly required: readonly ["kind", "resourceCode", "errorCode", "records"];
30420
+ readonly properties: {
30421
+ readonly kind: {
30422
+ readonly const: "record-set-match";
30423
+ };
30424
+ readonly resourceCode: {
30425
+ readonly type: "string";
30426
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
30427
+ };
30428
+ readonly errorCode: {
30429
+ readonly type: "string";
30430
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
30431
+ };
30432
+ readonly records: {
30433
+ readonly type: "array";
30434
+ readonly minItems: 1;
30435
+ readonly maxItems: 500;
30436
+ readonly uniqueItems: true;
30437
+ readonly items: {
30438
+ readonly type: "object";
30439
+ readonly additionalProperties: false;
30440
+ readonly required: readonly ["id", "expectedRevision"];
30441
+ readonly properties: {
30442
+ readonly id: {
30443
+ readonly type: "string";
30444
+ 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}$";
30445
+ };
30446
+ readonly expectedRevision: {
30447
+ readonly type: "integer";
30448
+ readonly minimum: 1;
30449
+ readonly maximum: number;
30450
+ };
30451
+ };
30452
+ };
30453
+ };
30454
+ readonly where: {
30455
+ readonly $ref: "#/$defs/dataWhere";
30456
+ };
30457
+ };
30458
+ }, {
30459
+ readonly type: "object";
30460
+ readonly additionalProperties: false;
30461
+ readonly required: readonly ["kind", "errorCode", "anyOf"];
30462
+ readonly properties: {
30463
+ readonly kind: {
30464
+ readonly const: "actor-authority";
30465
+ };
30466
+ readonly errorCode: {
30467
+ readonly type: "string";
30468
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
30469
+ };
30470
+ readonly allowAppSuperAdmin: {
30471
+ readonly type: "boolean";
30472
+ };
30473
+ readonly anyOf: {
30474
+ readonly type: "array";
30475
+ readonly minItems: 1;
30476
+ readonly maxItems: 20;
30477
+ readonly uniqueItems: true;
30478
+ readonly items: {
30479
+ readonly type: "object";
30480
+ readonly additionalProperties: false;
30481
+ readonly required: readonly ["roleCode"];
30482
+ readonly properties: {
30483
+ readonly roleCode: {
30484
+ readonly type: "string";
30485
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
30486
+ readonly maxLength: 100;
30487
+ };
30488
+ readonly scope: {
30489
+ readonly type: "object";
30490
+ readonly additionalProperties: false;
30491
+ readonly required: readonly ["dimensionCode", "value", "operation"];
30492
+ readonly properties: {
30493
+ readonly dimensionCode: {
30494
+ readonly type: "string";
30495
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
30496
+ readonly maxLength: 100;
30497
+ };
30498
+ readonly value: {
30499
+ readonly type: "string";
30500
+ readonly minLength: 1;
30501
+ readonly maxLength: 255;
30502
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
30503
+ };
30504
+ readonly operation: {
30505
+ readonly type: "string";
30506
+ readonly maxLength: 64;
30507
+ readonly pattern: "^[A-Za-z0-9*][A-Za-z0-9*._:-]*$";
30508
+ };
30509
+ };
30510
+ };
30511
+ };
30512
+ };
30513
+ };
30514
+ };
30515
+ }, {
29412
30516
  readonly type: "object";
29413
30517
  readonly additionalProperties: false;
29414
30518
  readonly required: readonly ["kind", "operationIndex", "field", "operator", "offsetMilliseconds", "errorCode"];
@@ -29702,7 +30806,7 @@ export declare const contractSchemas: {
29702
30806
  readonly operations: {
29703
30807
  readonly type: "array";
29704
30808
  readonly minItems: 1;
29705
- readonly maxItems: 1000;
30809
+ readonly maxItems: number;
29706
30810
  readonly items: {
29707
30811
  readonly oneOf: readonly [{
29708
30812
  readonly type: "object";
@@ -29889,7 +30993,7 @@ export declare const contractSchemas: {
29889
30993
  };
29890
30994
  readonly items: {
29891
30995
  readonly type: "array";
29892
- readonly maxItems: 1000;
30996
+ readonly maxItems: number;
29893
30997
  readonly items: {
29894
30998
  readonly oneOf: readonly [{
29895
30999
  readonly type: "object";
@@ -30164,6 +31268,9 @@ export declare const contractSchemas: {
30164
31268
  readonly mode: {
30165
31269
  readonly enum: readonly ["pure", "reconciled-effect"];
30166
31270
  };
31271
+ readonly dataTransaction: {
31272
+ readonly const: true;
31273
+ };
30167
31274
  readonly inputSchema: {
30168
31275
  readonly type: "object";
30169
31276
  };
@@ -30171,6 +31278,18 @@ export declare const contractSchemas: {
30171
31278
  readonly type: "object";
30172
31279
  };
30173
31280
  };
31281
+ readonly allOf: readonly [{
31282
+ readonly if: {
31283
+ readonly required: readonly ["dataTransaction"];
31284
+ };
31285
+ readonly then: {
31286
+ readonly properties: {
31287
+ readonly mode: {
31288
+ readonly const: "reconciled-effect";
31289
+ };
31290
+ };
31291
+ };
31292
+ }];
30174
31293
  };
30175
31294
  };
30176
31295
  };
@@ -31099,6 +32218,29 @@ export declare const contractSchemas: {
31099
32218
  };
31100
32219
  };
31101
32220
  };
32221
+ readonly approvedDelegation: {
32222
+ readonly type: "object";
32223
+ readonly additionalProperties: false;
32224
+ readonly required: readonly ["confirmationNodeId", "confirmer", "requestsField", "maxRequests"];
32225
+ readonly properties: {
32226
+ readonly confirmationNodeId: {
32227
+ readonly type: "string";
32228
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,127}$";
32229
+ };
32230
+ readonly confirmer: {
32231
+ readonly enum: readonly ["initiator", "delegate"];
32232
+ };
32233
+ readonly requestsField: {
32234
+ readonly type: "string";
32235
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32236
+ };
32237
+ readonly maxRequests: {
32238
+ readonly type: "integer";
32239
+ readonly minimum: 1;
32240
+ readonly maximum: 500;
32241
+ };
32242
+ };
32243
+ };
31102
32244
  readonly commandHandlers: {
31103
32245
  readonly type: "object";
31104
32246
  readonly additionalProperties: false;
@@ -31385,6 +32527,21 @@ export declare const contractSchemas: {
31385
32527
  readonly initiatorApprovalPolicy: {
31386
32528
  readonly enum: readonly ["manual", "auto_approve"];
31387
32529
  };
32530
+ readonly completionDeadline: {
32531
+ readonly type: "object";
32532
+ readonly additionalProperties: false;
32533
+ readonly required: readonly ["afterSeconds", "action"];
32534
+ readonly properties: {
32535
+ readonly afterSeconds: {
32536
+ readonly type: "integer";
32537
+ readonly minimum: 1;
32538
+ readonly maximum: 2592000;
32539
+ };
32540
+ readonly action: {
32541
+ readonly const: "approve";
32542
+ };
32543
+ };
32544
+ };
31388
32545
  readonly onApprove: {
31389
32546
  readonly type: "string";
31390
32547
  readonly minLength: 1;
@@ -31406,6 +32563,9 @@ export declare const contractSchemas: {
31406
32563
  additionalProperties: boolean;
31407
32564
  minProperties: number;
31408
32565
  properties: {
32566
+ reasonRequired?: {
32567
+ type: string;
32568
+ };
31409
32569
  commentRequired?: {
31410
32570
  type: string;
31411
32571
  };
@@ -31619,7 +32779,22 @@ export declare const contractSchemas: {
31619
32779
  readonly mode: {
31620
32780
  readonly enum: readonly ["pure", "reconciled-effect"];
31621
32781
  };
32782
+ readonly dataTransaction: {
32783
+ readonly const: true;
32784
+ };
31622
32785
  };
32786
+ readonly allOf: readonly [{
32787
+ readonly if: {
32788
+ readonly required: readonly ["dataTransaction"];
32789
+ };
32790
+ readonly then: {
32791
+ readonly properties: {
32792
+ readonly mode: {
32793
+ readonly const: "reconciled-effect";
32794
+ };
32795
+ };
32796
+ };
32797
+ }];
31623
32798
  };
31624
32799
  readonly inputSchema: {
31625
32800
  readonly type: "object";
@@ -31659,6 +32834,31 @@ export declare const contractSchemas: {
31659
32834
  };
31660
32835
  };
31661
32836
  };
32837
+ }, {
32838
+ readonly type: "object";
32839
+ readonly additionalProperties: false;
32840
+ readonly required: readonly ["id", "kind", "title", "taskPageCode", "next"];
32841
+ readonly properties: {
32842
+ readonly id: {
32843
+ readonly type: "string";
32844
+ readonly minLength: 1;
32845
+ };
32846
+ readonly kind: {
32847
+ readonly const: "correction";
32848
+ };
32849
+ readonly title: {
32850
+ readonly type: "string";
32851
+ readonly minLength: 1;
32852
+ };
32853
+ readonly taskPageCode: {
32854
+ readonly type: "string";
32855
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]{0,63}$";
32856
+ };
32857
+ readonly next: {
32858
+ readonly type: "string";
32859
+ readonly minLength: 1;
32860
+ };
32861
+ };
31662
32862
  }];
31663
32863
  };
31664
32864
  };
@@ -31685,6 +32885,24 @@ export declare const contractSchemas: {
31685
32885
  readonly additionalProperties: false;
31686
32886
  readonly required: readonly ["provider"];
31687
32887
  readonly allOf: readonly [{
32888
+ readonly if: {
32889
+ readonly required: readonly ["roleCodes"];
32890
+ };
32891
+ readonly then: {
32892
+ readonly properties: {
32893
+ readonly provider: {
32894
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
32895
+ };
32896
+ };
32897
+ readonly not: {
32898
+ readonly anyOf: readonly [{
32899
+ readonly required: readonly ["roleCode"];
32900
+ }, {
32901
+ readonly required: readonly ["candidateField"];
32902
+ }];
32903
+ };
32904
+ };
32905
+ }, {
31688
32906
  readonly if: {
31689
32907
  readonly required: readonly ["candidateField"];
31690
32908
  };
@@ -31739,6 +32957,17 @@ export declare const contractSchemas: {
31739
32957
  readonly roleCode: {
31740
32958
  readonly type: "string";
31741
32959
  };
32960
+ readonly roleCodes: {
32961
+ readonly type: "array";
32962
+ readonly minItems: 2;
32963
+ readonly maxItems: 8;
32964
+ readonly uniqueItems: true;
32965
+ readonly items: {
32966
+ readonly type: "string";
32967
+ readonly maxLength: 128;
32968
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
32969
+ };
32970
+ };
31742
32971
  readonly scope: {
31743
32972
  readonly type: "object";
31744
32973
  readonly additionalProperties: false;
@@ -33455,6 +34684,47 @@ export declare const contractSchemas: {
33455
34684
  readonly additionalProperties: false;
33456
34685
  readonly required: readonly ["operationCode", "method", "href", "requiredCapability", "requestSchemaDigest", "responseSchemaDigest", "inputs", "output"];
33457
34686
  readonly properties: {
34687
+ readonly ownedSubject: {
34688
+ readonly type: "object";
34689
+ readonly additionalProperties: false;
34690
+ readonly required: readonly ["mode", "resourceCode", "subtables"];
34691
+ readonly properties: {
34692
+ readonly mode: {
34693
+ readonly const: "create";
34694
+ };
34695
+ readonly resourceCode: {
34696
+ readonly type: "string";
34697
+ readonly maxLength: 64;
34698
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
34699
+ };
34700
+ readonly subtables: {
34701
+ readonly type: "array";
34702
+ readonly minItems: 1;
34703
+ readonly maxItems: 16;
34704
+ readonly items: {
34705
+ readonly type: "object";
34706
+ readonly additionalProperties: false;
34707
+ readonly required: readonly ["fieldCode", "fieldCodes"];
34708
+ readonly properties: {
34709
+ readonly fieldCode: {
34710
+ readonly type: "string";
34711
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34712
+ };
34713
+ readonly fieldCodes: {
34714
+ readonly type: "array";
34715
+ readonly minItems: 1;
34716
+ readonly maxItems: 200;
34717
+ readonly uniqueItems: true;
34718
+ readonly items: {
34719
+ readonly type: "string";
34720
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34721
+ };
34722
+ };
34723
+ };
34724
+ };
34725
+ };
34726
+ };
34727
+ };
33458
34728
  readonly operationCode: {
33459
34729
  readonly type: "string";
33460
34730
  readonly pattern: "^[A-Za-z][A-Za-z0-9_.:-]{0,254}$";
@@ -33539,6 +34809,47 @@ export declare const contractSchemas: {
33539
34809
  readonly additionalProperties: false;
33540
34810
  readonly required: readonly ["operationCode", "method", "href", "requiredCapability", "requestSchemaDigest", "responseSchemaDigest", "inputs", "output"];
33541
34811
  readonly properties: {
34812
+ readonly ownedSubject: {
34813
+ readonly type: "object";
34814
+ readonly additionalProperties: false;
34815
+ readonly required: readonly ["mode", "resourceCode", "subtables"];
34816
+ readonly properties: {
34817
+ readonly mode: {
34818
+ readonly const: "create";
34819
+ };
34820
+ readonly resourceCode: {
34821
+ readonly type: "string";
34822
+ readonly maxLength: 64;
34823
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
34824
+ };
34825
+ readonly subtables: {
34826
+ readonly type: "array";
34827
+ readonly minItems: 1;
34828
+ readonly maxItems: 16;
34829
+ readonly items: {
34830
+ readonly type: "object";
34831
+ readonly additionalProperties: false;
34832
+ readonly required: readonly ["fieldCode", "fieldCodes"];
34833
+ readonly properties: {
34834
+ readonly fieldCode: {
34835
+ readonly type: "string";
34836
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34837
+ };
34838
+ readonly fieldCodes: {
34839
+ readonly type: "array";
34840
+ readonly minItems: 1;
34841
+ readonly maxItems: 200;
34842
+ readonly uniqueItems: true;
34843
+ readonly items: {
34844
+ readonly type: "string";
34845
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
34846
+ };
34847
+ };
34848
+ };
34849
+ };
34850
+ };
34851
+ };
34852
+ };
33542
34853
  readonly operationCode: {
33543
34854
  readonly type: "string";
33544
34855
  readonly pattern: "^[A-Za-z][A-Za-z0-9_.:-]{0,254}$";
@@ -33666,6 +34977,10 @@ export declare const contractSchemas: {
33666
34977
  readonly workflowCode: {
33667
34978
  readonly type: readonly ["string", "null"];
33668
34979
  };
34980
+ readonly nodeId: {
34981
+ readonly type: readonly ["string", "null"];
34982
+ readonly pattern: "^[A-Za-z0-9._:-]{1,128}$";
34983
+ };
33669
34984
  readonly delegatorUserId: {
33670
34985
  readonly type: "string";
33671
34986
  readonly minLength: 1;
@@ -33747,6 +35062,14 @@ export declare const contractSchemas: {
33747
35062
  readonly type: "null";
33748
35063
  }];
33749
35064
  };
35065
+ readonly nodeId: {
35066
+ readonly anyOf: readonly [{
35067
+ readonly type: "string";
35068
+ readonly pattern: "^[A-Za-z0-9._:-]{1,128}$";
35069
+ }, {
35070
+ readonly type: "null";
35071
+ }];
35072
+ };
33750
35073
  readonly delegatorUserId: {
33751
35074
  readonly type: "string";
33752
35075
  readonly minLength: 1;
@@ -33889,6 +35212,14 @@ export declare const contractSchemas: {
33889
35212
  readonly type: "null";
33890
35213
  }];
33891
35214
  };
35215
+ readonly nodeId: {
35216
+ readonly anyOf: readonly [{
35217
+ readonly type: "string";
35218
+ readonly pattern: "^[A-Za-z0-9._:-]{1,128}$";
35219
+ }, {
35220
+ readonly type: "null";
35221
+ }];
35222
+ };
33892
35223
  readonly delegatorRoleSubjectKey: {
33893
35224
  readonly type: "string";
33894
35225
  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 +35267,23 @@ export declare const contractSchemas: {
33936
35267
  readonly pattern: "\\S";
33937
35268
  };
33938
35269
  };
35270
+ readonly if: {
35271
+ readonly required: readonly ["nodeId"];
35272
+ readonly properties: {
35273
+ readonly nodeId: {
35274
+ readonly type: "string";
35275
+ };
35276
+ };
35277
+ };
35278
+ readonly then: {
35279
+ readonly properties: {
35280
+ readonly workflowCode: {
35281
+ readonly type: "string";
35282
+ readonly minLength: 1;
35283
+ readonly maxLength: 255;
35284
+ };
35285
+ };
35286
+ };
33939
35287
  }, {
33940
35288
  readonly type: "object";
33941
35289
  readonly additionalProperties: false;
@@ -34027,6 +35375,14 @@ export declare const contractSchemas: {
34027
35375
  readonly type: "null";
34028
35376
  }];
34029
35377
  };
35378
+ readonly nodeId: {
35379
+ readonly anyOf: readonly [{
35380
+ readonly type: "string";
35381
+ readonly pattern: "^[A-Za-z0-9._:-]{1,128}$";
35382
+ }, {
35383
+ readonly type: "null";
35384
+ }];
35385
+ };
34030
35386
  readonly delegatorUserId: {
34031
35387
  readonly type: "string";
34032
35388
  readonly minLength: 1;
@@ -34184,6 +35540,14 @@ export declare const contractSchemas: {
34184
35540
  readonly type: "null";
34185
35541
  }];
34186
35542
  };
35543
+ readonly nodeId: {
35544
+ readonly anyOf: readonly [{
35545
+ readonly type: "string";
35546
+ readonly pattern: "^[A-Za-z0-9._:-]{1,128}$";
35547
+ }, {
35548
+ readonly type: "null";
35549
+ }];
35550
+ };
34187
35551
  readonly delegatorUserId: {
34188
35552
  readonly type: "string";
34189
35553
  readonly minLength: 1;
@@ -34385,6 +35749,14 @@ export declare const contractSchemas: {
34385
35749
  readonly type: "null";
34386
35750
  }];
34387
35751
  };
35752
+ readonly nodeId: {
35753
+ readonly anyOf: readonly [{
35754
+ readonly type: "string";
35755
+ readonly pattern: "^[A-Za-z0-9._:-]{1,128}$";
35756
+ }, {
35757
+ readonly type: "null";
35758
+ }];
35759
+ };
34388
35760
  readonly delegatorUserId: {
34389
35761
  readonly type: "string";
34390
35762
  readonly minLength: 1;
@@ -34747,6 +36119,105 @@ export declare const contractSchemas: {
34747
36119
  readonly maxItems: 20;
34748
36120
  readonly items: {
34749
36121
  readonly oneOf: readonly [{
36122
+ readonly type: "object";
36123
+ readonly additionalProperties: false;
36124
+ readonly required: readonly ["kind", "resourceCode", "errorCode", "records"];
36125
+ readonly properties: {
36126
+ readonly kind: {
36127
+ readonly const: "record-set-match";
36128
+ };
36129
+ readonly resourceCode: {
36130
+ readonly type: "string";
36131
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
36132
+ };
36133
+ readonly errorCode: {
36134
+ readonly type: "string";
36135
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
36136
+ };
36137
+ readonly records: {
36138
+ readonly type: "array";
36139
+ readonly minItems: 1;
36140
+ readonly maxItems: 500;
36141
+ readonly uniqueItems: true;
36142
+ readonly items: {
36143
+ readonly type: "object";
36144
+ readonly additionalProperties: false;
36145
+ readonly required: readonly ["id", "expectedRevision"];
36146
+ readonly properties: {
36147
+ readonly id: {
36148
+ readonly type: "string";
36149
+ 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}$";
36150
+ };
36151
+ readonly expectedRevision: {
36152
+ readonly type: "integer";
36153
+ readonly minimum: 1;
36154
+ readonly maximum: number;
36155
+ };
36156
+ };
36157
+ };
36158
+ };
36159
+ readonly where: {
36160
+ readonly $ref: "#/$defs/dataWhere";
36161
+ };
36162
+ };
36163
+ }, {
36164
+ readonly type: "object";
36165
+ readonly additionalProperties: false;
36166
+ readonly required: readonly ["kind", "errorCode", "anyOf"];
36167
+ readonly properties: {
36168
+ readonly kind: {
36169
+ readonly const: "actor-authority";
36170
+ };
36171
+ readonly errorCode: {
36172
+ readonly type: "string";
36173
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
36174
+ };
36175
+ readonly allowAppSuperAdmin: {
36176
+ readonly type: "boolean";
36177
+ };
36178
+ readonly anyOf: {
36179
+ readonly type: "array";
36180
+ readonly minItems: 1;
36181
+ readonly maxItems: 20;
36182
+ readonly uniqueItems: true;
36183
+ readonly items: {
36184
+ readonly type: "object";
36185
+ readonly additionalProperties: false;
36186
+ readonly required: readonly ["roleCode"];
36187
+ readonly properties: {
36188
+ readonly roleCode: {
36189
+ readonly type: "string";
36190
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
36191
+ readonly maxLength: 100;
36192
+ };
36193
+ readonly scope: {
36194
+ readonly type: "object";
36195
+ readonly additionalProperties: false;
36196
+ readonly required: readonly ["dimensionCode", "value", "operation"];
36197
+ readonly properties: {
36198
+ readonly dimensionCode: {
36199
+ readonly type: "string";
36200
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
36201
+ readonly maxLength: 100;
36202
+ };
36203
+ readonly value: {
36204
+ readonly type: "string";
36205
+ readonly minLength: 1;
36206
+ readonly maxLength: 255;
36207
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
36208
+ };
36209
+ readonly operation: {
36210
+ readonly type: "string";
36211
+ readonly maxLength: 64;
36212
+ readonly pattern: "^[A-Za-z0-9*][A-Za-z0-9*._:-]*$";
36213
+ };
36214
+ };
36215
+ };
36216
+ };
36217
+ };
36218
+ };
36219
+ };
36220
+ }, {
34750
36221
  readonly type: "object";
34751
36222
  readonly additionalProperties: false;
34752
36223
  readonly required: readonly ["kind", "operationIndex", "field", "operator", "offsetMilliseconds", "errorCode"];
@@ -35343,6 +36814,38 @@ export declare const contractSchemas: {
35343
36814
  readonly type: "object";
35344
36815
  readonly additionalProperties: false;
35345
36816
  readonly required: readonly ["schemaVersion", "environmentKey", "workflow", "subject", "data", "expectedTransition"];
36817
+ readonly allOf: readonly [{
36818
+ readonly if: {
36819
+ readonly properties: {
36820
+ readonly expectedTransition: {
36821
+ readonly required: readonly ["kind"];
36822
+ readonly properties: {
36823
+ readonly kind: {
36824
+ readonly const: "correction-replay";
36825
+ };
36826
+ };
36827
+ };
36828
+ };
36829
+ };
36830
+ readonly then: {
36831
+ readonly properties: {
36832
+ readonly workflow: {
36833
+ readonly properties: {
36834
+ readonly target: {
36835
+ readonly properties: {
36836
+ readonly kind: {
36837
+ readonly const: "task";
36838
+ };
36839
+ readonly command: {
36840
+ readonly const: "resubmit";
36841
+ };
36842
+ };
36843
+ };
36844
+ };
36845
+ };
36846
+ };
36847
+ };
36848
+ }];
35346
36849
  readonly properties: {
35347
36850
  readonly schemaVersion: {
35348
36851
  readonly const: "openxiangda.business-process-command-with-data/v2";
@@ -35373,7 +36876,7 @@ export declare const contractSchemas: {
35373
36876
  readonly format: "uuid";
35374
36877
  };
35375
36878
  readonly command: {
35376
- readonly enum: readonly ["approve", "reject"];
36879
+ readonly enum: readonly ["approve", "reject", "resubmit"];
35377
36880
  };
35378
36881
  };
35379
36882
  }, {
@@ -35439,6 +36942,105 @@ export declare const contractSchemas: {
35439
36942
  readonly maxItems: 20;
35440
36943
  readonly items: {
35441
36944
  readonly oneOf: readonly [{
36945
+ readonly type: "object";
36946
+ readonly additionalProperties: false;
36947
+ readonly required: readonly ["kind", "resourceCode", "errorCode", "records"];
36948
+ readonly properties: {
36949
+ readonly kind: {
36950
+ readonly const: "record-set-match";
36951
+ };
36952
+ readonly resourceCode: {
36953
+ readonly type: "string";
36954
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
36955
+ };
36956
+ readonly errorCode: {
36957
+ readonly type: "string";
36958
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
36959
+ };
36960
+ readonly records: {
36961
+ readonly type: "array";
36962
+ readonly minItems: 1;
36963
+ readonly maxItems: 500;
36964
+ readonly uniqueItems: true;
36965
+ readonly items: {
36966
+ readonly type: "object";
36967
+ readonly additionalProperties: false;
36968
+ readonly required: readonly ["id", "expectedRevision"];
36969
+ readonly properties: {
36970
+ readonly id: {
36971
+ readonly type: "string";
36972
+ 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}$";
36973
+ };
36974
+ readonly expectedRevision: {
36975
+ readonly type: "integer";
36976
+ readonly minimum: 1;
36977
+ readonly maximum: number;
36978
+ };
36979
+ };
36980
+ };
36981
+ };
36982
+ readonly where: {
36983
+ readonly $ref: "#/$defs/dataWhere";
36984
+ };
36985
+ };
36986
+ }, {
36987
+ readonly type: "object";
36988
+ readonly additionalProperties: false;
36989
+ readonly required: readonly ["kind", "errorCode", "anyOf"];
36990
+ readonly properties: {
36991
+ readonly kind: {
36992
+ readonly const: "actor-authority";
36993
+ };
36994
+ readonly errorCode: {
36995
+ readonly type: "string";
36996
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
36997
+ };
36998
+ readonly allowAppSuperAdmin: {
36999
+ readonly type: "boolean";
37000
+ };
37001
+ readonly anyOf: {
37002
+ readonly type: "array";
37003
+ readonly minItems: 1;
37004
+ readonly maxItems: 20;
37005
+ readonly uniqueItems: true;
37006
+ readonly items: {
37007
+ readonly type: "object";
37008
+ readonly additionalProperties: false;
37009
+ readonly required: readonly ["roleCode"];
37010
+ readonly properties: {
37011
+ readonly roleCode: {
37012
+ readonly type: "string";
37013
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
37014
+ readonly maxLength: 100;
37015
+ };
37016
+ readonly scope: {
37017
+ readonly type: "object";
37018
+ readonly additionalProperties: false;
37019
+ readonly required: readonly ["dimensionCode", "value", "operation"];
37020
+ readonly properties: {
37021
+ readonly dimensionCode: {
37022
+ readonly type: "string";
37023
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
37024
+ readonly maxLength: 100;
37025
+ };
37026
+ readonly value: {
37027
+ readonly type: "string";
37028
+ readonly minLength: 1;
37029
+ readonly maxLength: 255;
37030
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
37031
+ };
37032
+ readonly operation: {
37033
+ readonly type: "string";
37034
+ readonly maxLength: 64;
37035
+ readonly pattern: "^[A-Za-z0-9*][A-Za-z0-9*._:-]*$";
37036
+ };
37037
+ };
37038
+ };
37039
+ };
37040
+ };
37041
+ };
37042
+ };
37043
+ }, {
35442
37044
  readonly type: "object";
35443
37045
  readonly additionalProperties: false;
35444
37046
  readonly required: readonly ["kind", "operationIndex", "field", "operator", "offsetMilliseconds", "errorCode"];
@@ -35849,23 +37451,34 @@ export declare const contractSchemas: {
35849
37451
  };
35850
37452
  };
35851
37453
  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;
37454
+ readonly oneOf: readonly [{
37455
+ readonly type: "object";
37456
+ readonly additionalProperties: false;
37457
+ readonly required: readonly ["status", "outcome", "currentNodeId"];
37458
+ readonly properties: {
37459
+ readonly status: {
37460
+ readonly enum: readonly ["running", "approved", "rejected", "withdrawn"];
37461
+ };
37462
+ readonly outcome: {
37463
+ readonly type: readonly ["string", "null"];
37464
+ readonly maxLength: 128;
37465
+ };
37466
+ readonly currentNodeId: {
37467
+ readonly type: readonly ["string", "null"];
37468
+ readonly minLength: 1;
37469
+ readonly maxLength: 128;
37470
+ };
35862
37471
  };
35863
- readonly currentNodeId: {
35864
- readonly type: readonly ["string", "null"];
35865
- readonly minLength: 1;
35866
- readonly maxLength: 128;
37472
+ }, {
37473
+ readonly type: "object";
37474
+ readonly additionalProperties: false;
37475
+ readonly required: readonly ["kind"];
37476
+ readonly properties: {
37477
+ readonly kind: {
37478
+ readonly const: "correction-replay";
37479
+ };
35867
37480
  };
35868
- };
37481
+ }];
35869
37482
  };
35870
37483
  };
35871
37484
  };
@@ -39009,7 +40622,7 @@ export declare const contractSchemas: {
39009
40622
  };
39010
40623
  readonly capabilities: {
39011
40624
  readonly type: "array";
39012
- readonly maxItems: 2000;
40625
+ readonly maxItems: 4096;
39013
40626
  readonly items: {
39014
40627
  readonly type: "object";
39015
40628
  readonly additionalProperties: false;
@@ -39036,7 +40649,7 @@ export declare const contractSchemas: {
39036
40649
  };
39037
40650
  readonly roles: {
39038
40651
  readonly type: "array";
39039
- readonly maxItems: 100;
40652
+ readonly maxItems: 256;
39040
40653
  readonly items: {
39041
40654
  readonly type: "object";
39042
40655
  readonly additionalProperties: false;
@@ -39389,7 +41002,7 @@ export declare const contractSchemas: {
39389
41002
  };
39390
41003
  readonly dataPolicies: {
39391
41004
  readonly type: "array";
39392
- readonly maxItems: 100;
41005
+ readonly maxItems: 512;
39393
41006
  readonly items: {
39394
41007
  readonly type: "object";
39395
41008
  readonly additionalProperties: false;
@@ -39420,6 +41033,23 @@ export declare const contractSchemas: {
39420
41033
  readonly maxLength: 128;
39421
41034
  };
39422
41035
  };
41036
+ readonly publicRead: {
41037
+ readonly type: "object";
41038
+ readonly additionalProperties: false;
41039
+ readonly required: readonly ["fields"];
41040
+ readonly properties: {
41041
+ readonly fields: {
41042
+ readonly type: "array";
41043
+ readonly minItems: 1;
41044
+ readonly maxItems: 1000;
41045
+ readonly uniqueItems: true;
41046
+ readonly items: {
41047
+ readonly type: "string";
41048
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
41049
+ };
41050
+ };
41051
+ };
41052
+ };
39423
41053
  readonly operations: {
39424
41054
  readonly type: "array";
39425
41055
  readonly minItems: 1;
@@ -39687,6 +41317,25 @@ export declare const contractSchemas: {
39687
41317
  readonly not: {
39688
41318
  readonly required: readonly ["operations", "readExpression"];
39689
41319
  };
41320
+ }, {
41321
+ readonly if: {
41322
+ readonly required: readonly ["publicRead"];
41323
+ };
41324
+ readonly then: {
41325
+ readonly required: readonly ["operations"];
41326
+ readonly properties: {
41327
+ readonly operations: {
41328
+ readonly const: readonly ["read"];
41329
+ };
41330
+ };
41331
+ readonly not: {
41332
+ readonly anyOf: readonly [{
41333
+ readonly required: readonly ["readExpression"];
41334
+ }, {
41335
+ readonly required: readonly ["writeBoundary"];
41336
+ }];
41337
+ };
41338
+ };
39690
41339
  }];
39691
41340
  };
39692
41341
  };
@@ -39786,6 +41435,97 @@ export declare const contractSchemas: {
39786
41435
  readonly additionalProperties: false;
39787
41436
  readonly minProperties: 1;
39788
41437
  readonly properties: {
41438
+ readonly ownedSubject: {
41439
+ readonly type: "object";
41440
+ readonly additionalProperties: false;
41441
+ readonly required: readonly ["mode", "resourceCode", "subtables"];
41442
+ readonly properties: {
41443
+ readonly mode: {
41444
+ readonly const: "create";
41445
+ };
41446
+ readonly resourceCode: {
41447
+ readonly type: "string";
41448
+ readonly maxLength: 64;
41449
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
41450
+ };
41451
+ readonly subtables: {
41452
+ readonly type: "array";
41453
+ readonly minItems: 1;
41454
+ readonly maxItems: 16;
41455
+ readonly items: {
41456
+ readonly type: "object";
41457
+ readonly additionalProperties: false;
41458
+ readonly required: readonly ["fieldCode", "fieldCodes"];
41459
+ readonly properties: {
41460
+ readonly fieldCode: {
41461
+ readonly type: "string";
41462
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
41463
+ };
41464
+ readonly fieldCodes: {
41465
+ readonly type: "array";
41466
+ readonly minItems: 1;
41467
+ readonly maxItems: 200;
41468
+ readonly uniqueItems: true;
41469
+ readonly items: {
41470
+ readonly type: "string";
41471
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
41472
+ };
41473
+ };
41474
+ };
41475
+ };
41476
+ };
41477
+ };
41478
+ };
41479
+ readonly workflowStage: {
41480
+ readonly type: "object";
41481
+ readonly additionalProperties: false;
41482
+ readonly required: readonly ["workflowCode", "resourceCode", "actor", "runningNodeIds", "allowedStatuses"];
41483
+ readonly properties: {
41484
+ readonly workflowCode: {
41485
+ readonly type: "string";
41486
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
41487
+ readonly maxLength: 100;
41488
+ };
41489
+ readonly resourceCode: {
41490
+ readonly type: "string";
41491
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
41492
+ readonly maxLength: 100;
41493
+ };
41494
+ readonly actor: {
41495
+ readonly enum: readonly ["initiator", "reader"];
41496
+ };
41497
+ readonly runningNodeIds: {
41498
+ readonly type: "array";
41499
+ readonly maxItems: 32;
41500
+ readonly uniqueItems: true;
41501
+ readonly items: {
41502
+ readonly type: "string";
41503
+ readonly pattern: "^[A-Za-z0-9][A-Za-z0-9._-]{0,127}$";
41504
+ };
41505
+ };
41506
+ readonly allowedStatuses: {
41507
+ readonly type: "array";
41508
+ readonly maxItems: 5;
41509
+ readonly uniqueItems: true;
41510
+ readonly items: {
41511
+ readonly enum: readonly ["approved", "rejected", "cancelled", "terminated", "returned"];
41512
+ };
41513
+ };
41514
+ };
41515
+ readonly anyOf: readonly [{
41516
+ readonly properties: {
41517
+ readonly runningNodeIds: {
41518
+ readonly minItems: 1;
41519
+ };
41520
+ };
41521
+ }, {
41522
+ readonly properties: {
41523
+ readonly allowedStatuses: {
41524
+ readonly minItems: 1;
41525
+ };
41526
+ };
41527
+ }];
41528
+ };
39789
41529
  readonly recordEdit: {
39790
41530
  readonly type: "object";
39791
41531
  readonly additionalProperties: false;
@@ -39833,6 +41573,9 @@ export declare const contractSchemas: {
39833
41573
  readonly maxLength: 100;
39834
41574
  };
39835
41575
  };
41576
+ readonly actorAuthority: {
41577
+ readonly const: true;
41578
+ };
39836
41579
  };
39837
41580
  };
39838
41581
  readonly directory: {
@@ -39981,10 +41724,10 @@ export declare const contractSchemas: {
39981
41724
  readonly businessCommands: {
39982
41725
  readonly type: "array";
39983
41726
  readonly minItems: 1;
39984
- readonly maxItems: 3;
41727
+ readonly maxItems: 4;
39985
41728
  readonly uniqueItems: true;
39986
41729
  readonly items: {
39987
- readonly enum: readonly ["approve", "reject", "withdraw"];
41730
+ readonly enum: readonly ["approve", "reject", "withdraw", "resubmit"];
39988
41731
  };
39989
41732
  };
39990
41733
  };
@@ -40366,7 +42109,7 @@ export declare const contractSchemas: {
40366
42109
  readonly properties: {
40367
42110
  readonly resources: {
40368
42111
  readonly type: "array";
40369
- readonly maxItems: 100;
42112
+ readonly maxItems: 512;
40370
42113
  readonly items: {
40371
42114
  readonly $ref: "openxiangda.data-resource/v2";
40372
42115
  };
@@ -40601,21 +42344,21 @@ export declare const contractSchemas: {
40601
42344
  readonly properties: {
40602
42345
  readonly definitions: {
40603
42346
  readonly type: "array";
40604
- readonly maxItems: 100;
42347
+ readonly maxItems: 512;
40605
42348
  readonly items: {
40606
42349
  readonly type: "object";
40607
42350
  };
40608
42351
  };
40609
42352
  readonly bindings: {
40610
42353
  readonly type: "array";
40611
- readonly maxItems: 100;
42354
+ readonly maxItems: 512;
40612
42355
  readonly items: {
40613
42356
  readonly type: "object";
40614
42357
  };
40615
42358
  };
40616
42359
  readonly activations: {
40617
42360
  readonly type: "array";
40618
- readonly maxItems: 100;
42361
+ readonly maxItems: 512;
40619
42362
  readonly items: {
40620
42363
  readonly type: "object";
40621
42364
  };
@@ -40643,7 +42386,7 @@ export declare const contractSchemas: {
40643
42386
  readonly properties: {
40644
42387
  readonly routes: {
40645
42388
  readonly type: "array";
40646
- readonly maxItems: 500;
42389
+ readonly maxItems: 2048;
40647
42390
  readonly items: {
40648
42391
  readonly type: "object";
40649
42392
  readonly additionalProperties: false;
@@ -41437,7 +43180,7 @@ export declare const contractSchemas: {
41437
43180
  };
41438
43181
  readonly routes: {
41439
43182
  readonly type: "array";
41440
- readonly maxItems: 512;
43183
+ readonly maxItems: 2048;
41441
43184
  readonly items: {
41442
43185
  readonly type: "object";
41443
43186
  readonly additionalProperties: false;
@@ -41689,7 +43432,7 @@ export declare const contractSchemas: {
41689
43432
  };
41690
43433
  readonly resources: {
41691
43434
  readonly type: "array";
41692
- readonly maxItems: 100;
43435
+ readonly maxItems: 512;
41693
43436
  readonly items: {
41694
43437
  readonly type: "object";
41695
43438
  };
@@ -41804,7 +43547,7 @@ export declare const contractSchemas: {
41804
43547
  };
41805
43548
  readonly capabilities: {
41806
43549
  readonly type: "array";
41807
- readonly maxItems: 2000;
43550
+ readonly maxItems: 4096;
41808
43551
  readonly items: {
41809
43552
  readonly type: "object";
41810
43553
  };
@@ -41941,6 +43684,9 @@ export declare const contractSchemas: {
41941
43684
  readonly mode: {
41942
43685
  readonly enum: readonly ["pure", "reconciled-effect"];
41943
43686
  };
43687
+ readonly dataTransaction: {
43688
+ readonly const: true;
43689
+ };
41944
43690
  readonly inputSchema: {
41945
43691
  readonly type: "object";
41946
43692
  };
@@ -41948,6 +43694,18 @@ export declare const contractSchemas: {
41948
43694
  readonly type: "object";
41949
43695
  };
41950
43696
  };
43697
+ readonly allOf: readonly [{
43698
+ readonly if: {
43699
+ readonly required: readonly ["dataTransaction"];
43700
+ };
43701
+ readonly then: {
43702
+ readonly properties: {
43703
+ readonly mode: {
43704
+ readonly const: "reconciled-effect";
43705
+ };
43706
+ };
43707
+ };
43708
+ }];
41951
43709
  };
41952
43710
  };
41953
43711
  };
@@ -41964,14 +43722,14 @@ export declare const contractSchemas: {
41964
43722
  };
41965
43723
  readonly workflows: {
41966
43724
  readonly type: "array";
41967
- readonly maxItems: 100;
43725
+ readonly maxItems: 512;
41968
43726
  readonly items: {
41969
43727
  readonly type: "object";
41970
43728
  };
41971
43729
  };
41972
43730
  readonly routes: {
41973
43731
  readonly type: "array";
41974
- readonly maxItems: 500;
43732
+ readonly maxItems: 2048;
41975
43733
  readonly items: {
41976
43734
  readonly required: readonly ["code", "path", "label", "surface", "tabPersistence", "keepAlive"];
41977
43735
  readonly type: "object";
@@ -42570,7 +44328,7 @@ export declare const contractSchemas: {
42570
44328
  };
42571
44329
  readonly routes: {
42572
44330
  readonly type: "array";
42573
- readonly maxItems: 512;
44331
+ readonly maxItems: 2048;
42574
44332
  readonly items: {
42575
44333
  readonly type: "object";
42576
44334
  readonly additionalProperties: false;
@@ -42783,7 +44541,7 @@ export declare const contractSchemas: {
42783
44541
  };
42784
44542
  readonly adminPages: {
42785
44543
  readonly type: "array";
42786
- readonly maxItems: 500;
44544
+ readonly maxItems: 2048;
42787
44545
  readonly items: {
42788
44546
  readonly type: "object";
42789
44547
  readonly additionalProperties: false;
@@ -42949,7 +44707,7 @@ export declare const contractSchemas: {
42949
44707
  };
42950
44708
  readonly capabilities: {
42951
44709
  readonly type: "array";
42952
- readonly maxItems: 500;
44710
+ readonly maxItems: 4096;
42953
44711
  readonly items: {
42954
44712
  readonly type: "object";
42955
44713
  readonly additionalProperties: false;