openxiangda-contracts 2.91.1 → 2.94.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 (45) hide show
  1. package/dist/browser.d.ts +1 -0
  2. package/dist/browser.d.ts.map +1 -1
  3. package/dist/browser.js +1 -0
  4. package/dist/browser.js.map +1 -1
  5. package/dist/index.d.ts +1 -0
  6. package/dist/index.d.ts.map +1 -1
  7. package/dist/index.js +1 -0
  8. package/dist/index.js.map +1 -1
  9. package/dist/multi-organization.d.ts +27 -0
  10. package/dist/multi-organization.d.ts.map +1 -1
  11. package/dist/multi-organization.js +36 -1
  12. package/dist/multi-organization.js.map +1 -1
  13. package/dist/native-compiler/compiler.d.ts.map +1 -1
  14. package/dist/native-compiler/compiler.js +225 -5
  15. package/dist/native-compiler/compiler.js.map +1 -1
  16. package/dist/native-compiler/index.cjs +4 -4
  17. package/dist/native-compiler/index.d.ts +1 -0
  18. package/dist/native-compiler/index.d.ts.map +1 -1
  19. package/dist/native-compiler/index.js +4 -4
  20. package/dist/native-compiler/record-set-guard.d.ts.map +1 -1
  21. package/dist/native-compiler/record-set-guard.js +4 -2
  22. package/dist/native-compiler/record-set-guard.js.map +1 -1
  23. package/dist/native-compiler/transaction-record-assertion.d.ts +4 -0
  24. package/dist/native-compiler/transaction-record-assertion.d.ts.map +1 -0
  25. package/dist/native-compiler/transaction-record-assertion.js +24 -0
  26. package/dist/native-compiler/transaction-record-assertion.js.map +1 -0
  27. package/dist/native-compiler/transaction-time.d.ts +6 -0
  28. package/dist/native-compiler/transaction-time.d.ts.map +1 -0
  29. package/dist/native-compiler/transaction-time.js +16 -0
  30. package/dist/native-compiler/transaction-time.js.map +1 -0
  31. package/dist/native-version.d.ts +3 -0
  32. package/dist/native-version.d.ts.map +1 -1
  33. package/dist/native-version.js +3 -0
  34. package/dist/native-version.js.map +1 -1
  35. package/dist/native.d.ts +57 -1
  36. package/dist/native.d.ts.map +1 -1
  37. package/dist/native.js.map +1 -1
  38. package/dist/schemas.d.ts +1270 -168
  39. package/dist/schemas.d.ts.map +1 -1
  40. package/dist/schemas.js +165 -98
  41. package/dist/schemas.js.map +1 -1
  42. package/dist/types.d.ts +6 -0
  43. package/dist/types.d.ts.map +1 -1
  44. package/dist/types.js.map +1 -1
  45. package/package.json +1 -1
package/dist/schemas.d.ts CHANGED
@@ -8426,6 +8426,72 @@ export declare const dataTransactionRequestSchema: {
8426
8426
  };
8427
8427
  };
8428
8428
  };
8429
+ readonly assertions: {
8430
+ readonly type: "array";
8431
+ readonly minItems: 1;
8432
+ readonly maxItems: 20;
8433
+ readonly items: {
8434
+ readonly oneOf: readonly [{
8435
+ readonly type: "object";
8436
+ readonly additionalProperties: false;
8437
+ readonly required: readonly ["kind", "field", "operator"];
8438
+ readonly properties: {
8439
+ readonly kind: {
8440
+ readonly const: "value";
8441
+ };
8442
+ readonly field: {
8443
+ readonly type: "string";
8444
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
8445
+ };
8446
+ readonly operator: {
8447
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "in", "between", "has", "hasAny", "hasAll", "overlaps", "containedBy", "jsonContains", "isEmpty", "isNotEmpty"];
8448
+ };
8449
+ readonly value: {};
8450
+ readonly path: {
8451
+ readonly type: "string";
8452
+ readonly minLength: 1;
8453
+ readonly maxLength: 128;
8454
+ };
8455
+ };
8456
+ }, {
8457
+ readonly type: "object";
8458
+ readonly additionalProperties: false;
8459
+ readonly required: readonly ["kind", "leftField", "operator", "rightField"];
8460
+ readonly properties: {
8461
+ readonly kind: {
8462
+ readonly const: "field";
8463
+ };
8464
+ readonly leftField: {
8465
+ readonly type: "string";
8466
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
8467
+ };
8468
+ readonly operator: {
8469
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
8470
+ };
8471
+ readonly rightField: {
8472
+ readonly type: "string";
8473
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
8474
+ };
8475
+ };
8476
+ }, {
8477
+ readonly type: "object";
8478
+ readonly additionalProperties: false;
8479
+ readonly required: readonly ["kind", "field", "operator"];
8480
+ readonly properties: {
8481
+ readonly kind: {
8482
+ readonly const: "database-now";
8483
+ };
8484
+ readonly field: {
8485
+ readonly type: "string";
8486
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
8487
+ };
8488
+ readonly operator: {
8489
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
8490
+ };
8491
+ };
8492
+ }];
8493
+ };
8494
+ };
8429
8495
  readonly where: {
8430
8496
  readonly $ref: "#/$defs/dataWhere";
8431
8497
  };
@@ -12604,6 +12670,72 @@ export declare const businessProcessCommitSchema: {
12604
12670
  };
12605
12671
  };
12606
12672
  };
12673
+ readonly assertions: {
12674
+ readonly type: "array";
12675
+ readonly minItems: 1;
12676
+ readonly maxItems: 20;
12677
+ readonly items: {
12678
+ readonly oneOf: readonly [{
12679
+ readonly type: "object";
12680
+ readonly additionalProperties: false;
12681
+ readonly required: readonly ["kind", "field", "operator"];
12682
+ readonly properties: {
12683
+ readonly kind: {
12684
+ readonly const: "value";
12685
+ };
12686
+ readonly field: {
12687
+ readonly type: "string";
12688
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
12689
+ };
12690
+ readonly operator: {
12691
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "in", "between", "has", "hasAny", "hasAll", "overlaps", "containedBy", "jsonContains", "isEmpty", "isNotEmpty"];
12692
+ };
12693
+ readonly value: {};
12694
+ readonly path: {
12695
+ readonly type: "string";
12696
+ readonly minLength: 1;
12697
+ readonly maxLength: 128;
12698
+ };
12699
+ };
12700
+ }, {
12701
+ readonly type: "object";
12702
+ readonly additionalProperties: false;
12703
+ readonly required: readonly ["kind", "leftField", "operator", "rightField"];
12704
+ readonly properties: {
12705
+ readonly kind: {
12706
+ readonly const: "field";
12707
+ };
12708
+ readonly leftField: {
12709
+ readonly type: "string";
12710
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
12711
+ };
12712
+ readonly operator: {
12713
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
12714
+ };
12715
+ readonly rightField: {
12716
+ readonly type: "string";
12717
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
12718
+ };
12719
+ };
12720
+ }, {
12721
+ readonly type: "object";
12722
+ readonly additionalProperties: false;
12723
+ readonly required: readonly ["kind", "field", "operator"];
12724
+ readonly properties: {
12725
+ readonly kind: {
12726
+ readonly const: "database-now";
12727
+ };
12728
+ readonly field: {
12729
+ readonly type: "string";
12730
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
12731
+ };
12732
+ readonly operator: {
12733
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
12734
+ };
12735
+ };
12736
+ }];
12737
+ };
12738
+ };
12607
12739
  readonly where: {
12608
12740
  readonly $ref: "#/$defs/dataWhere";
12609
12741
  };
@@ -13458,170 +13590,236 @@ export declare const businessProcessCommandWithDataSchema: {
13458
13590
  };
13459
13591
  };
13460
13592
  };
13461
- readonly where: {
13462
- readonly $ref: "#/$defs/dataWhere";
13463
- };
13464
- };
13465
- }, {
13466
- readonly type: "object";
13467
- readonly additionalProperties: false;
13468
- readonly required: readonly ["kind", "errorCode", "anyOf"];
13469
- readonly properties: {
13470
- readonly kind: {
13471
- readonly const: "actor-authority";
13472
- };
13473
- readonly errorCode: {
13474
- readonly type: "string";
13475
- readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13476
- };
13477
- readonly allowAppSuperAdmin: {
13478
- readonly type: "boolean";
13479
- };
13480
- readonly anyOf: {
13481
- readonly type: "array";
13482
- readonly minItems: 1;
13483
- readonly maxItems: 20;
13484
- readonly uniqueItems: true;
13485
- readonly items: {
13486
- readonly type: "object";
13487
- readonly additionalProperties: false;
13488
- readonly required: readonly ["roleCode"];
13489
- readonly properties: {
13490
- readonly roleCode: {
13491
- readonly type: "string";
13492
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
13493
- readonly maxLength: 100;
13494
- };
13495
- readonly scope: {
13496
- readonly type: "object";
13497
- readonly additionalProperties: false;
13498
- readonly required: readonly ["dimensionCode", "value", "operation"];
13499
- readonly properties: {
13500
- readonly dimensionCode: {
13501
- readonly type: "string";
13502
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
13503
- readonly maxLength: 100;
13504
- };
13505
- readonly value: {
13506
- readonly type: "string";
13507
- readonly minLength: 1;
13508
- readonly maxLength: 255;
13509
- readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
13510
- };
13511
- readonly operation: {
13512
- readonly type: "string";
13513
- readonly maxLength: 64;
13514
- readonly pattern: "^[A-Za-z0-9*][A-Za-z0-9*._:-]*$";
13515
- };
13516
- };
13517
- };
13518
- };
13519
- };
13520
- };
13521
- };
13522
- }, {
13523
- readonly type: "object";
13524
- readonly additionalProperties: false;
13525
- readonly required: readonly ["kind", "operationIndex", "field", "operator", "offsetMilliseconds", "errorCode"];
13526
- readonly properties: {
13527
- readonly kind: {
13528
- readonly const: "operation-time";
13529
- };
13530
- readonly operationIndex: {
13531
- readonly type: "integer";
13532
- readonly minimum: 0;
13533
- readonly maximum: number;
13534
- };
13535
- readonly field: {
13536
- readonly type: "string";
13537
- readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
13538
- };
13539
- readonly operator: {
13540
- readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
13541
- };
13542
- readonly offsetMilliseconds: {
13543
- readonly type: "integer";
13544
- readonly minimum: -31622400000;
13545
- readonly maximum: 31622400000;
13546
- };
13547
- readonly errorCode: {
13548
- readonly type: "string";
13549
- readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13550
- };
13551
- };
13552
- }, {
13553
- readonly type: "object";
13554
- readonly additionalProperties: false;
13555
- readonly required: readonly ["kind", "userId", "roleCode", "errorCode"];
13556
- readonly properties: {
13557
- readonly kind: {
13558
- readonly const: "role-member";
13559
- };
13560
- readonly userId: {
13561
- readonly type: "string";
13562
- readonly minLength: 1;
13563
- readonly maxLength: 255;
13564
- };
13565
- readonly roleCode: {
13566
- readonly type: "string";
13567
- readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
13568
- readonly maxLength: 100;
13569
- };
13570
- readonly errorCode: {
13571
- readonly type: "string";
13572
- readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13573
- };
13574
- };
13575
- }, {
13576
- readonly type: "object";
13577
- readonly additionalProperties: false;
13578
- readonly required: readonly ["kind", "resourceCode", "lockKey", "errorCode", "where"];
13579
- readonly properties: {
13580
- readonly kind: {
13581
- readonly const: "query-empty";
13582
- };
13583
- readonly resourceCode: {
13584
- readonly type: "string";
13585
- readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
13586
- };
13587
- readonly lockKey: {
13588
- readonly type: "string";
13589
- readonly minLength: 1;
13590
- readonly maxLength: 128;
13591
- };
13592
- readonly errorCode: {
13593
- readonly type: "string";
13594
- readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13595
- };
13596
- readonly where: {
13597
- readonly $ref: "#/$defs/dataWhere";
13598
- };
13599
- };
13600
- }, {
13601
- readonly type: "object";
13602
- readonly additionalProperties: false;
13603
- readonly required: readonly ["kind", "resourceCode", "lockKey", "errorCode", "id", "assertions"];
13604
- readonly properties: {
13605
- readonly kind: {
13606
- readonly const: "record-assert";
13607
- };
13608
- readonly resourceCode: {
13609
- readonly type: "string";
13610
- readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
13611
- };
13612
- readonly lockKey: {
13613
- readonly type: "string";
13614
- readonly minLength: 1;
13615
- readonly maxLength: 128;
13616
- };
13617
- readonly errorCode: {
13618
- readonly type: "string";
13619
- readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13620
- };
13621
- readonly id: {
13622
- readonly type: "string";
13623
- readonly minLength: 1;
13624
- };
13593
+ readonly assertions: {
13594
+ readonly type: "array";
13595
+ readonly minItems: 1;
13596
+ readonly maxItems: 20;
13597
+ readonly items: {
13598
+ readonly oneOf: readonly [{
13599
+ readonly type: "object";
13600
+ readonly additionalProperties: false;
13601
+ readonly required: readonly ["kind", "field", "operator"];
13602
+ readonly properties: {
13603
+ readonly kind: {
13604
+ readonly const: "value";
13605
+ };
13606
+ readonly field: {
13607
+ readonly type: "string";
13608
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
13609
+ };
13610
+ readonly operator: {
13611
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "in", "between", "has", "hasAny", "hasAll", "overlaps", "containedBy", "jsonContains", "isEmpty", "isNotEmpty"];
13612
+ };
13613
+ readonly value: {};
13614
+ readonly path: {
13615
+ readonly type: "string";
13616
+ readonly minLength: 1;
13617
+ readonly maxLength: 128;
13618
+ };
13619
+ };
13620
+ }, {
13621
+ readonly type: "object";
13622
+ readonly additionalProperties: false;
13623
+ readonly required: readonly ["kind", "leftField", "operator", "rightField"];
13624
+ readonly properties: {
13625
+ readonly kind: {
13626
+ readonly const: "field";
13627
+ };
13628
+ readonly leftField: {
13629
+ readonly type: "string";
13630
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
13631
+ };
13632
+ readonly operator: {
13633
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
13634
+ };
13635
+ readonly rightField: {
13636
+ readonly type: "string";
13637
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
13638
+ };
13639
+ };
13640
+ }, {
13641
+ readonly type: "object";
13642
+ readonly additionalProperties: false;
13643
+ readonly required: readonly ["kind", "field", "operator"];
13644
+ readonly properties: {
13645
+ readonly kind: {
13646
+ readonly const: "database-now";
13647
+ };
13648
+ readonly field: {
13649
+ readonly type: "string";
13650
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
13651
+ };
13652
+ readonly operator: {
13653
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
13654
+ };
13655
+ };
13656
+ }];
13657
+ };
13658
+ };
13659
+ readonly where: {
13660
+ readonly $ref: "#/$defs/dataWhere";
13661
+ };
13662
+ };
13663
+ }, {
13664
+ readonly type: "object";
13665
+ readonly additionalProperties: false;
13666
+ readonly required: readonly ["kind", "errorCode", "anyOf"];
13667
+ readonly properties: {
13668
+ readonly kind: {
13669
+ readonly const: "actor-authority";
13670
+ };
13671
+ readonly errorCode: {
13672
+ readonly type: "string";
13673
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13674
+ };
13675
+ readonly allowAppSuperAdmin: {
13676
+ readonly type: "boolean";
13677
+ };
13678
+ readonly anyOf: {
13679
+ readonly type: "array";
13680
+ readonly minItems: 1;
13681
+ readonly maxItems: 20;
13682
+ readonly uniqueItems: true;
13683
+ readonly items: {
13684
+ readonly type: "object";
13685
+ readonly additionalProperties: false;
13686
+ readonly required: readonly ["roleCode"];
13687
+ readonly properties: {
13688
+ readonly roleCode: {
13689
+ readonly type: "string";
13690
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
13691
+ readonly maxLength: 100;
13692
+ };
13693
+ readonly scope: {
13694
+ readonly type: "object";
13695
+ readonly additionalProperties: false;
13696
+ readonly required: readonly ["dimensionCode", "value", "operation"];
13697
+ readonly properties: {
13698
+ readonly dimensionCode: {
13699
+ readonly type: "string";
13700
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
13701
+ readonly maxLength: 100;
13702
+ };
13703
+ readonly value: {
13704
+ readonly type: "string";
13705
+ readonly minLength: 1;
13706
+ readonly maxLength: 255;
13707
+ readonly pattern: "^\\S(?:[\\s\\S]*\\S)?$";
13708
+ };
13709
+ readonly operation: {
13710
+ readonly type: "string";
13711
+ readonly maxLength: 64;
13712
+ readonly pattern: "^[A-Za-z0-9*][A-Za-z0-9*._:-]*$";
13713
+ };
13714
+ };
13715
+ };
13716
+ };
13717
+ };
13718
+ };
13719
+ };
13720
+ }, {
13721
+ readonly type: "object";
13722
+ readonly additionalProperties: false;
13723
+ readonly required: readonly ["kind", "operationIndex", "field", "operator", "offsetMilliseconds", "errorCode"];
13724
+ readonly properties: {
13725
+ readonly kind: {
13726
+ readonly const: "operation-time";
13727
+ };
13728
+ readonly operationIndex: {
13729
+ readonly type: "integer";
13730
+ readonly minimum: 0;
13731
+ readonly maximum: number;
13732
+ };
13733
+ readonly field: {
13734
+ readonly type: "string";
13735
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
13736
+ };
13737
+ readonly operator: {
13738
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
13739
+ };
13740
+ readonly offsetMilliseconds: {
13741
+ readonly type: "integer";
13742
+ readonly minimum: -31622400000;
13743
+ readonly maximum: 31622400000;
13744
+ };
13745
+ readonly errorCode: {
13746
+ readonly type: "string";
13747
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13748
+ };
13749
+ };
13750
+ }, {
13751
+ readonly type: "object";
13752
+ readonly additionalProperties: false;
13753
+ readonly required: readonly ["kind", "userId", "roleCode", "errorCode"];
13754
+ readonly properties: {
13755
+ readonly kind: {
13756
+ readonly const: "role-member";
13757
+ };
13758
+ readonly userId: {
13759
+ readonly type: "string";
13760
+ readonly minLength: 1;
13761
+ readonly maxLength: 255;
13762
+ };
13763
+ readonly roleCode: {
13764
+ readonly type: "string";
13765
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
13766
+ readonly maxLength: 100;
13767
+ };
13768
+ readonly errorCode: {
13769
+ readonly type: "string";
13770
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13771
+ };
13772
+ };
13773
+ }, {
13774
+ readonly type: "object";
13775
+ readonly additionalProperties: false;
13776
+ readonly required: readonly ["kind", "resourceCode", "lockKey", "errorCode", "where"];
13777
+ readonly properties: {
13778
+ readonly kind: {
13779
+ readonly const: "query-empty";
13780
+ };
13781
+ readonly resourceCode: {
13782
+ readonly type: "string";
13783
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
13784
+ };
13785
+ readonly lockKey: {
13786
+ readonly type: "string";
13787
+ readonly minLength: 1;
13788
+ readonly maxLength: 128;
13789
+ };
13790
+ readonly errorCode: {
13791
+ readonly type: "string";
13792
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13793
+ };
13794
+ readonly where: {
13795
+ readonly $ref: "#/$defs/dataWhere";
13796
+ };
13797
+ };
13798
+ }, {
13799
+ readonly type: "object";
13800
+ readonly additionalProperties: false;
13801
+ readonly required: readonly ["kind", "resourceCode", "lockKey", "errorCode", "id", "assertions"];
13802
+ readonly properties: {
13803
+ readonly kind: {
13804
+ readonly const: "record-assert";
13805
+ };
13806
+ readonly resourceCode: {
13807
+ readonly type: "string";
13808
+ readonly pattern: "^[a-z][a-z0-9]*(?:-[a-z0-9]+)*$";
13809
+ };
13810
+ readonly lockKey: {
13811
+ readonly type: "string";
13812
+ readonly minLength: 1;
13813
+ readonly maxLength: 128;
13814
+ };
13815
+ readonly errorCode: {
13816
+ readonly type: "string";
13817
+ readonly pattern: "^OPENXIANGDA_[A-Z0-9_]{1,96}$";
13818
+ };
13819
+ readonly id: {
13820
+ readonly type: "string";
13821
+ readonly minLength: 1;
13822
+ };
13625
13823
  readonly assertions: {
13626
13824
  readonly type: "array";
13627
13825
  readonly minItems: 1;
@@ -18393,6 +18591,31 @@ export declare const configurationBundleSchema: {
18393
18591
  readonly additionalProperties: false;
18394
18592
  readonly minProperties: 1;
18395
18593
  readonly properties: {
18594
+ readonly transactionTime: {
18595
+ readonly type: "object";
18596
+ readonly additionalProperties: false;
18597
+ readonly required: readonly ["mode"];
18598
+ readonly properties: {
18599
+ readonly mode: {
18600
+ readonly const: "database-accepted";
18601
+ };
18602
+ readonly recordSetAssertions: {
18603
+ readonly const: true;
18604
+ };
18605
+ };
18606
+ };
18607
+ readonly directoryClasses: {
18608
+ readonly type: "object";
18609
+ readonly additionalProperties: false;
18610
+ readonly required: readonly ["maxIds"];
18611
+ readonly properties: {
18612
+ readonly maxIds: {
18613
+ readonly type: "integer";
18614
+ readonly minimum: 1;
18615
+ readonly maximum: 20;
18616
+ };
18617
+ };
18618
+ };
18396
18619
  readonly ownedSubject: {
18397
18620
  readonly type: "object";
18398
18621
  readonly additionalProperties: false;
@@ -19682,7 +19905,7 @@ export declare const configurationBundleSchema: {
19682
19905
  readonly maxItems: 8;
19683
19906
  readonly uniqueItems: true;
19684
19907
  readonly items: {
19685
- readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read", "public.list", "public.read"];
19908
+ readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read", "public.list", "public.read", "public.query"];
19686
19909
  };
19687
19910
  };
19688
19911
  readonly fields: {
@@ -19840,6 +20063,170 @@ export declare const configurationBundleSchema: {
19840
20063
  };
19841
20064
  };
19842
20065
  };
20066
+ readonly publicQueries: {
20067
+ readonly type: "array";
20068
+ readonly maxItems: 16;
20069
+ readonly uniqueItems: true;
20070
+ readonly items: {
20071
+ readonly type: "object";
20072
+ readonly additionalProperties: false;
20073
+ readonly required: readonly ["code", "kind", "resourceCode", "fields", "defaultLimit", "maxLimit"];
20074
+ readonly properties: {
20075
+ readonly code: {
20076
+ readonly type: "string";
20077
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
20078
+ readonly maxLength: 128;
20079
+ };
20080
+ readonly kind: {
20081
+ readonly enum: readonly ["records", "aggregate"];
20082
+ };
20083
+ readonly resourceCode: {
20084
+ readonly type: "string";
20085
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
20086
+ readonly maxLength: 128;
20087
+ };
20088
+ readonly fields: {
20089
+ readonly type: "array";
20090
+ readonly minItems: 1;
20091
+ readonly maxItems: 64;
20092
+ readonly uniqueItems: true;
20093
+ readonly items: {
20094
+ readonly type: "string";
20095
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
20096
+ };
20097
+ };
20098
+ readonly sort: {
20099
+ readonly type: "array";
20100
+ readonly maxItems: 4;
20101
+ readonly uniqueItems: true;
20102
+ readonly items: {
20103
+ readonly type: "object";
20104
+ readonly additionalProperties: false;
20105
+ readonly required: readonly ["field", "direction"];
20106
+ readonly properties: {
20107
+ readonly field: {
20108
+ readonly type: "string";
20109
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
20110
+ };
20111
+ readonly direction: {
20112
+ readonly enum: readonly ["asc", "desc"];
20113
+ };
20114
+ };
20115
+ };
20116
+ };
20117
+ readonly defaultLimit: {
20118
+ readonly type: "integer";
20119
+ readonly minimum: 1;
20120
+ readonly maximum: 100;
20121
+ };
20122
+ readonly maxLimit: {
20123
+ readonly type: "integer";
20124
+ readonly minimum: 1;
20125
+ readonly maximum: 100;
20126
+ };
20127
+ readonly parameters: {
20128
+ readonly type: "array";
20129
+ readonly maxItems: 8;
20130
+ readonly uniqueItems: true;
20131
+ readonly items: {
20132
+ readonly type: "object";
20133
+ readonly additionalProperties: false;
20134
+ readonly required: readonly ["name", "field", "operator", "type"];
20135
+ readonly properties: {
20136
+ readonly name: {
20137
+ readonly type: "string";
20138
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
20139
+ readonly maxLength: 128;
20140
+ };
20141
+ readonly field: {
20142
+ readonly type: "string";
20143
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
20144
+ };
20145
+ readonly operator: {
20146
+ readonly enum: readonly ["eq", "contains", "in"];
20147
+ };
20148
+ readonly type: {
20149
+ readonly enum: readonly ["string", "number", "boolean", "string[]"];
20150
+ };
20151
+ };
20152
+ };
20153
+ };
20154
+ readonly aggregate: {
20155
+ readonly type: "object";
20156
+ readonly additionalProperties: false;
20157
+ readonly required: readonly ["measures"];
20158
+ readonly properties: {
20159
+ readonly dimensions: {
20160
+ readonly type: "array";
20161
+ readonly maxItems: 3;
20162
+ readonly items: {
20163
+ readonly type: "object";
20164
+ readonly additionalProperties: false;
20165
+ readonly required: readonly ["field", "as"];
20166
+ readonly properties: {
20167
+ readonly field: {
20168
+ readonly type: "string";
20169
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
20170
+ };
20171
+ readonly as: {
20172
+ readonly type: "string";
20173
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
20174
+ };
20175
+ readonly bucket: {
20176
+ readonly enum: readonly ["day", "week", "month", "quarter", "year"];
20177
+ };
20178
+ };
20179
+ };
20180
+ };
20181
+ readonly measures: {
20182
+ readonly type: "array";
20183
+ readonly minItems: 1;
20184
+ readonly maxItems: 8;
20185
+ readonly items: {
20186
+ readonly type: "object";
20187
+ readonly additionalProperties: false;
20188
+ readonly required: readonly ["type", "as"];
20189
+ readonly properties: {
20190
+ readonly type: {
20191
+ readonly enum: readonly ["count", "countDistinct", "sum", "avg", "min", "max"];
20192
+ };
20193
+ readonly field: {
20194
+ readonly type: "string";
20195
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
20196
+ };
20197
+ readonly as: {
20198
+ readonly type: "string";
20199
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
20200
+ };
20201
+ };
20202
+ };
20203
+ };
20204
+ readonly order: {
20205
+ readonly type: "array";
20206
+ readonly maxItems: 10;
20207
+ readonly items: {
20208
+ readonly type: "object";
20209
+ readonly additionalProperties: false;
20210
+ readonly required: readonly ["field"];
20211
+ readonly properties: {
20212
+ readonly field: {
20213
+ readonly type: "string";
20214
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
20215
+ };
20216
+ readonly direction: {
20217
+ readonly enum: readonly ["asc", "desc"];
20218
+ };
20219
+ readonly nulls: {
20220
+ readonly enum: readonly ["first", "last"];
20221
+ };
20222
+ };
20223
+ };
20224
+ };
20225
+ };
20226
+ };
20227
+ };
20228
+ };
20229
+ };
19843
20230
  readonly draft: {
19844
20231
  readonly type: "object";
19845
20232
  readonly additionalProperties: false;
@@ -20995,7 +21382,7 @@ export declare const contractBundleSchema: {
20995
21382
  readonly maxItems: 8;
20996
21383
  readonly uniqueItems: true;
20997
21384
  readonly items: {
20998
- readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read", "public.list", "public.read"];
21385
+ readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read", "public.list", "public.read", "public.query"];
20999
21386
  };
21000
21387
  };
21001
21388
  readonly fields: {
@@ -21153,6 +21540,170 @@ export declare const contractBundleSchema: {
21153
21540
  };
21154
21541
  };
21155
21542
  };
21543
+ readonly publicQueries: {
21544
+ readonly type: "array";
21545
+ readonly maxItems: 16;
21546
+ readonly uniqueItems: true;
21547
+ readonly items: {
21548
+ readonly type: "object";
21549
+ readonly additionalProperties: false;
21550
+ readonly required: readonly ["code", "kind", "resourceCode", "fields", "defaultLimit", "maxLimit"];
21551
+ readonly properties: {
21552
+ readonly code: {
21553
+ readonly type: "string";
21554
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
21555
+ readonly maxLength: 128;
21556
+ };
21557
+ readonly kind: {
21558
+ readonly enum: readonly ["records", "aggregate"];
21559
+ };
21560
+ readonly resourceCode: {
21561
+ readonly type: "string";
21562
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
21563
+ readonly maxLength: 128;
21564
+ };
21565
+ readonly fields: {
21566
+ readonly type: "array";
21567
+ readonly minItems: 1;
21568
+ readonly maxItems: 64;
21569
+ readonly uniqueItems: true;
21570
+ readonly items: {
21571
+ readonly type: "string";
21572
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
21573
+ };
21574
+ };
21575
+ readonly sort: {
21576
+ readonly type: "array";
21577
+ readonly maxItems: 4;
21578
+ readonly uniqueItems: true;
21579
+ readonly items: {
21580
+ readonly type: "object";
21581
+ readonly additionalProperties: false;
21582
+ readonly required: readonly ["field", "direction"];
21583
+ readonly properties: {
21584
+ readonly field: {
21585
+ readonly type: "string";
21586
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
21587
+ };
21588
+ readonly direction: {
21589
+ readonly enum: readonly ["asc", "desc"];
21590
+ };
21591
+ };
21592
+ };
21593
+ };
21594
+ readonly defaultLimit: {
21595
+ readonly type: "integer";
21596
+ readonly minimum: 1;
21597
+ readonly maximum: 100;
21598
+ };
21599
+ readonly maxLimit: {
21600
+ readonly type: "integer";
21601
+ readonly minimum: 1;
21602
+ readonly maximum: 100;
21603
+ };
21604
+ readonly parameters: {
21605
+ readonly type: "array";
21606
+ readonly maxItems: 8;
21607
+ readonly uniqueItems: true;
21608
+ readonly items: {
21609
+ readonly type: "object";
21610
+ readonly additionalProperties: false;
21611
+ readonly required: readonly ["name", "field", "operator", "type"];
21612
+ readonly properties: {
21613
+ readonly name: {
21614
+ readonly type: "string";
21615
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
21616
+ readonly maxLength: 128;
21617
+ };
21618
+ readonly field: {
21619
+ readonly type: "string";
21620
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
21621
+ };
21622
+ readonly operator: {
21623
+ readonly enum: readonly ["eq", "contains", "in"];
21624
+ };
21625
+ readonly type: {
21626
+ readonly enum: readonly ["string", "number", "boolean", "string[]"];
21627
+ };
21628
+ };
21629
+ };
21630
+ };
21631
+ readonly aggregate: {
21632
+ readonly type: "object";
21633
+ readonly additionalProperties: false;
21634
+ readonly required: readonly ["measures"];
21635
+ readonly properties: {
21636
+ readonly dimensions: {
21637
+ readonly type: "array";
21638
+ readonly maxItems: 3;
21639
+ readonly items: {
21640
+ readonly type: "object";
21641
+ readonly additionalProperties: false;
21642
+ readonly required: readonly ["field", "as"];
21643
+ readonly properties: {
21644
+ readonly field: {
21645
+ readonly type: "string";
21646
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
21647
+ };
21648
+ readonly as: {
21649
+ readonly type: "string";
21650
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
21651
+ };
21652
+ readonly bucket: {
21653
+ readonly enum: readonly ["day", "week", "month", "quarter", "year"];
21654
+ };
21655
+ };
21656
+ };
21657
+ };
21658
+ readonly measures: {
21659
+ readonly type: "array";
21660
+ readonly minItems: 1;
21661
+ readonly maxItems: 8;
21662
+ readonly items: {
21663
+ readonly type: "object";
21664
+ readonly additionalProperties: false;
21665
+ readonly required: readonly ["type", "as"];
21666
+ readonly properties: {
21667
+ readonly type: {
21668
+ readonly enum: readonly ["count", "countDistinct", "sum", "avg", "min", "max"];
21669
+ };
21670
+ readonly field: {
21671
+ readonly type: "string";
21672
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
21673
+ };
21674
+ readonly as: {
21675
+ readonly type: "string";
21676
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
21677
+ };
21678
+ };
21679
+ };
21680
+ };
21681
+ readonly order: {
21682
+ readonly type: "array";
21683
+ readonly maxItems: 10;
21684
+ readonly items: {
21685
+ readonly type: "object";
21686
+ readonly additionalProperties: false;
21687
+ readonly required: readonly ["field"];
21688
+ readonly properties: {
21689
+ readonly field: {
21690
+ readonly type: "string";
21691
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
21692
+ };
21693
+ readonly direction: {
21694
+ readonly enum: readonly ["asc", "desc"];
21695
+ };
21696
+ readonly nulls: {
21697
+ readonly enum: readonly ["first", "last"];
21698
+ };
21699
+ };
21700
+ };
21701
+ };
21702
+ };
21703
+ };
21704
+ };
21705
+ };
21706
+ };
21156
21707
  readonly draft: {
21157
21708
  readonly type: "object";
21158
21709
  readonly additionalProperties: false;
@@ -30359,6 +30910,72 @@ export declare const contractSchemas: {
30359
30910
  };
30360
30911
  };
30361
30912
  };
30913
+ readonly assertions: {
30914
+ readonly type: "array";
30915
+ readonly minItems: 1;
30916
+ readonly maxItems: 20;
30917
+ readonly items: {
30918
+ readonly oneOf: readonly [{
30919
+ readonly type: "object";
30920
+ readonly additionalProperties: false;
30921
+ readonly required: readonly ["kind", "field", "operator"];
30922
+ readonly properties: {
30923
+ readonly kind: {
30924
+ readonly const: "value";
30925
+ };
30926
+ readonly field: {
30927
+ readonly type: "string";
30928
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
30929
+ };
30930
+ readonly operator: {
30931
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "in", "between", "has", "hasAny", "hasAll", "overlaps", "containedBy", "jsonContains", "isEmpty", "isNotEmpty"];
30932
+ };
30933
+ readonly value: {};
30934
+ readonly path: {
30935
+ readonly type: "string";
30936
+ readonly minLength: 1;
30937
+ readonly maxLength: 128;
30938
+ };
30939
+ };
30940
+ }, {
30941
+ readonly type: "object";
30942
+ readonly additionalProperties: false;
30943
+ readonly required: readonly ["kind", "leftField", "operator", "rightField"];
30944
+ readonly properties: {
30945
+ readonly kind: {
30946
+ readonly const: "field";
30947
+ };
30948
+ readonly leftField: {
30949
+ readonly type: "string";
30950
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
30951
+ };
30952
+ readonly operator: {
30953
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
30954
+ };
30955
+ readonly rightField: {
30956
+ readonly type: "string";
30957
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
30958
+ };
30959
+ };
30960
+ }, {
30961
+ readonly type: "object";
30962
+ readonly additionalProperties: false;
30963
+ readonly required: readonly ["kind", "field", "operator"];
30964
+ readonly properties: {
30965
+ readonly kind: {
30966
+ readonly const: "database-now";
30967
+ };
30968
+ readonly field: {
30969
+ readonly type: "string";
30970
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
30971
+ };
30972
+ readonly operator: {
30973
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
30974
+ };
30975
+ };
30976
+ }];
30977
+ };
30978
+ };
30362
30979
  readonly where: {
30363
30980
  readonly $ref: "#/$defs/dataWhere";
30364
30981
  };
@@ -37562,6 +38179,72 @@ export declare const contractSchemas: {
37562
38179
  };
37563
38180
  };
37564
38181
  };
38182
+ readonly assertions: {
38183
+ readonly type: "array";
38184
+ readonly minItems: 1;
38185
+ readonly maxItems: 20;
38186
+ readonly items: {
38187
+ readonly oneOf: readonly [{
38188
+ readonly type: "object";
38189
+ readonly additionalProperties: false;
38190
+ readonly required: readonly ["kind", "field", "operator"];
38191
+ readonly properties: {
38192
+ readonly kind: {
38193
+ readonly const: "value";
38194
+ };
38195
+ readonly field: {
38196
+ readonly type: "string";
38197
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
38198
+ };
38199
+ readonly operator: {
38200
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "in", "between", "has", "hasAny", "hasAll", "overlaps", "containedBy", "jsonContains", "isEmpty", "isNotEmpty"];
38201
+ };
38202
+ readonly value: {};
38203
+ readonly path: {
38204
+ readonly type: "string";
38205
+ readonly minLength: 1;
38206
+ readonly maxLength: 128;
38207
+ };
38208
+ };
38209
+ }, {
38210
+ readonly type: "object";
38211
+ readonly additionalProperties: false;
38212
+ readonly required: readonly ["kind", "leftField", "operator", "rightField"];
38213
+ readonly properties: {
38214
+ readonly kind: {
38215
+ readonly const: "field";
38216
+ };
38217
+ readonly leftField: {
38218
+ readonly type: "string";
38219
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
38220
+ };
38221
+ readonly operator: {
38222
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
38223
+ };
38224
+ readonly rightField: {
38225
+ readonly type: "string";
38226
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
38227
+ };
38228
+ };
38229
+ }, {
38230
+ readonly type: "object";
38231
+ readonly additionalProperties: false;
38232
+ readonly required: readonly ["kind", "field", "operator"];
38233
+ readonly properties: {
38234
+ readonly kind: {
38235
+ readonly const: "database-now";
38236
+ };
38237
+ readonly field: {
38238
+ readonly type: "string";
38239
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
38240
+ };
38241
+ readonly operator: {
38242
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
38243
+ };
38244
+ };
38245
+ }];
38246
+ };
38247
+ };
37565
38248
  readonly where: {
37566
38249
  readonly $ref: "#/$defs/dataWhere";
37567
38250
  };
@@ -38416,6 +39099,72 @@ export declare const contractSchemas: {
38416
39099
  };
38417
39100
  };
38418
39101
  };
39102
+ readonly assertions: {
39103
+ readonly type: "array";
39104
+ readonly minItems: 1;
39105
+ readonly maxItems: 20;
39106
+ readonly items: {
39107
+ readonly oneOf: readonly [{
39108
+ readonly type: "object";
39109
+ readonly additionalProperties: false;
39110
+ readonly required: readonly ["kind", "field", "operator"];
39111
+ readonly properties: {
39112
+ readonly kind: {
39113
+ readonly const: "value";
39114
+ };
39115
+ readonly field: {
39116
+ readonly type: "string";
39117
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
39118
+ };
39119
+ readonly operator: {
39120
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "in", "between", "has", "hasAny", "hasAll", "overlaps", "containedBy", "jsonContains", "isEmpty", "isNotEmpty"];
39121
+ };
39122
+ readonly value: {};
39123
+ readonly path: {
39124
+ readonly type: "string";
39125
+ readonly minLength: 1;
39126
+ readonly maxLength: 128;
39127
+ };
39128
+ };
39129
+ }, {
39130
+ readonly type: "object";
39131
+ readonly additionalProperties: false;
39132
+ readonly required: readonly ["kind", "leftField", "operator", "rightField"];
39133
+ readonly properties: {
39134
+ readonly kind: {
39135
+ readonly const: "field";
39136
+ };
39137
+ readonly leftField: {
39138
+ readonly type: "string";
39139
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
39140
+ };
39141
+ readonly operator: {
39142
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
39143
+ };
39144
+ readonly rightField: {
39145
+ readonly type: "string";
39146
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
39147
+ };
39148
+ };
39149
+ }, {
39150
+ readonly type: "object";
39151
+ readonly additionalProperties: false;
39152
+ readonly required: readonly ["kind", "field", "operator"];
39153
+ readonly properties: {
39154
+ readonly kind: {
39155
+ readonly const: "database-now";
39156
+ };
39157
+ readonly field: {
39158
+ readonly type: "string";
39159
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
39160
+ };
39161
+ readonly operator: {
39162
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
39163
+ };
39164
+ };
39165
+ }];
39166
+ };
39167
+ };
38419
39168
  readonly where: {
38420
39169
  readonly $ref: "#/$defs/dataWhere";
38421
39170
  };
@@ -43117,6 +43866,31 @@ export declare const contractSchemas: {
43117
43866
  readonly additionalProperties: false;
43118
43867
  readonly minProperties: 1;
43119
43868
  readonly properties: {
43869
+ readonly transactionTime: {
43870
+ readonly type: "object";
43871
+ readonly additionalProperties: false;
43872
+ readonly required: readonly ["mode"];
43873
+ readonly properties: {
43874
+ readonly mode: {
43875
+ readonly const: "database-accepted";
43876
+ };
43877
+ readonly recordSetAssertions: {
43878
+ readonly const: true;
43879
+ };
43880
+ };
43881
+ };
43882
+ readonly directoryClasses: {
43883
+ readonly type: "object";
43884
+ readonly additionalProperties: false;
43885
+ readonly required: readonly ["maxIds"];
43886
+ readonly properties: {
43887
+ readonly maxIds: {
43888
+ readonly type: "integer";
43889
+ readonly minimum: 1;
43890
+ readonly maximum: 20;
43891
+ };
43892
+ };
43893
+ };
43120
43894
  readonly ownedSubject: {
43121
43895
  readonly type: "object";
43122
43896
  readonly additionalProperties: false;
@@ -44406,7 +45180,7 @@ export declare const contractSchemas: {
44406
45180
  readonly maxItems: 8;
44407
45181
  readonly uniqueItems: true;
44408
45182
  readonly items: {
44409
- readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read", "public.list", "public.read"];
45183
+ readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read", "public.list", "public.read", "public.query"];
44410
45184
  };
44411
45185
  };
44412
45186
  readonly fields: {
@@ -44564,6 +45338,170 @@ export declare const contractSchemas: {
44564
45338
  };
44565
45339
  };
44566
45340
  };
45341
+ readonly publicQueries: {
45342
+ readonly type: "array";
45343
+ readonly maxItems: 16;
45344
+ readonly uniqueItems: true;
45345
+ readonly items: {
45346
+ readonly type: "object";
45347
+ readonly additionalProperties: false;
45348
+ readonly required: readonly ["code", "kind", "resourceCode", "fields", "defaultLimit", "maxLimit"];
45349
+ readonly properties: {
45350
+ readonly code: {
45351
+ readonly type: "string";
45352
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
45353
+ readonly maxLength: 128;
45354
+ };
45355
+ readonly kind: {
45356
+ readonly enum: readonly ["records", "aggregate"];
45357
+ };
45358
+ readonly resourceCode: {
45359
+ readonly type: "string";
45360
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
45361
+ readonly maxLength: 128;
45362
+ };
45363
+ readonly fields: {
45364
+ readonly type: "array";
45365
+ readonly minItems: 1;
45366
+ readonly maxItems: 64;
45367
+ readonly uniqueItems: true;
45368
+ readonly items: {
45369
+ readonly type: "string";
45370
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
45371
+ };
45372
+ };
45373
+ readonly sort: {
45374
+ readonly type: "array";
45375
+ readonly maxItems: 4;
45376
+ readonly uniqueItems: true;
45377
+ readonly items: {
45378
+ readonly type: "object";
45379
+ readonly additionalProperties: false;
45380
+ readonly required: readonly ["field", "direction"];
45381
+ readonly properties: {
45382
+ readonly field: {
45383
+ readonly type: "string";
45384
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
45385
+ };
45386
+ readonly direction: {
45387
+ readonly enum: readonly ["asc", "desc"];
45388
+ };
45389
+ };
45390
+ };
45391
+ };
45392
+ readonly defaultLimit: {
45393
+ readonly type: "integer";
45394
+ readonly minimum: 1;
45395
+ readonly maximum: 100;
45396
+ };
45397
+ readonly maxLimit: {
45398
+ readonly type: "integer";
45399
+ readonly minimum: 1;
45400
+ readonly maximum: 100;
45401
+ };
45402
+ readonly parameters: {
45403
+ readonly type: "array";
45404
+ readonly maxItems: 8;
45405
+ readonly uniqueItems: true;
45406
+ readonly items: {
45407
+ readonly type: "object";
45408
+ readonly additionalProperties: false;
45409
+ readonly required: readonly ["name", "field", "operator", "type"];
45410
+ readonly properties: {
45411
+ readonly name: {
45412
+ readonly type: "string";
45413
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
45414
+ readonly maxLength: 128;
45415
+ };
45416
+ readonly field: {
45417
+ readonly type: "string";
45418
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
45419
+ };
45420
+ readonly operator: {
45421
+ readonly enum: readonly ["eq", "contains", "in"];
45422
+ };
45423
+ readonly type: {
45424
+ readonly enum: readonly ["string", "number", "boolean", "string[]"];
45425
+ };
45426
+ };
45427
+ };
45428
+ };
45429
+ readonly aggregate: {
45430
+ readonly type: "object";
45431
+ readonly additionalProperties: false;
45432
+ readonly required: readonly ["measures"];
45433
+ readonly properties: {
45434
+ readonly dimensions: {
45435
+ readonly type: "array";
45436
+ readonly maxItems: 3;
45437
+ readonly items: {
45438
+ readonly type: "object";
45439
+ readonly additionalProperties: false;
45440
+ readonly required: readonly ["field", "as"];
45441
+ readonly properties: {
45442
+ readonly field: {
45443
+ readonly type: "string";
45444
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
45445
+ };
45446
+ readonly as: {
45447
+ readonly type: "string";
45448
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
45449
+ };
45450
+ readonly bucket: {
45451
+ readonly enum: readonly ["day", "week", "month", "quarter", "year"];
45452
+ };
45453
+ };
45454
+ };
45455
+ };
45456
+ readonly measures: {
45457
+ readonly type: "array";
45458
+ readonly minItems: 1;
45459
+ readonly maxItems: 8;
45460
+ readonly items: {
45461
+ readonly type: "object";
45462
+ readonly additionalProperties: false;
45463
+ readonly required: readonly ["type", "as"];
45464
+ readonly properties: {
45465
+ readonly type: {
45466
+ readonly enum: readonly ["count", "countDistinct", "sum", "avg", "min", "max"];
45467
+ };
45468
+ readonly field: {
45469
+ readonly type: "string";
45470
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
45471
+ };
45472
+ readonly as: {
45473
+ readonly type: "string";
45474
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
45475
+ };
45476
+ };
45477
+ };
45478
+ };
45479
+ readonly order: {
45480
+ readonly type: "array";
45481
+ readonly maxItems: 10;
45482
+ readonly items: {
45483
+ readonly type: "object";
45484
+ readonly additionalProperties: false;
45485
+ readonly required: readonly ["field"];
45486
+ readonly properties: {
45487
+ readonly field: {
45488
+ readonly type: "string";
45489
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
45490
+ };
45491
+ readonly direction: {
45492
+ readonly enum: readonly ["asc", "desc"];
45493
+ };
45494
+ readonly nulls: {
45495
+ readonly enum: readonly ["first", "last"];
45496
+ };
45497
+ };
45498
+ };
45499
+ };
45500
+ };
45501
+ };
45502
+ };
45503
+ };
45504
+ };
44567
45505
  readonly draft: {
44568
45506
  readonly type: "object";
44569
45507
  readonly additionalProperties: false;
@@ -45719,7 +46657,7 @@ export declare const contractSchemas: {
45719
46657
  readonly maxItems: 8;
45720
46658
  readonly uniqueItems: true;
45721
46659
  readonly items: {
45722
- readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read", "public.list", "public.read"];
46660
+ readonly enum: readonly ["draft.read", "draft.update", "validate", "create", "own.list", "own.read", "public.list", "public.read", "public.query"];
45723
46661
  };
45724
46662
  };
45725
46663
  readonly fields: {
@@ -45877,6 +46815,170 @@ export declare const contractSchemas: {
45877
46815
  };
45878
46816
  };
45879
46817
  };
46818
+ readonly publicQueries: {
46819
+ readonly type: "array";
46820
+ readonly maxItems: 16;
46821
+ readonly uniqueItems: true;
46822
+ readonly items: {
46823
+ readonly type: "object";
46824
+ readonly additionalProperties: false;
46825
+ readonly required: readonly ["code", "kind", "resourceCode", "fields", "defaultLimit", "maxLimit"];
46826
+ readonly properties: {
46827
+ readonly code: {
46828
+ readonly type: "string";
46829
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
46830
+ readonly maxLength: 128;
46831
+ };
46832
+ readonly kind: {
46833
+ readonly enum: readonly ["records", "aggregate"];
46834
+ };
46835
+ readonly resourceCode: {
46836
+ readonly type: "string";
46837
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
46838
+ readonly maxLength: 128;
46839
+ };
46840
+ readonly fields: {
46841
+ readonly type: "array";
46842
+ readonly minItems: 1;
46843
+ readonly maxItems: 64;
46844
+ readonly uniqueItems: true;
46845
+ readonly items: {
46846
+ readonly type: "string";
46847
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
46848
+ };
46849
+ };
46850
+ readonly sort: {
46851
+ readonly type: "array";
46852
+ readonly maxItems: 4;
46853
+ readonly uniqueItems: true;
46854
+ readonly items: {
46855
+ readonly type: "object";
46856
+ readonly additionalProperties: false;
46857
+ readonly required: readonly ["field", "direction"];
46858
+ readonly properties: {
46859
+ readonly field: {
46860
+ readonly type: "string";
46861
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
46862
+ };
46863
+ readonly direction: {
46864
+ readonly enum: readonly ["asc", "desc"];
46865
+ };
46866
+ };
46867
+ };
46868
+ };
46869
+ readonly defaultLimit: {
46870
+ readonly type: "integer";
46871
+ readonly minimum: 1;
46872
+ readonly maximum: 100;
46873
+ };
46874
+ readonly maxLimit: {
46875
+ readonly type: "integer";
46876
+ readonly minimum: 1;
46877
+ readonly maximum: 100;
46878
+ };
46879
+ readonly parameters: {
46880
+ readonly type: "array";
46881
+ readonly maxItems: 8;
46882
+ readonly uniqueItems: true;
46883
+ readonly items: {
46884
+ readonly type: "object";
46885
+ readonly additionalProperties: false;
46886
+ readonly required: readonly ["name", "field", "operator", "type"];
46887
+ readonly properties: {
46888
+ readonly name: {
46889
+ readonly type: "string";
46890
+ readonly pattern: "^[a-z][a-z0-9]*(?:[-_.][a-z0-9]+)*$";
46891
+ readonly maxLength: 128;
46892
+ };
46893
+ readonly field: {
46894
+ readonly type: "string";
46895
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
46896
+ };
46897
+ readonly operator: {
46898
+ readonly enum: readonly ["eq", "contains", "in"];
46899
+ };
46900
+ readonly type: {
46901
+ readonly enum: readonly ["string", "number", "boolean", "string[]"];
46902
+ };
46903
+ };
46904
+ };
46905
+ };
46906
+ readonly aggregate: {
46907
+ readonly type: "object";
46908
+ readonly additionalProperties: false;
46909
+ readonly required: readonly ["measures"];
46910
+ readonly properties: {
46911
+ readonly dimensions: {
46912
+ readonly type: "array";
46913
+ readonly maxItems: 3;
46914
+ readonly items: {
46915
+ readonly type: "object";
46916
+ readonly additionalProperties: false;
46917
+ readonly required: readonly ["field", "as"];
46918
+ readonly properties: {
46919
+ readonly field: {
46920
+ readonly type: "string";
46921
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
46922
+ };
46923
+ readonly as: {
46924
+ readonly type: "string";
46925
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
46926
+ };
46927
+ readonly bucket: {
46928
+ readonly enum: readonly ["day", "week", "month", "quarter", "year"];
46929
+ };
46930
+ };
46931
+ };
46932
+ };
46933
+ readonly measures: {
46934
+ readonly type: "array";
46935
+ readonly minItems: 1;
46936
+ readonly maxItems: 8;
46937
+ readonly items: {
46938
+ readonly type: "object";
46939
+ readonly additionalProperties: false;
46940
+ readonly required: readonly ["type", "as"];
46941
+ readonly properties: {
46942
+ readonly type: {
46943
+ readonly enum: readonly ["count", "countDistinct", "sum", "avg", "min", "max"];
46944
+ };
46945
+ readonly field: {
46946
+ readonly type: "string";
46947
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
46948
+ };
46949
+ readonly as: {
46950
+ readonly type: "string";
46951
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
46952
+ };
46953
+ };
46954
+ };
46955
+ };
46956
+ readonly order: {
46957
+ readonly type: "array";
46958
+ readonly maxItems: 10;
46959
+ readonly items: {
46960
+ readonly type: "object";
46961
+ readonly additionalProperties: false;
46962
+ readonly required: readonly ["field"];
46963
+ readonly properties: {
46964
+ readonly field: {
46965
+ readonly type: "string";
46966
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
46967
+ };
46968
+ readonly direction: {
46969
+ readonly enum: readonly ["asc", "desc"];
46970
+ };
46971
+ readonly nulls: {
46972
+ readonly enum: readonly ["first", "last"];
46973
+ };
46974
+ };
46975
+ };
46976
+ };
46977
+ };
46978
+ };
46979
+ };
46980
+ };
46981
+ };
45880
46982
  readonly draft: {
45881
46983
  readonly type: "object";
45882
46984
  readonly additionalProperties: false;