@epilot/sdk 2.3.7-rc1 → 2.3.8
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/definitions/design.json +257 -4
- package/definitions/entity-runtime.json +1 -1
- package/definitions/entity.json +4 -354
- package/definitions/message-runtime.json +1 -1
- package/definitions/message.json +12 -2
- package/dist/apis/access-token.cjs +6 -6
- package/dist/apis/access-token.js +1 -1
- package/dist/apis/address-suggestions.cjs +6 -6
- package/dist/apis/address-suggestions.js +1 -1
- package/dist/apis/address.cjs +6 -6
- package/dist/apis/address.js +1 -1
- package/dist/apis/ai-agents.cjs +6 -6
- package/dist/apis/ai-agents.js +1 -1
- package/dist/apis/app.cjs +6 -6
- package/dist/apis/app.js +1 -1
- package/dist/apis/audit-logs.cjs +6 -6
- package/dist/apis/audit-logs.js +1 -1
- package/dist/apis/automation.cjs +6 -6
- package/dist/apis/automation.js +1 -1
- package/dist/apis/billing.cjs +6 -6
- package/dist/apis/billing.js +1 -1
- package/dist/apis/blueprint-manifest.cjs +6 -6
- package/dist/apis/blueprint-manifest.js +1 -1
- package/dist/apis/configuration-hub.cjs +6 -6
- package/dist/apis/configuration-hub.js +1 -1
- package/dist/apis/consent.cjs +6 -6
- package/dist/apis/consent.js +1 -1
- package/dist/apis/customer-portal.cjs +6 -6
- package/dist/apis/customer-portal.js +1 -1
- package/dist/apis/dashboard.cjs +6 -6
- package/dist/apis/dashboard.js +1 -1
- package/dist/apis/data-governance.cjs +6 -6
- package/dist/apis/data-governance.js +1 -1
- package/dist/apis/deduplication.cjs +6 -6
- package/dist/apis/deduplication.js +1 -1
- package/dist/apis/design.cjs +6 -6
- package/dist/apis/design.d.cts +2 -2
- package/dist/apis/design.d.ts +2 -2
- package/dist/apis/design.js +1 -1
- package/dist/apis/document.cjs +6 -6
- package/dist/apis/document.js +1 -1
- package/dist/apis/email-settings.cjs +6 -6
- package/dist/apis/email-settings.js +1 -1
- package/dist/apis/email-template.cjs +6 -6
- package/dist/apis/email-template.js +1 -1
- package/dist/apis/entity-mapping.cjs +6 -6
- package/dist/apis/entity-mapping.js +1 -1
- package/dist/apis/entity.cjs +8 -8
- package/dist/apis/entity.js +2 -2
- package/dist/apis/environments.cjs +6 -6
- package/dist/apis/environments.js +1 -1
- package/dist/apis/event-catalog.cjs +6 -6
- package/dist/apis/event-catalog.js +1 -1
- package/dist/apis/file.cjs +6 -6
- package/dist/apis/file.js +1 -1
- package/dist/apis/iban.cjs +6 -6
- package/dist/apis/iban.js +1 -1
- package/dist/apis/integration-toolkit.cjs +6 -6
- package/dist/apis/integration-toolkit.js +1 -1
- package/dist/apis/journey.cjs +6 -6
- package/dist/apis/journey.js +1 -1
- package/dist/apis/kanban.cjs +6 -6
- package/dist/apis/kanban.js +1 -1
- package/dist/apis/message.cjs +8 -8
- package/dist/apis/message.d.cts +2 -2
- package/dist/apis/message.d.ts +2 -2
- package/dist/apis/message.js +2 -2
- package/dist/apis/metering.cjs +6 -6
- package/dist/apis/metering.js +1 -1
- package/dist/apis/notes.cjs +6 -6
- package/dist/apis/notes.js +1 -1
- package/dist/apis/notification.cjs +6 -6
- package/dist/apis/notification.js +1 -1
- package/dist/apis/organization.cjs +6 -6
- package/dist/apis/organization.js +1 -1
- package/dist/apis/partner-directory.cjs +6 -6
- package/dist/apis/partner-directory.js +1 -1
- package/dist/apis/permissions.cjs +6 -6
- package/dist/apis/permissions.js +1 -1
- package/dist/apis/pricing-tier.cjs +6 -6
- package/dist/apis/pricing-tier.js +1 -1
- package/dist/apis/pricing.cjs +6 -6
- package/dist/apis/pricing.js +1 -1
- package/dist/apis/purpose.cjs +6 -6
- package/dist/apis/purpose.js +1 -1
- package/dist/apis/query.cjs +6 -6
- package/dist/apis/query.js +1 -1
- package/dist/apis/sandbox.cjs +6 -6
- package/dist/apis/sandbox.js +1 -1
- package/dist/apis/sharing.cjs +6 -6
- package/dist/apis/sharing.js +1 -1
- package/dist/apis/submission.cjs +6 -6
- package/dist/apis/submission.js +1 -1
- package/dist/apis/target.cjs +6 -6
- package/dist/apis/target.js +1 -1
- package/dist/apis/targeting.cjs +6 -6
- package/dist/apis/targeting.js +1 -1
- package/dist/apis/template-variables.cjs +6 -6
- package/dist/apis/template-variables.js +1 -1
- package/dist/apis/user.cjs +6 -6
- package/dist/apis/user.js +1 -1
- package/dist/apis/validation-rules.cjs +6 -6
- package/dist/apis/validation-rules.js +1 -1
- package/dist/apis/webhooks.cjs +6 -6
- package/dist/apis/webhooks.js +1 -1
- package/dist/apis/workflow-definition.cjs +6 -6
- package/dist/apis/workflow-definition.js +1 -1
- package/dist/apis/workflow.cjs +6 -6
- package/dist/apis/workflow.js +1 -1
- package/dist/bin/cli.js +1 -1
- package/dist/{chunk-FCT6W5UM.cjs → chunk-6DZXWV2A.cjs} +5 -5
- package/dist/{chunk-OU5NVIJW.js → chunk-7TFVO6SP.js} +5 -5
- package/dist/{chunk-77JS7NDM.cjs → chunk-DUHAG5CO.cjs} +1 -1
- package/dist/chunk-F7W62NKV.js +14 -0
- package/dist/{chunk-DLYPVF4U.js → chunk-FAZ63FEX.js} +1 -1
- package/dist/chunk-QA2OYK7N.cjs +14 -0
- package/dist/design-DROLIWS3.js +7 -0
- package/dist/design-XZKOZLTR.cjs +7 -0
- package/dist/design.d-BRre8iLg.d.cts +2346 -0
- package/dist/design.d-BRre8iLg.d.ts +2346 -0
- package/dist/entity-CK76MXVN.js +7 -0
- package/dist/entity-TFMH5VTZ.cjs +7 -0
- package/dist/{entity-runtime-LNAZILIN.js → entity-runtime-D4DV5XRM.js} +1 -1
- package/dist/entity-runtime-DUJTRYLQ.cjs +5 -0
- package/dist/index.cjs +12 -12
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -3
- package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
- package/dist/message-6IFCB7GH.js +7 -0
- package/dist/message-7LNAFKKV.cjs +7 -0
- package/dist/{message-runtime-CGFCT6FU.cjs → message-runtime-JSZCNCNU.cjs} +2 -2
- package/dist/{message-runtime-XDCFFLYK.js → message-runtime-XOQ5EJN6.js} +1 -1
- package/dist/{message.d-D3QUkBjg.d.ts → message.d-B5UuSqgw.d.cts} +9 -3
- package/dist/{message.d-D3QUkBjg.d.cts → message.d-B5UuSqgw.d.ts} +9 -3
- package/docs/design.md +665 -341
- package/docs/entity.md +39 -965
- package/docs/message.md +2 -1
- package/package.json +1 -1
- package/dist/chunk-M6Z6ES3I.js +0 -14
- package/dist/chunk-UBQCDPW6.cjs +0 -14
- package/dist/design-NISDHPFD.cjs +0 -7
- package/dist/design-WL4AZIGX.js +0 -7
- package/dist/design.d-DTo29S0F.d.cts +0 -960
- package/dist/design.d-DTo29S0F.d.ts +0 -960
- package/dist/entity-VDUN7SYC.cjs +0 -7
- package/dist/entity-WWM2Z7BU.js +0 -7
- package/dist/entity-runtime-3J5EDLXP.cjs +0 -5
- package/dist/message-HCA2KSH6.js +0 -7
- package/dist/message-J2SFQJNB.cjs +0 -7
package/docs/entity.md
CHANGED
|
@@ -72,9 +72,6 @@ const { data } = await entityClient.listSchemas(...)
|
|
|
72
72
|
- [`deleteEntity`](#deleteentity)
|
|
73
73
|
- [`autocomplete`](#autocomplete)
|
|
74
74
|
- [`wipeAllEntities`](#wipeallentities)
|
|
75
|
-
- [`applyChangeset`](#applychangeset)
|
|
76
|
-
- [`dismissChangeset`](#dismisschangeset)
|
|
77
|
-
- [`listChangesets`](#listchangesets)
|
|
78
75
|
|
|
79
76
|
**Activity**
|
|
80
77
|
- [`createActivity`](#createactivity)
|
|
@@ -258,12 +255,6 @@ const { data } = await entityClient.listSchemas(...)
|
|
|
258
255
|
- [`ESClusterAssignment`](#esclusterassignment)
|
|
259
256
|
- [`SettingFlag`](#settingflag)
|
|
260
257
|
- [`ErrorObject`](#errorobject)
|
|
261
|
-
- [`ChangesetCreator`](#changesetcreator)
|
|
262
|
-
- [`Changeset`](#changeset)
|
|
263
|
-
- [`ChangesetMap`](#changesetmap)
|
|
264
|
-
- [`EditModeConfig`](#editmodeconfig)
|
|
265
|
-
- [`FuzzyConfig`](#fuzzyconfig)
|
|
266
|
-
- [`MatchStrategy`](#matchstrategy)
|
|
267
258
|
|
|
268
259
|
### `listSchemas`
|
|
269
260
|
|
|
@@ -1735,8 +1726,7 @@ const { data } = await client.queryEntityGraph(
|
|
|
1735
1726
|
}
|
|
1736
1727
|
]
|
|
1737
1728
|
},
|
|
1738
|
-
hydrate: false
|
|
1739
|
-
apply_changesets: false
|
|
1729
|
+
hydrate: false
|
|
1740
1730
|
},
|
|
1741
1731
|
)
|
|
1742
1732
|
```
|
|
@@ -2058,7 +2048,6 @@ const { data } = await client.getEntityV2({
|
|
|
2058
2048
|
slug: 'example',
|
|
2059
2049
|
hydrate: true,
|
|
2060
2050
|
fields: ['...'],
|
|
2061
|
-
apply_changesets: true,
|
|
2062
2051
|
})
|
|
2063
2052
|
```
|
|
2064
2053
|
|
|
@@ -2268,7 +2257,6 @@ const { data } = await client.updateEntity(
|
|
|
2268
2257
|
fill_activity: true,
|
|
2269
2258
|
async: true,
|
|
2270
2259
|
validate: true,
|
|
2271
|
-
direct: true,
|
|
2272
2260
|
},
|
|
2273
2261
|
{
|
|
2274
2262
|
_id: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
|
|
@@ -2339,7 +2327,6 @@ const { data } = await client.patchEntity(
|
|
|
2339
2327
|
dry_run: true,
|
|
2340
2328
|
async: true,
|
|
2341
2329
|
validate: true,
|
|
2342
|
-
direct: true,
|
|
2343
2330
|
},
|
|
2344
2331
|
{
|
|
2345
2332
|
_id: '3fa85f64-5717-4562-b3fc-2c963f66afa6',
|
|
@@ -2643,124 +2630,6 @@ const { data } = await client.attachActivity({
|
|
|
2643
2630
|
|
|
2644
2631
|
---
|
|
2645
2632
|
|
|
2646
|
-
### `applyChangeset`
|
|
2647
|
-
|
|
2648
|
-
Applies the proposed value from a pending changeset to the entity attribute
|
|
2649
|
-
and removes the changeset. Used for human approval of pending changes.
|
|
2650
|
-
|
|
2651
|
-
`POST /v1/entity/{slug}/{id}/changesets/{attribute}:apply`
|
|
2652
|
-
|
|
2653
|
-
```ts
|
|
2654
|
-
const { data } = await client.applyChangeset({
|
|
2655
|
-
slug: 'example',
|
|
2656
|
-
id: '123e4567-e89b-12d3-a456-426614174000',
|
|
2657
|
-
attribute: 'example',
|
|
2658
|
-
})
|
|
2659
|
-
```
|
|
2660
|
-
|
|
2661
|
-
<details>
|
|
2662
|
-
<summary>Response</summary>
|
|
2663
|
-
|
|
2664
|
-
```json
|
|
2665
|
-
{
|
|
2666
|
-
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
2667
|
-
"_org": "123",
|
|
2668
|
-
"_owners": [
|
|
2669
|
-
{
|
|
2670
|
-
"org_id": "123",
|
|
2671
|
-
"user_id": "123"
|
|
2672
|
-
}
|
|
2673
|
-
],
|
|
2674
|
-
"_schema": "contact",
|
|
2675
|
-
"_tags": ["example", "mock"],
|
|
2676
|
-
"_created_at": "2021-02-09T12:41:43.662Z",
|
|
2677
|
-
"_updated_at": "2021-02-09T12:41:43.662Z",
|
|
2678
|
-
"_acl": {
|
|
2679
|
-
"view": ["org:456", "org:789"],
|
|
2680
|
-
"edit": ["org:456"],
|
|
2681
|
-
"delete": ["org:456"]
|
|
2682
|
-
},
|
|
2683
|
-
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
|
|
2684
|
-
}
|
|
2685
|
-
```
|
|
2686
|
-
|
|
2687
|
-
</details>
|
|
2688
|
-
|
|
2689
|
-
---
|
|
2690
|
-
|
|
2691
|
-
### `dismissChangeset`
|
|
2692
|
-
|
|
2693
|
-
Removes a pending changeset without applying it. The attribute value remains unchanged.
|
|
2694
|
-
|
|
2695
|
-
`POST /v1/entity/{slug}/{id}/changesets/{attribute}:dismiss`
|
|
2696
|
-
|
|
2697
|
-
```ts
|
|
2698
|
-
const { data } = await client.dismissChangeset(
|
|
2699
|
-
{
|
|
2700
|
-
slug: 'example',
|
|
2701
|
-
id: '123e4567-e89b-12d3-a456-426614174000',
|
|
2702
|
-
attribute: 'example',
|
|
2703
|
-
},
|
|
2704
|
-
{
|
|
2705
|
-
reason: 'string'
|
|
2706
|
-
},
|
|
2707
|
-
)
|
|
2708
|
-
```
|
|
2709
|
-
|
|
2710
|
-
<details>
|
|
2711
|
-
<summary>Response</summary>
|
|
2712
|
-
|
|
2713
|
-
```json
|
|
2714
|
-
{
|
|
2715
|
-
"_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
2716
|
-
"_org": "123",
|
|
2717
|
-
"_owners": [
|
|
2718
|
-
{
|
|
2719
|
-
"org_id": "123",
|
|
2720
|
-
"user_id": "123"
|
|
2721
|
-
}
|
|
2722
|
-
],
|
|
2723
|
-
"_schema": "contact",
|
|
2724
|
-
"_tags": ["example", "mock"],
|
|
2725
|
-
"_created_at": "2021-02-09T12:41:43.662Z",
|
|
2726
|
-
"_updated_at": "2021-02-09T12:41:43.662Z",
|
|
2727
|
-
"_acl": {
|
|
2728
|
-
"view": ["org:456", "org:789"],
|
|
2729
|
-
"edit": ["org:456"],
|
|
2730
|
-
"delete": ["org:456"]
|
|
2731
|
-
},
|
|
2732
|
-
"_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
|
|
2733
|
-
}
|
|
2734
|
-
```
|
|
2735
|
-
|
|
2736
|
-
</details>
|
|
2737
|
-
|
|
2738
|
-
---
|
|
2739
|
-
|
|
2740
|
-
### `listChangesets`
|
|
2741
|
-
|
|
2742
|
-
Returns all pending changesets for an entity.
|
|
2743
|
-
|
|
2744
|
-
`GET /v1/entity/{slug}/{id}/changesets`
|
|
2745
|
-
|
|
2746
|
-
```ts
|
|
2747
|
-
const { data } = await client.listChangesets({
|
|
2748
|
-
slug: 'example',
|
|
2749
|
-
id: '123e4567-e89b-12d3-a456-426614174000',
|
|
2750
|
-
})
|
|
2751
|
-
```
|
|
2752
|
-
|
|
2753
|
-
<details>
|
|
2754
|
-
<summary>Response</summary>
|
|
2755
|
-
|
|
2756
|
-
```json
|
|
2757
|
-
{}
|
|
2758
|
-
```
|
|
2759
|
-
|
|
2760
|
-
</details>
|
|
2761
|
-
|
|
2762
|
-
---
|
|
2763
|
-
|
|
2764
2633
|
### `getEntityActivityFeed`
|
|
2765
2634
|
|
|
2766
2635
|
Get activity feed for an entity
|
|
@@ -4494,19 +4363,6 @@ const { data } = await client.createSchemaAttribute(
|
|
|
4494
4363
|
exclude_from_search: false,
|
|
4495
4364
|
repeatable: true,
|
|
4496
4365
|
has_primary: true,
|
|
4497
|
-
edit_mode: 'direct',
|
|
4498
|
-
edit_mode_config: {
|
|
4499
|
-
match_strategy: 'exact',
|
|
4500
|
-
fuzzy_config: {
|
|
4501
|
-
type: 'suffix',
|
|
4502
|
-
suffix_length: 0,
|
|
4503
|
-
fields_to_ignore: ['string'],
|
|
4504
|
-
regex_flags: 'string',
|
|
4505
|
-
country_code: 'string',
|
|
4506
|
-
match_on: 'string',
|
|
4507
|
-
pattern: 'string'
|
|
4508
|
-
}
|
|
4509
|
-
},
|
|
4510
4366
|
type: 'string',
|
|
4511
4367
|
multiline: true,
|
|
4512
4368
|
rich_text: true,
|
|
@@ -4563,19 +4419,6 @@ const { data } = await client.createSchemaAttribute(
|
|
|
4563
4419
|
"exclude_from_search": false,
|
|
4564
4420
|
"repeatable": true,
|
|
4565
4421
|
"has_primary": true,
|
|
4566
|
-
"edit_mode": "direct",
|
|
4567
|
-
"edit_mode_config": {
|
|
4568
|
-
"match_strategy": "exact",
|
|
4569
|
-
"fuzzy_config": {
|
|
4570
|
-
"type": "suffix",
|
|
4571
|
-
"suffix_length": 0,
|
|
4572
|
-
"fields_to_ignore": ["string"],
|
|
4573
|
-
"regex_flags": "string",
|
|
4574
|
-
"country_code": "string",
|
|
4575
|
-
"match_on": "string",
|
|
4576
|
-
"pattern": "string"
|
|
4577
|
-
}
|
|
4578
|
-
},
|
|
4579
4422
|
"type": "string",
|
|
4580
4423
|
"multiline": true,
|
|
4581
4424
|
"rich_text": true,
|
|
@@ -4647,19 +4490,6 @@ const { data } = await client.getSchemaAttribute({
|
|
|
4647
4490
|
"exclude_from_search": false,
|
|
4648
4491
|
"repeatable": true,
|
|
4649
4492
|
"has_primary": true,
|
|
4650
|
-
"edit_mode": "direct",
|
|
4651
|
-
"edit_mode_config": {
|
|
4652
|
-
"match_strategy": "exact",
|
|
4653
|
-
"fuzzy_config": {
|
|
4654
|
-
"type": "suffix",
|
|
4655
|
-
"suffix_length": 0,
|
|
4656
|
-
"fields_to_ignore": ["string"],
|
|
4657
|
-
"regex_flags": "string",
|
|
4658
|
-
"country_code": "string",
|
|
4659
|
-
"match_on": "string",
|
|
4660
|
-
"pattern": "string"
|
|
4661
|
-
}
|
|
4662
|
-
},
|
|
4663
4493
|
"type": "string",
|
|
4664
4494
|
"multiline": true,
|
|
4665
4495
|
"rich_text": true,
|
|
@@ -4726,19 +4556,6 @@ const { data } = await client.putSchemaAttribute(
|
|
|
4726
4556
|
exclude_from_search: false,
|
|
4727
4557
|
repeatable: true,
|
|
4728
4558
|
has_primary: true,
|
|
4729
|
-
edit_mode: 'direct',
|
|
4730
|
-
edit_mode_config: {
|
|
4731
|
-
match_strategy: 'exact',
|
|
4732
|
-
fuzzy_config: {
|
|
4733
|
-
type: 'suffix',
|
|
4734
|
-
suffix_length: 0,
|
|
4735
|
-
fields_to_ignore: ['string'],
|
|
4736
|
-
regex_flags: 'string',
|
|
4737
|
-
country_code: 'string',
|
|
4738
|
-
match_on: 'string',
|
|
4739
|
-
pattern: 'string'
|
|
4740
|
-
}
|
|
4741
|
-
},
|
|
4742
4559
|
type: 'string',
|
|
4743
4560
|
multiline: true,
|
|
4744
4561
|
rich_text: true,
|
|
@@ -4795,19 +4612,6 @@ const { data } = await client.putSchemaAttribute(
|
|
|
4795
4612
|
"exclude_from_search": false,
|
|
4796
4613
|
"repeatable": true,
|
|
4797
4614
|
"has_primary": true,
|
|
4798
|
-
"edit_mode": "direct",
|
|
4799
|
-
"edit_mode_config": {
|
|
4800
|
-
"match_strategy": "exact",
|
|
4801
|
-
"fuzzy_config": {
|
|
4802
|
-
"type": "suffix",
|
|
4803
|
-
"suffix_length": 0,
|
|
4804
|
-
"fields_to_ignore": ["string"],
|
|
4805
|
-
"regex_flags": "string",
|
|
4806
|
-
"country_code": "string",
|
|
4807
|
-
"match_on": "string",
|
|
4808
|
-
"pattern": "string"
|
|
4809
|
-
}
|
|
4810
|
-
},
|
|
4811
4615
|
"type": "string",
|
|
4812
4616
|
"multiline": true,
|
|
4813
4617
|
"rich_text": true,
|
|
@@ -4879,19 +4683,6 @@ const { data } = await client.deleteSchemaAttribute({
|
|
|
4879
4683
|
"exclude_from_search": false,
|
|
4880
4684
|
"repeatable": true,
|
|
4881
4685
|
"has_primary": true,
|
|
4882
|
-
"edit_mode": "direct",
|
|
4883
|
-
"edit_mode_config": {
|
|
4884
|
-
"match_strategy": "exact",
|
|
4885
|
-
"fuzzy_config": {
|
|
4886
|
-
"type": "suffix",
|
|
4887
|
-
"suffix_length": 0,
|
|
4888
|
-
"fields_to_ignore": ["string"],
|
|
4889
|
-
"regex_flags": "string",
|
|
4890
|
-
"country_code": "string",
|
|
4891
|
-
"match_on": "string",
|
|
4892
|
-
"pattern": "string"
|
|
4893
|
-
}
|
|
4894
|
-
},
|
|
4895
4686
|
"type": "string",
|
|
4896
4687
|
"multiline": true,
|
|
4897
4688
|
"rich_text": true,
|
|
@@ -4949,8 +4740,6 @@ const { data } = await client.createSchemaCapability(
|
|
|
4949
4740
|
exclude_from_search: false,
|
|
4950
4741
|
repeatable: true,
|
|
4951
4742
|
has_primary: true,
|
|
4952
|
-
edit_mode: 'direct',
|
|
4953
|
-
edit_mode_config: { /* ... */ },
|
|
4954
4743
|
type: 'string',
|
|
4955
4744
|
multiline: true,
|
|
4956
4745
|
rich_text: true,
|
|
@@ -4988,8 +4777,6 @@ const { data } = await client.createSchemaCapability(
|
|
|
4988
4777
|
exclude_from_search: false,
|
|
4989
4778
|
repeatable: true,
|
|
4990
4779
|
has_primary: true,
|
|
4991
|
-
edit_mode: 'direct',
|
|
4992
|
-
edit_mode_config: { /* ... */ },
|
|
4993
4780
|
type: 'link'
|
|
4994
4781
|
},
|
|
4995
4782
|
/* ... 33 more */
|
|
@@ -5075,8 +4862,6 @@ const { data } = await client.createSchemaCapability(
|
|
|
5075
4862
|
"exclude_from_search": false,
|
|
5076
4863
|
"repeatable": true,
|
|
5077
4864
|
"has_primary": true,
|
|
5078
|
-
"edit_mode": "direct",
|
|
5079
|
-
"edit_mode_config": {},
|
|
5080
4865
|
"type": "string",
|
|
5081
4866
|
"multiline": true,
|
|
5082
4867
|
"rich_text": true,
|
|
@@ -5114,8 +4899,6 @@ const { data } = await client.createSchemaCapability(
|
|
|
5114
4899
|
"exclude_from_search": false,
|
|
5115
4900
|
"repeatable": true,
|
|
5116
4901
|
"has_primary": true,
|
|
5117
|
-
"edit_mode": "direct",
|
|
5118
|
-
"edit_mode_config": {},
|
|
5119
4902
|
"type": "link"
|
|
5120
4903
|
}
|
|
5121
4904
|
],
|
|
@@ -5215,8 +4998,6 @@ const { data } = await client.getSchemaCapability({
|
|
|
5215
4998
|
"exclude_from_search": false,
|
|
5216
4999
|
"repeatable": true,
|
|
5217
5000
|
"has_primary": true,
|
|
5218
|
-
"edit_mode": "direct",
|
|
5219
|
-
"edit_mode_config": {},
|
|
5220
5001
|
"type": "string",
|
|
5221
5002
|
"multiline": true,
|
|
5222
5003
|
"rich_text": true,
|
|
@@ -5254,8 +5035,6 @@ const { data } = await client.getSchemaCapability({
|
|
|
5254
5035
|
"exclude_from_search": false,
|
|
5255
5036
|
"repeatable": true,
|
|
5256
5037
|
"has_primary": true,
|
|
5257
|
-
"edit_mode": "direct",
|
|
5258
|
-
"edit_mode_config": {},
|
|
5259
5038
|
"type": "link"
|
|
5260
5039
|
}
|
|
5261
5040
|
],
|
|
@@ -5350,8 +5129,6 @@ const { data } = await client.putSchemaCapability(
|
|
|
5350
5129
|
exclude_from_search: false,
|
|
5351
5130
|
repeatable: true,
|
|
5352
5131
|
has_primary: true,
|
|
5353
|
-
edit_mode: 'direct',
|
|
5354
|
-
edit_mode_config: { /* ... */ },
|
|
5355
5132
|
type: 'string',
|
|
5356
5133
|
multiline: true,
|
|
5357
5134
|
rich_text: true,
|
|
@@ -5389,8 +5166,6 @@ const { data } = await client.putSchemaCapability(
|
|
|
5389
5166
|
exclude_from_search: false,
|
|
5390
5167
|
repeatable: true,
|
|
5391
5168
|
has_primary: true,
|
|
5392
|
-
edit_mode: 'direct',
|
|
5393
|
-
edit_mode_config: { /* ... */ },
|
|
5394
5169
|
type: 'link'
|
|
5395
5170
|
},
|
|
5396
5171
|
/* ... 33 more */
|
|
@@ -5476,8 +5251,6 @@ const { data } = await client.putSchemaCapability(
|
|
|
5476
5251
|
"exclude_from_search": false,
|
|
5477
5252
|
"repeatable": true,
|
|
5478
5253
|
"has_primary": true,
|
|
5479
|
-
"edit_mode": "direct",
|
|
5480
|
-
"edit_mode_config": {},
|
|
5481
5254
|
"type": "string",
|
|
5482
5255
|
"multiline": true,
|
|
5483
5256
|
"rich_text": true,
|
|
@@ -5515,8 +5288,6 @@ const { data } = await client.putSchemaCapability(
|
|
|
5515
5288
|
"exclude_from_search": false,
|
|
5516
5289
|
"repeatable": true,
|
|
5517
5290
|
"has_primary": true,
|
|
5518
|
-
"edit_mode": "direct",
|
|
5519
|
-
"edit_mode_config": {},
|
|
5520
5291
|
"type": "link"
|
|
5521
5292
|
}
|
|
5522
5293
|
],
|
|
@@ -5616,8 +5387,6 @@ const { data } = await client.deleteSchemaCapability({
|
|
|
5616
5387
|
"exclude_from_search": false,
|
|
5617
5388
|
"repeatable": true,
|
|
5618
5389
|
"has_primary": true,
|
|
5619
|
-
"edit_mode": "direct",
|
|
5620
|
-
"edit_mode_config": {},
|
|
5621
5390
|
"type": "string",
|
|
5622
5391
|
"multiline": true,
|
|
5623
5392
|
"rich_text": true,
|
|
@@ -5655,8 +5424,6 @@ const { data } = await client.deleteSchemaCapability({
|
|
|
5655
5424
|
"exclude_from_search": false,
|
|
5656
5425
|
"repeatable": true,
|
|
5657
5426
|
"has_primary": true,
|
|
5658
|
-
"edit_mode": "direct",
|
|
5659
|
-
"edit_mode_config": {},
|
|
5660
5427
|
"type": "link"
|
|
5661
5428
|
}
|
|
5662
5429
|
],
|
|
@@ -6522,19 +6289,6 @@ type Attribute = {
|
|
|
6522
6289
|
exclude_from_search?: boolean
|
|
6523
6290
|
repeatable?: boolean
|
|
6524
6291
|
has_primary?: boolean
|
|
6525
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
6526
|
-
edit_mode_config?: {
|
|
6527
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
6528
|
-
fuzzy_config?: {
|
|
6529
|
-
type: { ... }
|
|
6530
|
-
suffix_length?: { ... }
|
|
6531
|
-
fields_to_ignore?: { ... }
|
|
6532
|
-
regex_flags?: { ... }
|
|
6533
|
-
country_code?: { ... }
|
|
6534
|
-
match_on?: { ... }
|
|
6535
|
-
pattern?: { ... }
|
|
6536
|
-
}
|
|
6537
|
-
}
|
|
6538
6292
|
type: "string"
|
|
6539
6293
|
multiline?: boolean
|
|
6540
6294
|
rich_text?: boolean
|
|
@@ -6579,9 +6333,22 @@ type Attribute = {
|
|
|
6579
6333
|
exclude_from_search?: boolean
|
|
6580
6334
|
repeatable?: boolean
|
|
6581
6335
|
has_primary?: boolean
|
|
6582
|
-
|
|
6583
|
-
|
|
6584
|
-
|
|
6336
|
+
type: "link"
|
|
6337
|
+
} | {
|
|
6338
|
+
id?: string
|
|
6339
|
+
name: string
|
|
6340
|
+
label: string
|
|
6341
|
+
placeholder?: string
|
|
6342
|
+
hidden?: boolean
|
|
6343
|
+
show_in_table?: boolean
|
|
6344
|
+
sortable?: boolean
|
|
6345
|
+
required?: boolean
|
|
6346
|
+
readonly?: boolean
|
|
6347
|
+
deprecated?: boolean
|
|
6348
|
+
default_value?: unknown
|
|
6349
|
+
group?: string
|
|
6350
|
+
order?: number
|
|
6351
|
+
layout?: string
|
|
6585
6352
|
// ...
|
|
6586
6353
|
}
|
|
6587
6354
|
```
|
|
@@ -6638,19 +6405,6 @@ type BaseAttribute = {
|
|
|
6638
6405
|
exclude_from_search?: boolean
|
|
6639
6406
|
repeatable?: boolean
|
|
6640
6407
|
has_primary?: boolean
|
|
6641
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
6642
|
-
edit_mode_config?: {
|
|
6643
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
6644
|
-
fuzzy_config?: {
|
|
6645
|
-
type: { ... }
|
|
6646
|
-
suffix_length?: { ... }
|
|
6647
|
-
fields_to_ignore?: { ... }
|
|
6648
|
-
regex_flags?: { ... }
|
|
6649
|
-
country_code?: { ... }
|
|
6650
|
-
match_on?: { ... }
|
|
6651
|
-
pattern?: { ... }
|
|
6652
|
-
}
|
|
6653
|
-
}
|
|
6654
6408
|
}
|
|
6655
6409
|
```
|
|
6656
6410
|
|
|
@@ -6697,19 +6451,6 @@ type TextAttribute = {
|
|
|
6697
6451
|
exclude_from_search?: boolean
|
|
6698
6452
|
repeatable?: boolean
|
|
6699
6453
|
has_primary?: boolean
|
|
6700
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
6701
|
-
edit_mode_config?: {
|
|
6702
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
6703
|
-
fuzzy_config?: {
|
|
6704
|
-
type: { ... }
|
|
6705
|
-
suffix_length?: { ... }
|
|
6706
|
-
fields_to_ignore?: { ... }
|
|
6707
|
-
regex_flags?: { ... }
|
|
6708
|
-
country_code?: { ... }
|
|
6709
|
-
match_on?: { ... }
|
|
6710
|
-
pattern?: { ... }
|
|
6711
|
-
}
|
|
6712
|
-
}
|
|
6713
6454
|
type: "string"
|
|
6714
6455
|
multiline?: boolean
|
|
6715
6456
|
rich_text?: boolean
|
|
@@ -6760,19 +6501,6 @@ type LinkAttribute = {
|
|
|
6760
6501
|
exclude_from_search?: boolean
|
|
6761
6502
|
repeatable?: boolean
|
|
6762
6503
|
has_primary?: boolean
|
|
6763
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
6764
|
-
edit_mode_config?: {
|
|
6765
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
6766
|
-
fuzzy_config?: {
|
|
6767
|
-
type: { ... }
|
|
6768
|
-
suffix_length?: { ... }
|
|
6769
|
-
fields_to_ignore?: { ... }
|
|
6770
|
-
regex_flags?: { ... }
|
|
6771
|
-
country_code?: { ... }
|
|
6772
|
-
match_on?: { ... }
|
|
6773
|
-
pattern?: { ... }
|
|
6774
|
-
}
|
|
6775
|
-
}
|
|
6776
6504
|
type: "link"
|
|
6777
6505
|
}
|
|
6778
6506
|
```
|
|
@@ -6820,19 +6548,6 @@ type InternalAttribute = {
|
|
|
6820
6548
|
exclude_from_search?: boolean
|
|
6821
6549
|
repeatable?: boolean
|
|
6822
6550
|
has_primary?: boolean
|
|
6823
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
6824
|
-
edit_mode_config?: {
|
|
6825
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
6826
|
-
fuzzy_config?: {
|
|
6827
|
-
type: { ... }
|
|
6828
|
-
suffix_length?: { ... }
|
|
6829
|
-
fields_to_ignore?: { ... }
|
|
6830
|
-
regex_flags?: { ... }
|
|
6831
|
-
country_code?: { ... }
|
|
6832
|
-
match_on?: { ... }
|
|
6833
|
-
pattern?: { ... }
|
|
6834
|
-
}
|
|
6835
|
-
}
|
|
6836
6551
|
type: "internal"
|
|
6837
6552
|
}
|
|
6838
6553
|
```
|
|
@@ -6880,19 +6595,6 @@ type BooleanAttribute = {
|
|
|
6880
6595
|
exclude_from_search?: boolean
|
|
6881
6596
|
repeatable?: boolean
|
|
6882
6597
|
has_primary?: boolean
|
|
6883
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
6884
|
-
edit_mode_config?: {
|
|
6885
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
6886
|
-
fuzzy_config?: {
|
|
6887
|
-
type: { ... }
|
|
6888
|
-
suffix_length?: { ... }
|
|
6889
|
-
fields_to_ignore?: { ... }
|
|
6890
|
-
regex_flags?: { ... }
|
|
6891
|
-
country_code?: { ... }
|
|
6892
|
-
match_on?: { ... }
|
|
6893
|
-
pattern?: { ... }
|
|
6894
|
-
}
|
|
6895
|
-
}
|
|
6896
6598
|
type: "boolean"
|
|
6897
6599
|
display_type?: "switch" | "checkbox"
|
|
6898
6600
|
}
|
|
@@ -6941,19 +6643,6 @@ type DateAttribute = {
|
|
|
6941
6643
|
exclude_from_search?: boolean
|
|
6942
6644
|
repeatable?: boolean
|
|
6943
6645
|
has_primary?: boolean
|
|
6944
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
6945
|
-
edit_mode_config?: {
|
|
6946
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
6947
|
-
fuzzy_config?: {
|
|
6948
|
-
type: { ... }
|
|
6949
|
-
suffix_length?: { ... }
|
|
6950
|
-
fields_to_ignore?: { ... }
|
|
6951
|
-
regex_flags?: { ... }
|
|
6952
|
-
country_code?: { ... }
|
|
6953
|
-
match_on?: { ... }
|
|
6954
|
-
pattern?: { ... }
|
|
6955
|
-
}
|
|
6956
|
-
}
|
|
6957
6646
|
type: "date" | "datetime"
|
|
6958
6647
|
}
|
|
6959
6648
|
```
|
|
@@ -7001,19 +6690,6 @@ type CountryAttribute = {
|
|
|
7001
6690
|
exclude_from_search?: boolean
|
|
7002
6691
|
repeatable?: boolean
|
|
7003
6692
|
has_primary?: boolean
|
|
7004
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
7005
|
-
edit_mode_config?: {
|
|
7006
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7007
|
-
fuzzy_config?: {
|
|
7008
|
-
type: { ... }
|
|
7009
|
-
suffix_length?: { ... }
|
|
7010
|
-
fields_to_ignore?: { ... }
|
|
7011
|
-
regex_flags?: { ... }
|
|
7012
|
-
country_code?: { ... }
|
|
7013
|
-
match_on?: { ... }
|
|
7014
|
-
pattern?: { ... }
|
|
7015
|
-
}
|
|
7016
|
-
}
|
|
7017
6693
|
type: "country"
|
|
7018
6694
|
}
|
|
7019
6695
|
```
|
|
@@ -7061,19 +6737,6 @@ type SelectAttribute = {
|
|
|
7061
6737
|
exclude_from_search?: boolean
|
|
7062
6738
|
repeatable?: boolean
|
|
7063
6739
|
has_primary?: boolean
|
|
7064
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
7065
|
-
edit_mode_config?: {
|
|
7066
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7067
|
-
fuzzy_config?: {
|
|
7068
|
-
type: { ... }
|
|
7069
|
-
suffix_length?: { ... }
|
|
7070
|
-
fields_to_ignore?: { ... }
|
|
7071
|
-
regex_flags?: { ... }
|
|
7072
|
-
country_code?: { ... }
|
|
7073
|
-
match_on?: { ... }
|
|
7074
|
-
pattern?: { ... }
|
|
7075
|
-
}
|
|
7076
|
-
}
|
|
7077
6740
|
type: "select" | "radio"
|
|
7078
6741
|
options?: Array<{
|
|
7079
6742
|
value: string
|
|
@@ -7126,19 +6789,6 @@ type MultiSelectAttribute = {
|
|
|
7126
6789
|
exclude_from_search?: boolean
|
|
7127
6790
|
repeatable?: boolean
|
|
7128
6791
|
has_primary?: boolean
|
|
7129
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
7130
|
-
edit_mode_config?: {
|
|
7131
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7132
|
-
fuzzy_config?: {
|
|
7133
|
-
type: { ... }
|
|
7134
|
-
suffix_length?: { ... }
|
|
7135
|
-
fields_to_ignore?: { ... }
|
|
7136
|
-
regex_flags?: { ... }
|
|
7137
|
-
country_code?: { ... }
|
|
7138
|
-
match_on?: { ... }
|
|
7139
|
-
pattern?: { ... }
|
|
7140
|
-
}
|
|
7141
|
-
}
|
|
7142
6792
|
type: "multiselect" | "checkbox"
|
|
7143
6793
|
disable_case_sensitive?: boolean
|
|
7144
6794
|
allow_extra_options?: boolean
|
|
@@ -7193,19 +6843,6 @@ type StatusAttribute = {
|
|
|
7193
6843
|
exclude_from_search?: boolean
|
|
7194
6844
|
repeatable?: boolean
|
|
7195
6845
|
has_primary?: boolean
|
|
7196
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
7197
|
-
edit_mode_config?: {
|
|
7198
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7199
|
-
fuzzy_config?: {
|
|
7200
|
-
type: { ... }
|
|
7201
|
-
suffix_length?: { ... }
|
|
7202
|
-
fields_to_ignore?: { ... }
|
|
7203
|
-
regex_flags?: { ... }
|
|
7204
|
-
country_code?: { ... }
|
|
7205
|
-
match_on?: { ... }
|
|
7206
|
-
pattern?: { ... }
|
|
7207
|
-
}
|
|
7208
|
-
}
|
|
7209
6846
|
type: "status"
|
|
7210
6847
|
options?: Array<string | {
|
|
7211
6848
|
value: string
|
|
@@ -7257,19 +6894,6 @@ type SequenceAttribute = {
|
|
|
7257
6894
|
exclude_from_search?: boolean
|
|
7258
6895
|
repeatable?: boolean
|
|
7259
6896
|
has_primary?: boolean
|
|
7260
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
7261
|
-
edit_mode_config?: {
|
|
7262
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7263
|
-
fuzzy_config?: {
|
|
7264
|
-
type: { ... }
|
|
7265
|
-
suffix_length?: { ... }
|
|
7266
|
-
fields_to_ignore?: { ... }
|
|
7267
|
-
regex_flags?: { ... }
|
|
7268
|
-
country_code?: { ... }
|
|
7269
|
-
match_on?: { ... }
|
|
7270
|
-
pattern?: { ... }
|
|
7271
|
-
}
|
|
7272
|
-
}
|
|
7273
6897
|
type: "sequence"
|
|
7274
6898
|
prefix?: string
|
|
7275
6899
|
start_number?: number
|
|
@@ -7319,19 +6943,6 @@ type FileAttribute = {
|
|
|
7319
6943
|
exclude_from_search?: boolean
|
|
7320
6944
|
repeatable?: boolean
|
|
7321
6945
|
has_primary?: boolean
|
|
7322
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
7323
|
-
edit_mode_config?: {
|
|
7324
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7325
|
-
fuzzy_config?: {
|
|
7326
|
-
type: { ... }
|
|
7327
|
-
suffix_length?: { ... }
|
|
7328
|
-
fields_to_ignore?: { ... }
|
|
7329
|
-
regex_flags?: { ... }
|
|
7330
|
-
country_code?: { ... }
|
|
7331
|
-
match_on?: { ... }
|
|
7332
|
-
pattern?: { ... }
|
|
7333
|
-
}
|
|
7334
|
-
}
|
|
7335
6946
|
type: "image" | "file"
|
|
7336
6947
|
multiple?: boolean
|
|
7337
6948
|
allowed_extensions?: string[]
|
|
@@ -7385,19 +6996,6 @@ type CurrencyAttribute = {
|
|
|
7385
6996
|
exclude_from_search?: boolean
|
|
7386
6997
|
repeatable?: boolean
|
|
7387
6998
|
has_primary?: boolean
|
|
7388
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
7389
|
-
edit_mode_config?: {
|
|
7390
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7391
|
-
fuzzy_config?: {
|
|
7392
|
-
type: { ... }
|
|
7393
|
-
suffix_length?: { ... }
|
|
7394
|
-
fields_to_ignore?: { ... }
|
|
7395
|
-
regex_flags?: { ... }
|
|
7396
|
-
country_code?: { ... }
|
|
7397
|
-
match_on?: { ... }
|
|
7398
|
-
pattern?: { ... }
|
|
7399
|
-
}
|
|
7400
|
-
}
|
|
7401
6999
|
type: "currency"
|
|
7402
7000
|
currency_selector_only?: boolean
|
|
7403
7001
|
currency: Array<{
|
|
@@ -7476,24 +7074,12 @@ type RelationAttribute = {
|
|
|
7476
7074
|
exclude_from_search?: boolean
|
|
7477
7075
|
repeatable?: boolean
|
|
7478
7076
|
has_primary?: boolean
|
|
7479
|
-
edit_mode?: "list-view"
|
|
7480
|
-
edit_mode_config?: {
|
|
7481
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7482
|
-
fuzzy_config?: {
|
|
7483
|
-
type: { ... }
|
|
7484
|
-
suffix_length?: { ... }
|
|
7485
|
-
fields_to_ignore?: { ... }
|
|
7486
|
-
regex_flags?: { ... }
|
|
7487
|
-
country_code?: { ... }
|
|
7488
|
-
match_on?: { ... }
|
|
7489
|
-
pattern?: { ... }
|
|
7490
|
-
}
|
|
7491
|
-
}
|
|
7492
7077
|
type: "relation"
|
|
7493
7078
|
relation_type?: "has_many" | "has_one"
|
|
7494
7079
|
reverse_attributes?: Record<string, string>
|
|
7495
7080
|
relation_affinity_mode?: "weak" | "strong"
|
|
7496
7081
|
enable_relation_picker?: boolean
|
|
7082
|
+
edit_mode?: "list-view"
|
|
7497
7083
|
details_view_mode_enabled?: boolean
|
|
7498
7084
|
relation_picker_filter?: {
|
|
7499
7085
|
q: string
|
|
@@ -7564,19 +7150,6 @@ type UserRelationAttribute = {
|
|
|
7564
7150
|
exclude_from_search?: boolean
|
|
7565
7151
|
repeatable?: boolean
|
|
7566
7152
|
has_primary?: boolean
|
|
7567
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
7568
|
-
edit_mode_config?: {
|
|
7569
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7570
|
-
fuzzy_config?: {
|
|
7571
|
-
type: { ... }
|
|
7572
|
-
suffix_length?: { ... }
|
|
7573
|
-
fields_to_ignore?: { ... }
|
|
7574
|
-
regex_flags?: { ... }
|
|
7575
|
-
country_code?: { ... }
|
|
7576
|
-
match_on?: { ... }
|
|
7577
|
-
pattern?: { ... }
|
|
7578
|
-
}
|
|
7579
|
-
}
|
|
7580
7153
|
type: "relation_user"
|
|
7581
7154
|
multiple?: boolean
|
|
7582
7155
|
}
|
|
@@ -7625,19 +7198,6 @@ type PartnerOrganisationAttribute = {
|
|
|
7625
7198
|
exclude_from_search?: boolean
|
|
7626
7199
|
repeatable?: boolean
|
|
7627
7200
|
has_primary?: boolean
|
|
7628
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
7629
|
-
edit_mode_config?: {
|
|
7630
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7631
|
-
fuzzy_config?: {
|
|
7632
|
-
type: { ... }
|
|
7633
|
-
suffix_length?: { ... }
|
|
7634
|
-
fields_to_ignore?: { ... }
|
|
7635
|
-
regex_flags?: { ... }
|
|
7636
|
-
country_code?: { ... }
|
|
7637
|
-
match_on?: { ... }
|
|
7638
|
-
pattern?: { ... }
|
|
7639
|
-
}
|
|
7640
|
-
}
|
|
7641
7201
|
type: "partner_organisation"
|
|
7642
7202
|
}
|
|
7643
7203
|
```
|
|
@@ -7685,19 +7245,6 @@ type PortalAccessAttribute = {
|
|
|
7685
7245
|
exclude_from_search?: boolean
|
|
7686
7246
|
repeatable?: boolean
|
|
7687
7247
|
has_primary?: boolean
|
|
7688
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
7689
|
-
edit_mode_config?: {
|
|
7690
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7691
|
-
fuzzy_config?: {
|
|
7692
|
-
type: { ... }
|
|
7693
|
-
suffix_length?: { ... }
|
|
7694
|
-
fields_to_ignore?: { ... }
|
|
7695
|
-
regex_flags?: { ... }
|
|
7696
|
-
country_code?: { ... }
|
|
7697
|
-
match_on?: { ... }
|
|
7698
|
-
pattern?: { ... }
|
|
7699
|
-
}
|
|
7700
|
-
}
|
|
7701
7248
|
type: "portal_access"
|
|
7702
7249
|
}
|
|
7703
7250
|
```
|
|
@@ -7770,19 +7317,6 @@ type AddressAttribute = {
|
|
|
7770
7317
|
exclude_from_search?: boolean
|
|
7771
7318
|
repeatable?: boolean
|
|
7772
7319
|
has_primary?: boolean
|
|
7773
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
7774
|
-
edit_mode_config?: {
|
|
7775
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7776
|
-
fuzzy_config?: {
|
|
7777
|
-
type: { ... }
|
|
7778
|
-
suffix_length?: { ... }
|
|
7779
|
-
fields_to_ignore?: { ... }
|
|
7780
|
-
regex_flags?: { ... }
|
|
7781
|
-
country_code?: { ... }
|
|
7782
|
-
match_on?: { ... }
|
|
7783
|
-
pattern?: { ... }
|
|
7784
|
-
}
|
|
7785
|
-
}
|
|
7786
7320
|
type: "address"
|
|
7787
7321
|
default_address_fields?: string[]
|
|
7788
7322
|
}
|
|
@@ -7831,19 +7365,6 @@ type AddressRelationAttribute = {
|
|
|
7831
7365
|
exclude_from_search?: boolean
|
|
7832
7366
|
repeatable?: boolean
|
|
7833
7367
|
has_primary?: boolean
|
|
7834
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
7835
|
-
edit_mode_config?: {
|
|
7836
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7837
|
-
fuzzy_config?: {
|
|
7838
|
-
type: { ... }
|
|
7839
|
-
suffix_length?: { ... }
|
|
7840
|
-
fields_to_ignore?: { ... }
|
|
7841
|
-
regex_flags?: { ... }
|
|
7842
|
-
country_code?: { ... }
|
|
7843
|
-
match_on?: { ... }
|
|
7844
|
-
pattern?: { ... }
|
|
7845
|
-
}
|
|
7846
|
-
}
|
|
7847
7368
|
type: "relation_address"
|
|
7848
7369
|
default_address_fields?: string[]
|
|
7849
7370
|
}
|
|
@@ -7892,19 +7413,6 @@ type PaymentMethodRelationAttribute = {
|
|
|
7892
7413
|
exclude_from_search?: boolean
|
|
7893
7414
|
repeatable?: boolean
|
|
7894
7415
|
has_primary?: boolean
|
|
7895
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
7896
|
-
edit_mode_config?: {
|
|
7897
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7898
|
-
fuzzy_config?: {
|
|
7899
|
-
type: { ... }
|
|
7900
|
-
suffix_length?: { ... }
|
|
7901
|
-
fields_to_ignore?: { ... }
|
|
7902
|
-
regex_flags?: { ... }
|
|
7903
|
-
country_code?: { ... }
|
|
7904
|
-
match_on?: { ... }
|
|
7905
|
-
pattern?: { ... }
|
|
7906
|
-
}
|
|
7907
|
-
}
|
|
7908
7416
|
type: "relation_payment_method"
|
|
7909
7417
|
}
|
|
7910
7418
|
```
|
|
@@ -7952,19 +7460,6 @@ type InvitationEmailAttribute = {
|
|
|
7952
7460
|
exclude_from_search?: boolean
|
|
7953
7461
|
repeatable?: boolean
|
|
7954
7462
|
has_primary?: boolean
|
|
7955
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
7956
|
-
edit_mode_config?: {
|
|
7957
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
7958
|
-
fuzzy_config?: {
|
|
7959
|
-
type: { ... }
|
|
7960
|
-
suffix_length?: { ... }
|
|
7961
|
-
fields_to_ignore?: { ... }
|
|
7962
|
-
regex_flags?: { ... }
|
|
7963
|
-
country_code?: { ... }
|
|
7964
|
-
match_on?: { ... }
|
|
7965
|
-
pattern?: { ... }
|
|
7966
|
-
}
|
|
7967
|
-
}
|
|
7968
7463
|
type: "invitation_email"
|
|
7969
7464
|
}
|
|
7970
7465
|
```
|
|
@@ -8012,19 +7507,6 @@ type AutomationAttribute = {
|
|
|
8012
7507
|
exclude_from_search?: boolean
|
|
8013
7508
|
repeatable?: boolean
|
|
8014
7509
|
has_primary?: boolean
|
|
8015
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8016
|
-
edit_mode_config?: {
|
|
8017
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8018
|
-
fuzzy_config?: {
|
|
8019
|
-
type: { ... }
|
|
8020
|
-
suffix_length?: { ... }
|
|
8021
|
-
fields_to_ignore?: { ... }
|
|
8022
|
-
regex_flags?: { ... }
|
|
8023
|
-
country_code?: { ... }
|
|
8024
|
-
match_on?: { ... }
|
|
8025
|
-
pattern?: { ... }
|
|
8026
|
-
}
|
|
8027
|
-
}
|
|
8028
7510
|
type: "automation"
|
|
8029
7511
|
}
|
|
8030
7512
|
```
|
|
@@ -8072,19 +7554,6 @@ type InternalUserAttribute = {
|
|
|
8072
7554
|
exclude_from_search?: boolean
|
|
8073
7555
|
repeatable?: boolean
|
|
8074
7556
|
has_primary?: boolean
|
|
8075
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8076
|
-
edit_mode_config?: {
|
|
8077
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8078
|
-
fuzzy_config?: {
|
|
8079
|
-
type: { ... }
|
|
8080
|
-
suffix_length?: { ... }
|
|
8081
|
-
fields_to_ignore?: { ... }
|
|
8082
|
-
regex_flags?: { ... }
|
|
8083
|
-
country_code?: { ... }
|
|
8084
|
-
match_on?: { ... }
|
|
8085
|
-
pattern?: { ... }
|
|
8086
|
-
}
|
|
8087
|
-
}
|
|
8088
7557
|
type: "internal_user"
|
|
8089
7558
|
}
|
|
8090
7559
|
```
|
|
@@ -8132,19 +7601,6 @@ type PurposeAttribute = {
|
|
|
8132
7601
|
exclude_from_search?: boolean
|
|
8133
7602
|
repeatable?: boolean
|
|
8134
7603
|
has_primary?: boolean
|
|
8135
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8136
|
-
edit_mode_config?: {
|
|
8137
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8138
|
-
fuzzy_config?: {
|
|
8139
|
-
type: { ... }
|
|
8140
|
-
suffix_length?: { ... }
|
|
8141
|
-
fields_to_ignore?: { ... }
|
|
8142
|
-
regex_flags?: { ... }
|
|
8143
|
-
country_code?: { ... }
|
|
8144
|
-
match_on?: { ... }
|
|
8145
|
-
pattern?: { ... }
|
|
8146
|
-
}
|
|
8147
|
-
}
|
|
8148
7604
|
type: "purpose"
|
|
8149
7605
|
}
|
|
8150
7606
|
```
|
|
@@ -8192,19 +7648,6 @@ type RepeatableAttribute = {
|
|
|
8192
7648
|
exclude_from_search?: boolean
|
|
8193
7649
|
repeatable?: boolean
|
|
8194
7650
|
has_primary?: boolean
|
|
8195
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8196
|
-
edit_mode_config?: {
|
|
8197
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8198
|
-
fuzzy_config?: {
|
|
8199
|
-
type: { ... }
|
|
8200
|
-
suffix_length?: { ... }
|
|
8201
|
-
fields_to_ignore?: { ... }
|
|
8202
|
-
regex_flags?: { ... }
|
|
8203
|
-
country_code?: { ... }
|
|
8204
|
-
match_on?: { ... }
|
|
8205
|
-
pattern?: { ... }
|
|
8206
|
-
}
|
|
8207
|
-
}
|
|
8208
7651
|
}
|
|
8209
7652
|
```
|
|
8210
7653
|
|
|
@@ -8251,19 +7694,6 @@ type TagsAttribute = {
|
|
|
8251
7694
|
exclude_from_search?: boolean
|
|
8252
7695
|
repeatable?: boolean
|
|
8253
7696
|
has_primary?: boolean
|
|
8254
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8255
|
-
edit_mode_config?: {
|
|
8256
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8257
|
-
fuzzy_config?: {
|
|
8258
|
-
type: { ... }
|
|
8259
|
-
suffix_length?: { ... }
|
|
8260
|
-
fields_to_ignore?: { ... }
|
|
8261
|
-
regex_flags?: { ... }
|
|
8262
|
-
country_code?: { ... }
|
|
8263
|
-
match_on?: { ... }
|
|
8264
|
-
pattern?: { ... }
|
|
8265
|
-
}
|
|
8266
|
-
}
|
|
8267
7697
|
type: "tags"
|
|
8268
7698
|
options?: string[]
|
|
8269
7699
|
suggestions?: string[]
|
|
@@ -8313,19 +7743,6 @@ type MessageEmailAddressAttribute = {
|
|
|
8313
7743
|
exclude_from_search?: boolean
|
|
8314
7744
|
repeatable?: boolean
|
|
8315
7745
|
has_primary?: boolean
|
|
8316
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8317
|
-
edit_mode_config?: {
|
|
8318
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8319
|
-
fuzzy_config?: {
|
|
8320
|
-
type: { ... }
|
|
8321
|
-
suffix_length?: { ... }
|
|
8322
|
-
fields_to_ignore?: { ... }
|
|
8323
|
-
regex_flags?: { ... }
|
|
8324
|
-
country_code?: { ... }
|
|
8325
|
-
match_on?: { ... }
|
|
8326
|
-
pattern?: { ... }
|
|
8327
|
-
}
|
|
8328
|
-
}
|
|
8329
7746
|
type: "message_email_address"
|
|
8330
7747
|
address?: string
|
|
8331
7748
|
send_status?: string
|
|
@@ -8376,19 +7793,6 @@ type NumberAttribute = {
|
|
|
8376
7793
|
exclude_from_search?: boolean
|
|
8377
7794
|
repeatable?: boolean
|
|
8378
7795
|
has_primary?: boolean
|
|
8379
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8380
|
-
edit_mode_config?: {
|
|
8381
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8382
|
-
fuzzy_config?: {
|
|
8383
|
-
type: { ... }
|
|
8384
|
-
suffix_length?: { ... }
|
|
8385
|
-
fields_to_ignore?: { ... }
|
|
8386
|
-
regex_flags?: { ... }
|
|
8387
|
-
country_code?: { ... }
|
|
8388
|
-
match_on?: { ... }
|
|
8389
|
-
pattern?: { ... }
|
|
8390
|
-
}
|
|
8391
|
-
}
|
|
8392
7796
|
type: "number"
|
|
8393
7797
|
data_type?: "number" | "string"
|
|
8394
7798
|
format?: string
|
|
@@ -8439,19 +7843,6 @@ type TableAttribute = {
|
|
|
8439
7843
|
exclude_from_search?: boolean
|
|
8440
7844
|
repeatable?: boolean
|
|
8441
7845
|
has_primary?: boolean
|
|
8442
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8443
|
-
edit_mode_config?: {
|
|
8444
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8445
|
-
fuzzy_config?: {
|
|
8446
|
-
type: { ... }
|
|
8447
|
-
suffix_length?: { ... }
|
|
8448
|
-
fields_to_ignore?: { ... }
|
|
8449
|
-
regex_flags?: { ... }
|
|
8450
|
-
country_code?: { ... }
|
|
8451
|
-
match_on?: { ... }
|
|
8452
|
-
pattern?: { ... }
|
|
8453
|
-
}
|
|
8454
|
-
}
|
|
8455
7846
|
type: "table"
|
|
8456
7847
|
columns?: Array<{
|
|
8457
7848
|
name: string
|
|
@@ -8514,19 +7905,6 @@ type ConsentAttribute = {
|
|
|
8514
7905
|
exclude_from_search?: boolean
|
|
8515
7906
|
repeatable?: boolean
|
|
8516
7907
|
has_primary?: boolean
|
|
8517
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8518
|
-
edit_mode_config?: {
|
|
8519
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8520
|
-
fuzzy_config?: {
|
|
8521
|
-
type: { ... }
|
|
8522
|
-
suffix_length?: { ... }
|
|
8523
|
-
fields_to_ignore?: { ... }
|
|
8524
|
-
regex_flags?: { ... }
|
|
8525
|
-
country_code?: { ... }
|
|
8526
|
-
match_on?: { ... }
|
|
8527
|
-
pattern?: { ... }
|
|
8528
|
-
}
|
|
8529
|
-
}
|
|
8530
7908
|
type: "consent"
|
|
8531
7909
|
topic: string
|
|
8532
7910
|
identifiers?: string[]
|
|
@@ -8576,19 +7954,6 @@ type OrderedListAttribute = {
|
|
|
8576
7954
|
exclude_from_search?: boolean
|
|
8577
7955
|
repeatable?: boolean
|
|
8578
7956
|
has_primary?: boolean
|
|
8579
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8580
|
-
edit_mode_config?: {
|
|
8581
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8582
|
-
fuzzy_config?: {
|
|
8583
|
-
type: { ... }
|
|
8584
|
-
suffix_length?: { ... }
|
|
8585
|
-
fields_to_ignore?: { ... }
|
|
8586
|
-
regex_flags?: { ... }
|
|
8587
|
-
country_code?: { ... }
|
|
8588
|
-
match_on?: { ... }
|
|
8589
|
-
pattern?: { ... }
|
|
8590
|
-
}
|
|
8591
|
-
}
|
|
8592
7957
|
type: "ordered_list"
|
|
8593
7958
|
}
|
|
8594
7959
|
```
|
|
@@ -8636,19 +8001,6 @@ type EmailAttribute = {
|
|
|
8636
8001
|
exclude_from_search?: boolean
|
|
8637
8002
|
repeatable?: boolean
|
|
8638
8003
|
has_primary?: boolean
|
|
8639
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8640
|
-
edit_mode_config?: {
|
|
8641
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8642
|
-
fuzzy_config?: {
|
|
8643
|
-
type: { ... }
|
|
8644
|
-
suffix_length?: { ... }
|
|
8645
|
-
fields_to_ignore?: { ... }
|
|
8646
|
-
regex_flags?: { ... }
|
|
8647
|
-
country_code?: { ... }
|
|
8648
|
-
match_on?: { ... }
|
|
8649
|
-
pattern?: { ... }
|
|
8650
|
-
}
|
|
8651
|
-
}
|
|
8652
8004
|
type: "email"
|
|
8653
8005
|
}
|
|
8654
8006
|
```
|
|
@@ -8696,19 +8048,6 @@ type PhoneAttribute = {
|
|
|
8696
8048
|
exclude_from_search?: boolean
|
|
8697
8049
|
repeatable?: boolean
|
|
8698
8050
|
has_primary?: boolean
|
|
8699
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8700
|
-
edit_mode_config?: {
|
|
8701
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8702
|
-
fuzzy_config?: {
|
|
8703
|
-
type: { ... }
|
|
8704
|
-
suffix_length?: { ... }
|
|
8705
|
-
fields_to_ignore?: { ... }
|
|
8706
|
-
regex_flags?: { ... }
|
|
8707
|
-
country_code?: { ... }
|
|
8708
|
-
match_on?: { ... }
|
|
8709
|
-
pattern?: { ... }
|
|
8710
|
-
}
|
|
8711
|
-
}
|
|
8712
8051
|
type: "phone"
|
|
8713
8052
|
}
|
|
8714
8053
|
```
|
|
@@ -8756,19 +8095,6 @@ type PaymentAttribute = {
|
|
|
8756
8095
|
exclude_from_search?: boolean
|
|
8757
8096
|
repeatable?: boolean
|
|
8758
8097
|
has_primary?: boolean
|
|
8759
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8760
|
-
edit_mode_config?: {
|
|
8761
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8762
|
-
fuzzy_config?: {
|
|
8763
|
-
type: { ... }
|
|
8764
|
-
suffix_length?: { ... }
|
|
8765
|
-
fields_to_ignore?: { ... }
|
|
8766
|
-
regex_flags?: { ... }
|
|
8767
|
-
country_code?: { ... }
|
|
8768
|
-
match_on?: { ... }
|
|
8769
|
-
pattern?: { ... }
|
|
8770
|
-
}
|
|
8771
|
-
}
|
|
8772
8098
|
type: "payment"
|
|
8773
8099
|
}
|
|
8774
8100
|
```
|
|
@@ -8816,19 +8142,6 @@ type PriceComponentAttribute = {
|
|
|
8816
8142
|
exclude_from_search?: boolean
|
|
8817
8143
|
repeatable?: boolean
|
|
8818
8144
|
has_primary?: boolean
|
|
8819
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8820
|
-
edit_mode_config?: {
|
|
8821
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8822
|
-
fuzzy_config?: {
|
|
8823
|
-
type: { ... }
|
|
8824
|
-
suffix_length?: { ... }
|
|
8825
|
-
fields_to_ignore?: { ... }
|
|
8826
|
-
regex_flags?: { ... }
|
|
8827
|
-
country_code?: { ... }
|
|
8828
|
-
match_on?: { ... }
|
|
8829
|
-
pattern?: { ... }
|
|
8830
|
-
}
|
|
8831
|
-
}
|
|
8832
8145
|
type: "price_component"
|
|
8833
8146
|
}
|
|
8834
8147
|
```
|
|
@@ -8876,19 +8189,6 @@ type ComputedAttribute = {
|
|
|
8876
8189
|
exclude_from_search?: boolean
|
|
8877
8190
|
repeatable?: boolean
|
|
8878
8191
|
has_primary?: boolean
|
|
8879
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8880
|
-
edit_mode_config?: {
|
|
8881
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8882
|
-
fuzzy_config?: {
|
|
8883
|
-
type: { ... }
|
|
8884
|
-
suffix_length?: { ... }
|
|
8885
|
-
fields_to_ignore?: { ... }
|
|
8886
|
-
regex_flags?: { ... }
|
|
8887
|
-
country_code?: { ... }
|
|
8888
|
-
match_on?: { ... }
|
|
8889
|
-
pattern?: { ... }
|
|
8890
|
-
}
|
|
8891
|
-
}
|
|
8892
8192
|
type: "computed"
|
|
8893
8193
|
computed?: boolean
|
|
8894
8194
|
amount_field?: string
|
|
@@ -8939,19 +8239,6 @@ type PartnerStatusAttribute = {
|
|
|
8939
8239
|
exclude_from_search?: boolean
|
|
8940
8240
|
repeatable?: boolean
|
|
8941
8241
|
has_primary?: boolean
|
|
8942
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
8943
|
-
edit_mode_config?: {
|
|
8944
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
8945
|
-
fuzzy_config?: {
|
|
8946
|
-
type: { ... }
|
|
8947
|
-
suffix_length?: { ... }
|
|
8948
|
-
fields_to_ignore?: { ... }
|
|
8949
|
-
regex_flags?: { ... }
|
|
8950
|
-
country_code?: { ... }
|
|
8951
|
-
match_on?: { ... }
|
|
8952
|
-
pattern?: { ... }
|
|
8953
|
-
}
|
|
8954
|
-
}
|
|
8955
8242
|
type: "partner_status"
|
|
8956
8243
|
}
|
|
8957
8244
|
```
|
|
@@ -9082,11 +8369,6 @@ type EntityCapability = {
|
|
|
9082
8369
|
exclude_from_search?: boolean
|
|
9083
8370
|
repeatable?: boolean
|
|
9084
8371
|
has_primary?: boolean
|
|
9085
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
9086
|
-
edit_mode_config?: {
|
|
9087
|
-
match_strategy?: { ... }
|
|
9088
|
-
fuzzy_config?: { ... }
|
|
9089
|
-
}
|
|
9090
8372
|
type: "string"
|
|
9091
8373
|
multiline?: boolean
|
|
9092
8374
|
rich_text?: boolean
|
|
@@ -9131,13 +8413,18 @@ type EntityCapability = {
|
|
|
9131
8413
|
exclude_from_search?: boolean
|
|
9132
8414
|
repeatable?: boolean
|
|
9133
8415
|
has_primary?: boolean
|
|
9134
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
9135
|
-
edit_mode_config?: {
|
|
9136
|
-
match_strategy?: { ... }
|
|
9137
|
-
fuzzy_config?: { ... }
|
|
9138
|
-
}
|
|
9139
8416
|
type: "link"
|
|
9140
8417
|
} | {
|
|
8418
|
+
id?: string
|
|
8419
|
+
name: string
|
|
8420
|
+
label: string
|
|
8421
|
+
placeholder?: string
|
|
8422
|
+
hidden?: boolean
|
|
8423
|
+
show_in_table?: boolean
|
|
8424
|
+
sortable?: boolean
|
|
8425
|
+
required?: boolean
|
|
8426
|
+
readonly?: boolean
|
|
8427
|
+
deprecated?: boolean
|
|
9141
8428
|
// ...
|
|
9142
8429
|
}
|
|
9143
8430
|
```
|
|
@@ -9189,11 +8476,6 @@ type EntityCapabilityWithCompositeID = {
|
|
|
9189
8476
|
exclude_from_search?: boolean
|
|
9190
8477
|
repeatable?: boolean
|
|
9191
8478
|
has_primary?: boolean
|
|
9192
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
9193
|
-
edit_mode_config?: {
|
|
9194
|
-
match_strategy?: { ... }
|
|
9195
|
-
fuzzy_config?: { ... }
|
|
9196
|
-
}
|
|
9197
8479
|
type: "string"
|
|
9198
8480
|
multiline?: boolean
|
|
9199
8481
|
rich_text?: boolean
|
|
@@ -9238,13 +8520,18 @@ type EntityCapabilityWithCompositeID = {
|
|
|
9238
8520
|
exclude_from_search?: boolean
|
|
9239
8521
|
repeatable?: boolean
|
|
9240
8522
|
has_primary?: boolean
|
|
9241
|
-
edit_mode?: "direct" | "external" | "approval"
|
|
9242
|
-
edit_mode_config?: {
|
|
9243
|
-
match_strategy?: { ... }
|
|
9244
|
-
fuzzy_config?: { ... }
|
|
9245
|
-
}
|
|
9246
8523
|
type: "link"
|
|
9247
8524
|
} | {
|
|
8525
|
+
id?: string
|
|
8526
|
+
name: string
|
|
8527
|
+
label: string
|
|
8528
|
+
placeholder?: string
|
|
8529
|
+
hidden?: boolean
|
|
8530
|
+
show_in_table?: boolean
|
|
8531
|
+
sortable?: boolean
|
|
8532
|
+
required?: boolean
|
|
8533
|
+
readonly?: boolean
|
|
8534
|
+
deprecated?: boolean
|
|
9248
8535
|
// ...
|
|
9249
8536
|
}
|
|
9250
8537
|
```
|
|
@@ -9343,22 +8630,6 @@ type BaseEntity = {
|
|
|
9343
8630
|
_purpose?: string[]
|
|
9344
8631
|
_purpose_name?: string[]
|
|
9345
8632
|
_manifest?: string // uuid[]
|
|
9346
|
-
_changesets?: Record<string, {
|
|
9347
|
-
proposed_value: unknown
|
|
9348
|
-
previous_value?: unknown
|
|
9349
|
-
created_at: string // date-time
|
|
9350
|
-
created_by?: {
|
|
9351
|
-
type?: { ... }
|
|
9352
|
-
id?: { ... }
|
|
9353
|
-
}
|
|
9354
|
-
edit_mode: "external" | "approval"
|
|
9355
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
9356
|
-
source?: string
|
|
9357
|
-
related_values?: Record<string, {
|
|
9358
|
-
proposed_value?: { ... }
|
|
9359
|
-
previous_value?: { ... }
|
|
9360
|
-
}>
|
|
9361
|
-
}>
|
|
9362
8633
|
}
|
|
9363
8634
|
```
|
|
9364
8635
|
|
|
@@ -9386,22 +8657,6 @@ type Entity = {
|
|
|
9386
8657
|
_purpose?: string[]
|
|
9387
8658
|
_purpose_name?: string[]
|
|
9388
8659
|
_manifest?: string // uuid[]
|
|
9389
|
-
_changesets?: Record<string, {
|
|
9390
|
-
proposed_value: unknown
|
|
9391
|
-
previous_value?: unknown
|
|
9392
|
-
created_at: string // date-time
|
|
9393
|
-
created_by?: {
|
|
9394
|
-
type?: { ... }
|
|
9395
|
-
id?: { ... }
|
|
9396
|
-
}
|
|
9397
|
-
edit_mode: "external" | "approval"
|
|
9398
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
9399
|
-
source?: string
|
|
9400
|
-
related_values?: Record<string, {
|
|
9401
|
-
proposed_value?: { ... }
|
|
9402
|
-
previous_value?: { ... }
|
|
9403
|
-
}>
|
|
9404
|
-
}>
|
|
9405
8660
|
}
|
|
9406
8661
|
```
|
|
9407
8662
|
|
|
@@ -9429,22 +8684,6 @@ type NullableEntity = {
|
|
|
9429
8684
|
_purpose?: string[]
|
|
9430
8685
|
_purpose_name?: string[]
|
|
9431
8686
|
_manifest?: string // uuid[]
|
|
9432
|
-
_changesets?: Record<string, {
|
|
9433
|
-
proposed_value: unknown
|
|
9434
|
-
previous_value?: unknown
|
|
9435
|
-
created_at: string // date-time
|
|
9436
|
-
created_by?: {
|
|
9437
|
-
type?: { ... }
|
|
9438
|
-
id?: { ... }
|
|
9439
|
-
}
|
|
9440
|
-
edit_mode: "external" | "approval"
|
|
9441
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
9442
|
-
source?: string
|
|
9443
|
-
related_values?: Record<string, {
|
|
9444
|
-
proposed_value?: { ... }
|
|
9445
|
-
previous_value?: { ... }
|
|
9446
|
-
}>
|
|
9447
|
-
}>
|
|
9448
8687
|
}
|
|
9449
8688
|
```
|
|
9450
8689
|
|
|
@@ -9510,22 +8749,6 @@ type EntityItem = {
|
|
|
9510
8749
|
_purpose?: string[]
|
|
9511
8750
|
_purpose_name?: string[]
|
|
9512
8751
|
_manifest?: string // uuid[]
|
|
9513
|
-
_changesets?: Record<string, {
|
|
9514
|
-
proposed_value: unknown
|
|
9515
|
-
previous_value?: unknown
|
|
9516
|
-
created_at: string // date-time
|
|
9517
|
-
created_by?: {
|
|
9518
|
-
type?: { ... }
|
|
9519
|
-
id?: { ... }
|
|
9520
|
-
}
|
|
9521
|
-
edit_mode: "external" | "approval"
|
|
9522
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
9523
|
-
source?: string
|
|
9524
|
-
related_values?: Record<string, {
|
|
9525
|
-
proposed_value?: { ... }
|
|
9526
|
-
previous_value?: { ... }
|
|
9527
|
-
}>
|
|
9528
|
-
}>
|
|
9529
8752
|
}
|
|
9530
8753
|
```
|
|
9531
8754
|
|
|
@@ -10083,7 +9306,6 @@ type GraphQueryRequest = {
|
|
|
10083
9306
|
}>
|
|
10084
9307
|
}
|
|
10085
9308
|
hydrate?: boolean
|
|
10086
|
-
apply_changesets?: boolean
|
|
10087
9309
|
}
|
|
10088
9310
|
```
|
|
10089
9311
|
|
|
@@ -10159,16 +9381,6 @@ type GraphQueryResponse = {
|
|
|
10159
9381
|
_purpose?: string[]
|
|
10160
9382
|
_purpose_name?: string[]
|
|
10161
9383
|
_manifest?: string // uuid[]
|
|
10162
|
-
_changesets?: Record<string, {
|
|
10163
|
-
proposed_value: { ... }
|
|
10164
|
-
previous_value?: { ... }
|
|
10165
|
-
created_at: { ... }
|
|
10166
|
-
created_by?: { ... }
|
|
10167
|
-
edit_mode: { ... }
|
|
10168
|
-
match_strategy?: { ... }
|
|
10169
|
-
source?: { ... }
|
|
10170
|
-
related_values?: { ... }
|
|
10171
|
-
}>
|
|
10172
9384
|
} | Array<{
|
|
10173
9385
|
_id?: object
|
|
10174
9386
|
_org?: string
|
|
@@ -10190,16 +9402,6 @@ type GraphQueryResponse = {
|
|
|
10190
9402
|
_purpose?: string[]
|
|
10191
9403
|
_purpose_name?: string[]
|
|
10192
9404
|
_manifest?: string // uuid[]
|
|
10193
|
-
_changesets?: Record<string, {
|
|
10194
|
-
proposed_value: { ... }
|
|
10195
|
-
previous_value?: { ... }
|
|
10196
|
-
created_at: { ... }
|
|
10197
|
-
created_by?: { ... }
|
|
10198
|
-
edit_mode: { ... }
|
|
10199
|
-
match_strategy?: { ... }
|
|
10200
|
-
source?: { ... }
|
|
10201
|
-
related_values?: { ... }
|
|
10202
|
-
}>
|
|
10203
9405
|
}>>
|
|
10204
9406
|
edges: Array<{
|
|
10205
9407
|
from: string
|
|
@@ -10234,16 +9436,6 @@ type EntitySearchResults = {
|
|
|
10234
9436
|
_purpose?: string[]
|
|
10235
9437
|
_purpose_name?: string[]
|
|
10236
9438
|
_manifest?: string // uuid[]
|
|
10237
|
-
_changesets?: Record<string, {
|
|
10238
|
-
proposed_value: { ... }
|
|
10239
|
-
previous_value?: { ... }
|
|
10240
|
-
created_at: { ... }
|
|
10241
|
-
created_by?: { ... }
|
|
10242
|
-
edit_mode: { ... }
|
|
10243
|
-
match_strategy?: { ... }
|
|
10244
|
-
source?: { ... }
|
|
10245
|
-
related_values?: { ... }
|
|
10246
|
-
}>
|
|
10247
9439
|
}>
|
|
10248
9440
|
aggregations?: object
|
|
10249
9441
|
stable_query_id?: string
|
|
@@ -10259,9 +9451,8 @@ Advanced: explicit Elasticsearch index mapping definitions for entity data
|
|
|
10259
9451
|
```ts
|
|
10260
9452
|
type SearchMappings = Record<string, {
|
|
10261
9453
|
index?: boolean
|
|
10262
|
-
type?: "keyword" | "text" | "boolean" | "integer" | "long" | "float" | "date" | "flattened" | "nested"
|
|
9454
|
+
type?: "keyword" | "text" | "boolean" | "integer" | "long" | "float" | "date" | "flattened" | "nested"
|
|
10263
9455
|
fields?: unknown
|
|
10264
|
-
dynamic?: boolean
|
|
10265
9456
|
}>
|
|
10266
9457
|
```
|
|
10267
9458
|
|
|
@@ -10351,16 +9542,6 @@ type EntityOperation = {
|
|
|
10351
9542
|
_purpose?: string[]
|
|
10352
9543
|
_purpose_name?: string[]
|
|
10353
9544
|
_manifest?: string // uuid[]
|
|
10354
|
-
_changesets?: Record<string, {
|
|
10355
|
-
proposed_value: { ... }
|
|
10356
|
-
previous_value?: { ... }
|
|
10357
|
-
created_at: { ... }
|
|
10358
|
-
created_by?: { ... }
|
|
10359
|
-
edit_mode: { ... }
|
|
10360
|
-
match_strategy?: { ... }
|
|
10361
|
-
source?: { ... }
|
|
10362
|
-
related_values?: { ... }
|
|
10363
|
-
}>
|
|
10364
9545
|
}
|
|
10365
9546
|
diff?: {
|
|
10366
9547
|
added?: {
|
|
@@ -10377,7 +9558,6 @@ type EntityOperation = {
|
|
|
10377
9558
|
_purpose?: { ... }
|
|
10378
9559
|
_purpose_name?: { ... }
|
|
10379
9560
|
_manifest?: { ... }
|
|
10380
|
-
_changesets?: { ... }
|
|
10381
9561
|
}
|
|
10382
9562
|
updated?: {
|
|
10383
9563
|
_id?: { ... }
|
|
@@ -10393,7 +9573,6 @@ type EntityOperation = {
|
|
|
10393
9573
|
_purpose?: { ... }
|
|
10394
9574
|
_purpose_name?: { ... }
|
|
10395
9575
|
_manifest?: { ... }
|
|
10396
|
-
_changesets?: { ... }
|
|
10397
9576
|
}
|
|
10398
9577
|
deleted?: {
|
|
10399
9578
|
_id?: { ... }
|
|
@@ -10409,7 +9588,6 @@ type EntityOperation = {
|
|
|
10409
9588
|
_purpose?: { ... }
|
|
10410
9589
|
_purpose_name?: { ... }
|
|
10411
9590
|
_manifest?: { ... }
|
|
10412
|
-
_changesets?: { ... }
|
|
10413
9591
|
}
|
|
10414
9592
|
}
|
|
10415
9593
|
_workflow_origin?: {
|
|
@@ -10467,7 +9645,6 @@ type ActivityItem = {
|
|
|
10467
9645
|
_purpose?: { ... }
|
|
10468
9646
|
_purpose_name?: { ... }
|
|
10469
9647
|
_manifest?: { ... }
|
|
10470
|
-
_changesets?: { ... }
|
|
10471
9648
|
}
|
|
10472
9649
|
diff?: {
|
|
10473
9650
|
added?: { ... }
|
|
@@ -10766,106 +9943,3 @@ type ErrorObject = {
|
|
|
10766
9943
|
error?: string
|
|
10767
9944
|
}
|
|
10768
9945
|
```
|
|
10769
|
-
|
|
10770
|
-
### `ChangesetCreator`
|
|
10771
|
-
|
|
10772
|
-
Identifies the actor that created the changeset.
|
|
10773
|
-
|
|
10774
|
-
```ts
|
|
10775
|
-
type ChangesetCreator = {
|
|
10776
|
-
type?: "user" | "portal_user" | "api_client" | "automation"
|
|
10777
|
-
id?: string
|
|
10778
|
-
}
|
|
10779
|
-
```
|
|
10780
|
-
|
|
10781
|
-
### `Changeset`
|
|
10782
|
-
|
|
10783
|
-
A pending proposed change for a single entity attribute, awaiting external confirmation or human approval.
|
|
10784
|
-
|
|
10785
|
-
```ts
|
|
10786
|
-
type Changeset = {
|
|
10787
|
-
proposed_value: unknown
|
|
10788
|
-
previous_value?: unknown
|
|
10789
|
-
created_at: string // date-time
|
|
10790
|
-
created_by?: {
|
|
10791
|
-
type?: "user" | "portal_user" | "api_client" | "automation"
|
|
10792
|
-
id?: string
|
|
10793
|
-
}
|
|
10794
|
-
edit_mode: "external" | "approval"
|
|
10795
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
10796
|
-
source?: string
|
|
10797
|
-
related_values?: Record<string, {
|
|
10798
|
-
proposed_value?: unknown
|
|
10799
|
-
previous_value?: unknown
|
|
10800
|
-
}>
|
|
10801
|
-
}
|
|
10802
|
-
```
|
|
10803
|
-
|
|
10804
|
-
### `ChangesetMap`
|
|
10805
|
-
|
|
10806
|
-
Map of attribute name to pending changeset. At most one changeset per attribute.
|
|
10807
|
-
|
|
10808
|
-
```ts
|
|
10809
|
-
type ChangesetMap = Record<string, {
|
|
10810
|
-
proposed_value: unknown
|
|
10811
|
-
previous_value?: unknown
|
|
10812
|
-
created_at: string // date-time
|
|
10813
|
-
created_by?: {
|
|
10814
|
-
type?: "user" | "portal_user" | "api_client" | "automation"
|
|
10815
|
-
id?: string
|
|
10816
|
-
}
|
|
10817
|
-
edit_mode: "external" | "approval"
|
|
10818
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
10819
|
-
source?: string
|
|
10820
|
-
related_values?: Record<string, {
|
|
10821
|
-
proposed_value?: unknown
|
|
10822
|
-
previous_value?: unknown
|
|
10823
|
-
}>
|
|
10824
|
-
}>
|
|
10825
|
-
```
|
|
10826
|
-
|
|
10827
|
-
### `EditModeConfig`
|
|
10828
|
-
|
|
10829
|
-
Configuration for non-direct edit modes on an entity attribute.
|
|
10830
|
-
|
|
10831
|
-
```ts
|
|
10832
|
-
type EditModeConfig = {
|
|
10833
|
-
match_strategy?: "exact" | "fuzzy" | "any"
|
|
10834
|
-
fuzzy_config?: {
|
|
10835
|
-
type: "suffix" | "digits_only" | "normalize_phone" | "ignore_fields" | "contains_entry" | "regex"
|
|
10836
|
-
suffix_length?: number
|
|
10837
|
-
fields_to_ignore?: string[]
|
|
10838
|
-
regex_flags?: string
|
|
10839
|
-
country_code?: string
|
|
10840
|
-
match_on?: string
|
|
10841
|
-
pattern?: string
|
|
10842
|
-
}
|
|
10843
|
-
}
|
|
10844
|
-
```
|
|
10845
|
-
|
|
10846
|
-
### `FuzzyConfig`
|
|
10847
|
-
|
|
10848
|
-
Configuration for fuzzy match strategies on changeset auto-clearing.
|
|
10849
|
-
|
|
10850
|
-
```ts
|
|
10851
|
-
type FuzzyConfig = {
|
|
10852
|
-
type: "suffix" | "digits_only" | "normalize_phone" | "ignore_fields" | "contains_entry" | "regex"
|
|
10853
|
-
suffix_length?: number
|
|
10854
|
-
fields_to_ignore?: string[]
|
|
10855
|
-
regex_flags?: string
|
|
10856
|
-
country_code?: string
|
|
10857
|
-
match_on?: string
|
|
10858
|
-
pattern?: string
|
|
10859
|
-
}
|
|
10860
|
-
```
|
|
10861
|
-
|
|
10862
|
-
### `MatchStrategy`
|
|
10863
|
-
|
|
10864
|
-
Strategy for auto-clearing the changeset when an external update is received.
|
|
10865
|
-
- `exact`: The inbound value must exactly match the proposed value (deep equality).
|
|
10866
|
-
- `fuzzy`: The inbound value is compared using the configured fuzzy algorithm.
|
|
10867
|
-
- `any`: Any update to the attribute clears the changeset,
|
|
10868
|
-
|
|
10869
|
-
```ts
|
|
10870
|
-
type MatchStrategy = "exact" | "fuzzy" | "any"
|
|
10871
|
-
```
|