@epilot/entity-client 7.2.0-rc1 → 7.2.0-rc2

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.
package/dist/openapi.d.ts CHANGED
@@ -523,7 +523,20 @@ declare namespace Components {
523
523
  *
524
524
  */
525
525
  edit_mode?: "direct" | "external" | "approval";
526
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
526
+ /**
527
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
528
+ */
529
+ edit_mode_config?: {
530
+ match_strategy?: /**
531
+ * Strategy for auto-clearing the changeset when an external update is received.
532
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
533
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
534
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
535
+ *
536
+ */
537
+ MatchStrategy;
538
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
539
+ };
527
540
  type: "address";
528
541
  default_address_fields?: /**
529
542
  * Default fields visible on addresses
@@ -713,7 +726,20 @@ declare namespace Components {
713
726
  *
714
727
  */
715
728
  edit_mode?: "direct" | "external" | "approval";
716
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
729
+ /**
730
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
731
+ */
732
+ edit_mode_config?: {
733
+ match_strategy?: /**
734
+ * Strategy for auto-clearing the changeset when an external update is received.
735
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
736
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
737
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
738
+ *
739
+ */
740
+ MatchStrategy;
741
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
742
+ };
717
743
  type: "relation_address";
718
744
  default_address_fields?: /**
719
745
  * Default fields visible on addresses
@@ -920,7 +946,20 @@ declare namespace Components {
920
946
  *
921
947
  */
922
948
  edit_mode?: "direct" | "external" | "approval";
923
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
949
+ /**
950
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
951
+ */
952
+ edit_mode_config?: {
953
+ match_strategy?: /**
954
+ * Strategy for auto-clearing the changeset when an external update is received.
955
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
956
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
957
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
958
+ *
959
+ */
960
+ MatchStrategy;
961
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
962
+ };
924
963
  type: "automation";
925
964
  }
926
965
  export interface BaseActivityItem {
@@ -1145,7 +1184,17 @@ declare namespace Components {
1145
1184
  /**
1146
1185
  * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
1147
1186
  */
1148
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
1187
+ edit_mode_config?: {
1188
+ match_strategy?: /**
1189
+ * Strategy for auto-clearing the changeset when an external update is received.
1190
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
1191
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
1192
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
1193
+ *
1194
+ */
1195
+ MatchStrategy;
1196
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
1197
+ };
1149
1198
  }
1150
1199
  /**
1151
1200
  * example:
@@ -1403,7 +1452,20 @@ declare namespace Components {
1403
1452
  *
1404
1453
  */
1405
1454
  edit_mode?: "direct" | "external" | "approval";
1406
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
1455
+ /**
1456
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
1457
+ */
1458
+ edit_mode_config?: {
1459
+ match_strategy?: /**
1460
+ * Strategy for auto-clearing the changeset when an external update is received.
1461
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
1462
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
1463
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
1464
+ *
1465
+ */
1466
+ MatchStrategy;
1467
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
1468
+ };
1407
1469
  type: "boolean";
1408
1470
  display_type?: "switch" | "checkbox";
1409
1471
  }
@@ -1440,6 +1502,21 @@ declare namespace Components {
1440
1502
  * Optional label indicating where the change originated (e.g. end_customer_portal, installer_portal, journey, automation)
1441
1503
  */
1442
1504
  source?: string;
1505
+ /**
1506
+ * Proposed and previous values for related fields in a multi-field attribute group (e.g. currency _decimal/_currency suffixes). Keyed by full field name.
1507
+ */
1508
+ related_values?: {
1509
+ [name: string]: {
1510
+ /**
1511
+ * The proposed new value for the related field.
1512
+ */
1513
+ proposed_value?: any;
1514
+ /**
1515
+ * The value of the related field when the changeset was created.
1516
+ */
1517
+ previous_value?: any;
1518
+ };
1519
+ };
1443
1520
  }
1444
1521
  /**
1445
1522
  * Identifies the actor that created the changeset.
@@ -1663,7 +1740,20 @@ declare namespace Components {
1663
1740
  *
1664
1741
  */
1665
1742
  edit_mode?: "direct" | "external" | "approval";
1666
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
1743
+ /**
1744
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
1745
+ */
1746
+ edit_mode_config?: {
1747
+ match_strategy?: /**
1748
+ * Strategy for auto-clearing the changeset when an external update is received.
1749
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
1750
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
1751
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
1752
+ *
1753
+ */
1754
+ MatchStrategy;
1755
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
1756
+ };
1667
1757
  type: "computed";
1668
1758
  computed?: boolean;
1669
1759
  /**
@@ -1836,7 +1926,20 @@ declare namespace Components {
1836
1926
  *
1837
1927
  */
1838
1928
  edit_mode?: "direct" | "external" | "approval";
1839
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
1929
+ /**
1930
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
1931
+ */
1932
+ edit_mode_config?: {
1933
+ match_strategy?: /**
1934
+ * Strategy for auto-clearing the changeset when an external update is received.
1935
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
1936
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
1937
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
1938
+ *
1939
+ */
1940
+ MatchStrategy;
1941
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
1942
+ };
1840
1943
  type: "consent";
1841
1944
  topic: string;
1842
1945
  identifiers?: string[];
@@ -2002,7 +2105,20 @@ declare namespace Components {
2002
2105
  *
2003
2106
  */
2004
2107
  edit_mode?: "direct" | "external" | "approval";
2005
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
2108
+ /**
2109
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
2110
+ */
2111
+ edit_mode_config?: {
2112
+ match_strategy?: /**
2113
+ * Strategy for auto-clearing the changeset when an external update is received.
2114
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
2115
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
2116
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
2117
+ *
2118
+ */
2119
+ MatchStrategy;
2120
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
2121
+ };
2006
2122
  type: "country";
2007
2123
  }
2008
2124
  /**
@@ -2166,7 +2282,20 @@ declare namespace Components {
2166
2282
  *
2167
2283
  */
2168
2284
  edit_mode?: "direct" | "external" | "approval";
2169
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
2285
+ /**
2286
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
2287
+ */
2288
+ edit_mode_config?: {
2289
+ match_strategy?: /**
2290
+ * Strategy for auto-clearing the changeset when an external update is received.
2291
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
2292
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
2293
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
2294
+ *
2295
+ */
2296
+ MatchStrategy;
2297
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
2298
+ };
2170
2299
  type: "currency";
2171
2300
  currency_selector_only?: boolean;
2172
2301
  /**
@@ -2340,7 +2469,20 @@ declare namespace Components {
2340
2469
  *
2341
2470
  */
2342
2471
  edit_mode?: "direct" | "external" | "approval";
2343
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
2472
+ /**
2473
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
2474
+ */
2475
+ edit_mode_config?: {
2476
+ match_strategy?: /**
2477
+ * Strategy for auto-clearing the changeset when an external update is received.
2478
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
2479
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
2480
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
2481
+ *
2482
+ */
2483
+ MatchStrategy;
2484
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
2485
+ };
2344
2486
  type: "date" | "datetime";
2345
2487
  }
2346
2488
  /**
@@ -2554,7 +2696,20 @@ declare namespace Components {
2554
2696
  *
2555
2697
  */
2556
2698
  edit_mode?: "direct" | "external" | "approval";
2557
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
2699
+ /**
2700
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
2701
+ */
2702
+ edit_mode_config?: {
2703
+ match_strategy?: /**
2704
+ * Strategy for auto-clearing the changeset when an external update is received.
2705
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
2706
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
2707
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
2708
+ *
2709
+ */
2710
+ MatchStrategy;
2711
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
2712
+ };
2558
2713
  type: "email";
2559
2714
  }
2560
2715
  /**
@@ -5060,7 +5215,20 @@ declare namespace Components {
5060
5215
  *
5061
5216
  */
5062
5217
  edit_mode?: "direct" | "external" | "approval";
5063
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
5218
+ /**
5219
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
5220
+ */
5221
+ edit_mode_config?: {
5222
+ match_strategy?: /**
5223
+ * Strategy for auto-clearing the changeset when an external update is received.
5224
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
5225
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
5226
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
5227
+ *
5228
+ */
5229
+ MatchStrategy;
5230
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
5231
+ };
5064
5232
  type: "image" | "file";
5065
5233
  multiple?: boolean;
5066
5234
  /**
@@ -5078,6 +5246,12 @@ declare namespace Components {
5078
5246
  */
5079
5247
  enable_description?: boolean;
5080
5248
  default_access_control?: "public-read" | "private";
5249
+ /**
5250
+ * The maximum file size in bytes. Used to derive file_size and file_size_unit in the UI.
5251
+ * example:
5252
+ * 5000000
5253
+ */
5254
+ file_size_bytes?: number;
5081
5255
  }
5082
5256
  /**
5083
5257
  * Configuration for fuzzy match strategies on changeset auto-clearing.
@@ -5873,7 +6047,20 @@ declare namespace Components {
5873
6047
  *
5874
6048
  */
5875
6049
  edit_mode?: "direct" | "external" | "approval";
5876
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
6050
+ /**
6051
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
6052
+ */
6053
+ edit_mode_config?: {
6054
+ match_strategy?: /**
6055
+ * Strategy for auto-clearing the changeset when an external update is received.
6056
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
6057
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
6058
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
6059
+ *
6060
+ */
6061
+ MatchStrategy;
6062
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
6063
+ };
5877
6064
  type: "internal";
5878
6065
  }
5879
6066
  /**
@@ -6037,7 +6224,20 @@ declare namespace Components {
6037
6224
  *
6038
6225
  */
6039
6226
  edit_mode?: "direct" | "external" | "approval";
6040
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
6227
+ /**
6228
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
6229
+ */
6230
+ edit_mode_config?: {
6231
+ match_strategy?: /**
6232
+ * Strategy for auto-clearing the changeset when an external update is received.
6233
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
6234
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
6235
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
6236
+ *
6237
+ */
6238
+ MatchStrategy;
6239
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
6240
+ };
6041
6241
  type: "internal_user";
6042
6242
  }
6043
6243
  /**
@@ -6201,7 +6401,20 @@ declare namespace Components {
6201
6401
  *
6202
6402
  */
6203
6403
  edit_mode?: "direct" | "external" | "approval";
6204
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
6404
+ /**
6405
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
6406
+ */
6407
+ edit_mode_config?: {
6408
+ match_strategy?: /**
6409
+ * Strategy for auto-clearing the changeset when an external update is received.
6410
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
6411
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
6412
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
6413
+ *
6414
+ */
6415
+ MatchStrategy;
6416
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
6417
+ };
6205
6418
  type: "invitation_email";
6206
6419
  }
6207
6420
  /**
@@ -6373,7 +6586,20 @@ declare namespace Components {
6373
6586
  *
6374
6587
  */
6375
6588
  edit_mode?: "direct" | "external" | "approval";
6376
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
6589
+ /**
6590
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
6591
+ */
6592
+ edit_mode_config?: {
6593
+ match_strategy?: /**
6594
+ * Strategy for auto-clearing the changeset when an external update is received.
6595
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
6596
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
6597
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
6598
+ *
6599
+ */
6600
+ MatchStrategy;
6601
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
6602
+ };
6377
6603
  type: "link";
6378
6604
  }
6379
6605
  export interface ListSavedViewsResults {
@@ -6553,7 +6779,20 @@ declare namespace Components {
6553
6779
  *
6554
6780
  */
6555
6781
  edit_mode?: "direct" | "external" | "approval";
6556
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
6782
+ /**
6783
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
6784
+ */
6785
+ edit_mode_config?: {
6786
+ match_strategy?: /**
6787
+ * Strategy for auto-clearing the changeset when an external update is received.
6788
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
6789
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
6790
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
6791
+ *
6792
+ */
6793
+ MatchStrategy;
6794
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
6795
+ };
6557
6796
  type: "message_email_address";
6558
6797
  address?: string;
6559
6798
  send_status?: string;
@@ -6720,7 +6959,20 @@ declare namespace Components {
6720
6959
  *
6721
6960
  */
6722
6961
  edit_mode?: "direct" | "external" | "approval";
6723
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
6962
+ /**
6963
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
6964
+ */
6965
+ edit_mode_config?: {
6966
+ match_strategy?: /**
6967
+ * Strategy for auto-clearing the changeset when an external update is received.
6968
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
6969
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
6970
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
6971
+ *
6972
+ */
6973
+ MatchStrategy;
6974
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
6975
+ };
6724
6976
  type: "multiselect" | "checkbox";
6725
6977
  /**
6726
6978
  * controls if the matching of values against the options is case sensitive or not
@@ -6991,7 +7243,20 @@ declare namespace Components {
6991
7243
  *
6992
7244
  */
6993
7245
  edit_mode?: "direct" | "external" | "approval";
6994
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
7246
+ /**
7247
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
7248
+ */
7249
+ edit_mode_config?: {
7250
+ match_strategy?: /**
7251
+ * Strategy for auto-clearing the changeset when an external update is received.
7252
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
7253
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
7254
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
7255
+ *
7256
+ */
7257
+ MatchStrategy;
7258
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
7259
+ };
6995
7260
  type: "number";
6996
7261
  /**
6997
7262
  * Optional data type override. When set to 'number', the value is stored as a number instead of a string. Defaults to 'string'.
@@ -7164,7 +7429,20 @@ declare namespace Components {
7164
7429
  *
7165
7430
  */
7166
7431
  edit_mode?: "direct" | "external" | "approval";
7167
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
7432
+ /**
7433
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
7434
+ */
7435
+ edit_mode_config?: {
7436
+ match_strategy?: /**
7437
+ * Strategy for auto-clearing the changeset when an external update is received.
7438
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
7439
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
7440
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
7441
+ *
7442
+ */
7443
+ MatchStrategy;
7444
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
7445
+ };
7168
7446
  type: "ordered_list";
7169
7447
  }
7170
7448
  /**
@@ -7328,7 +7606,20 @@ declare namespace Components {
7328
7606
  *
7329
7607
  */
7330
7608
  edit_mode?: "direct" | "external" | "approval";
7331
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
7609
+ /**
7610
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
7611
+ */
7612
+ edit_mode_config?: {
7613
+ match_strategy?: /**
7614
+ * Strategy for auto-clearing the changeset when an external update is received.
7615
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
7616
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
7617
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
7618
+ *
7619
+ */
7620
+ MatchStrategy;
7621
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
7622
+ };
7332
7623
  type: "partner_organisation";
7333
7624
  }
7334
7625
  /**
@@ -7492,7 +7783,20 @@ declare namespace Components {
7492
7783
  *
7493
7784
  */
7494
7785
  edit_mode?: "direct" | "external" | "approval";
7495
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
7786
+ /**
7787
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
7788
+ */
7789
+ edit_mode_config?: {
7790
+ match_strategy?: /**
7791
+ * Strategy for auto-clearing the changeset when an external update is received.
7792
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
7793
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
7794
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
7795
+ *
7796
+ */
7797
+ MatchStrategy;
7798
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
7799
+ };
7496
7800
  type: "partner_status";
7497
7801
  }
7498
7802
  /**
@@ -7656,7 +7960,20 @@ declare namespace Components {
7656
7960
  *
7657
7961
  */
7658
7962
  edit_mode?: "direct" | "external" | "approval";
7659
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
7963
+ /**
7964
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
7965
+ */
7966
+ edit_mode_config?: {
7967
+ match_strategy?: /**
7968
+ * Strategy for auto-clearing the changeset when an external update is received.
7969
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
7970
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
7971
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
7972
+ *
7973
+ */
7974
+ MatchStrategy;
7975
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
7976
+ };
7660
7977
  type: "payment";
7661
7978
  }
7662
7979
  /**
@@ -7820,7 +8137,20 @@ declare namespace Components {
7820
8137
  *
7821
8138
  */
7822
8139
  edit_mode?: "direct" | "external" | "approval";
7823
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
8140
+ /**
8141
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
8142
+ */
8143
+ edit_mode_config?: {
8144
+ match_strategy?: /**
8145
+ * Strategy for auto-clearing the changeset when an external update is received.
8146
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
8147
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
8148
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
8149
+ *
8150
+ */
8151
+ MatchStrategy;
8152
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
8153
+ };
7824
8154
  type: "relation_payment_method";
7825
8155
  }
7826
8156
  /**
@@ -7984,7 +8314,20 @@ declare namespace Components {
7984
8314
  *
7985
8315
  */
7986
8316
  edit_mode?: "direct" | "external" | "approval";
7987
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
8317
+ /**
8318
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
8319
+ */
8320
+ edit_mode_config?: {
8321
+ match_strategy?: /**
8322
+ * Strategy for auto-clearing the changeset when an external update is received.
8323
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
8324
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
8325
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
8326
+ *
8327
+ */
8328
+ MatchStrategy;
8329
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
8330
+ };
7988
8331
  type: "phone";
7989
8332
  }
7990
8333
  /**
@@ -8148,7 +8491,20 @@ declare namespace Components {
8148
8491
  *
8149
8492
  */
8150
8493
  edit_mode?: "direct" | "external" | "approval";
8151
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
8494
+ /**
8495
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
8496
+ */
8497
+ edit_mode_config?: {
8498
+ match_strategy?: /**
8499
+ * Strategy for auto-clearing the changeset when an external update is received.
8500
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
8501
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
8502
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
8503
+ *
8504
+ */
8505
+ MatchStrategy;
8506
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
8507
+ };
8152
8508
  type: "portal_access";
8153
8509
  }
8154
8510
  /**
@@ -8312,7 +8668,20 @@ declare namespace Components {
8312
8668
  *
8313
8669
  */
8314
8670
  edit_mode?: "direct" | "external" | "approval";
8315
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
8671
+ /**
8672
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
8673
+ */
8674
+ edit_mode_config?: {
8675
+ match_strategy?: /**
8676
+ * Strategy for auto-clearing the changeset when an external update is received.
8677
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
8678
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
8679
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
8680
+ *
8681
+ */
8682
+ MatchStrategy;
8683
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
8684
+ };
8316
8685
  type: "price_component";
8317
8686
  }
8318
8687
  /**
@@ -8476,7 +8845,20 @@ declare namespace Components {
8476
8845
  *
8477
8846
  */
8478
8847
  edit_mode?: "direct" | "external" | "approval";
8479
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
8848
+ /**
8849
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
8850
+ */
8851
+ edit_mode_config?: {
8852
+ match_strategy?: /**
8853
+ * Strategy for auto-clearing the changeset when an external update is received.
8854
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
8855
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
8856
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
8857
+ *
8858
+ */
8859
+ MatchStrategy;
8860
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
8861
+ };
8480
8862
  type: "purpose";
8481
8863
  }
8482
8864
  /**
@@ -8655,7 +9037,20 @@ declare namespace Components {
8655
9037
  *
8656
9038
  */
8657
9039
  edit_mode?: "direct" | "external" | "approval" | "list-view";
8658
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
9040
+ /**
9041
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
9042
+ */
9043
+ edit_mode_config?: {
9044
+ match_strategy?: /**
9045
+ * Strategy for auto-clearing the changeset when an external update is received.
9046
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
9047
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
9048
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
9049
+ *
9050
+ */
9051
+ MatchStrategy;
9052
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
9053
+ };
8659
9054
  type: "relation";
8660
9055
  relation_type?: "has_many" | "has_one";
8661
9056
  /**
@@ -9041,7 +9436,20 @@ declare namespace Components {
9041
9436
  *
9042
9437
  */
9043
9438
  edit_mode?: "direct" | "external" | "approval";
9044
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
9439
+ /**
9440
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
9441
+ */
9442
+ edit_mode_config?: {
9443
+ match_strategy?: /**
9444
+ * Strategy for auto-clearing the changeset when an external update is received.
9445
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
9446
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
9447
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
9448
+ *
9449
+ */
9450
+ MatchStrategy;
9451
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
9452
+ };
9045
9453
  }
9046
9454
  /**
9047
9455
  * A saved entity view
@@ -9609,7 +10017,20 @@ declare namespace Components {
9609
10017
  *
9610
10018
  */
9611
10019
  edit_mode?: "direct" | "external" | "approval";
9612
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
10020
+ /**
10021
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
10022
+ */
10023
+ edit_mode_config?: {
10024
+ match_strategy?: /**
10025
+ * Strategy for auto-clearing the changeset when an external update is received.
10026
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
10027
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
10028
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
10029
+ *
10030
+ */
10031
+ MatchStrategy;
10032
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
10033
+ };
9613
10034
  type: "select" | "radio";
9614
10035
  options?: ({
9615
10036
  value: string;
@@ -9781,7 +10202,20 @@ declare namespace Components {
9781
10202
  *
9782
10203
  */
9783
10204
  edit_mode?: "direct" | "external" | "approval";
9784
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
10205
+ /**
10206
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
10207
+ */
10208
+ edit_mode_config?: {
10209
+ match_strategy?: /**
10210
+ * Strategy for auto-clearing the changeset when an external update is received.
10211
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
10212
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
10213
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
10214
+ *
10215
+ */
10216
+ MatchStrategy;
10217
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
10218
+ };
9785
10219
  type: "sequence";
9786
10220
  /**
9787
10221
  * Prefix added before the sequence number
@@ -9962,7 +10396,20 @@ declare namespace Components {
9962
10396
  *
9963
10397
  */
9964
10398
  edit_mode?: "direct" | "external" | "approval";
9965
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
10399
+ /**
10400
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
10401
+ */
10402
+ edit_mode_config?: {
10403
+ match_strategy?: /**
10404
+ * Strategy for auto-clearing the changeset when an external update is received.
10405
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
10406
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
10407
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
10408
+ *
10409
+ */
10410
+ MatchStrategy;
10411
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
10412
+ };
9966
10413
  type: "status";
9967
10414
  options?: ((string | null) | {
9968
10415
  /**
@@ -10222,7 +10669,20 @@ declare namespace Components {
10222
10669
  *
10223
10670
  */
10224
10671
  edit_mode?: "direct" | "external" | "approval";
10225
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
10672
+ /**
10673
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
10674
+ */
10675
+ edit_mode_config?: {
10676
+ match_strategy?: /**
10677
+ * Strategy for auto-clearing the changeset when an external update is received.
10678
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
10679
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
10680
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
10681
+ *
10682
+ */
10683
+ MatchStrategy;
10684
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
10685
+ };
10226
10686
  type: "table";
10227
10687
  /**
10228
10688
  * Column definitions for the table
@@ -10442,7 +10902,20 @@ declare namespace Components {
10442
10902
  *
10443
10903
  */
10444
10904
  edit_mode?: "direct" | "external" | "approval";
10445
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
10905
+ /**
10906
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
10907
+ */
10908
+ edit_mode_config?: {
10909
+ match_strategy?: /**
10910
+ * Strategy for auto-clearing the changeset when an external update is received.
10911
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
10912
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
10913
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
10914
+ *
10915
+ */
10916
+ MatchStrategy;
10917
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
10918
+ };
10446
10919
  type: "tags";
10447
10920
  options?: string[];
10448
10921
  suggestions?: string[];
@@ -10808,7 +11281,20 @@ declare namespace Components {
10808
11281
  *
10809
11282
  */
10810
11283
  edit_mode?: "direct" | "external" | "approval";
10811
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
11284
+ /**
11285
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
11286
+ */
11287
+ edit_mode_config?: {
11288
+ match_strategy?: /**
11289
+ * Strategy for auto-clearing the changeset when an external update is received.
11290
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
11291
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
11292
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
11293
+ *
11294
+ */
11295
+ MatchStrategy;
11296
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
11297
+ };
10812
11298
  type: "string";
10813
11299
  multiline?: boolean;
10814
11300
  rich_text?: boolean;
@@ -10985,7 +11471,20 @@ declare namespace Components {
10985
11471
  *
10986
11472
  */
10987
11473
  edit_mode?: "direct" | "external" | "approval";
10988
- edit_mode_config?: /* Configuration for non-direct edit modes on an entity attribute. */ EditModeConfig;
11474
+ /**
11475
+ * Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.
11476
+ */
11477
+ edit_mode_config?: {
11478
+ match_strategy?: /**
11479
+ * Strategy for auto-clearing the changeset when an external update is received.
11480
+ * - `exact`: The inbound value must exactly match the proposed value (deep equality).
11481
+ * - `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
11482
+ * - `any`: Any update to the attribute clears the changeset, regardless of value.
11483
+ *
11484
+ */
11485
+ MatchStrategy;
11486
+ fuzzy_config?: /* Configuration for fuzzy match strategies on changeset auto-clearing. */ FuzzyConfig;
11487
+ };
10989
11488
  type: "relation_user";
10990
11489
  multiple?: boolean;
10991
11490
  }
package/dist/openapi.json CHANGED
@@ -5650,8 +5650,12 @@
5650
5650
  "default": "direct"
5651
5651
  },
5652
5652
  "edit_mode_config": {
5653
- "$ref": "#/components/schemas/EditModeConfig",
5654
- "description": "Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy."
5653
+ "description": "Configuration for non-direct edit modes. Required when edit_mode is external or approval with fuzzy match strategy.",
5654
+ "allOf": [
5655
+ {
5656
+ "$ref": "#/components/schemas/EditModeConfig"
5657
+ }
5658
+ ]
5655
5659
  }
5656
5660
  },
5657
5661
  "required": [
@@ -6024,6 +6028,11 @@
6024
6028
  "public-read",
6025
6029
  "private"
6026
6030
  ]
6031
+ },
6032
+ "file_size_bytes": {
6033
+ "type": "integer",
6034
+ "description": "The maximum file size in bytes. Used to derive file_size and file_size_unit in the UI.",
6035
+ "example": 5000000
6027
6036
  }
6028
6037
  },
6029
6038
  "required": [
@@ -7569,16 +7578,13 @@
7569
7578
  "nullable": true
7570
7579
  },
7571
7580
  "_changesets": {
7572
- "allOf": [
7573
- {
7574
- "readOnly": true
7575
- },
7576
- {
7577
- "$ref": "#/components/schemas/ChangesetMap"
7578
- }
7579
- ],
7581
+ "readOnly": true,
7582
+ "type": "object",
7580
7583
  "nullable": true,
7581
- "description": "Pending attribute changesets for attributes configured with external or approval edit mode.\nRead-only via normal entity PATCH/PUT operations — cannot be set directly.\nUse the changeset management endpoints to apply or dismiss changesets.\n"
7584
+ "description": "Pending attribute changesets for attributes configured with external or approval edit mode.\nRead-only via normal entity PATCH/PUT operations — cannot be set directly.\nUse the changeset management endpoints to apply or dismiss changesets.\n",
7585
+ "additionalProperties": {
7586
+ "$ref": "#/components/schemas/Changeset"
7587
+ }
7582
7588
  }
7583
7589
  },
7584
7590
  "example": {
@@ -9735,6 +9741,21 @@
9735
9741
  "source": {
9736
9742
  "type": "string",
9737
9743
  "description": "Optional label indicating where the change originated (e.g. end_customer_portal, installer_portal, journey, automation)"
9744
+ },
9745
+ "related_values": {
9746
+ "type": "object",
9747
+ "description": "Proposed and previous values for related fields in a multi-field attribute group (e.g. currency _decimal/_currency suffixes). Keyed by full field name.",
9748
+ "additionalProperties": {
9749
+ "type": "object",
9750
+ "properties": {
9751
+ "proposed_value": {
9752
+ "description": "The proposed new value for the related field."
9753
+ },
9754
+ "previous_value": {
9755
+ "description": "The value of the related field when the changeset was created."
9756
+ }
9757
+ }
9758
+ }
9738
9759
  }
9739
9760
  }
9740
9761
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/entity-client",
3
- "version": "7.2.0-rc1",
3
+ "version": "7.2.0-rc2",
4
4
  "description": "JavaScript client library for the epilot Core Entity API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",