@happyvertical/smrt-commerce 0.36.7 → 0.37.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.
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "version": "1.0.0",
3
- "timestamp": 1782507359933,
3
+ "timestamp": 1782683504283,
4
4
  "packageName": "@happyvertical/smrt-commerce",
5
- "packageVersion": "0.36.7",
5
+ "packageVersion": "0.37.0",
6
6
  "objects": {
7
7
  "@happyvertical/smrt-commerce:ContractCollection": {
8
8
  "name": "contractcollection",
@@ -2504,7 +2504,7 @@
2504
2504
  "parameters": [
2505
2505
  {
2506
2506
  "name": "data",
2507
- "type": "any",
2507
+ "type": "Record<string>",
2508
2508
  "optional": false
2509
2509
  }
2510
2510
  ],
@@ -2516,7 +2516,7 @@
2516
2516
  "name": "getFields",
2517
2517
  "async": true,
2518
2518
  "parameters": [],
2519
- "returnType": "any",
2519
+ "returnType": "Promise<any>",
2520
2520
  "isStatic": false,
2521
2521
  "isPublic": true
2522
2522
  },
@@ -2625,7 +2625,7 @@
2625
2625
  },
2626
2626
  {
2627
2627
  "name": "options",
2628
- "type": "any",
2628
+ "type": "AiOperationOptions",
2629
2629
  "optional": true
2630
2630
  }
2631
2631
  ],
@@ -2644,7 +2644,7 @@
2644
2644
  },
2645
2645
  {
2646
2646
  "name": "options",
2647
- "type": "any",
2647
+ "type": "AiOperationOptions",
2648
2648
  "optional": true
2649
2649
  }
2650
2650
  ],
@@ -2658,7 +2658,7 @@
2658
2658
  "parameters": [
2659
2659
  {
2660
2660
  "name": "options",
2661
- "type": "any",
2661
+ "type": "AiOperationOptions",
2662
2662
  "optional": true
2663
2663
  }
2664
2664
  ],
@@ -2688,6 +2688,25 @@
2688
2688
  "isStatic": false,
2689
2689
  "isPublic": true
2690
2690
  },
2691
+ "_setLoadedRelationship": {
2692
+ "name": "_setLoadedRelationship",
2693
+ "async": false,
2694
+ "parameters": [
2695
+ {
2696
+ "name": "fieldName",
2697
+ "type": "string",
2698
+ "optional": false
2699
+ },
2700
+ {
2701
+ "name": "value",
2702
+ "type": "any",
2703
+ "optional": false
2704
+ }
2705
+ ],
2706
+ "returnType": "void",
2707
+ "isStatic": false,
2708
+ "isPublic": true
2709
+ },
2691
2710
  "loadRelated": {
2692
2711
  "name": "loadRelated",
2693
2712
  "async": true,
@@ -2791,7 +2810,7 @@
2791
2810
  "optional": false
2792
2811
  }
2793
2812
  ],
2794
- "returnType": "Promise<any | null>",
2813
+ "returnType": "Promise",
2795
2814
  "isStatic": false,
2796
2815
  "isPublic": true
2797
2816
  },
@@ -2805,7 +2824,7 @@
2805
2824
  "optional": true
2806
2825
  }
2807
2826
  ],
2808
- "returnType": "Promise<Map<string, any>>",
2827
+ "returnType": "Promise<Map<string>>",
2809
2828
  "isStatic": false,
2810
2829
  "isPublic": true
2811
2830
  },
@@ -3278,7 +3297,7 @@
3278
3297
  "parameters": [
3279
3298
  {
3280
3299
  "name": "data",
3281
- "type": "any",
3300
+ "type": "Record<string>",
3282
3301
  "optional": false
3283
3302
  }
3284
3303
  ],
@@ -3290,7 +3309,7 @@
3290
3309
  "name": "getFields",
3291
3310
  "async": true,
3292
3311
  "parameters": [],
3293
- "returnType": "any",
3312
+ "returnType": "Promise<any>",
3294
3313
  "isStatic": false,
3295
3314
  "isPublic": true
3296
3315
  },
@@ -3399,7 +3418,7 @@
3399
3418
  },
3400
3419
  {
3401
3420
  "name": "options",
3402
- "type": "any",
3421
+ "type": "AiOperationOptions",
3403
3422
  "optional": true
3404
3423
  }
3405
3424
  ],
@@ -3418,7 +3437,7 @@
3418
3437
  },
3419
3438
  {
3420
3439
  "name": "options",
3421
- "type": "any",
3440
+ "type": "AiOperationOptions",
3422
3441
  "optional": true
3423
3442
  }
3424
3443
  ],
@@ -3432,7 +3451,7 @@
3432
3451
  "parameters": [
3433
3452
  {
3434
3453
  "name": "options",
3435
- "type": "any",
3454
+ "type": "AiOperationOptions",
3436
3455
  "optional": true
3437
3456
  }
3438
3457
  ],
@@ -3462,6 +3481,25 @@
3462
3481
  "isStatic": false,
3463
3482
  "isPublic": true
3464
3483
  },
3484
+ "_setLoadedRelationship": {
3485
+ "name": "_setLoadedRelationship",
3486
+ "async": false,
3487
+ "parameters": [
3488
+ {
3489
+ "name": "fieldName",
3490
+ "type": "string",
3491
+ "optional": false
3492
+ },
3493
+ {
3494
+ "name": "value",
3495
+ "type": "any",
3496
+ "optional": false
3497
+ }
3498
+ ],
3499
+ "returnType": "void",
3500
+ "isStatic": false,
3501
+ "isPublic": true
3502
+ },
3465
3503
  "loadRelated": {
3466
3504
  "name": "loadRelated",
3467
3505
  "async": true,
@@ -3565,7 +3603,7 @@
3565
3603
  "optional": false
3566
3604
  }
3567
3605
  ],
3568
- "returnType": "Promise<any | null>",
3606
+ "returnType": "Promise",
3569
3607
  "isStatic": false,
3570
3608
  "isPublic": true
3571
3609
  },
@@ -3579,7 +3617,7 @@
3579
3617
  "optional": true
3580
3618
  }
3581
3619
  ],
3582
- "returnType": "Promise<Map<string, any>>",
3620
+ "returnType": "Promise<Map<string>>",
3583
3621
  "isStatic": false,
3584
3622
  "isPublic": true
3585
3623
  },
@@ -4038,7 +4076,7 @@
4038
4076
  "parameters": [
4039
4077
  {
4040
4078
  "name": "data",
4041
- "type": "any",
4079
+ "type": "Record<string>",
4042
4080
  "optional": false
4043
4081
  }
4044
4082
  ],
@@ -4050,7 +4088,7 @@
4050
4088
  "name": "getFields",
4051
4089
  "async": true,
4052
4090
  "parameters": [],
4053
- "returnType": "any",
4091
+ "returnType": "Promise<any>",
4054
4092
  "isStatic": false,
4055
4093
  "isPublic": true
4056
4094
  },
@@ -4159,7 +4197,7 @@
4159
4197
  },
4160
4198
  {
4161
4199
  "name": "options",
4162
- "type": "any",
4200
+ "type": "AiOperationOptions",
4163
4201
  "optional": true
4164
4202
  }
4165
4203
  ],
@@ -4178,7 +4216,7 @@
4178
4216
  },
4179
4217
  {
4180
4218
  "name": "options",
4181
- "type": "any",
4219
+ "type": "AiOperationOptions",
4182
4220
  "optional": true
4183
4221
  }
4184
4222
  ],
@@ -4192,7 +4230,7 @@
4192
4230
  "parameters": [
4193
4231
  {
4194
4232
  "name": "options",
4195
- "type": "any",
4233
+ "type": "AiOperationOptions",
4196
4234
  "optional": true
4197
4235
  }
4198
4236
  ],
@@ -4222,6 +4260,25 @@
4222
4260
  "isStatic": false,
4223
4261
  "isPublic": true
4224
4262
  },
4263
+ "_setLoadedRelationship": {
4264
+ "name": "_setLoadedRelationship",
4265
+ "async": false,
4266
+ "parameters": [
4267
+ {
4268
+ "name": "fieldName",
4269
+ "type": "string",
4270
+ "optional": false
4271
+ },
4272
+ {
4273
+ "name": "value",
4274
+ "type": "any",
4275
+ "optional": false
4276
+ }
4277
+ ],
4278
+ "returnType": "void",
4279
+ "isStatic": false,
4280
+ "isPublic": true
4281
+ },
4225
4282
  "loadRelated": {
4226
4283
  "name": "loadRelated",
4227
4284
  "async": true,
@@ -4325,7 +4382,7 @@
4325
4382
  "optional": false
4326
4383
  }
4327
4384
  ],
4328
- "returnType": "Promise<any | null>",
4385
+ "returnType": "Promise",
4329
4386
  "isStatic": false,
4330
4387
  "isPublic": true
4331
4388
  },
@@ -4339,7 +4396,7 @@
4339
4396
  "optional": true
4340
4397
  }
4341
4398
  ],
4342
- "returnType": "Promise<Map<string, any>>",
4399
+ "returnType": "Promise<Map<string>>",
4343
4400
  "isStatic": false,
4344
4401
  "isPublic": true
4345
4402
  },
@@ -4798,7 +4855,7 @@
4798
4855
  "parameters": [
4799
4856
  {
4800
4857
  "name": "data",
4801
- "type": "any",
4858
+ "type": "Record<string>",
4802
4859
  "optional": false
4803
4860
  }
4804
4861
  ],
@@ -4810,7 +4867,7 @@
4810
4867
  "name": "getFields",
4811
4868
  "async": true,
4812
4869
  "parameters": [],
4813
- "returnType": "any",
4870
+ "returnType": "Promise<any>",
4814
4871
  "isStatic": false,
4815
4872
  "isPublic": true
4816
4873
  },
@@ -4919,7 +4976,7 @@
4919
4976
  },
4920
4977
  {
4921
4978
  "name": "options",
4922
- "type": "any",
4979
+ "type": "AiOperationOptions",
4923
4980
  "optional": true
4924
4981
  }
4925
4982
  ],
@@ -4938,7 +4995,7 @@
4938
4995
  },
4939
4996
  {
4940
4997
  "name": "options",
4941
- "type": "any",
4998
+ "type": "AiOperationOptions",
4942
4999
  "optional": true
4943
5000
  }
4944
5001
  ],
@@ -4952,7 +5009,7 @@
4952
5009
  "parameters": [
4953
5010
  {
4954
5011
  "name": "options",
4955
- "type": "any",
5012
+ "type": "AiOperationOptions",
4956
5013
  "optional": true
4957
5014
  }
4958
5015
  ],
@@ -4982,6 +5039,25 @@
4982
5039
  "isStatic": false,
4983
5040
  "isPublic": true
4984
5041
  },
5042
+ "_setLoadedRelationship": {
5043
+ "name": "_setLoadedRelationship",
5044
+ "async": false,
5045
+ "parameters": [
5046
+ {
5047
+ "name": "fieldName",
5048
+ "type": "string",
5049
+ "optional": false
5050
+ },
5051
+ {
5052
+ "name": "value",
5053
+ "type": "any",
5054
+ "optional": false
5055
+ }
5056
+ ],
5057
+ "returnType": "void",
5058
+ "isStatic": false,
5059
+ "isPublic": true
5060
+ },
4985
5061
  "loadRelated": {
4986
5062
  "name": "loadRelated",
4987
5063
  "async": true,
@@ -5085,7 +5161,7 @@
5085
5161
  "optional": false
5086
5162
  }
5087
5163
  ],
5088
- "returnType": "Promise<any | null>",
5164
+ "returnType": "Promise",
5089
5165
  "isStatic": false,
5090
5166
  "isPublic": true
5091
5167
  },
@@ -5099,7 +5175,7 @@
5099
5175
  "optional": true
5100
5176
  }
5101
5177
  ],
5102
- "returnType": "Promise<Map<string, any>>",
5178
+ "returnType": "Promise<Map<string>>",
5103
5179
  "isStatic": false,
5104
5180
  "isPublic": true
5105
5181
  },
@@ -5558,7 +5634,7 @@
5558
5634
  "parameters": [
5559
5635
  {
5560
5636
  "name": "data",
5561
- "type": "any",
5637
+ "type": "Record<string>",
5562
5638
  "optional": false
5563
5639
  }
5564
5640
  ],
@@ -5570,7 +5646,7 @@
5570
5646
  "name": "getFields",
5571
5647
  "async": true,
5572
5648
  "parameters": [],
5573
- "returnType": "any",
5649
+ "returnType": "Promise<any>",
5574
5650
  "isStatic": false,
5575
5651
  "isPublic": true
5576
5652
  },
@@ -5679,7 +5755,7 @@
5679
5755
  },
5680
5756
  {
5681
5757
  "name": "options",
5682
- "type": "any",
5758
+ "type": "AiOperationOptions",
5683
5759
  "optional": true
5684
5760
  }
5685
5761
  ],
@@ -5698,7 +5774,7 @@
5698
5774
  },
5699
5775
  {
5700
5776
  "name": "options",
5701
- "type": "any",
5777
+ "type": "AiOperationOptions",
5702
5778
  "optional": true
5703
5779
  }
5704
5780
  ],
@@ -5712,7 +5788,7 @@
5712
5788
  "parameters": [
5713
5789
  {
5714
5790
  "name": "options",
5715
- "type": "any",
5791
+ "type": "AiOperationOptions",
5716
5792
  "optional": true
5717
5793
  }
5718
5794
  ],
@@ -5742,6 +5818,25 @@
5742
5818
  "isStatic": false,
5743
5819
  "isPublic": true
5744
5820
  },
5821
+ "_setLoadedRelationship": {
5822
+ "name": "_setLoadedRelationship",
5823
+ "async": false,
5824
+ "parameters": [
5825
+ {
5826
+ "name": "fieldName",
5827
+ "type": "string",
5828
+ "optional": false
5829
+ },
5830
+ {
5831
+ "name": "value",
5832
+ "type": "any",
5833
+ "optional": false
5834
+ }
5835
+ ],
5836
+ "returnType": "void",
5837
+ "isStatic": false,
5838
+ "isPublic": true
5839
+ },
5745
5840
  "loadRelated": {
5746
5841
  "name": "loadRelated",
5747
5842
  "async": true,
@@ -5845,7 +5940,7 @@
5845
5940
  "optional": false
5846
5941
  }
5847
5942
  ],
5848
- "returnType": "Promise<any | null>",
5943
+ "returnType": "Promise",
5849
5944
  "isStatic": false,
5850
5945
  "isPublic": true
5851
5946
  },
@@ -5859,7 +5954,7 @@
5859
5954
  "optional": true
5860
5955
  }
5861
5956
  ],
5862
- "returnType": "Promise<Map<string, any>>",
5957
+ "returnType": "Promise<Map<string>>",
5863
5958
  "isStatic": false,
5864
5959
  "isPublic": true
5865
5960
  },
@@ -6318,7 +6413,7 @@
6318
6413
  "parameters": [
6319
6414
  {
6320
6415
  "name": "data",
6321
- "type": "any",
6416
+ "type": "Record<string>",
6322
6417
  "optional": false
6323
6418
  }
6324
6419
  ],
@@ -6330,7 +6425,7 @@
6330
6425
  "name": "getFields",
6331
6426
  "async": true,
6332
6427
  "parameters": [],
6333
- "returnType": "any",
6428
+ "returnType": "Promise<any>",
6334
6429
  "isStatic": false,
6335
6430
  "isPublic": true
6336
6431
  },
@@ -6439,7 +6534,7 @@
6439
6534
  },
6440
6535
  {
6441
6536
  "name": "options",
6442
- "type": "any",
6537
+ "type": "AiOperationOptions",
6443
6538
  "optional": true
6444
6539
  }
6445
6540
  ],
@@ -6458,7 +6553,7 @@
6458
6553
  },
6459
6554
  {
6460
6555
  "name": "options",
6461
- "type": "any",
6556
+ "type": "AiOperationOptions",
6462
6557
  "optional": true
6463
6558
  }
6464
6559
  ],
@@ -6472,7 +6567,7 @@
6472
6567
  "parameters": [
6473
6568
  {
6474
6569
  "name": "options",
6475
- "type": "any",
6570
+ "type": "AiOperationOptions",
6476
6571
  "optional": true
6477
6572
  }
6478
6573
  ],
@@ -6502,6 +6597,25 @@
6502
6597
  "isStatic": false,
6503
6598
  "isPublic": true
6504
6599
  },
6600
+ "_setLoadedRelationship": {
6601
+ "name": "_setLoadedRelationship",
6602
+ "async": false,
6603
+ "parameters": [
6604
+ {
6605
+ "name": "fieldName",
6606
+ "type": "string",
6607
+ "optional": false
6608
+ },
6609
+ {
6610
+ "name": "value",
6611
+ "type": "any",
6612
+ "optional": false
6613
+ }
6614
+ ],
6615
+ "returnType": "void",
6616
+ "isStatic": false,
6617
+ "isPublic": true
6618
+ },
6505
6619
  "loadRelated": {
6506
6620
  "name": "loadRelated",
6507
6621
  "async": true,
@@ -6605,7 +6719,7 @@
6605
6719
  "optional": false
6606
6720
  }
6607
6721
  ],
6608
- "returnType": "Promise<any | null>",
6722
+ "returnType": "Promise",
6609
6723
  "isStatic": false,
6610
6724
  "isPublic": true
6611
6725
  },
@@ -6619,7 +6733,7 @@
6619
6733
  "optional": true
6620
6734
  }
6621
6735
  ],
6622
- "returnType": "Promise<Map<string, any>>",
6736
+ "returnType": "Promise<Map<string>>",
6623
6737
  "isStatic": false,
6624
6738
  "isPublic": true
6625
6739
  },
@@ -7078,7 +7192,7 @@
7078
7192
  "parameters": [
7079
7193
  {
7080
7194
  "name": "data",
7081
- "type": "any",
7195
+ "type": "Record<string>",
7082
7196
  "optional": false
7083
7197
  }
7084
7198
  ],
@@ -7090,7 +7204,7 @@
7090
7204
  "name": "getFields",
7091
7205
  "async": true,
7092
7206
  "parameters": [],
7093
- "returnType": "any",
7207
+ "returnType": "Promise<any>",
7094
7208
  "isStatic": false,
7095
7209
  "isPublic": true
7096
7210
  },
@@ -7199,7 +7313,7 @@
7199
7313
  },
7200
7314
  {
7201
7315
  "name": "options",
7202
- "type": "any",
7316
+ "type": "AiOperationOptions",
7203
7317
  "optional": true
7204
7318
  }
7205
7319
  ],
@@ -7218,7 +7332,7 @@
7218
7332
  },
7219
7333
  {
7220
7334
  "name": "options",
7221
- "type": "any",
7335
+ "type": "AiOperationOptions",
7222
7336
  "optional": true
7223
7337
  }
7224
7338
  ],
@@ -7232,7 +7346,7 @@
7232
7346
  "parameters": [
7233
7347
  {
7234
7348
  "name": "options",
7235
- "type": "any",
7349
+ "type": "AiOperationOptions",
7236
7350
  "optional": true
7237
7351
  }
7238
7352
  ],
@@ -7262,6 +7376,25 @@
7262
7376
  "isStatic": false,
7263
7377
  "isPublic": true
7264
7378
  },
7379
+ "_setLoadedRelationship": {
7380
+ "name": "_setLoadedRelationship",
7381
+ "async": false,
7382
+ "parameters": [
7383
+ {
7384
+ "name": "fieldName",
7385
+ "type": "string",
7386
+ "optional": false
7387
+ },
7388
+ {
7389
+ "name": "value",
7390
+ "type": "any",
7391
+ "optional": false
7392
+ }
7393
+ ],
7394
+ "returnType": "void",
7395
+ "isStatic": false,
7396
+ "isPublic": true
7397
+ },
7265
7398
  "loadRelated": {
7266
7399
  "name": "loadRelated",
7267
7400
  "async": true,
@@ -7365,7 +7498,7 @@
7365
7498
  "optional": false
7366
7499
  }
7367
7500
  ],
7368
- "returnType": "Promise<any | null>",
7501
+ "returnType": "Promise",
7369
7502
  "isStatic": false,
7370
7503
  "isPublic": true
7371
7504
  },
@@ -7379,7 +7512,7 @@
7379
7512
  "optional": true
7380
7513
  }
7381
7514
  ],
7382
- "returnType": "Promise<Map<string, any>>",
7515
+ "returnType": "Promise<Map<string>>",
7383
7516
  "isStatic": false,
7384
7517
  "isPublic": true
7385
7518
  },
@@ -7854,7 +7987,7 @@
7854
7987
  "parameters": [
7855
7988
  {
7856
7989
  "name": "data",
7857
- "type": "any",
7990
+ "type": "Record<string>",
7858
7991
  "optional": false
7859
7992
  }
7860
7993
  ],
@@ -7866,7 +7999,7 @@
7866
7999
  "name": "getFields",
7867
8000
  "async": true,
7868
8001
  "parameters": [],
7869
- "returnType": "any",
8002
+ "returnType": "Promise<any>",
7870
8003
  "isStatic": false,
7871
8004
  "isPublic": true
7872
8005
  },
@@ -7975,7 +8108,7 @@
7975
8108
  },
7976
8109
  {
7977
8110
  "name": "options",
7978
- "type": "any",
8111
+ "type": "AiOperationOptions",
7979
8112
  "optional": true
7980
8113
  }
7981
8114
  ],
@@ -7994,7 +8127,7 @@
7994
8127
  },
7995
8128
  {
7996
8129
  "name": "options",
7997
- "type": "any",
8130
+ "type": "AiOperationOptions",
7998
8131
  "optional": true
7999
8132
  }
8000
8133
  ],
@@ -8008,7 +8141,7 @@
8008
8141
  "parameters": [
8009
8142
  {
8010
8143
  "name": "options",
8011
- "type": "any",
8144
+ "type": "AiOperationOptions",
8012
8145
  "optional": true
8013
8146
  }
8014
8147
  ],
@@ -8038,6 +8171,25 @@
8038
8171
  "isStatic": false,
8039
8172
  "isPublic": true
8040
8173
  },
8174
+ "_setLoadedRelationship": {
8175
+ "name": "_setLoadedRelationship",
8176
+ "async": false,
8177
+ "parameters": [
8178
+ {
8179
+ "name": "fieldName",
8180
+ "type": "string",
8181
+ "optional": false
8182
+ },
8183
+ {
8184
+ "name": "value",
8185
+ "type": "any",
8186
+ "optional": false
8187
+ }
8188
+ ],
8189
+ "returnType": "void",
8190
+ "isStatic": false,
8191
+ "isPublic": true
8192
+ },
8041
8193
  "loadRelated": {
8042
8194
  "name": "loadRelated",
8043
8195
  "async": true,
@@ -8141,7 +8293,7 @@
8141
8293
  "optional": false
8142
8294
  }
8143
8295
  ],
8144
- "returnType": "Promise<any | null>",
8296
+ "returnType": "Promise",
8145
8297
  "isStatic": false,
8146
8298
  "isPublic": true
8147
8299
  },
@@ -8155,7 +8307,7 @@
8155
8307
  "optional": true
8156
8308
  }
8157
8309
  ],
8158
- "returnType": "Promise<Map<string, any>>",
8310
+ "returnType": "Promise<Map<string>>",
8159
8311
  "isStatic": false,
8160
8312
  "isPublic": true
8161
8313
  },
@@ -8614,7 +8766,7 @@
8614
8766
  "parameters": [
8615
8767
  {
8616
8768
  "name": "data",
8617
- "type": "any",
8769
+ "type": "Record<string>",
8618
8770
  "optional": false
8619
8771
  }
8620
8772
  ],
@@ -8626,7 +8778,7 @@
8626
8778
  "name": "getFields",
8627
8779
  "async": true,
8628
8780
  "parameters": [],
8629
- "returnType": "any",
8781
+ "returnType": "Promise<any>",
8630
8782
  "isStatic": false,
8631
8783
  "isPublic": true
8632
8784
  },
@@ -8735,7 +8887,7 @@
8735
8887
  },
8736
8888
  {
8737
8889
  "name": "options",
8738
- "type": "any",
8890
+ "type": "AiOperationOptions",
8739
8891
  "optional": true
8740
8892
  }
8741
8893
  ],
@@ -8754,7 +8906,7 @@
8754
8906
  },
8755
8907
  {
8756
8908
  "name": "options",
8757
- "type": "any",
8909
+ "type": "AiOperationOptions",
8758
8910
  "optional": true
8759
8911
  }
8760
8912
  ],
@@ -8768,7 +8920,7 @@
8768
8920
  "parameters": [
8769
8921
  {
8770
8922
  "name": "options",
8771
- "type": "any",
8923
+ "type": "AiOperationOptions",
8772
8924
  "optional": true
8773
8925
  }
8774
8926
  ],
@@ -8798,6 +8950,25 @@
8798
8950
  "isStatic": false,
8799
8951
  "isPublic": true
8800
8952
  },
8953
+ "_setLoadedRelationship": {
8954
+ "name": "_setLoadedRelationship",
8955
+ "async": false,
8956
+ "parameters": [
8957
+ {
8958
+ "name": "fieldName",
8959
+ "type": "string",
8960
+ "optional": false
8961
+ },
8962
+ {
8963
+ "name": "value",
8964
+ "type": "any",
8965
+ "optional": false
8966
+ }
8967
+ ],
8968
+ "returnType": "void",
8969
+ "isStatic": false,
8970
+ "isPublic": true
8971
+ },
8801
8972
  "loadRelated": {
8802
8973
  "name": "loadRelated",
8803
8974
  "async": true,
@@ -8901,7 +9072,7 @@
8901
9072
  "optional": false
8902
9073
  }
8903
9074
  ],
8904
- "returnType": "Promise<any | null>",
9075
+ "returnType": "Promise",
8905
9076
  "isStatic": false,
8906
9077
  "isPublic": true
8907
9078
  },
@@ -8915,7 +9086,7 @@
8915
9086
  "optional": true
8916
9087
  }
8917
9088
  ],
8918
- "returnType": "Promise<Map<string, any>>",
9089
+ "returnType": "Promise<Map<string>>",
8919
9090
  "isStatic": false,
8920
9091
  "isPublic": true
8921
9092
  },
@@ -9494,7 +9665,7 @@
9494
9665
  "parameters": [
9495
9666
  {
9496
9667
  "name": "data",
9497
- "type": "any",
9668
+ "type": "Record<string>",
9498
9669
  "optional": false
9499
9670
  }
9500
9671
  ],
@@ -9506,7 +9677,7 @@
9506
9677
  "name": "getFields",
9507
9678
  "async": true,
9508
9679
  "parameters": [],
9509
- "returnType": "any",
9680
+ "returnType": "Promise<any>",
9510
9681
  "isStatic": false,
9511
9682
  "isPublic": true
9512
9683
  },
@@ -9615,7 +9786,7 @@
9615
9786
  },
9616
9787
  {
9617
9788
  "name": "options",
9618
- "type": "any",
9789
+ "type": "AiOperationOptions",
9619
9790
  "optional": true
9620
9791
  }
9621
9792
  ],
@@ -9634,7 +9805,7 @@
9634
9805
  },
9635
9806
  {
9636
9807
  "name": "options",
9637
- "type": "any",
9808
+ "type": "AiOperationOptions",
9638
9809
  "optional": true
9639
9810
  }
9640
9811
  ],
@@ -9648,7 +9819,7 @@
9648
9819
  "parameters": [
9649
9820
  {
9650
9821
  "name": "options",
9651
- "type": "any",
9822
+ "type": "AiOperationOptions",
9652
9823
  "optional": true
9653
9824
  }
9654
9825
  ],
@@ -9678,6 +9849,25 @@
9678
9849
  "isStatic": false,
9679
9850
  "isPublic": true
9680
9851
  },
9852
+ "_setLoadedRelationship": {
9853
+ "name": "_setLoadedRelationship",
9854
+ "async": false,
9855
+ "parameters": [
9856
+ {
9857
+ "name": "fieldName",
9858
+ "type": "string",
9859
+ "optional": false
9860
+ },
9861
+ {
9862
+ "name": "value",
9863
+ "type": "any",
9864
+ "optional": false
9865
+ }
9866
+ ],
9867
+ "returnType": "void",
9868
+ "isStatic": false,
9869
+ "isPublic": true
9870
+ },
9681
9871
  "loadRelated": {
9682
9872
  "name": "loadRelated",
9683
9873
  "async": true,
@@ -9781,7 +9971,7 @@
9781
9971
  "optional": false
9782
9972
  }
9783
9973
  ],
9784
- "returnType": "Promise<any | null>",
9974
+ "returnType": "Promise",
9785
9975
  "isStatic": false,
9786
9976
  "isPublic": true
9787
9977
  },
@@ -9795,7 +9985,7 @@
9795
9985
  "optional": true
9796
9986
  }
9797
9987
  ],
9798
- "returnType": "Promise<Map<string, any>>",
9988
+ "returnType": "Promise<Map<string>>",
9799
9989
  "isStatic": false,
9800
9990
  "isPublic": true
9801
9991
  },
@@ -10263,7 +10453,7 @@
10263
10453
  "parameters": [
10264
10454
  {
10265
10455
  "name": "data",
10266
- "type": "any",
10456
+ "type": "Record<string>",
10267
10457
  "optional": false
10268
10458
  }
10269
10459
  ],
@@ -10275,7 +10465,7 @@
10275
10465
  "name": "getFields",
10276
10466
  "async": true,
10277
10467
  "parameters": [],
10278
- "returnType": "any",
10468
+ "returnType": "Promise<any>",
10279
10469
  "isStatic": false,
10280
10470
  "isPublic": true
10281
10471
  },
@@ -10384,7 +10574,7 @@
10384
10574
  },
10385
10575
  {
10386
10576
  "name": "options",
10387
- "type": "any",
10577
+ "type": "AiOperationOptions",
10388
10578
  "optional": true
10389
10579
  }
10390
10580
  ],
@@ -10403,7 +10593,7 @@
10403
10593
  },
10404
10594
  {
10405
10595
  "name": "options",
10406
- "type": "any",
10596
+ "type": "AiOperationOptions",
10407
10597
  "optional": true
10408
10598
  }
10409
10599
  ],
@@ -10417,7 +10607,7 @@
10417
10607
  "parameters": [
10418
10608
  {
10419
10609
  "name": "options",
10420
- "type": "any",
10610
+ "type": "AiOperationOptions",
10421
10611
  "optional": true
10422
10612
  }
10423
10613
  ],
@@ -10447,6 +10637,25 @@
10447
10637
  "isStatic": false,
10448
10638
  "isPublic": true
10449
10639
  },
10640
+ "_setLoadedRelationship": {
10641
+ "name": "_setLoadedRelationship",
10642
+ "async": false,
10643
+ "parameters": [
10644
+ {
10645
+ "name": "fieldName",
10646
+ "type": "string",
10647
+ "optional": false
10648
+ },
10649
+ {
10650
+ "name": "value",
10651
+ "type": "any",
10652
+ "optional": false
10653
+ }
10654
+ ],
10655
+ "returnType": "void",
10656
+ "isStatic": false,
10657
+ "isPublic": true
10658
+ },
10450
10659
  "loadRelated": {
10451
10660
  "name": "loadRelated",
10452
10661
  "async": true,
@@ -10550,7 +10759,7 @@
10550
10759
  "optional": false
10551
10760
  }
10552
10761
  ],
10553
- "returnType": "Promise<any | null>",
10762
+ "returnType": "Promise",
10554
10763
  "isStatic": false,
10555
10764
  "isPublic": true
10556
10765
  },
@@ -10564,7 +10773,7 @@
10564
10773
  "optional": true
10565
10774
  }
10566
10775
  ],
10567
- "returnType": "Promise<Map<string, any>>",
10776
+ "returnType": "Promise<Map<string>>",
10568
10777
  "isStatic": false,
10569
10778
  "isPublic": true
10570
10779
  },
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "generatedAt": "2026-06-26T20:56:00.518Z",
3
+ "generatedAt": "2026-06-28T21:51:45.519Z",
4
4
  "packageName": "@happyvertical/smrt-commerce",
5
- "packageVersion": "0.36.7",
5
+ "packageVersion": "0.37.0",
6
6
  "sourceManifestPath": "dist/manifest.json",
7
7
  "agentDocPath": "AGENTS.md",
8
8
  "sourceHashes": {
9
- "manifest": "378a375fe07e8b8c73515f69968ebba1dcd0663bff91d8bcef5afb267f61d275",
10
- "packageJson": "f3b2f52d9ca59226fa8fa34c7e9d6ad29d17594292d55e91a959d4aced7579e4",
9
+ "manifest": "11a61d3b320b6fc0a279b276a69cc1cc1bb94dd7faa9bf7fca51adf14dce3d5e",
10
+ "packageJson": "9080d839b19807595a5ade5f808fdf6b9946f03cd44adb13afae60efa9b82331",
11
11
  "agents": "f544ac9cece5c94aaead6013316709fcd044944b993110fc7218c0db7c998a63"
12
12
  },
13
13
  "exports": [
@@ -519,6 +519,7 @@
519
519
  }
520
520
  ],
521
521
  "methods": [
522
+ "_setLoadedRelationship",
522
523
  "classifyConstraintError",
523
524
  "clearEmbeddings",
524
525
  "delete",
@@ -784,6 +785,7 @@
784
785
  }
785
786
  ],
786
787
  "methods": [
788
+ "_setLoadedRelationship",
787
789
  "classifyConstraintError",
788
790
  "clearEmbeddings",
789
791
  "delete",
@@ -974,6 +976,7 @@
974
976
  }
975
977
  ],
976
978
  "methods": [
979
+ "_setLoadedRelationship",
977
980
  "classifyConstraintError",
978
981
  "clearEmbeddings",
979
982
  "delete",
@@ -1164,6 +1167,7 @@
1164
1167
  }
1165
1168
  ],
1166
1169
  "methods": [
1170
+ "_setLoadedRelationship",
1167
1171
  "classifyConstraintError",
1168
1172
  "clearEmbeddings",
1169
1173
  "delete",
@@ -1354,6 +1358,7 @@
1354
1358
  }
1355
1359
  ],
1356
1360
  "methods": [
1361
+ "_setLoadedRelationship",
1357
1362
  "classifyConstraintError",
1358
1363
  "clearEmbeddings",
1359
1364
  "delete",
@@ -1544,6 +1549,7 @@
1544
1549
  }
1545
1550
  ],
1546
1551
  "methods": [
1552
+ "_setLoadedRelationship",
1547
1553
  "classifyConstraintError",
1548
1554
  "clearEmbeddings",
1549
1555
  "delete",
@@ -1734,6 +1740,7 @@
1734
1740
  }
1735
1741
  ],
1736
1742
  "methods": [
1743
+ "_setLoadedRelationship",
1737
1744
  "classifyConstraintError",
1738
1745
  "clearEmbeddings",
1739
1746
  "delete",
@@ -1934,6 +1941,7 @@
1934
1941
  }
1935
1942
  ],
1936
1943
  "methods": [
1944
+ "_setLoadedRelationship",
1937
1945
  "classifyConstraintError",
1938
1946
  "clearEmbeddings",
1939
1947
  "delete",
@@ -2124,6 +2132,7 @@
2124
2132
  }
2125
2133
  ],
2126
2134
  "methods": [
2135
+ "_setLoadedRelationship",
2127
2136
  "classifyConstraintError",
2128
2137
  "clearEmbeddings",
2129
2138
  "delete",
@@ -2389,6 +2398,7 @@
2389
2398
  }
2390
2399
  ],
2391
2400
  "methods": [
2401
+ "_setLoadedRelationship",
2392
2402
  "classifyConstraintError",
2393
2403
  "clearEmbeddings",
2394
2404
  "delete",
@@ -2569,6 +2579,7 @@
2569
2579
  }
2570
2580
  ],
2571
2581
  "methods": [
2582
+ "_setLoadedRelationship",
2572
2583
  "calculateAmount",
2573
2584
  "classifyConstraintError",
2574
2585
  "clearEmbeddings",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@happyvertical/smrt-commerce",
3
- "version": "0.36.7",
3
+ "version": "0.37.0",
4
4
  "description": "Commerce models for the SMRT framework - contracts, fulfillments, payments",
5
5
  "type": "module",
6
6
  "smrtRawPrimitives": "strict",
@@ -49,11 +49,11 @@
49
49
  "access": "public"
50
50
  },
51
51
  "dependencies": {
52
- "@happyvertical/smrt-core": "0.36.7",
53
- "@happyvertical/smrt-ledgers": "0.36.7",
54
- "@happyvertical/smrt-tenancy": "0.36.7",
55
- "@happyvertical/smrt-types": "0.36.7",
56
- "@happyvertical/smrt-ui": "0.36.7"
52
+ "@happyvertical/smrt-core": "0.37.0",
53
+ "@happyvertical/smrt-ledgers": "0.37.0",
54
+ "@happyvertical/smrt-tenancy": "0.37.0",
55
+ "@happyvertical/smrt-types": "0.37.0",
56
+ "@happyvertical/smrt-ui": "0.37.0"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "svelte": "^5.18.0"
@@ -73,7 +73,7 @@
73
73
  "typescript": "^5.9.3",
74
74
  "vite": "^7.3.1",
75
75
  "vitest": "^4.0.17",
76
- "@happyvertical/smrt-vitest": "0.36.7"
76
+ "@happyvertical/smrt-vitest": "0.37.0"
77
77
  },
78
78
  "scripts": {
79
79
  "build": "vite build --mode library && svelte-package -i src/svelte -o dist/svelte --tsconfig tsconfig.svelte.json",