@epilot/entity-client 4.29.1 → 4.29.3

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
@@ -44,6 +44,7 @@ declare namespace Components {
44
44
  * contact
45
45
  */
46
46
  Schemas.EntitySlug[];
47
+ export type FillActivityQueryParam = boolean;
47
48
  export type FromPageQueryParam = number;
48
49
  export type HydrateEntitiesQueryParam = boolean;
49
50
  export type IncludeReverseDeprecatedQueryParam = boolean;
@@ -57,6 +58,7 @@ declare namespace Components {
57
58
  export type SavedViewIdPathParam = /* Generated uuid for a saved view */ Schemas.SavedViewId /* uuid */;
58
59
  export type TaxonomyClassificationSlugPathParam = string;
59
60
  export type TaxonomySlugPathParam = string;
61
+ export type TaxonomySlugQueryParam = string;
60
62
  export type TaxonomySlugQueryParamOptional = string;
61
63
  }
62
64
  export interface PathParameters {
@@ -74,6 +76,7 @@ declare namespace Components {
74
76
  ActivityIdPathParam?: Parameters.ActivityIdPathParam;
75
77
  }
76
78
  export interface QueryParameters {
79
+ TaxonomySlugQueryParam?: Parameters.TaxonomySlugQueryParam;
77
80
  TaxonomySlugQueryParamOptional?: Parameters.TaxonomySlugQueryParamOptional;
78
81
  AsyncOperationQueryParam?: Parameters.AsyncOperationQueryParam;
79
82
  HydrateEntitiesQueryParam?: Parameters.HydrateEntitiesQueryParam;
@@ -85,6 +88,7 @@ declare namespace Components {
85
88
  ExcludeSchemasQueryParam?: Parameters.ExcludeSchemasQueryParam;
86
89
  EntityRelationsModeQueryParam?: Parameters.EntityRelationsModeQueryParam;
87
90
  DryRunQueryParam?: Parameters.DryRunQueryParam;
91
+ FillActivityQueryParam?: Parameters.FillActivityQueryParam;
88
92
  }
89
93
  namespace Schemas {
90
94
  export interface Activity {
@@ -117,6 +121,12 @@ declare namespace Components {
117
121
  payload?: {
118
122
  [name: string]: any;
119
123
  };
124
+ /**
125
+ * Indicates whether the activity is in the pending state.
126
+ * Pending activities are not yet visible in the activity feed and events are not yet dispatched.
127
+ *
128
+ */
129
+ pending?: boolean;
120
130
  }
121
131
  export interface ActivityCallerContext {
122
132
  [name: string]: any;
@@ -212,6 +222,12 @@ declare namespace Components {
212
222
  payload?: {
213
223
  [name: string]: any;
214
224
  };
225
+ /**
226
+ * Indicates whether the activity is in the pending state.
227
+ * Pending activities are not yet visible in the activity feed and events are not yet dispatched.
228
+ *
229
+ */
230
+ pending?: boolean;
215
231
  caller?: ActivityCallerContext;
216
232
  /**
217
233
  * Count of total operations attached to this activity
@@ -364,6 +380,12 @@ declare namespace Components {
364
380
  * contact:97644baa-083f-4e49-9188-fcff2ecaad7d
365
381
  */
366
382
  composite_id?: string;
383
+ /**
384
+ * Schema slug the attribute belongs to
385
+ * example:
386
+ * contact
387
+ */
388
+ schema?: string;
367
389
  } & (/* a readonly computed ID for the attribute including schema slug and the attribute ID */ /* Textarea or text input */ TextAttribute | /* Link with title and href */ LinkAttribute | /* Date or Datetime picker */ DateAttribute | /* Country picker */ CountryAttribute | /* Yes / No Toggle */ BooleanAttribute | /* Dropdown select */ SelectAttribute | /* Multi Choice Selection */ MultiSelectAttribute | /* Status select */ StatusAttribute | /* Sequence of unique identifiers */ SequenceAttribute | /* Entity Relationship */ RelationAttribute | /* User Relationship */ UserRelationAttribute | /* Reference to an address attribute of another entity */ AddressRelationAttribute | /* Reference to a payment method attribute of another entity */ PaymentMethodRelationAttribute | /* Currency input */ CurrencyAttribute | /* Repeatable (add N number of fields) */ RepeatableAttribute | /* Tags */ TagsAttribute | /* Numeric input */ NumberAttribute | /* Consent Management */ ConsentAttribute | /* No UI representation */ InternalAttribute | /* Type of attribute to render N number of ordered fields */ OrderedListAttribute | /* File or Image Attachment */ FileAttribute | /* An attribute that is computed from the entity data. For more details on how to use them, check the docs [here](https://e-pilot.atlassian.net/wiki/spaces/EO/pages/5642977476/How+To+Computed+Schema+Attributes) */ ComputedAttribute | /* Partner Status */ PartnerStatusAttribute | /* Email address for send invitation */ InvitationEmailAttribute | /* Automation entity */ AutomationAttribute | /* Epilot internal user info */ InternalUserAttribute | /* Entity Taxonomy */ PurposeAttribute | /* Shared Partner Organisations */ PartnerOrganisationAttribute);
368
390
  /**
369
391
  * Automation entity
@@ -534,6 +556,12 @@ declare namespace Components {
534
556
  payload?: {
535
557
  [name: string]: any;
536
558
  };
559
+ /**
560
+ * Indicates whether the activity is in the pending state.
561
+ * Pending activities are not yet visible in the activity feed and events are not yet dispatched.
562
+ *
563
+ */
564
+ pending?: boolean;
537
565
  caller?: ActivityCallerContext;
538
566
  }
539
567
  export interface BaseAttribute {
@@ -693,7 +721,10 @@ declare namespace Components {
693
721
  * "delete": [
694
722
  * "org:456"
695
723
  * ]
696
- * }
724
+ * },
725
+ * "_manifest": [
726
+ * "123e4567-e89b-12d3-a456-426614174000"
727
+ * ]
697
728
  * }
698
729
  */
699
730
  export interface BaseEntity {
@@ -725,6 +756,10 @@ declare namespace Components {
725
756
  _updated_at: string | null; // date-time
726
757
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
727
758
  _purpose?: string[] | null;
759
+ /**
760
+ * Manifest ID used to create/update the entity
761
+ */
762
+ _manifest?: string /* uuid */[] | null;
728
763
  }
729
764
  /**
730
765
  * Reference to blueprint
@@ -867,6 +902,12 @@ declare namespace Components {
867
902
  * taxonomy-slug:classification-slug
868
903
  */
869
904
  export type ClassificationId = string;
905
+ /**
906
+ * URL-friendly identifier for the classification
907
+ * example:
908
+ * wallbox-pv
909
+ */
910
+ export type ClassificationSlug = string;
870
911
  export interface ClassificationsUpdate {
871
912
  create?: TaxonomyClassification[];
872
913
  update?: TaxonomyClassification[];
@@ -1548,6 +1589,16 @@ declare namespace Components {
1548
1589
  };
1549
1590
  type?: "date" | "datetime";
1550
1591
  }
1592
+ export interface ESClusterAssignment {
1593
+ /**
1594
+ * The organization for which the cluster assignment is returned
1595
+ */
1596
+ orgId?: string;
1597
+ /**
1598
+ * Name of the elastic cluster the organization is assigned to
1599
+ */
1600
+ cluster?: string;
1601
+ }
1551
1602
  /**
1552
1603
  * example:
1553
1604
  * {
@@ -1577,7 +1628,10 @@ declare namespace Components {
1577
1628
  * "delete": [
1578
1629
  * "org:456"
1579
1630
  * ]
1580
- * }
1631
+ * },
1632
+ * "_manifest": [
1633
+ * "123e4567-e89b-12d3-a456-426614174000"
1634
+ * ]
1581
1635
  * }
1582
1636
  */
1583
1637
  export interface Entity {
@@ -1609,6 +1663,10 @@ declare namespace Components {
1609
1663
  _updated_at?: string | null; // date-time
1610
1664
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
1611
1665
  _purpose?: string[] | null;
1666
+ /**
1667
+ * Manifest ID used to create/update the entity
1668
+ */
1669
+ _manifest?: string /* uuid */[] | null;
1612
1670
  }
1613
1671
  /**
1614
1672
  * Access control list (ACL) for an entity. Defines sharing access to external orgs or users.
@@ -1882,6 +1940,12 @@ declare namespace Components {
1882
1940
  * contact:97644baa-083f-4e49-9188-fcff2ecaad7d
1883
1941
  */
1884
1942
  composite_id?: string;
1943
+ /**
1944
+ * Schema slug the capability belongs to
1945
+ * example:
1946
+ * contact
1947
+ */
1948
+ schema?: string;
1885
1949
  }
1886
1950
  export interface EntityDefaultCreate {
1887
1951
  view_type?: "default";
@@ -1985,7 +2049,11 @@ declare namespace Components {
1985
2049
  * "org:456",
1986
2050
  * "org:456"
1987
2051
  * ]
1988
- * }
2052
+ * },
2053
+ * "_manifest": [
2054
+ * "123e4567-e89b-12d3-a456-426614174000",
2055
+ * "123e4567-e89b-12d3-a456-426614174000"
2056
+ * ]
1989
2057
  * }
1990
2058
  */
1991
2059
  export interface EntityItem {
@@ -2017,6 +2085,10 @@ declare namespace Components {
2017
2085
  _updated_at: string | null; // date-time
2018
2086
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
2019
2087
  _purpose?: string[] | null;
2088
+ /**
2089
+ * Manifest ID used to create/update the entity
2090
+ */
2091
+ _manifest?: string /* uuid */[] | null;
2020
2092
  }
2021
2093
  export interface EntityListParams {
2022
2094
  filter: /**
@@ -2043,10 +2115,9 @@ declare namespace Components {
2043
2115
  */
2044
2116
  allow_targeting_all_schemas?: boolean;
2045
2117
  /**
2046
- * example:
2047
- * _created_at:desc
2118
+ * You can pass one sort field or an array of sort fields. Each sort field can be a string
2048
2119
  */
2049
- sort?: string;
2120
+ sort?: /* You can pass one sort field or an array of sort fields. Each sort field can be a string */ string | string[];
2050
2121
  from?: number;
2051
2122
  /**
2052
2123
  * Max search size is 1000 with higher values defaulting to 1000
@@ -2149,6 +2220,9 @@ declare namespace Components {
2149
2220
  * "org:456"
2150
2221
  * ]
2151
2222
  * },
2223
+ * "_manifest": [
2224
+ * "123e4567-e89b-12d3-a456-426614174000"
2225
+ * ],
2152
2226
  * "status": "Inactive"
2153
2227
  * }
2154
2228
  */
@@ -2181,6 +2255,10 @@ declare namespace Components {
2181
2255
  _updated_at?: string | null; // date-time
2182
2256
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
2183
2257
  _purpose?: string[] | null;
2258
+ /**
2259
+ * Manifest ID used to create/update the entity
2260
+ */
2261
+ _manifest?: string /* uuid */[] | null;
2184
2262
  };
2185
2263
  diff?: {
2186
2264
  added?: /**
@@ -2212,7 +2290,10 @@ declare namespace Components {
2212
2290
  * "delete": [
2213
2291
  * "org:456"
2214
2292
  * ]
2215
- * }
2293
+ * },
2294
+ * "_manifest": [
2295
+ * "123e4567-e89b-12d3-a456-426614174000"
2296
+ * ]
2216
2297
  * }
2217
2298
  */
2218
2299
  Entity;
@@ -2245,7 +2326,10 @@ declare namespace Components {
2245
2326
  * "delete": [
2246
2327
  * "org:456"
2247
2328
  * ]
2248
- * }
2329
+ * },
2330
+ * "_manifest": [
2331
+ * "123e4567-e89b-12d3-a456-426614174000"
2332
+ * ]
2249
2333
  * }
2250
2334
  */
2251
2335
  Entity;
@@ -2278,7 +2362,10 @@ declare namespace Components {
2278
2362
  * "delete": [
2279
2363
  * "org:456"
2280
2364
  * ]
2281
- * }
2365
+ * },
2366
+ * "_manifest": [
2367
+ * "123e4567-e89b-12d3-a456-426614174000"
2368
+ * ]
2282
2369
  * }
2283
2370
  */
2284
2371
  Entity;
@@ -2532,7 +2619,7 @@ declare namespace Components {
2532
2619
  * example:
2533
2620
  * e18a532b-ae79-4d86-a6a5-e5dbfb579d14
2534
2621
  */
2535
- id: string;
2622
+ id?: string;
2536
2623
  /**
2537
2624
  * Render order of the group
2538
2625
  */
@@ -2589,7 +2676,7 @@ declare namespace Components {
2589
2676
  * example:
2590
2677
  * e18a532b-ae79-4d86-a6a5-e5dbfb579d14
2591
2678
  */
2592
- id: string;
2679
+ id?: string;
2593
2680
  /**
2594
2681
  * Render order of the group
2595
2682
  */
@@ -2637,6 +2724,12 @@ declare namespace Components {
2637
2724
  * contact:e18a532b-ae79-4d86-a6a5-e5dbfb579d14
2638
2725
  */
2639
2726
  composite_id?: string;
2727
+ /**
2728
+ * Schema slug the group belongs to
2729
+ * example:
2730
+ * contact
2731
+ */
2732
+ schema?: string;
2640
2733
  }
2641
2734
  /**
2642
2735
  * The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities.
@@ -2868,10 +2961,9 @@ declare namespace Components {
2868
2961
  }
2869
2962
  export interface EntitySearchOptions {
2870
2963
  /**
2871
- * example:
2872
- * _created_at:desc
2964
+ * You can pass one sort field or an array of sort fields. Each sort field can be a string
2873
2965
  */
2874
- sort?: string;
2966
+ sort?: /* You can pass one sort field or an array of sort fields. Each sort field can be a string */ string | string[];
2875
2967
  from?: number;
2876
2968
  /**
2877
2969
  * Max search size is 1000 with higher values defaulting to 1000
@@ -2926,10 +3018,9 @@ declare namespace Components {
2926
3018
  */
2927
3019
  include_scores?: boolean;
2928
3020
  /**
2929
- * example:
2930
- * _created_at:desc
3021
+ * You can pass one sort field or an array of sort fields. Each sort field can be a string
2931
3022
  */
2932
- sort?: string;
3023
+ sort?: /* You can pass one sort field or an array of sort fields. Each sort field can be a string */ string | string[];
2933
3024
  from?: number;
2934
3025
  /**
2935
3026
  * Max search size is 1000 with higher values defaulting to 1000
@@ -3017,7 +3108,11 @@ declare namespace Components {
3017
3108
  * "org:456",
3018
3109
  * "org:456"
3019
3110
  * ]
3020
- * }
3111
+ * },
3112
+ * "_manifest": [
3113
+ * "123e4567-e89b-12d3-a456-426614174000",
3114
+ * "123e4567-e89b-12d3-a456-426614174000"
3115
+ * ]
3021
3116
  * }
3022
3117
  */
3023
3118
  EntityItem[];
@@ -3127,6 +3222,7 @@ declare namespace Components {
3127
3222
  */
3128
3223
  message: string;
3129
3224
  }
3225
+ export type EntityValidationResult = /* Validation result for a successful validation */ EntityValidationResultSuccess | /* Validation result for a failed validation */ EntityValidationResultError;
3130
3226
  /**
3131
3227
  * Validation result for a failed validation
3132
3228
  */
@@ -3320,6 +3416,22 @@ declare namespace Components {
3320
3416
  enable_description?: boolean;
3321
3417
  default_access_control?: "public-read" | "private";
3322
3418
  }
3419
+ export interface GenerateEntityTableAIFiltersRequest {
3420
+ /**
3421
+ * The prompt to generate the filters
3422
+ * example:
3423
+ * Show me all contacts that are not customers
3424
+ */
3425
+ prompt: string;
3426
+ /**
3427
+ * The main entity slug
3428
+ * example:
3429
+ * order
3430
+ */
3431
+ main_entity_slug: string;
3432
+ filter_options: EntityTableFilterOption[];
3433
+ }
3434
+ export type GenerateEntityTableAIFiltersResponse = EntityTableFilterSearch[];
3323
3435
  export interface GetRelatedEntitiesCount {
3324
3436
  /**
3325
3437
  * example:
@@ -3356,7 +3468,10 @@ declare namespace Components {
3356
3468
  * "delete": [
3357
3469
  * "org:456"
3358
3470
  * ]
3359
- * }
3471
+ * },
3472
+ * "_manifest": [
3473
+ * "123e4567-e89b-12d3-a456-426614174000"
3474
+ * ]
3360
3475
  * }
3361
3476
  */
3362
3477
  RelationEntity)[];
@@ -3435,6 +3550,134 @@ declare namespace Components {
3435
3550
  entity_id: EntityId /* uuid */;
3436
3551
  }[];
3437
3552
  }
3553
+ /**
3554
+ * Entity with relation data resolved into the attribute values
3555
+ * example:
3556
+ * {
3557
+ * "_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
3558
+ * "_org": "123",
3559
+ * "_owners": [
3560
+ * {
3561
+ * "org_id": "123",
3562
+ * "user_id": "123"
3563
+ * }
3564
+ * ],
3565
+ * "_schema": "contact",
3566
+ * "_tags": [
3567
+ * "example",
3568
+ * "mock"
3569
+ * ],
3570
+ * "_created_at": "2021-02-09T12:41:43.662Z",
3571
+ * "_updated_at": "2021-02-09T12:41:43.662Z",
3572
+ * "_acl": {
3573
+ * "view": [
3574
+ * "org:456",
3575
+ * "org:789"
3576
+ * ],
3577
+ * "edit": [
3578
+ * "org:456"
3579
+ * ],
3580
+ * "delete": [
3581
+ * "org:456"
3582
+ * ]
3583
+ * },
3584
+ * "_manifest": [
3585
+ * "123e4567-e89b-12d3-a456-426614174000"
3586
+ * ],
3587
+ * "_relations": [
3588
+ * {
3589
+ * "entity_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
3590
+ * }
3591
+ * ],
3592
+ * "status": "active",
3593
+ * "customer_number": "abc123",
3594
+ * "email": [
3595
+ * {
3596
+ * "label": "work",
3597
+ * "email": "user@example.com"
3598
+ * }
3599
+ * ],
3600
+ * "phone": [
3601
+ * {
3602
+ * "label": "work",
3603
+ * "phone": "+49123456789"
3604
+ * }
3605
+ * ],
3606
+ * "first_name": "First Name",
3607
+ * "middle_name": "Middle Name",
3608
+ * "last_name": "Last Name",
3609
+ * "date_of_birth": "2019-08-24",
3610
+ * "title": "Mr.",
3611
+ * "account": [
3612
+ * {
3613
+ * "status": "active",
3614
+ * "name": "Company name",
3615
+ * "company_email": [
3616
+ * {
3617
+ * "label": "Company email",
3618
+ * "email": "company@example.com"
3619
+ * }
3620
+ * ],
3621
+ * "company_phone": [
3622
+ * {
3623
+ * "label": "Support phone",
3624
+ * "phone": "+49123456789"
3625
+ * }
3626
+ * ],
3627
+ * "company_website": "https://example.com",
3628
+ * "tax_id": "DE123456789",
3629
+ * "tax_exemption": "2019-08-24",
3630
+ * "contacts": {
3631
+ * "$relation": [
3632
+ * {
3633
+ * "_tags": [
3634
+ * "CEO"
3635
+ * ],
3636
+ * "entity_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
3637
+ * }
3638
+ * ]
3639
+ * }
3640
+ * }
3641
+ * ]
3642
+ * }
3643
+ */
3644
+ export interface HydratedEntityItem {
3645
+ [name: string]: any;
3646
+ _id: EntityId /* uuid */;
3647
+ /**
3648
+ * Organization Id the entity belongs to
3649
+ */
3650
+ _org: string;
3651
+ _owners?: /**
3652
+ * The user / organization owning this entity.
3653
+ *
3654
+ * Note: Owner implicitly has access to the entity regardless of ACLs.
3655
+ *
3656
+ */
3657
+ EntityOwner[];
3658
+ _schema: /**
3659
+ * URL-friendly identifier for the entity schema
3660
+ * example:
3661
+ * contact
3662
+ */
3663
+ EntitySlug;
3664
+ /**
3665
+ * Title of entity
3666
+ */
3667
+ _title: string | null;
3668
+ _tags?: string[] | null;
3669
+ _created_at: string | null; // date-time
3670
+ _updated_at: string | null; // date-time
3671
+ _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
3672
+ _purpose?: string[] | null;
3673
+ /**
3674
+ * Manifest ID used to create/update the entity
3675
+ */
3676
+ _manifest?: string /* uuid */[] | null;
3677
+ _relations: {
3678
+ entity_id: EntityId /* uuid */;
3679
+ }[];
3680
+ }
3438
3681
  /**
3439
3682
  * No UI representation
3440
3683
  */
@@ -5204,7 +5447,11 @@ declare namespace Components {
5204
5447
  * "org:456",
5205
5448
  * "org:456"
5206
5449
  * ]
5207
- * }
5450
+ * },
5451
+ * "_manifest": [
5452
+ * "123e4567-e89b-12d3-a456-426614174000",
5453
+ * "123e4567-e89b-12d3-a456-426614174000"
5454
+ * ]
5208
5455
  * }
5209
5456
  */
5210
5457
  new_entity_item?: {
@@ -5236,6 +5483,10 @@ declare namespace Components {
5236
5483
  _updated_at: string | null; // date-time
5237
5484
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
5238
5485
  _purpose?: string[] | null;
5486
+ /**
5487
+ * Manifest ID used to create/update the entity
5488
+ */
5489
+ _manifest?: string /* uuid */[] | null;
5239
5490
  };
5240
5491
  }[];
5241
5492
  drawer_size?: "small" | "medium" | "large";
@@ -5289,7 +5540,10 @@ declare namespace Components {
5289
5540
  * "delete": [
5290
5541
  * "org:456"
5291
5542
  * ]
5292
- * }
5543
+ * },
5544
+ * "_manifest": [
5545
+ * "123e4567-e89b-12d3-a456-426614174000"
5546
+ * ]
5293
5547
  * }
5294
5548
  */
5295
5549
  export interface RelationEntity {
@@ -5321,6 +5575,10 @@ declare namespace Components {
5321
5575
  _updated_at: string | null; // date-time
5322
5576
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
5323
5577
  _purpose?: string[] | null;
5578
+ /**
5579
+ * Manifest ID used to create/update the entity
5580
+ */
5581
+ _manifest?: string /* uuid */[] | null;
5324
5582
  $relation?: RelationItem;
5325
5583
  }
5326
5584
  export interface RelationItem {
@@ -6791,6 +7049,12 @@ declare namespace Components {
6791
7049
  declare namespace Paths {
6792
7050
  namespace AddRelations {
6793
7051
  namespace Parameters {
7052
+ export type ActivityId = /**
7053
+ * See https://github.com/ulid/spec
7054
+ * example:
7055
+ * 01F130Q52Q6MWSNS8N2AVXV4JN
7056
+ */
7057
+ Components.Schemas.ActivityId /* ulid */;
6794
7058
  export type Async = boolean;
6795
7059
  export type Id = Components.Schemas.EntityId /* uuid */;
6796
7060
  export type Slug = /**
@@ -6806,6 +7070,7 @@ declare namespace Paths {
6806
7070
  }
6807
7071
  export interface QueryParameters {
6808
7072
  async?: Parameters.Async;
7073
+ activity_id?: Parameters.ActivityId;
6809
7074
  }
6810
7075
  export type RequestBody = Components.Schemas.RelationItem[];
6811
7076
  namespace Responses {
@@ -6898,6 +7163,7 @@ declare namespace Paths {
6898
7163
  */
6899
7164
  Components.Schemas.ActivityId /* ulid */;
6900
7165
  export type Async = boolean;
7166
+ export type FillActivity = boolean;
6901
7167
  export type Slug = /**
6902
7168
  * URL-friendly identifier for the entity schema
6903
7169
  * example:
@@ -6910,6 +7176,7 @@ declare namespace Paths {
6910
7176
  }
6911
7177
  export interface QueryParameters {
6912
7178
  activity_id?: Parameters.ActivityId;
7179
+ fill_activity?: Parameters.FillActivity;
6913
7180
  async?: Parameters.Async;
6914
7181
  }
6915
7182
  export type RequestBody = /**
@@ -6941,7 +7208,10 @@ declare namespace Paths {
6941
7208
  * "delete": [
6942
7209
  * "org:456"
6943
7210
  * ]
6944
- * }
7211
+ * },
7212
+ * "_manifest": [
7213
+ * "123e4567-e89b-12d3-a456-426614174000"
7214
+ * ]
6945
7215
  * }
6946
7216
  */
6947
7217
  Components.Schemas.Entity;
@@ -6985,7 +7255,11 @@ declare namespace Paths {
6985
7255
  * "org:456",
6986
7256
  * "org:456"
6987
7257
  * ]
6988
- * }
7258
+ * },
7259
+ * "_manifest": [
7260
+ * "123e4567-e89b-12d3-a456-426614174000",
7261
+ * "123e4567-e89b-12d3-a456-426614174000"
7262
+ * ]
6989
7263
  * }
6990
7264
  */
6991
7265
  Components.Schemas.EntityItem;
@@ -6997,6 +7271,24 @@ declare namespace Paths {
6997
7271
  export type $201 = /* A saved entity view */ Components.Schemas.SavedViewItem;
6998
7272
  }
6999
7273
  }
7274
+ namespace CreateSchemaAttribute {
7275
+ export type RequestBody = /* a readonly computed ID for the attribute including schema slug and the attribute ID */ Components.Schemas.AttributeWithCompositeID;
7276
+ namespace Responses {
7277
+ export type $201 = /* a readonly computed ID for the attribute including schema slug and the attribute ID */ Components.Schemas.AttributeWithCompositeID;
7278
+ }
7279
+ }
7280
+ namespace CreateSchemaCapability {
7281
+ export type RequestBody = /* a readonly computed ID for the entity capability including schema slug and the capability ID */ Components.Schemas.EntityCapabilityWithCompositeID;
7282
+ namespace Responses {
7283
+ export type $201 = /* a readonly computed ID for the entity capability including schema slug and the capability ID */ Components.Schemas.EntityCapabilityWithCompositeID;
7284
+ }
7285
+ }
7286
+ namespace CreateSchemaGroup {
7287
+ export type RequestBody = /* a readonly computed ID for the group including schema slug and the group ID */ Components.Schemas.EntitySchemaGroupWithCompositeID;
7288
+ namespace Responses {
7289
+ export type $201 = /* a readonly computed ID for the group including schema slug and the group ID */ Components.Schemas.EntitySchemaGroupWithCompositeID;
7290
+ }
7291
+ }
7000
7292
  namespace CreateTaxonomy {
7001
7293
  export type RequestBody = Components.Schemas.Taxonomy;
7002
7294
  namespace Responses {
@@ -7283,7 +7575,11 @@ declare namespace Paths {
7283
7575
  * "org:456",
7284
7576
  * "org:456"
7285
7577
  * ]
7286
- * }
7578
+ * },
7579
+ * "_manifest": [
7580
+ * "123e4567-e89b-12d3-a456-426614174000",
7581
+ * "123e4567-e89b-12d3-a456-426614174000"
7582
+ * ]
7287
7583
  * }
7288
7584
  */
7289
7585
  Components.Schemas.EntityItem;
@@ -7326,7 +7622,11 @@ declare namespace Paths {
7326
7622
  * "org:456",
7327
7623
  * "org:456"
7328
7624
  * ]
7329
- * }
7625
+ * },
7626
+ * "_manifest": [
7627
+ * "123e4567-e89b-12d3-a456-426614174000",
7628
+ * "123e4567-e89b-12d3-a456-426614174000"
7629
+ * ]
7330
7630
  * }
7331
7631
  */
7332
7632
  Components.Schemas.EntityItem[];
@@ -7457,7 +7757,11 @@ declare namespace Paths {
7457
7757
  * "org:456",
7458
7758
  * "org:456"
7459
7759
  * ]
7460
- * }
7760
+ * },
7761
+ * "_manifest": [
7762
+ * "123e4567-e89b-12d3-a456-426614174000",
7763
+ * "123e4567-e89b-12d3-a456-426614174000"
7764
+ * ]
7461
7765
  * }
7462
7766
  */
7463
7767
  Components.Schemas.EntityItem;
@@ -7528,6 +7832,15 @@ declare namespace Paths {
7528
7832
  * "type": "string"
7529
7833
  * }
7530
7834
  * },
7835
+ * "_manifest": {
7836
+ * "type": "array",
7837
+ * "description": "Manifest ID used to create/update the entity",
7838
+ * "items": {
7839
+ * "type": "string",
7840
+ * "format": "uuid",
7841
+ * "example": "123e4567-e89b-12d3-a456-426614174000"
7842
+ * }
7843
+ * },
7531
7844
  * "_created_at": {
7532
7845
  * "readOnly": true,
7533
7846
  * "type": "string",
@@ -8246,6 +8559,7 @@ declare namespace Paths {
8246
8559
  Components.Schemas.ActivityId /* ulid */;
8247
8560
  export type Async = boolean;
8248
8561
  export type DryRun = boolean;
8562
+ export type FillActivity = boolean;
8249
8563
  export type Id = Components.Schemas.EntityId /* uuid */;
8250
8564
  export type Slug = /**
8251
8565
  * URL-friendly identifier for the entity schema
@@ -8260,6 +8574,7 @@ declare namespace Paths {
8260
8574
  }
8261
8575
  export interface QueryParameters {
8262
8576
  activity_id?: Parameters.ActivityId;
8577
+ fill_activity?: Parameters.FillActivity;
8263
8578
  dry_run?: Parameters.DryRun;
8264
8579
  async?: Parameters.Async;
8265
8580
  }
@@ -8292,7 +8607,10 @@ declare namespace Paths {
8292
8607
  * "delete": [
8293
8608
  * "org:456"
8294
8609
  * ]
8295
- * }
8610
+ * },
8611
+ * "_manifest": [
8612
+ * "123e4567-e89b-12d3-a456-426614174000"
8613
+ * ]
8296
8614
  * }
8297
8615
  */
8298
8616
  Components.Schemas.Entity;
@@ -8336,7 +8654,11 @@ declare namespace Paths {
8336
8654
  * "org:456",
8337
8655
  * "org:456"
8338
8656
  * ]
8339
- * }
8657
+ * },
8658
+ * "_manifest": [
8659
+ * "123e4567-e89b-12d3-a456-426614174000",
8660
+ * "123e4567-e89b-12d3-a456-426614174000"
8661
+ * ]
8340
8662
  * }
8341
8663
  */
8342
8664
  Components.Schemas.EntityItem;
@@ -8427,6 +8749,12 @@ declare namespace Paths {
8427
8749
  }
8428
8750
  namespace RemoveRelations {
8429
8751
  namespace Parameters {
8752
+ export type ActivityId = /**
8753
+ * See https://github.com/ulid/spec
8754
+ * example:
8755
+ * 01F130Q52Q6MWSNS8N2AVXV4JN
8756
+ */
8757
+ Components.Schemas.ActivityId /* ulid */;
8430
8758
  export type Async = boolean;
8431
8759
  export type Id = Components.Schemas.EntityId /* uuid */;
8432
8760
  export type Slug = /**
@@ -8442,6 +8770,7 @@ declare namespace Paths {
8442
8770
  }
8443
8771
  export interface QueryParameters {
8444
8772
  async?: Parameters.Async;
8773
+ activity_id?: Parameters.ActivityId;
8445
8774
  }
8446
8775
  export type RequestBody = Components.Schemas.RelationItem[];
8447
8776
  namespace Responses {
@@ -8531,6 +8860,7 @@ declare namespace Paths {
8531
8860
  */
8532
8861
  Components.Schemas.ActivityId /* ulid */;
8533
8862
  export type Async = boolean;
8863
+ export type FillActivity = boolean;
8534
8864
  export type Id = Components.Schemas.EntityId /* uuid */;
8535
8865
  export type Slug = /**
8536
8866
  * URL-friendly identifier for the entity schema
@@ -8545,6 +8875,7 @@ declare namespace Paths {
8545
8875
  }
8546
8876
  export interface QueryParameters {
8547
8877
  activity_id?: Parameters.ActivityId;
8878
+ fill_activity?: Parameters.FillActivity;
8548
8879
  async?: Parameters.Async;
8549
8880
  }
8550
8881
  export type RequestBody = /**
@@ -8576,7 +8907,10 @@ declare namespace Paths {
8576
8907
  * "delete": [
8577
8908
  * "org:456"
8578
8909
  * ]
8579
- * }
8910
+ * },
8911
+ * "_manifest": [
8912
+ * "123e4567-e89b-12d3-a456-426614174000"
8913
+ * ]
8580
8914
  * }
8581
8915
  */
8582
8916
  Components.Schemas.Entity;
@@ -8620,7 +8954,11 @@ declare namespace Paths {
8620
8954
  * "org:456",
8621
8955
  * "org:456"
8622
8956
  * ]
8623
- * }
8957
+ * },
8958
+ * "_manifest": [
8959
+ * "123e4567-e89b-12d3-a456-426614174000",
8960
+ * "123e4567-e89b-12d3-a456-426614174000"
8961
+ * ]
8624
8962
  * }
8625
8963
  */
8626
8964
  Components.Schemas.EntityItem;
@@ -8710,6 +9048,7 @@ declare namespace Paths {
8710
9048
  Components.Schemas.ActivityId /* ulid */;
8711
9049
  export type Async = boolean;
8712
9050
  export type DryRun = boolean;
9051
+ export type FillActivity = boolean;
8713
9052
  export type Slug = /**
8714
9053
  * URL-friendly identifier for the entity schema
8715
9054
  * example:
@@ -8723,6 +9062,7 @@ declare namespace Paths {
8723
9062
  }
8724
9063
  export interface QueryParameters {
8725
9064
  activity_id?: Parameters.ActivityId;
9065
+ fill_activity?: Parameters.FillActivity;
8726
9066
  dry_run?: Parameters.DryRun;
8727
9067
  async?: Parameters.Async;
8728
9068
  strict?: Parameters.Strict;
@@ -8764,7 +9104,10 @@ declare namespace Paths {
8764
9104
  * "delete": [
8765
9105
  * "org:456"
8766
9106
  * ]
8767
- * }
9107
+ * },
9108
+ * "_manifest": [
9109
+ * "123e4567-e89b-12d3-a456-426614174000"
9110
+ * ]
8768
9111
  * }
8769
9112
  */
8770
9113
  Components.Schemas.Entity;
@@ -8809,7 +9152,11 @@ declare namespace Paths {
8809
9152
  * "org:456",
8810
9153
  * "org:456"
8811
9154
  * ]
8812
- * }
9155
+ * },
9156
+ * "_manifest": [
9157
+ * "123e4567-e89b-12d3-a456-426614174000",
9158
+ * "123e4567-e89b-12d3-a456-426614174000"
9159
+ * ]
8813
9160
  * }
8814
9161
  */
8815
9162
  Components.Schemas.EntityItem;
@@ -8852,7 +9199,11 @@ declare namespace Paths {
8852
9199
  * "org:456",
8853
9200
  * "org:456"
8854
9201
  * ]
8855
- * }
9202
+ * },
9203
+ * "_manifest": [
9204
+ * "123e4567-e89b-12d3-a456-426614174000",
9205
+ * "123e4567-e89b-12d3-a456-426614174000"
9206
+ * ]
8856
9207
  * }
8857
9208
  */
8858
9209
  Components.Schemas.EntityItem;
@@ -8906,7 +9257,10 @@ declare namespace Paths {
8906
9257
  * "delete": [
8907
9258
  * "org:456"
8908
9259
  * ]
8909
- * }
9260
+ * },
9261
+ * "_manifest": [
9262
+ * "123e4567-e89b-12d3-a456-426614174000"
9263
+ * ]
8910
9264
  * }
8911
9265
  */
8912
9266
  Components.Schemas.Entity;
@@ -9677,6 +10031,16 @@ export interface OperationMethods {
9677
10031
  data?: any,
9678
10032
  config?: AxiosRequestConfig
9679
10033
  ): OperationResponse<Paths.DeleteTaxonomyClassification.Responses.$200>
10034
+ /**
10035
+ * createSchemaAttribute - createSchemaAttribute
10036
+ *
10037
+ * Create a schema attribute
10038
+ */
10039
+ 'createSchemaAttribute'(
10040
+ parameters?: Parameters<UnknownParamsObject> | null,
10041
+ data?: Paths.CreateSchemaAttribute.RequestBody,
10042
+ config?: AxiosRequestConfig
10043
+ ): OperationResponse<Paths.CreateSchemaAttribute.Responses.$201>
9680
10044
  /**
9681
10045
  * getSchemaAttribute - getSchemaAttribute
9682
10046
  *
@@ -9707,6 +10071,16 @@ export interface OperationMethods {
9707
10071
  data?: any,
9708
10072
  config?: AxiosRequestConfig
9709
10073
  ): OperationResponse<Paths.DeleteSchemaAttribute.Responses.$200>
10074
+ /**
10075
+ * createSchemaCapability - createSchemaCapability
10076
+ *
10077
+ * Create a schema capability
10078
+ */
10079
+ 'createSchemaCapability'(
10080
+ parameters?: Parameters<UnknownParamsObject> | null,
10081
+ data?: Paths.CreateSchemaCapability.RequestBody,
10082
+ config?: AxiosRequestConfig
10083
+ ): OperationResponse<Paths.CreateSchemaCapability.Responses.$201>
9710
10084
  /**
9711
10085
  * getSchemaCapability - getSchemaCapability
9712
10086
  *
@@ -9737,6 +10111,16 @@ export interface OperationMethods {
9737
10111
  data?: any,
9738
10112
  config?: AxiosRequestConfig
9739
10113
  ): OperationResponse<Paths.DeleteSchemaCapability.Responses.$200>
10114
+ /**
10115
+ * createSchemaGroup - createSchemaGroup
10116
+ *
10117
+ * Create a schema group
10118
+ */
10119
+ 'createSchemaGroup'(
10120
+ parameters?: Parameters<UnknownParamsObject> | null,
10121
+ data?: Paths.CreateSchemaGroup.RequestBody,
10122
+ config?: AxiosRequestConfig
10123
+ ): OperationResponse<Paths.CreateSchemaGroup.Responses.$201>
9740
10124
  /**
9741
10125
  * getSchemaGroup - getSchemaGroup
9742
10126
  *
@@ -10601,6 +10985,18 @@ export interface PathsDictionary {
10601
10985
  config?: AxiosRequestConfig
10602
10986
  ): OperationResponse<Paths.DeleteTaxonomyClassification.Responses.$200>
10603
10987
  }
10988
+ ['/v1/entity/schemas/attributes']: {
10989
+ /**
10990
+ * createSchemaAttribute - createSchemaAttribute
10991
+ *
10992
+ * Create a schema attribute
10993
+ */
10994
+ 'post'(
10995
+ parameters?: Parameters<UnknownParamsObject> | null,
10996
+ data?: Paths.CreateSchemaAttribute.RequestBody,
10997
+ config?: AxiosRequestConfig
10998
+ ): OperationResponse<Paths.CreateSchemaAttribute.Responses.$201>
10999
+ }
10604
11000
  ['/v1/entity/schemas/attributes/{composite_id}']: {
10605
11001
  /**
10606
11002
  * getSchemaAttribute - getSchemaAttribute
@@ -10633,6 +11029,18 @@ export interface PathsDictionary {
10633
11029
  config?: AxiosRequestConfig
10634
11030
  ): OperationResponse<Paths.DeleteSchemaAttribute.Responses.$200>
10635
11031
  }
11032
+ ['/v1/entity/schemas/capabilities']: {
11033
+ /**
11034
+ * createSchemaCapability - createSchemaCapability
11035
+ *
11036
+ * Create a schema capability
11037
+ */
11038
+ 'post'(
11039
+ parameters?: Parameters<UnknownParamsObject> | null,
11040
+ data?: Paths.CreateSchemaCapability.RequestBody,
11041
+ config?: AxiosRequestConfig
11042
+ ): OperationResponse<Paths.CreateSchemaCapability.Responses.$201>
11043
+ }
10636
11044
  ['/v1/entity/schemas/capabilities/{composite_id}']: {
10637
11045
  /**
10638
11046
  * getSchemaCapability - getSchemaCapability
@@ -10665,6 +11073,18 @@ export interface PathsDictionary {
10665
11073
  config?: AxiosRequestConfig
10666
11074
  ): OperationResponse<Paths.DeleteSchemaCapability.Responses.$200>
10667
11075
  }
11076
+ ['/v1/entity/schemas/group']: {
11077
+ /**
11078
+ * createSchemaGroup - createSchemaGroup
11079
+ *
11080
+ * Create a schema group
11081
+ */
11082
+ 'post'(
11083
+ parameters?: Parameters<UnknownParamsObject> | null,
11084
+ data?: Paths.CreateSchemaGroup.RequestBody,
11085
+ config?: AxiosRequestConfig
11086
+ ): OperationResponse<Paths.CreateSchemaGroup.Responses.$201>
11087
+ }
10668
11088
  ['/v1/entity/schemas/group/{composite_id}']: {
10669
11089
  /**
10670
11090
  * getSchemaGroup - getSchemaGroup
@@ -10715,12 +11135,14 @@ export type BaseEntity = Components.Schemas.BaseEntity;
10715
11135
  export type BlueprintEntityId = Components.Schemas.BlueprintEntityId;
10716
11136
  export type BooleanAttribute = Components.Schemas.BooleanAttribute;
10717
11137
  export type ClassificationId = Components.Schemas.ClassificationId;
11138
+ export type ClassificationSlug = Components.Schemas.ClassificationSlug;
10718
11139
  export type ClassificationsUpdate = Components.Schemas.ClassificationsUpdate;
10719
11140
  export type ComputedAttribute = Components.Schemas.ComputedAttribute;
10720
11141
  export type ConsentAttribute = Components.Schemas.ConsentAttribute;
10721
11142
  export type CountryAttribute = Components.Schemas.CountryAttribute;
10722
11143
  export type CurrencyAttribute = Components.Schemas.CurrencyAttribute;
10723
11144
  export type DateAttribute = Components.Schemas.DateAttribute;
11145
+ export type ESClusterAssignment = Components.Schemas.ESClusterAssignment;
10724
11146
  export type Entity = Components.Schemas.Entity;
10725
11147
  export type EntityAcl = Components.Schemas.EntityAcl;
10726
11148
  export type EntityAction = Components.Schemas.EntityAction;
@@ -10746,16 +11168,20 @@ export type EntitySlug = Components.Schemas.EntitySlug;
10746
11168
  export type EntityTableFilterOption = Components.Schemas.EntityTableFilterOption;
10747
11169
  export type EntityTableFilterSearch = Components.Schemas.EntityTableFilterSearch;
10748
11170
  export type EntityValidationError = Components.Schemas.EntityValidationError;
11171
+ export type EntityValidationResult = Components.Schemas.EntityValidationResult;
10749
11172
  export type EntityValidationResultError = Components.Schemas.EntityValidationResultError;
10750
11173
  export type EntityValidationResultSuccess = Components.Schemas.EntityValidationResultSuccess;
10751
11174
  export type EntityViewDisabled = Components.Schemas.EntityViewDisabled;
10752
11175
  export type ExportJobId = Components.Schemas.ExportJobId;
10753
11176
  export type FieldsParam = Components.Schemas.FieldsParam;
10754
11177
  export type FileAttribute = Components.Schemas.FileAttribute;
11178
+ export type GenerateEntityTableAIFiltersRequest = Components.Schemas.GenerateEntityTableAIFiltersRequest;
11179
+ export type GenerateEntityTableAIFiltersResponse = Components.Schemas.GenerateEntityTableAIFiltersResponse;
10755
11180
  export type GetRelatedEntitiesCount = Components.Schemas.GetRelatedEntitiesCount;
10756
11181
  export type GetRelationsResp = Components.Schemas.GetRelationsResp;
10757
11182
  export type GetRelationsRespWithPagination = Components.Schemas.GetRelationsRespWithPagination;
10758
11183
  export type HydratedEntity = Components.Schemas.HydratedEntity;
11184
+ export type HydratedEntityItem = Components.Schemas.HydratedEntityItem;
10759
11185
  export type InternalAttribute = Components.Schemas.InternalAttribute;
10760
11186
  export type InternalUserAttribute = Components.Schemas.InternalUserAttribute;
10761
11187
  export type InvitationEmailAttribute = Components.Schemas.InvitationEmailAttribute;