openxiangda-contracts 2.82.0 → 2.84.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 (78) hide show
  1. package/dist/data-query-validation.d.ts +1 -2
  2. package/dist/data-query-validation.d.ts.map +1 -1
  3. package/dist/data-query-validation.js +2 -22
  4. package/dist/data-query-validation.js.map +1 -1
  5. package/dist/event-worker-effect.d.ts +2 -0
  6. package/dist/event-worker-effect.d.ts.map +1 -0
  7. package/dist/event-worker-effect.js +2 -0
  8. package/dist/event-worker-effect.js.map +1 -0
  9. package/dist/index.d.ts +1 -0
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +1 -0
  12. package/dist/index.js.map +1 -1
  13. package/dist/native-compiler/compiler.d.ts.map +1 -1
  14. package/dist/native-compiler/compiler.js +42 -13
  15. package/dist/native-compiler/compiler.js.map +1 -1
  16. package/dist/native-compiler/data-query-operators.d.ts +3 -0
  17. package/dist/native-compiler/data-query-operators.d.ts.map +1 -0
  18. package/dist/native-compiler/data-query-operators.js +23 -0
  19. package/dist/native-compiler/data-query-operators.js.map +1 -0
  20. package/dist/native-compiler/event-action.d.ts +6 -2
  21. package/dist/native-compiler/event-action.d.ts.map +1 -1
  22. package/dist/native-compiler/event-action.js +7 -1
  23. package/dist/native-compiler/event-action.js.map +1 -1
  24. package/dist/native-compiler/event-worker-effect.d.ts +76 -0
  25. package/dist/native-compiler/event-worker-effect.d.ts.map +1 -0
  26. package/dist/native-compiler/event-worker-effect.js +208 -0
  27. package/dist/native-compiler/event-worker-effect.js.map +1 -0
  28. package/dist/native-compiler/index.cjs +4 -3
  29. package/dist/native-compiler/index.d.ts +1 -0
  30. package/dist/native-compiler/index.d.ts.map +1 -1
  31. package/dist/native-compiler/index.js +4 -3
  32. package/dist/native-compiler/user-candidates.d.ts.map +1 -1
  33. package/dist/native-compiler/user-candidates.js +2 -1
  34. package/dist/native-compiler/user-candidates.js.map +1 -1
  35. package/dist/native-compiler/workflow-authoring.d.ts.map +1 -1
  36. package/dist/native-compiler/workflow-authoring.js +2 -0
  37. package/dist/native-compiler/workflow-authoring.js.map +1 -1
  38. package/dist/native-compiler/workflow-conditional-assignment-schema.d.ts +662 -0
  39. package/dist/native-compiler/workflow-conditional-assignment-schema.d.ts.map +1 -0
  40. package/dist/native-compiler/workflow-conditional-assignment-schema.js +21 -0
  41. package/dist/native-compiler/workflow-conditional-assignment-schema.js.map +1 -0
  42. package/dist/native-compiler/workflow-conditional-assignment.d.ts +14 -667
  43. package/dist/native-compiler/workflow-conditional-assignment.d.ts.map +1 -1
  44. package/dist/native-compiler/workflow-conditional-assignment.js +31 -19
  45. package/dist/native-compiler/workflow-conditional-assignment.js.map +1 -1
  46. package/dist/native-compiler/workflow-expression-schema.d.ts +29 -0
  47. package/dist/native-compiler/workflow-expression-schema.d.ts.map +1 -0
  48. package/dist/native-compiler/workflow-expression-schema.js +31 -0
  49. package/dist/native-compiler/workflow-expression-schema.js.map +1 -0
  50. package/dist/native-compiler/workflow-launch-preflight.d.ts.map +1 -1
  51. package/dist/native-compiler/workflow-launch-preflight.js +6 -1
  52. package/dist/native-compiler/workflow-launch-preflight.js.map +1 -1
  53. package/dist/native-compiler/workflow-schema.d.ts +909 -276
  54. package/dist/native-compiler/workflow-schema.d.ts.map +1 -1
  55. package/dist/native-compiler/workflow-schema.js +5 -98
  56. package/dist/native-compiler/workflow-schema.js.map +1 -1
  57. package/dist/native-compiler/workflow-source-sync.d.ts.map +1 -1
  58. package/dist/native-compiler/workflow-source-sync.js +5 -1
  59. package/dist/native-compiler/workflow-source-sync.js.map +1 -1
  60. package/dist/native-compiler/workflow-standard-binding-schema.d.ts +304 -0
  61. package/dist/native-compiler/workflow-standard-binding-schema.d.ts.map +1 -0
  62. package/dist/native-compiler/workflow-standard-binding-schema.js +75 -0
  63. package/dist/native-compiler/workflow-standard-binding-schema.js.map +1 -0
  64. package/dist/native-version.d.ts +2 -0
  65. package/dist/native-version.d.ts.map +1 -1
  66. package/dist/native-version.js +2 -0
  67. package/dist/native-version.js.map +1 -1
  68. package/dist/native.d.ts +3 -2
  69. package/dist/native.d.ts.map +1 -1
  70. package/dist/native.js.map +1 -1
  71. package/dist/schemas.d.ts +1361 -316
  72. package/dist/schemas.d.ts.map +1 -1
  73. package/dist/schemas.js +41 -13
  74. package/dist/schemas.js.map +1 -1
  75. package/dist/types.d.ts +7 -4
  76. package/dist/types.d.ts.map +1 -1
  77. package/dist/types.js.map +1 -1
  78. package/package.json +1 -1
package/dist/schemas.d.ts CHANGED
@@ -311,6 +311,10 @@ export declare const workspaceContextSchema: {
311
311
  readonly packageName: {
312
312
  readonly const: "openxiangda-devkit-core";
313
313
  };
314
+ readonly installed: {
315
+ readonly type: "object";
316
+ readonly additionalProperties: true;
317
+ };
314
318
  readonly version: {
315
319
  readonly type: "string";
316
320
  readonly minLength: 1;
@@ -11067,6 +11071,188 @@ export declare const eventSchemaDefinitionSchema: {
11067
11071
  };
11068
11072
  };
11069
11073
  };
11074
+ export declare const eventWorkerEffectDeclarationSchema: {
11075
+ readonly type: "object";
11076
+ readonly additionalProperties: false;
11077
+ readonly required: readonly ["kind", "version", "resources", "emitEventTypes", "maxOperations", "maxGuards", "maxQueryRecords", "maxIntentsPerEvent"];
11078
+ readonly properties: {
11079
+ readonly kind: {
11080
+ readonly const: "worker-effect";
11081
+ };
11082
+ readonly version: {
11083
+ readonly const: 1;
11084
+ };
11085
+ readonly maxOperations: {
11086
+ readonly type: "integer";
11087
+ readonly minimum: 1;
11088
+ readonly maximum: 8;
11089
+ };
11090
+ readonly maxGuards: {
11091
+ readonly type: "integer";
11092
+ readonly minimum: 1;
11093
+ readonly maximum: 24;
11094
+ };
11095
+ readonly maxQueryRecords: {
11096
+ readonly type: "integer";
11097
+ readonly minimum: 1;
11098
+ readonly maximum: 500;
11099
+ };
11100
+ readonly maxIntentsPerEvent: {
11101
+ readonly type: "integer";
11102
+ readonly minimum: 1;
11103
+ readonly maximum: 100;
11104
+ };
11105
+ readonly emitEventTypes: {
11106
+ readonly type: "array";
11107
+ readonly maxItems: 16;
11108
+ readonly uniqueItems: true;
11109
+ readonly items: {
11110
+ readonly type: "string";
11111
+ readonly minLength: 1;
11112
+ };
11113
+ };
11114
+ readonly resources: {
11115
+ readonly type: "array";
11116
+ readonly minItems: 1;
11117
+ readonly maxItems: 16;
11118
+ readonly items: {
11119
+ readonly type: "object";
11120
+ readonly additionalProperties: false;
11121
+ readonly required: readonly ["resourceCode", "readFields", "writeOperations", "writeFields"];
11122
+ readonly properties: {
11123
+ readonly resourceCode: {
11124
+ readonly type: "string";
11125
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
11126
+ };
11127
+ readonly readFields: {
11128
+ readonly type: "array";
11129
+ readonly minItems: 1;
11130
+ readonly maxItems: 64;
11131
+ readonly uniqueItems: true;
11132
+ readonly items: {
11133
+ readonly type: "string";
11134
+ readonly minLength: 1;
11135
+ };
11136
+ };
11137
+ readonly writeFields: {
11138
+ readonly type: "array";
11139
+ readonly maxItems: 64;
11140
+ readonly uniqueItems: true;
11141
+ readonly items: {
11142
+ readonly type: "string";
11143
+ readonly minLength: 1;
11144
+ };
11145
+ };
11146
+ readonly writeOperations: {
11147
+ readonly type: "array";
11148
+ readonly maxItems: 2;
11149
+ readonly uniqueItems: true;
11150
+ readonly items: {
11151
+ readonly enum: readonly ["create", "update"];
11152
+ };
11153
+ };
11154
+ };
11155
+ };
11156
+ };
11157
+ };
11158
+ };
11159
+ export declare const eventWorkerEffectPlanSchema: {
11160
+ readonly required: readonly ["kind", "version", "resources", "emitEventTypes", "maxOperations", "maxGuards", "maxQueryRecords", "maxIntentsPerEvent", "resourceDigests", "digest"];
11161
+ readonly properties: {
11162
+ readonly digest: {
11163
+ readonly type: "string";
11164
+ readonly pattern: "^[0-9a-f]{64}$";
11165
+ };
11166
+ readonly resourceDigests: {
11167
+ readonly type: "object";
11168
+ readonly maxProperties: 16;
11169
+ readonly additionalProperties: {
11170
+ readonly type: "string";
11171
+ readonly pattern: "^[0-9a-f]{64}$";
11172
+ };
11173
+ };
11174
+ readonly kind: {
11175
+ readonly const: "worker-effect";
11176
+ };
11177
+ readonly version: {
11178
+ readonly const: 1;
11179
+ };
11180
+ readonly maxOperations: {
11181
+ readonly type: "integer";
11182
+ readonly minimum: 1;
11183
+ readonly maximum: 8;
11184
+ };
11185
+ readonly maxGuards: {
11186
+ readonly type: "integer";
11187
+ readonly minimum: 1;
11188
+ readonly maximum: 24;
11189
+ };
11190
+ readonly maxQueryRecords: {
11191
+ readonly type: "integer";
11192
+ readonly minimum: 1;
11193
+ readonly maximum: 500;
11194
+ };
11195
+ readonly maxIntentsPerEvent: {
11196
+ readonly type: "integer";
11197
+ readonly minimum: 1;
11198
+ readonly maximum: 100;
11199
+ };
11200
+ readonly emitEventTypes: {
11201
+ readonly type: "array";
11202
+ readonly maxItems: 16;
11203
+ readonly uniqueItems: true;
11204
+ readonly items: {
11205
+ readonly type: "string";
11206
+ readonly minLength: 1;
11207
+ };
11208
+ };
11209
+ readonly resources: {
11210
+ readonly type: "array";
11211
+ readonly minItems: 1;
11212
+ readonly maxItems: 16;
11213
+ readonly items: {
11214
+ readonly type: "object";
11215
+ readonly additionalProperties: false;
11216
+ readonly required: readonly ["resourceCode", "readFields", "writeOperations", "writeFields"];
11217
+ readonly properties: {
11218
+ readonly resourceCode: {
11219
+ readonly type: "string";
11220
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
11221
+ };
11222
+ readonly readFields: {
11223
+ readonly type: "array";
11224
+ readonly minItems: 1;
11225
+ readonly maxItems: 64;
11226
+ readonly uniqueItems: true;
11227
+ readonly items: {
11228
+ readonly type: "string";
11229
+ readonly minLength: 1;
11230
+ };
11231
+ };
11232
+ readonly writeFields: {
11233
+ readonly type: "array";
11234
+ readonly maxItems: 64;
11235
+ readonly uniqueItems: true;
11236
+ readonly items: {
11237
+ readonly type: "string";
11238
+ readonly minLength: 1;
11239
+ };
11240
+ };
11241
+ readonly writeOperations: {
11242
+ readonly type: "array";
11243
+ readonly maxItems: 2;
11244
+ readonly uniqueItems: true;
11245
+ readonly items: {
11246
+ readonly enum: readonly ["create", "update"];
11247
+ };
11248
+ };
11249
+ };
11250
+ };
11251
+ };
11252
+ };
11253
+ readonly type: "object";
11254
+ readonly additionalProperties: false;
11255
+ };
11070
11256
  export declare const eventSubscriptionSchema: {
11071
11257
  readonly $id: "openxiangda.event-subscription/v2";
11072
11258
  readonly type: "object";
@@ -11077,58 +11263,156 @@ export declare const eventSubscriptionSchema: {
11077
11263
  readonly const: "openxiangda.event-subscription/v2";
11078
11264
  };
11079
11265
  readonly execution: {
11080
- readonly type: "object";
11081
- readonly additionalProperties: false;
11082
- readonly required: readonly ["kind", "version", "operations", "resourceDigests", "digest"];
11083
- readonly properties: {
11084
- readonly kind: {
11085
- readonly const: "native-data";
11086
- };
11087
- readonly version: {
11088
- readonly const: 1;
11089
- };
11090
- readonly digest: {
11091
- readonly type: "string";
11092
- readonly pattern: "^[0-9a-f]{64}$";
11093
- };
11094
- readonly resourceDigests: {
11095
- readonly type: "object";
11096
- readonly maxProperties: 16;
11097
- readonly additionalProperties: {
11266
+ readonly oneOf: readonly [{
11267
+ readonly type: "object";
11268
+ readonly additionalProperties: false;
11269
+ readonly required: readonly ["kind", "version", "operations", "resourceDigests", "digest"];
11270
+ readonly properties: {
11271
+ readonly kind: {
11272
+ readonly const: "native-data";
11273
+ };
11274
+ readonly version: {
11275
+ readonly const: 1;
11276
+ };
11277
+ readonly digest: {
11098
11278
  readonly type: "string";
11099
11279
  readonly pattern: "^[0-9a-f]{64}$";
11100
11280
  };
11101
- };
11102
- readonly operations: {
11103
- readonly type: "array";
11104
- readonly minItems: 1;
11105
- readonly maxItems: 16;
11106
- readonly items: {
11281
+ readonly resourceDigests: {
11107
11282
  readonly type: "object";
11108
- readonly additionalProperties: false;
11109
- readonly required: readonly ["operation", "resourceCode"];
11110
- readonly properties: {
11111
- readonly operation: {
11112
- readonly enum: readonly ["create", "update", "delete"];
11113
- };
11114
- readonly resourceCode: {
11115
- readonly type: "string";
11116
- readonly minLength: 1;
11117
- };
11118
- readonly data: {
11119
- readonly type: "object";
11120
- readonly maxProperties: 32;
11121
- };
11122
- readonly id: {
11123
- readonly type: "object";
11283
+ readonly maxProperties: 16;
11284
+ readonly additionalProperties: {
11285
+ readonly type: "string";
11286
+ readonly pattern: "^[0-9a-f]{64}$";
11287
+ };
11288
+ };
11289
+ readonly operations: {
11290
+ readonly type: "array";
11291
+ readonly minItems: 1;
11292
+ readonly maxItems: 16;
11293
+ readonly items: {
11294
+ readonly type: "object";
11295
+ readonly additionalProperties: false;
11296
+ readonly required: readonly ["operation", "resourceCode"];
11297
+ readonly properties: {
11298
+ readonly operation: {
11299
+ readonly enum: readonly ["create", "update", "delete"];
11300
+ };
11301
+ readonly resourceCode: {
11302
+ readonly type: "string";
11303
+ readonly minLength: 1;
11304
+ };
11305
+ readonly data: {
11306
+ readonly type: "object";
11307
+ readonly maxProperties: 32;
11308
+ };
11309
+ readonly id: {
11310
+ readonly type: "object";
11311
+ };
11312
+ readonly expectedRevision: {
11313
+ readonly type: "object";
11314
+ };
11124
11315
  };
11125
- readonly expectedRevision: {
11126
- readonly type: "object";
11316
+ };
11317
+ };
11318
+ };
11319
+ }, {
11320
+ readonly required: readonly ["kind", "version", "resources", "emitEventTypes", "maxOperations", "maxGuards", "maxQueryRecords", "maxIntentsPerEvent", "resourceDigests", "digest"];
11321
+ readonly properties: {
11322
+ readonly digest: {
11323
+ readonly type: "string";
11324
+ readonly pattern: "^[0-9a-f]{64}$";
11325
+ };
11326
+ readonly resourceDigests: {
11327
+ readonly type: "object";
11328
+ readonly maxProperties: 16;
11329
+ readonly additionalProperties: {
11330
+ readonly type: "string";
11331
+ readonly pattern: "^[0-9a-f]{64}$";
11332
+ };
11333
+ };
11334
+ readonly kind: {
11335
+ readonly const: "worker-effect";
11336
+ };
11337
+ readonly version: {
11338
+ readonly const: 1;
11339
+ };
11340
+ readonly maxOperations: {
11341
+ readonly type: "integer";
11342
+ readonly minimum: 1;
11343
+ readonly maximum: 8;
11344
+ };
11345
+ readonly maxGuards: {
11346
+ readonly type: "integer";
11347
+ readonly minimum: 1;
11348
+ readonly maximum: 24;
11349
+ };
11350
+ readonly maxQueryRecords: {
11351
+ readonly type: "integer";
11352
+ readonly minimum: 1;
11353
+ readonly maximum: 500;
11354
+ };
11355
+ readonly maxIntentsPerEvent: {
11356
+ readonly type: "integer";
11357
+ readonly minimum: 1;
11358
+ readonly maximum: 100;
11359
+ };
11360
+ readonly emitEventTypes: {
11361
+ readonly type: "array";
11362
+ readonly maxItems: 16;
11363
+ readonly uniqueItems: true;
11364
+ readonly items: {
11365
+ readonly type: "string";
11366
+ readonly minLength: 1;
11367
+ };
11368
+ };
11369
+ readonly resources: {
11370
+ readonly type: "array";
11371
+ readonly minItems: 1;
11372
+ readonly maxItems: 16;
11373
+ readonly items: {
11374
+ readonly type: "object";
11375
+ readonly additionalProperties: false;
11376
+ readonly required: readonly ["resourceCode", "readFields", "writeOperations", "writeFields"];
11377
+ readonly properties: {
11378
+ readonly resourceCode: {
11379
+ readonly type: "string";
11380
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
11381
+ };
11382
+ readonly readFields: {
11383
+ readonly type: "array";
11384
+ readonly minItems: 1;
11385
+ readonly maxItems: 64;
11386
+ readonly uniqueItems: true;
11387
+ readonly items: {
11388
+ readonly type: "string";
11389
+ readonly minLength: 1;
11390
+ };
11391
+ };
11392
+ readonly writeFields: {
11393
+ readonly type: "array";
11394
+ readonly maxItems: 64;
11395
+ readonly uniqueItems: true;
11396
+ readonly items: {
11397
+ readonly type: "string";
11398
+ readonly minLength: 1;
11399
+ };
11400
+ };
11401
+ readonly writeOperations: {
11402
+ readonly type: "array";
11403
+ readonly maxItems: 2;
11404
+ readonly uniqueItems: true;
11405
+ readonly items: {
11406
+ readonly enum: readonly ["create", "update"];
11407
+ };
11408
+ };
11127
11409
  };
11128
11410
  };
11129
11411
  };
11130
11412
  };
11131
- };
11413
+ readonly type: "object";
11414
+ readonly additionalProperties: false;
11415
+ }];
11132
11416
  };
11133
11417
  readonly id: {
11134
11418
  readonly type: "string";
@@ -21969,6 +22253,10 @@ export declare const contractSchemas: {
21969
22253
  readonly packageName: {
21970
22254
  readonly const: "openxiangda-devkit-core";
21971
22255
  };
22256
+ readonly installed: {
22257
+ readonly type: "object";
22258
+ readonly additionalProperties: true;
22259
+ };
21972
22260
  readonly version: {
21973
22261
  readonly type: "string";
21974
22262
  readonly minLength: 1;
@@ -30814,58 +31102,156 @@ export declare const contractSchemas: {
30814
31102
  readonly const: "openxiangda.event-subscription/v2";
30815
31103
  };
30816
31104
  readonly execution: {
30817
- readonly type: "object";
30818
- readonly additionalProperties: false;
30819
- readonly required: readonly ["kind", "version", "operations", "resourceDigests", "digest"];
30820
- readonly properties: {
30821
- readonly kind: {
30822
- readonly const: "native-data";
30823
- };
30824
- readonly version: {
30825
- readonly const: 1;
30826
- };
30827
- readonly digest: {
30828
- readonly type: "string";
30829
- readonly pattern: "^[0-9a-f]{64}$";
30830
- };
30831
- readonly resourceDigests: {
30832
- readonly type: "object";
30833
- readonly maxProperties: 16;
30834
- readonly additionalProperties: {
31105
+ readonly oneOf: readonly [{
31106
+ readonly type: "object";
31107
+ readonly additionalProperties: false;
31108
+ readonly required: readonly ["kind", "version", "operations", "resourceDigests", "digest"];
31109
+ readonly properties: {
31110
+ readonly kind: {
31111
+ readonly const: "native-data";
31112
+ };
31113
+ readonly version: {
31114
+ readonly const: 1;
31115
+ };
31116
+ readonly digest: {
30835
31117
  readonly type: "string";
30836
31118
  readonly pattern: "^[0-9a-f]{64}$";
30837
31119
  };
30838
- };
30839
- readonly operations: {
30840
- readonly type: "array";
30841
- readonly minItems: 1;
30842
- readonly maxItems: 16;
30843
- readonly items: {
31120
+ readonly resourceDigests: {
30844
31121
  readonly type: "object";
30845
- readonly additionalProperties: false;
30846
- readonly required: readonly ["operation", "resourceCode"];
30847
- readonly properties: {
30848
- readonly operation: {
30849
- readonly enum: readonly ["create", "update", "delete"];
30850
- };
30851
- readonly resourceCode: {
30852
- readonly type: "string";
30853
- readonly minLength: 1;
30854
- };
30855
- readonly data: {
30856
- readonly type: "object";
30857
- readonly maxProperties: 32;
30858
- };
30859
- readonly id: {
30860
- readonly type: "object";
31122
+ readonly maxProperties: 16;
31123
+ readonly additionalProperties: {
31124
+ readonly type: "string";
31125
+ readonly pattern: "^[0-9a-f]{64}$";
31126
+ };
31127
+ };
31128
+ readonly operations: {
31129
+ readonly type: "array";
31130
+ readonly minItems: 1;
31131
+ readonly maxItems: 16;
31132
+ readonly items: {
31133
+ readonly type: "object";
31134
+ readonly additionalProperties: false;
31135
+ readonly required: readonly ["operation", "resourceCode"];
31136
+ readonly properties: {
31137
+ readonly operation: {
31138
+ readonly enum: readonly ["create", "update", "delete"];
31139
+ };
31140
+ readonly resourceCode: {
31141
+ readonly type: "string";
31142
+ readonly minLength: 1;
31143
+ };
31144
+ readonly data: {
31145
+ readonly type: "object";
31146
+ readonly maxProperties: 32;
31147
+ };
31148
+ readonly id: {
31149
+ readonly type: "object";
31150
+ };
31151
+ readonly expectedRevision: {
31152
+ readonly type: "object";
31153
+ };
30861
31154
  };
30862
- readonly expectedRevision: {
30863
- readonly type: "object";
31155
+ };
31156
+ };
31157
+ };
31158
+ }, {
31159
+ readonly required: readonly ["kind", "version", "resources", "emitEventTypes", "maxOperations", "maxGuards", "maxQueryRecords", "maxIntentsPerEvent", "resourceDigests", "digest"];
31160
+ readonly properties: {
31161
+ readonly digest: {
31162
+ readonly type: "string";
31163
+ readonly pattern: "^[0-9a-f]{64}$";
31164
+ };
31165
+ readonly resourceDigests: {
31166
+ readonly type: "object";
31167
+ readonly maxProperties: 16;
31168
+ readonly additionalProperties: {
31169
+ readonly type: "string";
31170
+ readonly pattern: "^[0-9a-f]{64}$";
31171
+ };
31172
+ };
31173
+ readonly kind: {
31174
+ readonly const: "worker-effect";
31175
+ };
31176
+ readonly version: {
31177
+ readonly const: 1;
31178
+ };
31179
+ readonly maxOperations: {
31180
+ readonly type: "integer";
31181
+ readonly minimum: 1;
31182
+ readonly maximum: 8;
31183
+ };
31184
+ readonly maxGuards: {
31185
+ readonly type: "integer";
31186
+ readonly minimum: 1;
31187
+ readonly maximum: 24;
31188
+ };
31189
+ readonly maxQueryRecords: {
31190
+ readonly type: "integer";
31191
+ readonly minimum: 1;
31192
+ readonly maximum: 500;
31193
+ };
31194
+ readonly maxIntentsPerEvent: {
31195
+ readonly type: "integer";
31196
+ readonly minimum: 1;
31197
+ readonly maximum: 100;
31198
+ };
31199
+ readonly emitEventTypes: {
31200
+ readonly type: "array";
31201
+ readonly maxItems: 16;
31202
+ readonly uniqueItems: true;
31203
+ readonly items: {
31204
+ readonly type: "string";
31205
+ readonly minLength: 1;
31206
+ };
31207
+ };
31208
+ readonly resources: {
31209
+ readonly type: "array";
31210
+ readonly minItems: 1;
31211
+ readonly maxItems: 16;
31212
+ readonly items: {
31213
+ readonly type: "object";
31214
+ readonly additionalProperties: false;
31215
+ readonly required: readonly ["resourceCode", "readFields", "writeOperations", "writeFields"];
31216
+ readonly properties: {
31217
+ readonly resourceCode: {
31218
+ readonly type: "string";
31219
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
31220
+ };
31221
+ readonly readFields: {
31222
+ readonly type: "array";
31223
+ readonly minItems: 1;
31224
+ readonly maxItems: 64;
31225
+ readonly uniqueItems: true;
31226
+ readonly items: {
31227
+ readonly type: "string";
31228
+ readonly minLength: 1;
31229
+ };
31230
+ };
31231
+ readonly writeFields: {
31232
+ readonly type: "array";
31233
+ readonly maxItems: 64;
31234
+ readonly uniqueItems: true;
31235
+ readonly items: {
31236
+ readonly type: "string";
31237
+ readonly minLength: 1;
31238
+ };
31239
+ };
31240
+ readonly writeOperations: {
31241
+ readonly type: "array";
31242
+ readonly maxItems: 2;
31243
+ readonly uniqueItems: true;
31244
+ readonly items: {
31245
+ readonly enum: readonly ["create", "update"];
31246
+ };
31247
+ };
30864
31248
  };
30865
31249
  };
30866
31250
  };
30867
31251
  };
30868
- };
31252
+ readonly type: "object";
31253
+ readonly additionalProperties: false;
31254
+ }];
30869
31255
  };
30870
31256
  readonly id: {
30871
31257
  readonly type: "string";
@@ -32832,306 +33218,965 @@ export declare const contractSchemas: {
32832
33218
  readonly type: "object";
32833
33219
  readonly maxProperties: 200;
32834
33220
  readonly additionalProperties: {
32835
- readonly type: "object";
32836
- readonly additionalProperties: false;
32837
- readonly required: readonly ["provider"];
32838
- readonly allOf: readonly [{
32839
- readonly if: {
32840
- readonly required: readonly ["roleCodes"];
32841
- };
32842
- readonly then: {
32843
- readonly properties: {
32844
- readonly provider: {
32845
- readonly enum: readonly ["app_role", "app_role_in_scope"];
33221
+ readonly oneOf: readonly [{
33222
+ readonly type: "object";
33223
+ readonly additionalProperties: false;
33224
+ readonly required: readonly ["provider"];
33225
+ readonly allOf: readonly [{
33226
+ readonly if: {
33227
+ readonly required: readonly ["roleCodes"];
33228
+ };
33229
+ readonly then: {
33230
+ readonly properties: {
33231
+ readonly provider: {
33232
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
33233
+ };
33234
+ };
33235
+ readonly not: {
33236
+ readonly anyOf: readonly [{
33237
+ readonly required: readonly ["roleCode"];
33238
+ }, {
33239
+ readonly required: readonly ["candidateField"];
33240
+ }];
32846
33241
  };
32847
33242
  };
32848
- readonly not: {
32849
- readonly anyOf: readonly [{
32850
- readonly required: readonly ["roleCode"];
32851
- }, {
32852
- readonly required: readonly ["candidateField"];
32853
- }];
33243
+ }, {
33244
+ readonly if: {
33245
+ readonly required: readonly ["candidateField"];
32854
33246
  };
32855
- };
32856
- }, {
32857
- readonly if: {
32858
- readonly required: readonly ["candidateField"];
32859
- };
32860
- readonly then: {
32861
- readonly required: readonly ["inputPath"];
32862
- readonly properties: {
32863
- readonly provider: {
32864
- readonly const: "form_field_users";
33247
+ readonly then: {
33248
+ readonly required: readonly ["inputPath"];
33249
+ readonly properties: {
33250
+ readonly provider: {
33251
+ readonly const: "form_field_users";
33252
+ };
33253
+ };
33254
+ readonly not: {
33255
+ readonly anyOf: readonly [{
33256
+ readonly required: readonly ["roleCode"];
33257
+ }, {
33258
+ readonly required: readonly ["scope"];
33259
+ }, {
33260
+ readonly required: readonly ["routing"];
33261
+ }];
32865
33262
  };
32866
33263
  };
32867
- readonly not: {
33264
+ }, {
33265
+ readonly if: {
33266
+ readonly required: readonly ["selectedInputPath"];
33267
+ };
33268
+ readonly then: {
33269
+ readonly properties: {
33270
+ readonly provider: {
33271
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
33272
+ };
33273
+ };
32868
33274
  readonly anyOf: readonly [{
32869
33275
  readonly required: readonly ["roleCode"];
32870
33276
  }, {
32871
- readonly required: readonly ["scope"];
32872
- }, {
32873
- readonly required: readonly ["routing"];
33277
+ readonly required: readonly ["roleCodes"];
32874
33278
  }];
33279
+ readonly not: {
33280
+ readonly anyOf: readonly [{
33281
+ readonly required: readonly ["candidateField"];
33282
+ }, {
33283
+ readonly required: readonly ["inputPath"];
33284
+ }, {
33285
+ readonly required: readonly ["routing"];
33286
+ }];
33287
+ };
32875
33288
  };
32876
- };
32877
- }, {
32878
- readonly if: {
32879
- readonly required: readonly ["selectedInputPath"];
32880
- };
32881
- readonly then: {
32882
- readonly properties: {
32883
- readonly provider: {
32884
- readonly enum: readonly ["app_role", "app_role_in_scope"];
33289
+ }];
33290
+ readonly properties: {
33291
+ readonly provider: {
33292
+ readonly enum: readonly ["fixed_users", "initiator", "input_users", "form_field_users", "department_supervisor", "supervisor_chain", "app_role", "app_role_in_scope", "business_relation", "previous_node_actor", "initiator_select", "application_provider"];
33293
+ };
33294
+ readonly users: {
33295
+ readonly type: "array";
33296
+ readonly uniqueItems: true;
33297
+ readonly items: {
33298
+ readonly type: "string";
33299
+ readonly minLength: 1;
32885
33300
  };
32886
33301
  };
32887
- readonly anyOf: readonly [{
32888
- readonly required: readonly ["roleCode"];
32889
- }, {
32890
- readonly required: readonly ["roleCodes"];
32891
- }];
32892
- readonly not: {
32893
- readonly anyOf: readonly [{
32894
- readonly required: readonly ["candidateField"];
33302
+ readonly inputPath: {
33303
+ readonly type: "string";
33304
+ };
33305
+ readonly selectedInputPath: {
33306
+ readonly type: "string";
33307
+ readonly maxLength: 255;
33308
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]*(?:\\.[A-Za-z][A-Za-z0-9_-]*)*$";
33309
+ };
33310
+ readonly candidateField: {
33311
+ readonly type: "string";
33312
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
33313
+ };
33314
+ readonly from: {
33315
+ readonly oneOf: readonly [{
33316
+ readonly const: "initiator";
33317
+ }, {
33318
+ readonly type: "object";
33319
+ readonly additionalProperties: false;
33320
+ readonly required: readonly ["field"];
33321
+ readonly properties: {
33322
+ readonly field: {
33323
+ readonly type: "string";
33324
+ readonly maxLength: 255;
33325
+ };
33326
+ };
33327
+ }];
33328
+ };
33329
+ readonly until: {
33330
+ readonly oneOf: readonly [{
33331
+ readonly const: "top";
32895
33332
  }, {
32896
- readonly required: readonly ["inputPath"];
33333
+ readonly type: "object";
33334
+ readonly additionalProperties: false;
33335
+ readonly required: readonly ["level"];
33336
+ readonly properties: {
33337
+ readonly level: {
33338
+ readonly type: "integer";
33339
+ readonly minimum: 1;
33340
+ readonly maximum: 20;
33341
+ };
33342
+ };
32897
33343
  }, {
32898
- readonly required: readonly ["routing"];
33344
+ readonly type: "object";
33345
+ readonly additionalProperties: false;
33346
+ readonly required: readonly ["roleCode"];
33347
+ readonly properties: {
33348
+ readonly roleCode: {
33349
+ readonly type: "string";
33350
+ readonly minLength: 1;
33351
+ };
33352
+ };
32899
33353
  }];
32900
33354
  };
32901
- };
32902
- }];
32903
- readonly properties: {
32904
- readonly provider: {
32905
- readonly enum: readonly ["fixed_users", "initiator", "input_users", "form_field_users", "department_supervisor", "supervisor_chain", "app_role", "app_role_in_scope", "business_relation", "previous_node_actor", "initiator_select", "application_provider"];
32906
- };
32907
- readonly users: {
32908
- readonly type: "array";
32909
- readonly uniqueItems: true;
32910
- readonly items: {
33355
+ readonly continuous: {
33356
+ readonly type: "boolean";
33357
+ };
33358
+ readonly missing: {
33359
+ readonly enum: readonly ["skip_level", "block"];
33360
+ };
33361
+ readonly departmentIdFrom: {
32911
33362
  readonly type: "string";
32912
- readonly minLength: 1;
32913
33363
  };
32914
- };
32915
- readonly inputPath: {
32916
- readonly type: "string";
32917
- };
32918
- readonly selectedInputPath: {
32919
- readonly type: "string";
32920
- readonly maxLength: 255;
32921
- readonly pattern: "^[A-Za-z][A-Za-z0-9_-]*(?:\\.[A-Za-z][A-Za-z0-9_-]*)*$";
32922
- };
32923
- readonly candidateField: {
32924
- readonly type: "string";
32925
- readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
32926
- };
32927
- readonly from: {
32928
- readonly oneOf: readonly [{
32929
- readonly const: "initiator";
32930
- }, {
33364
+ readonly level: {
33365
+ readonly type: "integer";
33366
+ readonly minimum: 1;
33367
+ readonly maximum: 20;
33368
+ };
33369
+ readonly fallbackToAncestorSupervisor: {
33370
+ readonly type: "boolean";
33371
+ };
33372
+ readonly roleCode: {
33373
+ readonly type: "string";
33374
+ };
33375
+ readonly roleCodes: {
33376
+ readonly type: "array";
33377
+ readonly minItems: 2;
33378
+ readonly maxItems: 8;
33379
+ readonly uniqueItems: true;
33380
+ readonly items: {
33381
+ readonly type: "string";
33382
+ readonly maxLength: 128;
33383
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
33384
+ };
33385
+ };
33386
+ readonly scope: {
32931
33387
  readonly type: "object";
32932
33388
  readonly additionalProperties: false;
32933
- readonly required: readonly ["field"];
33389
+ readonly required: readonly ["dimension"];
32934
33390
  readonly properties: {
32935
- readonly field: {
33391
+ readonly dimension: {
32936
33392
  readonly type: "string";
32937
- readonly maxLength: 255;
33393
+ readonly minLength: 1;
32938
33394
  };
32939
- };
32940
- }];
32941
- };
32942
- readonly until: {
32943
- readonly oneOf: readonly [{
32944
- readonly const: "top";
32945
- }, {
32946
- readonly type: "object";
32947
- readonly additionalProperties: false;
32948
- readonly required: readonly ["level"];
32949
- readonly properties: {
32950
- readonly level: {
32951
- readonly type: "integer";
32952
- readonly minimum: 1;
32953
- readonly maximum: 20;
33395
+ readonly valueFrom: {
33396
+ readonly type: "string";
33397
+ };
33398
+ readonly value: {
33399
+ readonly type: "string";
32954
33400
  };
32955
33401
  };
32956
- }, {
33402
+ };
33403
+ readonly relationCode: {
33404
+ readonly type: "string";
33405
+ };
33406
+ readonly resourceCode: {
33407
+ readonly type: "string";
33408
+ };
33409
+ readonly resourceIdFrom: {
33410
+ readonly type: "string";
33411
+ };
33412
+ readonly providerCode: {
33413
+ readonly type: "string";
33414
+ };
33415
+ readonly min: {
33416
+ readonly type: "integer";
33417
+ readonly minimum: 1;
33418
+ readonly maximum: 200;
33419
+ };
33420
+ readonly max: {
33421
+ readonly type: "integer";
33422
+ readonly minimum: 1;
33423
+ readonly maximum: 200;
33424
+ };
33425
+ readonly delegatable: {
33426
+ readonly type: "boolean";
33427
+ };
33428
+ readonly routing: {
32957
33429
  readonly type: "object";
32958
33430
  readonly additionalProperties: false;
32959
- readonly required: readonly ["roleCode"];
33431
+ readonly required: readonly ["policyCode", "title", "strategy", "dimensions", "sources"];
32960
33432
  readonly properties: {
32961
- readonly roleCode: {
33433
+ readonly policyCode: {
33434
+ readonly type: "string";
33435
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
33436
+ };
33437
+ readonly title: {
32962
33438
  readonly type: "string";
32963
33439
  readonly minLength: 1;
33440
+ readonly maxLength: 128;
33441
+ };
33442
+ readonly strategy: {
33443
+ readonly enum: readonly ["replace_then_append", "replace_only"];
33444
+ };
33445
+ readonly dimensions: {
33446
+ readonly type: "object";
33447
+ readonly maxProperties: 8;
33448
+ readonly propertyNames: {
33449
+ readonly type: "string";
33450
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
33451
+ };
33452
+ readonly additionalProperties: {
33453
+ readonly type: "object";
33454
+ readonly additionalProperties: false;
33455
+ readonly required: readonly ["title", "valueFrom"];
33456
+ readonly properties: {
33457
+ readonly title: {
33458
+ readonly type: "string";
33459
+ readonly minLength: 1;
33460
+ readonly maxLength: 128;
33461
+ };
33462
+ readonly valueFrom: {
33463
+ readonly type: "string";
33464
+ readonly minLength: 1;
33465
+ readonly maxLength: 255;
33466
+ };
33467
+ };
33468
+ };
33469
+ };
33470
+ readonly sources: {
33471
+ readonly type: "object";
33472
+ readonly minProperties: 1;
33473
+ readonly maxProperties: 16;
33474
+ readonly propertyNames: {
33475
+ readonly type: "string";
33476
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
33477
+ };
33478
+ readonly additionalProperties: {
33479
+ readonly type: "object";
33480
+ readonly additionalProperties: false;
33481
+ readonly required: readonly ["title", "provider", "roleCode"];
33482
+ readonly properties: {
33483
+ readonly title: {
33484
+ readonly type: "string";
33485
+ readonly minLength: 1;
33486
+ readonly maxLength: 128;
33487
+ };
33488
+ readonly provider: {
33489
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
33490
+ };
33491
+ readonly roleCode: {
33492
+ readonly type: "string";
33493
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
33494
+ };
33495
+ readonly scope: {
33496
+ readonly type: "object";
33497
+ readonly additionalProperties: false;
33498
+ readonly required: readonly ["dimension"];
33499
+ readonly properties: {
33500
+ readonly dimension: {
33501
+ readonly type: "string";
33502
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
33503
+ };
33504
+ readonly value: {
33505
+ readonly type: "string";
33506
+ readonly minLength: 1;
33507
+ readonly maxLength: 255;
33508
+ };
33509
+ readonly valueFrom: {
33510
+ readonly type: "string";
33511
+ readonly minLength: 1;
33512
+ readonly maxLength: 255;
33513
+ };
33514
+ };
33515
+ };
33516
+ };
33517
+ };
32964
33518
  };
32965
33519
  };
32966
- }];
32967
- };
32968
- readonly continuous: {
32969
- readonly type: "boolean";
32970
- };
32971
- readonly missing: {
32972
- readonly enum: readonly ["skip_level", "block"];
32973
- };
32974
- readonly departmentIdFrom: {
32975
- readonly type: "string";
32976
- };
32977
- readonly level: {
32978
- readonly type: "integer";
32979
- readonly minimum: 1;
32980
- readonly maximum: 20;
32981
- };
32982
- readonly fallbackToAncestorSupervisor: {
32983
- readonly type: "boolean";
32984
- };
32985
- readonly roleCode: {
32986
- readonly type: "string";
32987
- };
32988
- readonly roleCodes: {
32989
- readonly type: "array";
32990
- readonly minItems: 2;
32991
- readonly maxItems: 8;
32992
- readonly uniqueItems: true;
32993
- readonly items: {
32994
- readonly type: "string";
32995
- readonly maxLength: 128;
32996
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
32997
33520
  };
32998
33521
  };
32999
- readonly scope: {
33000
- readonly type: "object";
33001
- readonly additionalProperties: false;
33002
- readonly required: readonly ["dimension"];
33003
- readonly properties: {
33004
- readonly dimension: {
33005
- readonly type: "string";
33006
- readonly minLength: 1;
33007
- };
33008
- readonly valueFrom: {
33009
- readonly type: "string";
33010
- };
33011
- readonly value: {
33012
- readonly type: "string";
33013
- };
33522
+ }, {
33523
+ readonly type: "object";
33524
+ readonly additionalProperties: false;
33525
+ readonly required: readonly ["provider", "cases", "otherwise"];
33526
+ readonly properties: {
33527
+ readonly provider: {
33528
+ readonly const: "conditional";
33014
33529
  };
33015
- };
33016
- readonly relationCode: {
33017
- readonly type: "string";
33018
- };
33019
- readonly resourceCode: {
33020
- readonly type: "string";
33021
- };
33022
- readonly resourceIdFrom: {
33023
- readonly type: "string";
33024
- };
33025
- readonly providerCode: {
33026
- readonly type: "string";
33027
- };
33028
- readonly min: {
33029
- readonly type: "integer";
33030
- readonly minimum: 1;
33031
- readonly maximum: 200;
33032
- };
33033
- readonly max: {
33034
- readonly type: "integer";
33035
- readonly minimum: 1;
33036
- readonly maximum: 200;
33037
- };
33038
- readonly delegatable: {
33039
- readonly type: "boolean";
33040
- };
33041
- readonly routing: {
33042
- readonly type: "object";
33043
- readonly additionalProperties: false;
33044
- readonly required: readonly ["policyCode", "title", "strategy", "dimensions", "sources"];
33045
- readonly properties: {
33046
- readonly policyCode: {
33047
- readonly type: "string";
33048
- readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
33049
- };
33050
- readonly title: {
33051
- readonly type: "string";
33052
- readonly minLength: 1;
33053
- readonly maxLength: 128;
33054
- };
33055
- readonly strategy: {
33056
- readonly enum: readonly ["replace_then_append", "replace_only"];
33057
- };
33058
- readonly dimensions: {
33530
+ readonly cases: {
33531
+ readonly type: "array";
33532
+ readonly minItems: 1;
33533
+ readonly maxItems: 20;
33534
+ readonly items: {
33059
33535
  readonly type: "object";
33060
- readonly maxProperties: 8;
33061
- readonly propertyNames: {
33536
+ readonly additionalProperties: false;
33537
+ readonly required: readonly ["when", "assignee"];
33538
+ readonly properties: {
33539
+ readonly label: {
33540
+ readonly type: "string";
33541
+ readonly minLength: 1;
33542
+ readonly maxLength: 160;
33543
+ };
33544
+ readonly when: {
33545
+ readonly type: "object";
33546
+ readonly required: readonly ["op"];
33547
+ readonly properties: {
33548
+ readonly op: {
33549
+ readonly enum: readonly ["literal", "path", "eq", "neq", "gt", "gte", "lt", "lte", "in", "contains", "and", "or", "not", "exists"];
33550
+ };
33551
+ readonly value: {};
33552
+ readonly path: {
33553
+ readonly type: "string";
33554
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_.]{0,254}$";
33555
+ };
33556
+ readonly left: {
33557
+ readonly type: "object";
33558
+ };
33559
+ readonly right: {
33560
+ readonly type: "object";
33561
+ };
33562
+ readonly values: {
33563
+ readonly type: "array";
33564
+ readonly minItems: 1;
33565
+ readonly items: {
33566
+ readonly type: "object";
33567
+ };
33568
+ };
33569
+ };
33570
+ };
33571
+ readonly assignee: {
33572
+ readonly properties: {
33573
+ readonly provider: {
33574
+ readonly enum: readonly ["fixed_users", "app_role", "app_role_in_scope", "supervisor_chain", "form_field_users", "input_users", "initiator", "previous_node_actor", "business_relation"];
33575
+ };
33576
+ readonly users: {
33577
+ readonly type: "array";
33578
+ readonly uniqueItems: true;
33579
+ readonly items: {
33580
+ readonly type: "string";
33581
+ readonly minLength: 1;
33582
+ };
33583
+ };
33584
+ readonly inputPath: {
33585
+ readonly type: "string";
33586
+ };
33587
+ readonly selectedInputPath: {
33588
+ readonly type: "string";
33589
+ readonly maxLength: 255;
33590
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]*(?:\\.[A-Za-z][A-Za-z0-9_-]*)*$";
33591
+ };
33592
+ readonly candidateField: {
33593
+ readonly type: "string";
33594
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
33595
+ };
33596
+ readonly from: {
33597
+ readonly oneOf: readonly [{
33598
+ readonly const: "initiator";
33599
+ }, {
33600
+ readonly type: "object";
33601
+ readonly additionalProperties: false;
33602
+ readonly required: readonly ["field"];
33603
+ readonly properties: {
33604
+ readonly field: {
33605
+ readonly type: "string";
33606
+ readonly maxLength: 255;
33607
+ };
33608
+ };
33609
+ }];
33610
+ };
33611
+ readonly until: {
33612
+ readonly oneOf: readonly [{
33613
+ readonly const: "top";
33614
+ }, {
33615
+ readonly type: "object";
33616
+ readonly additionalProperties: false;
33617
+ readonly required: readonly ["level"];
33618
+ readonly properties: {
33619
+ readonly level: {
33620
+ readonly type: "integer";
33621
+ readonly minimum: 1;
33622
+ readonly maximum: 20;
33623
+ };
33624
+ };
33625
+ }, {
33626
+ readonly type: "object";
33627
+ readonly additionalProperties: false;
33628
+ readonly required: readonly ["roleCode"];
33629
+ readonly properties: {
33630
+ readonly roleCode: {
33631
+ readonly type: "string";
33632
+ readonly minLength: 1;
33633
+ };
33634
+ };
33635
+ }];
33636
+ };
33637
+ readonly continuous: {
33638
+ readonly type: "boolean";
33639
+ };
33640
+ readonly missing: {
33641
+ readonly enum: readonly ["skip_level", "block"];
33642
+ };
33643
+ readonly departmentIdFrom: {
33644
+ readonly type: "string";
33645
+ };
33646
+ readonly level: {
33647
+ readonly type: "integer";
33648
+ readonly minimum: 1;
33649
+ readonly maximum: 20;
33650
+ };
33651
+ readonly fallbackToAncestorSupervisor: {
33652
+ readonly type: "boolean";
33653
+ };
33654
+ readonly roleCode: {
33655
+ readonly type: "string";
33656
+ };
33657
+ readonly roleCodes: {
33658
+ readonly type: "array";
33659
+ readonly minItems: 2;
33660
+ readonly maxItems: 8;
33661
+ readonly uniqueItems: true;
33662
+ readonly items: {
33663
+ readonly type: "string";
33664
+ readonly maxLength: 128;
33665
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
33666
+ };
33667
+ };
33668
+ readonly scope: {
33669
+ readonly type: "object";
33670
+ readonly additionalProperties: false;
33671
+ readonly required: readonly ["dimension"];
33672
+ readonly properties: {
33673
+ readonly dimension: {
33674
+ readonly type: "string";
33675
+ readonly minLength: 1;
33676
+ };
33677
+ readonly valueFrom: {
33678
+ readonly type: "string";
33679
+ };
33680
+ readonly value: {
33681
+ readonly type: "string";
33682
+ };
33683
+ };
33684
+ };
33685
+ readonly relationCode: {
33686
+ readonly type: "string";
33687
+ };
33688
+ readonly resourceCode: {
33689
+ readonly type: "string";
33690
+ };
33691
+ readonly resourceIdFrom: {
33692
+ readonly type: "string";
33693
+ };
33694
+ readonly providerCode: {
33695
+ readonly type: "string";
33696
+ };
33697
+ readonly min: {
33698
+ readonly type: "integer";
33699
+ readonly minimum: 1;
33700
+ readonly maximum: 200;
33701
+ };
33702
+ readonly max: {
33703
+ readonly type: "integer";
33704
+ readonly minimum: 1;
33705
+ readonly maximum: 200;
33706
+ };
33707
+ readonly delegatable: {
33708
+ readonly type: "boolean";
33709
+ };
33710
+ readonly routing: {
33711
+ readonly type: "object";
33712
+ readonly additionalProperties: false;
33713
+ readonly required: readonly ["policyCode", "title", "strategy", "dimensions", "sources"];
33714
+ readonly properties: {
33715
+ readonly policyCode: {
33716
+ readonly type: "string";
33717
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
33718
+ };
33719
+ readonly title: {
33720
+ readonly type: "string";
33721
+ readonly minLength: 1;
33722
+ readonly maxLength: 128;
33723
+ };
33724
+ readonly strategy: {
33725
+ readonly enum: readonly ["replace_then_append", "replace_only"];
33726
+ };
33727
+ readonly dimensions: {
33728
+ readonly type: "object";
33729
+ readonly maxProperties: 8;
33730
+ readonly propertyNames: {
33731
+ readonly type: "string";
33732
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
33733
+ };
33734
+ readonly additionalProperties: {
33735
+ readonly type: "object";
33736
+ readonly additionalProperties: false;
33737
+ readonly required: readonly ["title", "valueFrom"];
33738
+ readonly properties: {
33739
+ readonly title: {
33740
+ readonly type: "string";
33741
+ readonly minLength: 1;
33742
+ readonly maxLength: 128;
33743
+ };
33744
+ readonly valueFrom: {
33745
+ readonly type: "string";
33746
+ readonly minLength: 1;
33747
+ readonly maxLength: 255;
33748
+ };
33749
+ };
33750
+ };
33751
+ };
33752
+ readonly sources: {
33753
+ readonly type: "object";
33754
+ readonly minProperties: 1;
33755
+ readonly maxProperties: 16;
33756
+ readonly propertyNames: {
33757
+ readonly type: "string";
33758
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
33759
+ };
33760
+ readonly additionalProperties: {
33761
+ readonly type: "object";
33762
+ readonly additionalProperties: false;
33763
+ readonly required: readonly ["title", "provider", "roleCode"];
33764
+ readonly properties: {
33765
+ readonly title: {
33766
+ readonly type: "string";
33767
+ readonly minLength: 1;
33768
+ readonly maxLength: 128;
33769
+ };
33770
+ readonly provider: {
33771
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
33772
+ };
33773
+ readonly roleCode: {
33774
+ readonly type: "string";
33775
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
33776
+ };
33777
+ readonly scope: {
33778
+ readonly type: "object";
33779
+ readonly additionalProperties: false;
33780
+ readonly required: readonly ["dimension"];
33781
+ readonly properties: {
33782
+ readonly dimension: {
33783
+ readonly type: "string";
33784
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
33785
+ };
33786
+ readonly value: {
33787
+ readonly type: "string";
33788
+ readonly minLength: 1;
33789
+ readonly maxLength: 255;
33790
+ };
33791
+ readonly valueFrom: {
33792
+ readonly type: "string";
33793
+ readonly minLength: 1;
33794
+ readonly maxLength: 255;
33795
+ };
33796
+ };
33797
+ };
33798
+ };
33799
+ };
33800
+ };
33801
+ };
33802
+ };
33803
+ };
33804
+ readonly type: "object";
33805
+ readonly additionalProperties: false;
33806
+ readonly required: readonly ["provider"];
33807
+ readonly allOf: readonly [{
33808
+ readonly if: {
33809
+ readonly required: readonly ["roleCodes"];
33810
+ };
33811
+ readonly then: {
33812
+ readonly properties: {
33813
+ readonly provider: {
33814
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
33815
+ };
33816
+ };
33817
+ readonly not: {
33818
+ readonly anyOf: readonly [{
33819
+ readonly required: readonly ["roleCode"];
33820
+ }, {
33821
+ readonly required: readonly ["candidateField"];
33822
+ }];
33823
+ };
33824
+ };
33825
+ }, {
33826
+ readonly if: {
33827
+ readonly required: readonly ["candidateField"];
33828
+ };
33829
+ readonly then: {
33830
+ readonly required: readonly ["inputPath"];
33831
+ readonly properties: {
33832
+ readonly provider: {
33833
+ readonly const: "form_field_users";
33834
+ };
33835
+ };
33836
+ readonly not: {
33837
+ readonly anyOf: readonly [{
33838
+ readonly required: readonly ["roleCode"];
33839
+ }, {
33840
+ readonly required: readonly ["scope"];
33841
+ }, {
33842
+ readonly required: readonly ["routing"];
33843
+ }];
33844
+ };
33845
+ };
33846
+ }, {
33847
+ readonly if: {
33848
+ readonly required: readonly ["selectedInputPath"];
33849
+ };
33850
+ readonly then: {
33851
+ readonly properties: {
33852
+ readonly provider: {
33853
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
33854
+ };
33855
+ };
33856
+ readonly anyOf: readonly [{
33857
+ readonly required: readonly ["roleCode"];
33858
+ }, {
33859
+ readonly required: readonly ["roleCodes"];
33860
+ }];
33861
+ readonly not: {
33862
+ readonly anyOf: readonly [{
33863
+ readonly required: readonly ["candidateField"];
33864
+ }, {
33865
+ readonly required: readonly ["inputPath"];
33866
+ }, {
33867
+ readonly required: readonly ["routing"];
33868
+ }];
33869
+ };
33870
+ };
33871
+ }];
33872
+ };
33873
+ };
33874
+ };
33875
+ };
33876
+ readonly otherwise: {
33877
+ readonly properties: {
33878
+ readonly provider: {
33879
+ readonly enum: readonly ["fixed_users", "app_role", "app_role_in_scope", "supervisor_chain", "form_field_users", "input_users", "initiator", "previous_node_actor", "business_relation"];
33880
+ };
33881
+ readonly users: {
33882
+ readonly type: "array";
33883
+ readonly uniqueItems: true;
33884
+ readonly items: {
33885
+ readonly type: "string";
33886
+ readonly minLength: 1;
33887
+ };
33888
+ };
33889
+ readonly inputPath: {
33062
33890
  readonly type: "string";
33063
- readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
33064
33891
  };
33065
- readonly additionalProperties: {
33892
+ readonly selectedInputPath: {
33893
+ readonly type: "string";
33894
+ readonly maxLength: 255;
33895
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_-]*(?:\\.[A-Za-z][A-Za-z0-9_-]*)*$";
33896
+ };
33897
+ readonly candidateField: {
33898
+ readonly type: "string";
33899
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
33900
+ };
33901
+ readonly from: {
33902
+ readonly oneOf: readonly [{
33903
+ readonly const: "initiator";
33904
+ }, {
33905
+ readonly type: "object";
33906
+ readonly additionalProperties: false;
33907
+ readonly required: readonly ["field"];
33908
+ readonly properties: {
33909
+ readonly field: {
33910
+ readonly type: "string";
33911
+ readonly maxLength: 255;
33912
+ };
33913
+ };
33914
+ }];
33915
+ };
33916
+ readonly until: {
33917
+ readonly oneOf: readonly [{
33918
+ readonly const: "top";
33919
+ }, {
33920
+ readonly type: "object";
33921
+ readonly additionalProperties: false;
33922
+ readonly required: readonly ["level"];
33923
+ readonly properties: {
33924
+ readonly level: {
33925
+ readonly type: "integer";
33926
+ readonly minimum: 1;
33927
+ readonly maximum: 20;
33928
+ };
33929
+ };
33930
+ }, {
33931
+ readonly type: "object";
33932
+ readonly additionalProperties: false;
33933
+ readonly required: readonly ["roleCode"];
33934
+ readonly properties: {
33935
+ readonly roleCode: {
33936
+ readonly type: "string";
33937
+ readonly minLength: 1;
33938
+ };
33939
+ };
33940
+ }];
33941
+ };
33942
+ readonly continuous: {
33943
+ readonly type: "boolean";
33944
+ };
33945
+ readonly missing: {
33946
+ readonly enum: readonly ["skip_level", "block"];
33947
+ };
33948
+ readonly departmentIdFrom: {
33949
+ readonly type: "string";
33950
+ };
33951
+ readonly level: {
33952
+ readonly type: "integer";
33953
+ readonly minimum: 1;
33954
+ readonly maximum: 20;
33955
+ };
33956
+ readonly fallbackToAncestorSupervisor: {
33957
+ readonly type: "boolean";
33958
+ };
33959
+ readonly roleCode: {
33960
+ readonly type: "string";
33961
+ };
33962
+ readonly roleCodes: {
33963
+ readonly type: "array";
33964
+ readonly minItems: 2;
33965
+ readonly maxItems: 8;
33966
+ readonly uniqueItems: true;
33967
+ readonly items: {
33968
+ readonly type: "string";
33969
+ readonly maxLength: 128;
33970
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
33971
+ };
33972
+ };
33973
+ readonly scope: {
33066
33974
  readonly type: "object";
33067
33975
  readonly additionalProperties: false;
33068
- readonly required: readonly ["title", "valueFrom"];
33976
+ readonly required: readonly ["dimension"];
33069
33977
  readonly properties: {
33070
- readonly title: {
33978
+ readonly dimension: {
33071
33979
  readonly type: "string";
33072
33980
  readonly minLength: 1;
33073
- readonly maxLength: 128;
33074
33981
  };
33075
33982
  readonly valueFrom: {
33076
33983
  readonly type: "string";
33077
- readonly minLength: 1;
33078
- readonly maxLength: 255;
33984
+ };
33985
+ readonly value: {
33986
+ readonly type: "string";
33079
33987
  };
33080
33988
  };
33081
33989
  };
33082
- };
33083
- readonly sources: {
33084
- readonly type: "object";
33085
- readonly minProperties: 1;
33086
- readonly maxProperties: 16;
33087
- readonly propertyNames: {
33990
+ readonly relationCode: {
33088
33991
  readonly type: "string";
33089
- readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
33090
33992
  };
33091
- readonly additionalProperties: {
33993
+ readonly resourceCode: {
33994
+ readonly type: "string";
33995
+ };
33996
+ readonly resourceIdFrom: {
33997
+ readonly type: "string";
33998
+ };
33999
+ readonly providerCode: {
34000
+ readonly type: "string";
34001
+ };
34002
+ readonly min: {
34003
+ readonly type: "integer";
34004
+ readonly minimum: 1;
34005
+ readonly maximum: 200;
34006
+ };
34007
+ readonly max: {
34008
+ readonly type: "integer";
34009
+ readonly minimum: 1;
34010
+ readonly maximum: 200;
34011
+ };
34012
+ readonly delegatable: {
34013
+ readonly type: "boolean";
34014
+ };
34015
+ readonly routing: {
33092
34016
  readonly type: "object";
33093
34017
  readonly additionalProperties: false;
33094
- readonly required: readonly ["title", "provider", "roleCode"];
34018
+ readonly required: readonly ["policyCode", "title", "strategy", "dimensions", "sources"];
33095
34019
  readonly properties: {
34020
+ readonly policyCode: {
34021
+ readonly type: "string";
34022
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
34023
+ };
33096
34024
  readonly title: {
33097
34025
  readonly type: "string";
33098
34026
  readonly minLength: 1;
33099
34027
  readonly maxLength: 128;
33100
34028
  };
33101
- readonly provider: {
33102
- readonly enum: readonly ["app_role", "app_role_in_scope"];
33103
- };
33104
- readonly roleCode: {
33105
- readonly type: "string";
33106
- readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
34029
+ readonly strategy: {
34030
+ readonly enum: readonly ["replace_then_append", "replace_only"];
33107
34031
  };
33108
- readonly scope: {
34032
+ readonly dimensions: {
33109
34033
  readonly type: "object";
33110
- readonly additionalProperties: false;
33111
- readonly required: readonly ["dimension"];
33112
- readonly properties: {
33113
- readonly dimension: {
33114
- readonly type: "string";
33115
- readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
33116
- };
33117
- readonly value: {
33118
- readonly type: "string";
33119
- readonly minLength: 1;
33120
- readonly maxLength: 255;
34034
+ readonly maxProperties: 8;
34035
+ readonly propertyNames: {
34036
+ readonly type: "string";
34037
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
34038
+ };
34039
+ readonly additionalProperties: {
34040
+ readonly type: "object";
34041
+ readonly additionalProperties: false;
34042
+ readonly required: readonly ["title", "valueFrom"];
34043
+ readonly properties: {
34044
+ readonly title: {
34045
+ readonly type: "string";
34046
+ readonly minLength: 1;
34047
+ readonly maxLength: 128;
34048
+ };
34049
+ readonly valueFrom: {
34050
+ readonly type: "string";
34051
+ readonly minLength: 1;
34052
+ readonly maxLength: 255;
34053
+ };
33121
34054
  };
33122
- readonly valueFrom: {
33123
- readonly type: "string";
33124
- readonly minLength: 1;
33125
- readonly maxLength: 255;
34055
+ };
34056
+ };
34057
+ readonly sources: {
34058
+ readonly type: "object";
34059
+ readonly minProperties: 1;
34060
+ readonly maxProperties: 16;
34061
+ readonly propertyNames: {
34062
+ readonly type: "string";
34063
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
34064
+ };
34065
+ readonly additionalProperties: {
34066
+ readonly type: "object";
34067
+ readonly additionalProperties: false;
34068
+ readonly required: readonly ["title", "provider", "roleCode"];
34069
+ readonly properties: {
34070
+ readonly title: {
34071
+ readonly type: "string";
34072
+ readonly minLength: 1;
34073
+ readonly maxLength: 128;
34074
+ };
34075
+ readonly provider: {
34076
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
34077
+ };
34078
+ readonly roleCode: {
34079
+ readonly type: "string";
34080
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
34081
+ };
34082
+ readonly scope: {
34083
+ readonly type: "object";
34084
+ readonly additionalProperties: false;
34085
+ readonly required: readonly ["dimension"];
34086
+ readonly properties: {
34087
+ readonly dimension: {
34088
+ readonly type: "string";
34089
+ readonly pattern: "^[a-z][a-z0-9_-]{0,127}$";
34090
+ };
34091
+ readonly value: {
34092
+ readonly type: "string";
34093
+ readonly minLength: 1;
34094
+ readonly maxLength: 255;
34095
+ };
34096
+ readonly valueFrom: {
34097
+ readonly type: "string";
34098
+ readonly minLength: 1;
34099
+ readonly maxLength: 255;
34100
+ };
34101
+ };
34102
+ };
33126
34103
  };
33127
34104
  };
33128
34105
  };
33129
34106
  };
33130
34107
  };
33131
34108
  };
34109
+ readonly type: "object";
34110
+ readonly additionalProperties: false;
34111
+ readonly required: readonly ["provider"];
34112
+ readonly allOf: readonly [{
34113
+ readonly if: {
34114
+ readonly required: readonly ["roleCodes"];
34115
+ };
34116
+ readonly then: {
34117
+ readonly properties: {
34118
+ readonly provider: {
34119
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
34120
+ };
34121
+ };
34122
+ readonly not: {
34123
+ readonly anyOf: readonly [{
34124
+ readonly required: readonly ["roleCode"];
34125
+ }, {
34126
+ readonly required: readonly ["candidateField"];
34127
+ }];
34128
+ };
34129
+ };
34130
+ }, {
34131
+ readonly if: {
34132
+ readonly required: readonly ["candidateField"];
34133
+ };
34134
+ readonly then: {
34135
+ readonly required: readonly ["inputPath"];
34136
+ readonly properties: {
34137
+ readonly provider: {
34138
+ readonly const: "form_field_users";
34139
+ };
34140
+ };
34141
+ readonly not: {
34142
+ readonly anyOf: readonly [{
34143
+ readonly required: readonly ["roleCode"];
34144
+ }, {
34145
+ readonly required: readonly ["scope"];
34146
+ }, {
34147
+ readonly required: readonly ["routing"];
34148
+ }];
34149
+ };
34150
+ };
34151
+ }, {
34152
+ readonly if: {
34153
+ readonly required: readonly ["selectedInputPath"];
34154
+ };
34155
+ readonly then: {
34156
+ readonly properties: {
34157
+ readonly provider: {
34158
+ readonly enum: readonly ["app_role", "app_role_in_scope"];
34159
+ };
34160
+ };
34161
+ readonly anyOf: readonly [{
34162
+ readonly required: readonly ["roleCode"];
34163
+ }, {
34164
+ readonly required: readonly ["roleCodes"];
34165
+ }];
34166
+ readonly not: {
34167
+ readonly anyOf: readonly [{
34168
+ readonly required: readonly ["candidateField"];
34169
+ }, {
34170
+ readonly required: readonly ["inputPath"];
34171
+ }, {
34172
+ readonly required: readonly ["routing"];
34173
+ }];
34174
+ };
34175
+ };
34176
+ }];
33132
34177
  };
33133
34178
  };
33134
- };
34179
+ }];
33135
34180
  };
33136
34181
  };
33137
34182
  };