@epilot/entity-client 4.25.0 → 4.25.1

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
@@ -224,6 +224,12 @@ declare namespace Components {
224
224
  * Reference to an address attribute of another entity
225
225
  */
226
226
  export interface AddressRelationAttribute {
227
+ /**
228
+ * ID for the entity attribute
229
+ * example:
230
+ * d5839b94-ba20-4225-a78e-76951d352bd6
231
+ */
232
+ id: string;
227
233
  name: string;
228
234
  label: string;
229
235
  placeholder?: string;
@@ -362,6 +368,12 @@ declare namespace Components {
362
368
  * Automation entity
363
369
  */
364
370
  export interface AutomationAttribute {
371
+ /**
372
+ * ID for the entity attribute
373
+ * example:
374
+ * d5839b94-ba20-4225-a78e-76951d352bd6
375
+ */
376
+ id: string;
365
377
  name: string;
366
378
  label: string;
367
379
  placeholder?: string;
@@ -524,6 +536,12 @@ declare namespace Components {
524
536
  caller?: ActivityCallerContext;
525
537
  }
526
538
  export interface BaseAttribute {
539
+ /**
540
+ * ID for the entity attribute
541
+ * example:
542
+ * d5839b94-ba20-4225-a78e-76951d352bd6
543
+ */
544
+ id: string;
527
545
  name: string;
528
546
  label: string;
529
547
  placeholder?: string;
@@ -714,6 +732,12 @@ declare namespace Components {
714
732
  * Yes / No Toggle
715
733
  */
716
734
  export interface BooleanAttribute {
735
+ /**
736
+ * ID for the entity attribute
737
+ * example:
738
+ * d5839b94-ba20-4225-a78e-76951d352bd6
739
+ */
740
+ id: string;
717
741
  name: string;
718
742
  label: string;
719
743
  placeholder?: string;
@@ -854,6 +878,12 @@ declare namespace Components {
854
878
  * 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)
855
879
  */
856
880
  export interface ComputedAttribute {
881
+ /**
882
+ * ID for the entity attribute
883
+ * example:
884
+ * d5839b94-ba20-4225-a78e-76951d352bd6
885
+ */
886
+ id: string;
857
887
  name: string;
858
888
  label: string;
859
889
  placeholder?: string;
@@ -980,6 +1010,12 @@ declare namespace Components {
980
1010
  * Consent Management
981
1011
  */
982
1012
  export interface ConsentAttribute {
1013
+ /**
1014
+ * ID for the entity attribute
1015
+ * example:
1016
+ * d5839b94-ba20-4225-a78e-76951d352bd6
1017
+ */
1018
+ id: string;
983
1019
  name: string;
984
1020
  label: string;
985
1021
  placeholder?: string;
@@ -1108,6 +1144,12 @@ declare namespace Components {
1108
1144
  * Country picker
1109
1145
  */
1110
1146
  export interface CountryAttribute {
1147
+ /**
1148
+ * ID for the entity attribute
1149
+ * example:
1150
+ * d5839b94-ba20-4225-a78e-76951d352bd6
1151
+ */
1152
+ id: string;
1111
1153
  name: string;
1112
1154
  label: string;
1113
1155
  placeholder?: string;
@@ -1234,6 +1276,12 @@ declare namespace Components {
1234
1276
  * Currency input
1235
1277
  */
1236
1278
  export interface CurrencyAttribute {
1279
+ /**
1280
+ * ID for the entity attribute
1281
+ * example:
1282
+ * d5839b94-ba20-4225-a78e-76951d352bd6
1283
+ */
1284
+ id: string;
1237
1285
  name: string;
1238
1286
  label: string;
1239
1287
  placeholder?: string;
@@ -1370,6 +1418,12 @@ declare namespace Components {
1370
1418
  * Date or Datetime picker
1371
1419
  */
1372
1420
  export interface DateAttribute {
1421
+ /**
1422
+ * ID for the entity attribute
1423
+ * example:
1424
+ * d5839b94-ba20-4225-a78e-76951d352bd6
1425
+ */
1426
+ id: string;
1373
1427
  name: string;
1374
1428
  label: string;
1375
1429
  placeholder?: string;
@@ -1595,6 +1649,12 @@ declare namespace Components {
1595
1649
  * Capabilities the Entity has. Turn features on/off for entities.
1596
1650
  */
1597
1651
  export interface EntityCapability {
1652
+ /**
1653
+ * ID for the entity capability
1654
+ * example:
1655
+ * d5839b94-ba20-4225-a78e-76951d352bd6
1656
+ */
1657
+ id: string;
1598
1658
  /**
1599
1659
  * Unique name for the capability
1600
1660
  * example:
@@ -1704,6 +1764,12 @@ declare namespace Components {
1704
1764
  * a readonly computed ID for the entity capability including schema slug and the capability ID
1705
1765
  */
1706
1766
  export interface EntityCapabilityWithCompositeID {
1767
+ /**
1768
+ * ID for the entity capability
1769
+ * example:
1770
+ * d5839b94-ba20-4225-a78e-76951d352bd6
1771
+ */
1772
+ id: string;
1707
1773
  /**
1708
1774
  * Unique name for the capability
1709
1775
  * example:
@@ -3010,6 +3076,12 @@ declare namespace Components {
3010
3076
  * File or Image Attachment
3011
3077
  */
3012
3078
  export interface FileAttribute {
3079
+ /**
3080
+ * ID for the entity attribute
3081
+ * example:
3082
+ * d5839b94-ba20-4225-a78e-76951d352bd6
3083
+ */
3084
+ id: string;
3013
3085
  name: string;
3014
3086
  label: string;
3015
3087
  placeholder?: string;
@@ -3267,6 +3339,12 @@ declare namespace Components {
3267
3339
  * No UI representation
3268
3340
  */
3269
3341
  export interface InternalAttribute {
3342
+ /**
3343
+ * ID for the entity attribute
3344
+ * example:
3345
+ * d5839b94-ba20-4225-a78e-76951d352bd6
3346
+ */
3347
+ id: string;
3270
3348
  name: string;
3271
3349
  label: string;
3272
3350
  placeholder?: string;
@@ -3393,6 +3471,12 @@ declare namespace Components {
3393
3471
  * Epilot internal user info
3394
3472
  */
3395
3473
  export interface InternalUserAttribute {
3474
+ /**
3475
+ * ID for the entity attribute
3476
+ * example:
3477
+ * d5839b94-ba20-4225-a78e-76951d352bd6
3478
+ */
3479
+ id: string;
3396
3480
  name: string;
3397
3481
  label: string;
3398
3482
  placeholder?: string;
@@ -3519,6 +3603,12 @@ declare namespace Components {
3519
3603
  * Email address for send invitation
3520
3604
  */
3521
3605
  export interface InvitationEmailAttribute {
3606
+ /**
3607
+ * ID for the entity attribute
3608
+ * example:
3609
+ * d5839b94-ba20-4225-a78e-76951d352bd6
3610
+ */
3611
+ id: string;
3522
3612
  name: string;
3523
3613
  label: string;
3524
3614
  placeholder?: string;
@@ -3653,6 +3743,12 @@ declare namespace Components {
3653
3743
  * Link with title and href
3654
3744
  */
3655
3745
  export interface LinkAttribute {
3746
+ /**
3747
+ * ID for the entity attribute
3748
+ * example:
3749
+ * d5839b94-ba20-4225-a78e-76951d352bd6
3750
+ */
3751
+ id: string;
3656
3752
  name: string;
3657
3753
  label: string;
3658
3754
  placeholder?: string;
@@ -3787,6 +3883,12 @@ declare namespace Components {
3787
3883
  * Multi Choice Selection
3788
3884
  */
3789
3885
  export interface MultiSelectAttribute {
3886
+ /**
3887
+ * ID for the entity attribute
3888
+ * example:
3889
+ * d5839b94-ba20-4225-a78e-76951d352bd6
3890
+ */
3891
+ id: string;
3790
3892
  name: string;
3791
3893
  label: string;
3792
3894
  placeholder?: string;
@@ -3929,6 +4031,12 @@ declare namespace Components {
3929
4031
  * Numeric input
3930
4032
  */
3931
4033
  export interface NumberAttribute {
4034
+ /**
4035
+ * ID for the entity attribute
4036
+ * example:
4037
+ * d5839b94-ba20-4225-a78e-76951d352bd6
4038
+ */
4039
+ id: string;
3932
4040
  name: string;
3933
4041
  label: string;
3934
4042
  placeholder?: string;
@@ -4060,6 +4168,12 @@ declare namespace Components {
4060
4168
  * Type of attribute to render N number of ordered fields
4061
4169
  */
4062
4170
  export interface OrderedListAttribute {
4171
+ /**
4172
+ * ID for the entity attribute
4173
+ * example:
4174
+ * d5839b94-ba20-4225-a78e-76951d352bd6
4175
+ */
4176
+ id: string;
4063
4177
  name: string;
4064
4178
  label: string;
4065
4179
  placeholder?: string;
@@ -4186,6 +4300,12 @@ declare namespace Components {
4186
4300
  * Shared Partner Organisations
4187
4301
  */
4188
4302
  export interface PartnerOrganisationAttribute {
4303
+ /**
4304
+ * ID for the entity attribute
4305
+ * example:
4306
+ * d5839b94-ba20-4225-a78e-76951d352bd6
4307
+ */
4308
+ id: string;
4189
4309
  name: string;
4190
4310
  label: string;
4191
4311
  placeholder?: string;
@@ -4312,6 +4432,12 @@ declare namespace Components {
4312
4432
  * Partner Status
4313
4433
  */
4314
4434
  export interface PartnerStatusAttribute {
4435
+ /**
4436
+ * ID for the entity attribute
4437
+ * example:
4438
+ * d5839b94-ba20-4225-a78e-76951d352bd6
4439
+ */
4440
+ id: string;
4315
4441
  name: string;
4316
4442
  label: string;
4317
4443
  placeholder?: string;
@@ -4438,6 +4564,12 @@ declare namespace Components {
4438
4564
  * Reference to a payment method attribute of another entity
4439
4565
  */
4440
4566
  export interface PaymentMethodRelationAttribute {
4567
+ /**
4568
+ * ID for the entity attribute
4569
+ * example:
4570
+ * d5839b94-ba20-4225-a78e-76951d352bd6
4571
+ */
4572
+ id: string;
4441
4573
  name: string;
4442
4574
  label: string;
4443
4575
  placeholder?: string;
@@ -4565,6 +4697,16 @@ declare namespace Components {
4565
4697
  * Entity Taxonomy
4566
4698
  */
4567
4699
  export interface PurposeAttribute {
4700
+ /**
4701
+ * ID for the entity attribute
4702
+ * example:
4703
+ * d5839b94-ba20-4225-a78e-76951d352bd6
4704
+ */
4705
+ id: /**
4706
+ * example:
4707
+ * taxonomy-slug:classification-slug
4708
+ */
4709
+ ClassificationId;
4568
4710
  /**
4569
4711
  * example:
4570
4712
  * Wallbox PV
@@ -4689,11 +4831,6 @@ declare namespace Components {
4689
4831
  */
4690
4832
  hint_tooltip_placement?: string;
4691
4833
  };
4692
- id?: /**
4693
- * example:
4694
- * taxonomy-slug:classification-slug
4695
- */
4696
- ClassificationId;
4697
4834
  /**
4698
4835
  * URL-friendly identifier for the classification
4699
4836
  * example:
@@ -4728,6 +4865,12 @@ declare namespace Components {
4728
4865
  * Entity Relationship
4729
4866
  */
4730
4867
  export interface RelationAttribute {
4868
+ /**
4869
+ * ID for the entity attribute
4870
+ * example:
4871
+ * d5839b94-ba20-4225-a78e-76951d352bd6
4872
+ */
4873
+ id: string;
4731
4874
  name: string;
4732
4875
  label: string;
4733
4876
  placeholder?: string;
@@ -5091,6 +5234,12 @@ declare namespace Components {
5091
5234
  * Repeatable (add N number of fields)
5092
5235
  */
5093
5236
  export interface RepeatableAttribute {
5237
+ /**
5238
+ * ID for the entity attribute
5239
+ * example:
5240
+ * d5839b94-ba20-4225-a78e-76951d352bd6
5241
+ */
5242
+ id: string;
5094
5243
  name: string;
5095
5244
  label: string;
5096
5245
  placeholder?: string;
@@ -5550,6 +5699,12 @@ declare namespace Components {
5550
5699
  * Dropdown select
5551
5700
  */
5552
5701
  export interface SelectAttribute {
5702
+ /**
5703
+ * ID for the entity attribute
5704
+ * example:
5705
+ * d5839b94-ba20-4225-a78e-76951d352bd6
5706
+ */
5707
+ id: string;
5553
5708
  name: string;
5554
5709
  label: string;
5555
5710
  placeholder?: string;
@@ -5684,6 +5839,12 @@ declare namespace Components {
5684
5839
  * Sequence of unique identifiers
5685
5840
  */
5686
5841
  export interface SequenceAttribute {
5842
+ /**
5843
+ * ID for the entity attribute
5844
+ * example:
5845
+ * d5839b94-ba20-4225-a78e-76951d352bd6
5846
+ */
5847
+ id: string;
5687
5848
  name: string;
5688
5849
  label: string;
5689
5850
  placeholder?: string;
@@ -5827,6 +5988,12 @@ declare namespace Components {
5827
5988
  * Status select
5828
5989
  */
5829
5990
  export interface StatusAttribute {
5991
+ /**
5992
+ * ID for the entity attribute
5993
+ * example:
5994
+ * d5839b94-ba20-4225-a78e-76951d352bd6
5995
+ */
5996
+ id: string;
5830
5997
  name: string;
5831
5998
  label: string;
5832
5999
  placeholder?: string;
@@ -6023,6 +6190,12 @@ declare namespace Components {
6023
6190
  * Tags
6024
6191
  */
6025
6192
  export interface TagsAttribute {
6193
+ /**
6194
+ * ID for the entity attribute
6195
+ * example:
6196
+ * d5839b94-ba20-4225-a78e-76951d352bd6
6197
+ */
6198
+ id: string;
6026
6199
  name: string;
6027
6200
  label: string;
6028
6201
  placeholder?: string;
@@ -6238,6 +6411,12 @@ declare namespace Components {
6238
6411
  * Textarea or text input
6239
6412
  */
6240
6413
  export interface TextAttribute {
6414
+ /**
6415
+ * ID for the entity attribute
6416
+ * example:
6417
+ * d5839b94-ba20-4225-a78e-76951d352bd6
6418
+ */
6419
+ id: string;
6241
6420
  name: string;
6242
6421
  label: string;
6243
6422
  placeholder?: string;
@@ -6365,6 +6544,12 @@ declare namespace Components {
6365
6544
  * User Relationship
6366
6545
  */
6367
6546
  export interface UserRelationAttribute {
6547
+ /**
6548
+ * ID for the entity attribute
6549
+ * example:
6550
+ * d5839b94-ba20-4225-a78e-76951d352bd6
6551
+ */
6552
+ id: string;
6368
6553
  name: string;
6369
6554
  label: string;
6370
6555
  placeholder?: string;
@@ -6706,6 +6891,46 @@ declare namespace Paths {
6706
6891
  export type $201 = /* A saved entity view */ Components.Schemas.SavedViewItem;
6707
6892
  }
6708
6893
  }
6894
+ namespace CreateSchemaAttribute {
6895
+ namespace Parameters {
6896
+ /**
6897
+ * example:
6898
+ * contact
6899
+ */
6900
+ export type Slug = string;
6901
+ }
6902
+ export interface PathParameters {
6903
+ slug: /**
6904
+ * example:
6905
+ * contact
6906
+ */
6907
+ Parameters.Slug;
6908
+ }
6909
+ export type RequestBody = Components.Schemas.Attribute;
6910
+ namespace Responses {
6911
+ export type $200 = /* a readonly computed ID for the attribute including schema slug and the attribute ID */ Components.Schemas.AttributeWithCompositeID;
6912
+ }
6913
+ }
6914
+ namespace CreateSchemaCapability {
6915
+ namespace Parameters {
6916
+ /**
6917
+ * example:
6918
+ * contact
6919
+ */
6920
+ export type Slug = string;
6921
+ }
6922
+ export interface PathParameters {
6923
+ slug: /**
6924
+ * example:
6925
+ * contact
6926
+ */
6927
+ Parameters.Slug;
6928
+ }
6929
+ export type RequestBody = /* Capabilities the Entity has. Turn features on/off for entities. */ Components.Schemas.EntityCapability;
6930
+ namespace Responses {
6931
+ export type $200 = /* a readonly computed ID for the entity capability including schema slug and the capability ID */ Components.Schemas.EntityCapabilityWithCompositeID;
6932
+ }
6933
+ }
6709
6934
  namespace CreateTaxonomy {
6710
6935
  /**
6711
6936
  * example:
@@ -9067,7 +9292,7 @@ export interface OperationMethods {
9067
9292
  /**
9068
9293
  * putSchemaAttribute - putSchemaAttribute
9069
9294
  *
9070
- * Adds or updates an attribute in the schema
9295
+ * Updates an attribute in the schema
9071
9296
  */
9072
9297
  'putSchemaAttribute'(
9073
9298
  parameters?: Parameters<Paths.PutSchemaAttribute.PathParameters> | null,
@@ -9084,6 +9309,16 @@ export interface OperationMethods {
9084
9309
  data?: any,
9085
9310
  config?: AxiosRequestConfig
9086
9311
  ): OperationResponse<Paths.DeleteSchemaAttribute.Responses.$200>
9312
+ /**
9313
+ * createSchemaAttribute - createSchemaAttribute
9314
+ *
9315
+ * Adds an attribute to the schema
9316
+ */
9317
+ 'createSchemaAttribute'(
9318
+ parameters?: Parameters<Paths.CreateSchemaAttribute.PathParameters> | null,
9319
+ data?: Paths.CreateSchemaAttribute.RequestBody,
9320
+ config?: AxiosRequestConfig
9321
+ ): OperationResponse<Paths.CreateSchemaAttribute.Responses.$200>
9087
9322
  /**
9088
9323
  * getSchemaCapability - getSchemaCapability
9089
9324
  *
@@ -9114,6 +9349,16 @@ export interface OperationMethods {
9114
9349
  data?: any,
9115
9350
  config?: AxiosRequestConfig
9116
9351
  ): OperationResponse<Paths.DeleteSchemaCapability.Responses.$200>
9352
+ /**
9353
+ * createSchemaCapability - createSchemaCapability
9354
+ *
9355
+ * Adds a capability to the schema
9356
+ */
9357
+ 'createSchemaCapability'(
9358
+ parameters?: Parameters<Paths.CreateSchemaCapability.PathParameters> | null,
9359
+ data?: Paths.CreateSchemaCapability.RequestBody,
9360
+ config?: AxiosRequestConfig
9361
+ ): OperationResponse<Paths.CreateSchemaCapability.Responses.$200>
9117
9362
  }
9118
9363
 
9119
9364
  export interface PathsDictionary {
@@ -9943,7 +10188,7 @@ export interface PathsDictionary {
9943
10188
  /**
9944
10189
  * putSchemaAttribute - putSchemaAttribute
9945
10190
  *
9946
- * Adds or updates an attribute in the schema
10191
+ * Updates an attribute in the schema
9947
10192
  */
9948
10193
  'put'(
9949
10194
  parameters?: Parameters<Paths.PutSchemaAttribute.PathParameters> | null,
@@ -9961,6 +10206,18 @@ export interface PathsDictionary {
9961
10206
  config?: AxiosRequestConfig
9962
10207
  ): OperationResponse<Paths.DeleteSchemaAttribute.Responses.$200>
9963
10208
  }
10209
+ ['/v1/entity/schemas/attribute/{slug}']: {
10210
+ /**
10211
+ * createSchemaAttribute - createSchemaAttribute
10212
+ *
10213
+ * Adds an attribute to the schema
10214
+ */
10215
+ 'post'(
10216
+ parameters?: Parameters<Paths.CreateSchemaAttribute.PathParameters> | null,
10217
+ data?: Paths.CreateSchemaAttribute.RequestBody,
10218
+ config?: AxiosRequestConfig
10219
+ ): OperationResponse<Paths.CreateSchemaAttribute.Responses.$200>
10220
+ }
9964
10221
  ['/v1/entity/schemas/capabilities/{composite_id}']: {
9965
10222
  /**
9966
10223
  * getSchemaCapability - getSchemaCapability
@@ -9993,6 +10250,18 @@ export interface PathsDictionary {
9993
10250
  config?: AxiosRequestConfig
9994
10251
  ): OperationResponse<Paths.DeleteSchemaCapability.Responses.$200>
9995
10252
  }
10253
+ ['/v1/entity/schemas/capability/{slug}']: {
10254
+ /**
10255
+ * createSchemaCapability - createSchemaCapability
10256
+ *
10257
+ * Adds a capability to the schema
10258
+ */
10259
+ 'post'(
10260
+ parameters?: Parameters<Paths.CreateSchemaCapability.PathParameters> | null,
10261
+ data?: Paths.CreateSchemaCapability.RequestBody,
10262
+ config?: AxiosRequestConfig
10263
+ ): OperationResponse<Paths.CreateSchemaCapability.Responses.$200>
10264
+ }
9996
10265
  }
9997
10266
 
9998
10267
  export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
package/dist/openapi.json CHANGED
@@ -2472,7 +2472,7 @@
2472
2472
  "put": {
2473
2473
  "operationId": "putSchemaAttribute",
2474
2474
  "summary": "putSchemaAttribute",
2475
- "description": "Adds or updates an attribute in the schema",
2475
+ "description": "Updates an attribute in the schema",
2476
2476
  "tags": [
2477
2477
  "Schemas"
2478
2478
  ],
@@ -2545,6 +2545,49 @@
2545
2545
  }
2546
2546
  }
2547
2547
  },
2548
+ "/v1/entity/schemas/attribute/{slug}": {
2549
+ "post": {
2550
+ "operationId": "createSchemaAttribute",
2551
+ "summary": "createSchemaAttribute",
2552
+ "description": "Adds an attribute to the schema",
2553
+ "tags": [
2554
+ "Schemas"
2555
+ ],
2556
+ "parameters": [
2557
+ {
2558
+ "name": "slug",
2559
+ "description": "Schema Slug",
2560
+ "in": "path",
2561
+ "required": true,
2562
+ "schema": {
2563
+ "type": "string",
2564
+ "example": "contact"
2565
+ }
2566
+ }
2567
+ ],
2568
+ "requestBody": {
2569
+ "content": {
2570
+ "application/json": {
2571
+ "schema": {
2572
+ "$ref": "#/components/schemas/Attribute"
2573
+ }
2574
+ }
2575
+ }
2576
+ },
2577
+ "responses": {
2578
+ "200": {
2579
+ "description": "Success",
2580
+ "content": {
2581
+ "application/json": {
2582
+ "schema": {
2583
+ "$ref": "#/components/schemas/AttributeWithCompositeID"
2584
+ }
2585
+ }
2586
+ }
2587
+ }
2588
+ }
2589
+ }
2590
+ },
2548
2591
  "/v1/entity/schemas/capabilities/{composite_id}": {
2549
2592
  "get": {
2550
2593
  "operationId": "getSchemaCapability",
@@ -2654,6 +2697,49 @@
2654
2697
  }
2655
2698
  }
2656
2699
  }
2700
+ },
2701
+ "/v1/entity/schemas/capability/{slug}": {
2702
+ "post": {
2703
+ "operationId": "createSchemaCapability",
2704
+ "summary": "createSchemaCapability",
2705
+ "description": "Adds a capability to the schema",
2706
+ "tags": [
2707
+ "Schemas"
2708
+ ],
2709
+ "parameters": [
2710
+ {
2711
+ "name": "slug",
2712
+ "description": "Schema Slug",
2713
+ "in": "path",
2714
+ "required": true,
2715
+ "schema": {
2716
+ "type": "string",
2717
+ "example": "contact"
2718
+ }
2719
+ }
2720
+ ],
2721
+ "requestBody": {
2722
+ "content": {
2723
+ "application/json": {
2724
+ "schema": {
2725
+ "$ref": "#/components/schemas/EntityCapability"
2726
+ }
2727
+ }
2728
+ }
2729
+ },
2730
+ "responses": {
2731
+ "200": {
2732
+ "description": "Success",
2733
+ "content": {
2734
+ "application/json": {
2735
+ "schema": {
2736
+ "$ref": "#/components/schemas/EntityCapabilityWithCompositeID"
2737
+ }
2738
+ }
2739
+ }
2740
+ }
2741
+ }
2742
+ }
2657
2743
  }
2658
2744
  },
2659
2745
  "components": {
@@ -3145,6 +3231,11 @@
3145
3231
  "BaseAttribute": {
3146
3232
  "type": "object",
3147
3233
  "properties": {
3234
+ "id": {
3235
+ "type": "string",
3236
+ "description": "ID for the entity attribute",
3237
+ "example": "d5839b94-ba20-4225-a78e-76951d352bd6"
3238
+ },
3148
3239
  "name": {
3149
3240
  "type": "string"
3150
3241
  },
@@ -3272,6 +3363,7 @@
3272
3363
  }
3273
3364
  },
3274
3365
  "required": [
3366
+ "id",
3275
3367
  "name",
3276
3368
  "label"
3277
3369
  ]
@@ -4308,6 +4400,11 @@
4308
4400
  "description": "Capabilities the Entity has. Turn features on/off for entities.",
4309
4401
  "type": "object",
4310
4402
  "properties": {
4403
+ "id": {
4404
+ "type": "string",
4405
+ "description": "ID for the entity capability",
4406
+ "example": "d5839b94-ba20-4225-a78e-76951d352bd6"
4407
+ },
4311
4408
  "name": {
4312
4409
  "type": "string",
4313
4410
  "description": "Unique name for the capability",
@@ -4423,6 +4520,7 @@
4423
4520
  }
4424
4521
  },
4425
4522
  "required": [
4523
+ "id",
4426
4524
  "name"
4427
4525
  ]
4428
4526
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/entity-client",
3
- "version": "4.25.0",
3
+ "version": "4.25.1",
4
4
  "description": "JavaScript client library for the epilot Core Entity API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,3 +0,0 @@
1
- import { Client } from './openapi';
2
- export declare const getClient: () => Client;
3
- export declare const createClient: () => Client;