openxiangda-contracts 2.91.1 → 2.92.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 +22 -2
  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 +9 -0
  36. package/dist/native.d.ts.map +1 -1
  37. package/dist/native.js.map +1 -1
  38. package/dist/schemas.d.ts +446 -0
  39. package/dist/schemas.d.ts.map +1 -1
  40. package/dist/schemas.js +60 -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,6 +13590,72 @@ export declare const businessProcessCommandWithDataSchema: {
13458
13590
  };
13459
13591
  };
13460
13592
  };
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
+ };
13461
13659
  readonly where: {
13462
13660
  readonly $ref: "#/$defs/dataWhere";
13463
13661
  };
@@ -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;
@@ -30359,6 +30582,72 @@ export declare const contractSchemas: {
30359
30582
  };
30360
30583
  };
30361
30584
  };
30585
+ readonly assertions: {
30586
+ readonly type: "array";
30587
+ readonly minItems: 1;
30588
+ readonly maxItems: 20;
30589
+ readonly items: {
30590
+ readonly oneOf: readonly [{
30591
+ readonly type: "object";
30592
+ readonly additionalProperties: false;
30593
+ readonly required: readonly ["kind", "field", "operator"];
30594
+ readonly properties: {
30595
+ readonly kind: {
30596
+ readonly const: "value";
30597
+ };
30598
+ readonly field: {
30599
+ readonly type: "string";
30600
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
30601
+ };
30602
+ readonly operator: {
30603
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "in", "between", "has", "hasAny", "hasAll", "overlaps", "containedBy", "jsonContains", "isEmpty", "isNotEmpty"];
30604
+ };
30605
+ readonly value: {};
30606
+ readonly path: {
30607
+ readonly type: "string";
30608
+ readonly minLength: 1;
30609
+ readonly maxLength: 128;
30610
+ };
30611
+ };
30612
+ }, {
30613
+ readonly type: "object";
30614
+ readonly additionalProperties: false;
30615
+ readonly required: readonly ["kind", "leftField", "operator", "rightField"];
30616
+ readonly properties: {
30617
+ readonly kind: {
30618
+ readonly const: "field";
30619
+ };
30620
+ readonly leftField: {
30621
+ readonly type: "string";
30622
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
30623
+ };
30624
+ readonly operator: {
30625
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
30626
+ };
30627
+ readonly rightField: {
30628
+ readonly type: "string";
30629
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
30630
+ };
30631
+ };
30632
+ }, {
30633
+ readonly type: "object";
30634
+ readonly additionalProperties: false;
30635
+ readonly required: readonly ["kind", "field", "operator"];
30636
+ readonly properties: {
30637
+ readonly kind: {
30638
+ readonly const: "database-now";
30639
+ };
30640
+ readonly field: {
30641
+ readonly type: "string";
30642
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
30643
+ };
30644
+ readonly operator: {
30645
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
30646
+ };
30647
+ };
30648
+ }];
30649
+ };
30650
+ };
30362
30651
  readonly where: {
30363
30652
  readonly $ref: "#/$defs/dataWhere";
30364
30653
  };
@@ -37562,6 +37851,72 @@ export declare const contractSchemas: {
37562
37851
  };
37563
37852
  };
37564
37853
  };
37854
+ readonly assertions: {
37855
+ readonly type: "array";
37856
+ readonly minItems: 1;
37857
+ readonly maxItems: 20;
37858
+ readonly items: {
37859
+ readonly oneOf: readonly [{
37860
+ readonly type: "object";
37861
+ readonly additionalProperties: false;
37862
+ readonly required: readonly ["kind", "field", "operator"];
37863
+ readonly properties: {
37864
+ readonly kind: {
37865
+ readonly const: "value";
37866
+ };
37867
+ readonly field: {
37868
+ readonly type: "string";
37869
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
37870
+ };
37871
+ readonly operator: {
37872
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "in", "between", "has", "hasAny", "hasAll", "overlaps", "containedBy", "jsonContains", "isEmpty", "isNotEmpty"];
37873
+ };
37874
+ readonly value: {};
37875
+ readonly path: {
37876
+ readonly type: "string";
37877
+ readonly minLength: 1;
37878
+ readonly maxLength: 128;
37879
+ };
37880
+ };
37881
+ }, {
37882
+ readonly type: "object";
37883
+ readonly additionalProperties: false;
37884
+ readonly required: readonly ["kind", "leftField", "operator", "rightField"];
37885
+ readonly properties: {
37886
+ readonly kind: {
37887
+ readonly const: "field";
37888
+ };
37889
+ readonly leftField: {
37890
+ readonly type: "string";
37891
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
37892
+ };
37893
+ readonly operator: {
37894
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
37895
+ };
37896
+ readonly rightField: {
37897
+ readonly type: "string";
37898
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
37899
+ };
37900
+ };
37901
+ }, {
37902
+ readonly type: "object";
37903
+ readonly additionalProperties: false;
37904
+ readonly required: readonly ["kind", "field", "operator"];
37905
+ readonly properties: {
37906
+ readonly kind: {
37907
+ readonly const: "database-now";
37908
+ };
37909
+ readonly field: {
37910
+ readonly type: "string";
37911
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
37912
+ };
37913
+ readonly operator: {
37914
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
37915
+ };
37916
+ };
37917
+ }];
37918
+ };
37919
+ };
37565
37920
  readonly where: {
37566
37921
  readonly $ref: "#/$defs/dataWhere";
37567
37922
  };
@@ -38416,6 +38771,72 @@ export declare const contractSchemas: {
38416
38771
  };
38417
38772
  };
38418
38773
  };
38774
+ readonly assertions: {
38775
+ readonly type: "array";
38776
+ readonly minItems: 1;
38777
+ readonly maxItems: 20;
38778
+ readonly items: {
38779
+ readonly oneOf: readonly [{
38780
+ readonly type: "object";
38781
+ readonly additionalProperties: false;
38782
+ readonly required: readonly ["kind", "field", "operator"];
38783
+ readonly properties: {
38784
+ readonly kind: {
38785
+ readonly const: "value";
38786
+ };
38787
+ readonly field: {
38788
+ readonly type: "string";
38789
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
38790
+ };
38791
+ readonly operator: {
38792
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte", "contains", "startsWith", "endsWith", "in", "between", "has", "hasAny", "hasAll", "overlaps", "containedBy", "jsonContains", "isEmpty", "isNotEmpty"];
38793
+ };
38794
+ readonly value: {};
38795
+ readonly path: {
38796
+ readonly type: "string";
38797
+ readonly minLength: 1;
38798
+ readonly maxLength: 128;
38799
+ };
38800
+ };
38801
+ }, {
38802
+ readonly type: "object";
38803
+ readonly additionalProperties: false;
38804
+ readonly required: readonly ["kind", "leftField", "operator", "rightField"];
38805
+ readonly properties: {
38806
+ readonly kind: {
38807
+ readonly const: "field";
38808
+ };
38809
+ readonly leftField: {
38810
+ readonly type: "string";
38811
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
38812
+ };
38813
+ readonly operator: {
38814
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
38815
+ };
38816
+ readonly rightField: {
38817
+ readonly type: "string";
38818
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
38819
+ };
38820
+ };
38821
+ }, {
38822
+ readonly type: "object";
38823
+ readonly additionalProperties: false;
38824
+ readonly required: readonly ["kind", "field", "operator"];
38825
+ readonly properties: {
38826
+ readonly kind: {
38827
+ readonly const: "database-now";
38828
+ };
38829
+ readonly field: {
38830
+ readonly type: "string";
38831
+ readonly pattern: "^[A-Za-z][A-Za-z0-9_]{0,62}$";
38832
+ };
38833
+ readonly operator: {
38834
+ readonly enum: readonly ["eq", "neq", "gt", "gte", "lt", "lte"];
38835
+ };
38836
+ };
38837
+ }];
38838
+ };
38839
+ };
38419
38840
  readonly where: {
38420
38841
  readonly $ref: "#/$defs/dataWhere";
38421
38842
  };
@@ -43117,6 +43538,31 @@ export declare const contractSchemas: {
43117
43538
  readonly additionalProperties: false;
43118
43539
  readonly minProperties: 1;
43119
43540
  readonly properties: {
43541
+ readonly transactionTime: {
43542
+ readonly type: "object";
43543
+ readonly additionalProperties: false;
43544
+ readonly required: readonly ["mode"];
43545
+ readonly properties: {
43546
+ readonly mode: {
43547
+ readonly const: "database-accepted";
43548
+ };
43549
+ readonly recordSetAssertions: {
43550
+ readonly const: true;
43551
+ };
43552
+ };
43553
+ };
43554
+ readonly directoryClasses: {
43555
+ readonly type: "object";
43556
+ readonly additionalProperties: false;
43557
+ readonly required: readonly ["maxIds"];
43558
+ readonly properties: {
43559
+ readonly maxIds: {
43560
+ readonly type: "integer";
43561
+ readonly minimum: 1;
43562
+ readonly maximum: 20;
43563
+ };
43564
+ };
43565
+ };
43120
43566
  readonly ownedSubject: {
43121
43567
  readonly type: "object";
43122
43568
  readonly additionalProperties: false;