@epilot/entity-client 6.3.1 → 6.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
File without changes
package/dist/client.js CHANGED
File without changes
File without changes
File without changes
package/dist/index.d.ts CHANGED
File without changes
package/dist/index.js CHANGED
File without changes
File without changes
package/dist/openapi.d.ts CHANGED
@@ -115,6 +115,28 @@ declare namespace Components {
115
115
  */
116
116
  error?: string;
117
117
  }
118
+ /**
119
+ * A generic error returned by the API
120
+ * example:
121
+ * {
122
+ * "status": 429,
123
+ * "error": "Too many requests. Try again later."
124
+ * }
125
+ */
126
+ export interface TooManyRequestsError {
127
+ /**
128
+ * The HTTP status code of the error
129
+ * example:
130
+ * 400
131
+ */
132
+ status?: number;
133
+ /**
134
+ * The error message
135
+ * example:
136
+ * Bad Request
137
+ */
138
+ error?: string;
139
+ }
118
140
  }
119
141
  namespace Schemas {
120
142
  export interface Activity {
@@ -2236,6 +2258,14 @@ declare namespace Components {
2236
2258
  * Manifest ID used to create/update the schema capabilility
2237
2259
  */
2238
2260
  _manifest?: string /* uuid */[] | null;
2261
+ ui_config?: {
2262
+ /**
2263
+ * Whether the capability is filterable
2264
+ * example:
2265
+ * true
2266
+ */
2267
+ is_filterable?: boolean;
2268
+ };
2239
2269
  ui_hooks?: {
2240
2270
  [name: string]: any;
2241
2271
  /**
@@ -2355,6 +2385,14 @@ declare namespace Components {
2355
2385
  * Manifest ID used to create/update the schema capabilility
2356
2386
  */
2357
2387
  _manifest?: string /* uuid */[] | null;
2388
+ ui_config?: {
2389
+ /**
2390
+ * Whether the capability is filterable
2391
+ * example:
2392
+ * true
2393
+ */
2394
+ is_filterable?: boolean;
2395
+ };
2358
2396
  ui_hooks?: {
2359
2397
  [name: string]: any;
2360
2398
  /**
@@ -6589,15 +6627,7 @@ declare namespace Components {
6589
6627
  * example:
6590
6628
  * d5839b94-ba20-4225-a78e-76951d352bd6
6591
6629
  */
6592
- id?: /**
6593
- * example:
6594
- * taxonomy-slug:classification-slug
6595
- */
6596
- ClassificationId;
6597
- /**
6598
- * example:
6599
- * Wallbox PV
6600
- */
6630
+ id?: string;
6601
6631
  name: string;
6602
6632
  label: string;
6603
6633
  placeholder?: string;
@@ -6655,7 +6685,7 @@ declare namespace Components {
6655
6685
  */
6656
6686
  ClassificationId[];
6657
6687
  /**
6658
- * Manifest ID used to create/update the taxonomy classification
6688
+ * Manifest ID used to create/update the schema attribute
6659
6689
  */
6660
6690
  _manifest?: string /* uuid */[] | null;
6661
6691
  /**
@@ -6727,29 +6757,6 @@ declare namespace Components {
6727
6757
  */
6728
6758
  repeatable?: boolean;
6729
6759
  has_primary?: boolean;
6730
- /**
6731
- * URL-friendly identifier for the classification
6732
- * example:
6733
- * wallbox-pv
6734
- */
6735
- slug?: string;
6736
- parents?: /**
6737
- * example:
6738
- * taxonomy-slug:classification-slug
6739
- */
6740
- ClassificationId[];
6741
- /**
6742
- * Color of the classification
6743
- * example:
6744
- * #FF5733
6745
- */
6746
- color?: string;
6747
- created_at?: string; // date-time
6748
- updated_at?: string; // date-time
6749
- /**
6750
- * Archived classification are not visible in the UI
6751
- */
6752
- archived?: boolean;
6753
6760
  type: "purpose";
6754
6761
  }
6755
6762
  /**
@@ -6938,7 +6945,7 @@ declare namespace Components {
6938
6945
  relation_picker_filter?: {
6939
6946
  /**
6940
6947
  * example:
6941
- * AND is_composite_price:true
6948
+ * NOT is_composite_price:true
6942
6949
  */
6943
6950
  q: string;
6944
6951
  };
@@ -8478,7 +8485,7 @@ declare namespace Components {
8478
8485
  * example:
8479
8486
  * wallbox-pv
8480
8487
  */
8481
- slug?: string;
8488
+ slug: string;
8482
8489
  /**
8483
8490
  * example:
8484
8491
  * Wallbox PV
@@ -8888,6 +8895,15 @@ declare namespace Paths {
8888
8895
  * }
8889
8896
  */
8890
8897
  Components.Responses.NotFoundError;
8898
+ export type $429 = /**
8899
+ * A generic error returned by the API
8900
+ * example:
8901
+ * {
8902
+ * "status": 429,
8903
+ * "error": "Too many requests. Try again later."
8904
+ * }
8905
+ */
8906
+ Components.Responses.TooManyRequestsError;
8891
8907
  }
8892
8908
  }
8893
8909
  namespace Autocomplete {
@@ -8951,6 +8967,15 @@ declare namespace Paths {
8951
8967
  export type $200 = Components.Schemas.TaxonomyBulkJobTriggerResponse;
8952
8968
  export interface $400 {
8953
8969
  }
8970
+ export type $429 = /**
8971
+ * A generic error returned by the API
8972
+ * example:
8973
+ * {
8974
+ * "status": 429,
8975
+ * "error": "Too many requests. Try again later."
8976
+ * }
8977
+ */
8978
+ Components.Responses.TooManyRequestsError;
8954
8979
  }
8955
8980
  }
8956
8981
  namespace BulkMergeClassifications {
@@ -8975,6 +9000,15 @@ declare namespace Paths {
8975
9000
  export type $200 = Components.Schemas.TaxonomyBulkJobTriggerResponse;
8976
9001
  export interface $400 {
8977
9002
  }
9003
+ export type $429 = /**
9004
+ * A generic error returned by the API
9005
+ * example:
9006
+ * {
9007
+ * "status": 429,
9008
+ * "error": "Too many requests. Try again later."
9009
+ * }
9010
+ */
9011
+ Components.Responses.TooManyRequestsError;
8978
9012
  }
8979
9013
  }
8980
9014
  namespace BulkMoveClassifications {
@@ -8999,6 +9033,15 @@ declare namespace Paths {
8999
9033
  export type $200 = Components.Schemas.TaxonomyBulkJobTriggerResponse;
9000
9034
  export interface $400 {
9001
9035
  }
9036
+ export type $429 = /**
9037
+ * A generic error returned by the API
9038
+ * example:
9039
+ * {
9040
+ * "status": 429,
9041
+ * "error": "Too many requests. Try again later."
9042
+ * }
9043
+ */
9044
+ Components.Responses.TooManyRequestsError;
9002
9045
  }
9003
9046
  }
9004
9047
  namespace CancelBulkAction {
@@ -9028,6 +9071,15 @@ declare namespace Paths {
9028
9071
  }
9029
9072
  export interface $404 {
9030
9073
  }
9074
+ export type $429 = /**
9075
+ * A generic error returned by the API
9076
+ * example:
9077
+ * {
9078
+ * "status": 429,
9079
+ * "error": "Too many requests. Try again later."
9080
+ * }
9081
+ */
9082
+ Components.Responses.TooManyRequestsError;
9031
9083
  export interface $500 {
9032
9084
  }
9033
9085
  }
@@ -9042,6 +9094,15 @@ declare namespace Paths {
9042
9094
  export type RequestBody = Components.Schemas.Activity;
9043
9095
  namespace Responses {
9044
9096
  export type $200 = Components.Schemas.BaseActivityItem;
9097
+ export type $429 = /**
9098
+ * A generic error returned by the API
9099
+ * example:
9100
+ * {
9101
+ * "status": 429,
9102
+ * "error": "Too many requests. Try again later."
9103
+ * }
9104
+ */
9105
+ Components.Responses.TooManyRequestsError;
9045
9106
  }
9046
9107
  }
9047
9108
  namespace CreateEntity {
@@ -9156,36 +9217,90 @@ declare namespace Paths {
9156
9217
  */
9157
9218
  Components.Schemas.EntityItem;
9158
9219
  export type $422 = /* Validation result for a failed validation */ Components.Schemas.EntityValidationV2ResultError;
9220
+ export type $429 = /**
9221
+ * A generic error returned by the API
9222
+ * example:
9223
+ * {
9224
+ * "status": 429,
9225
+ * "error": "Too many requests. Try again later."
9226
+ * }
9227
+ */
9228
+ Components.Responses.TooManyRequestsError;
9159
9229
  }
9160
9230
  }
9161
9231
  namespace CreateSavedView {
9162
9232
  export type RequestBody = /* A saved entity view */ Components.Schemas.SavedView;
9163
9233
  namespace Responses {
9164
9234
  export type $201 = /* A saved entity view */ Components.Schemas.SavedViewItem;
9235
+ export type $429 = /**
9236
+ * A generic error returned by the API
9237
+ * example:
9238
+ * {
9239
+ * "status": 429,
9240
+ * "error": "Too many requests. Try again later."
9241
+ * }
9242
+ */
9243
+ Components.Responses.TooManyRequestsError;
9165
9244
  }
9166
9245
  }
9167
9246
  namespace CreateSchemaAttribute {
9168
9247
  export type RequestBody = /* a readonly computed ID for the attribute including schema slug and the attribute ID */ Components.Schemas.AttributeWithCompositeID;
9169
9248
  namespace Responses {
9170
9249
  export type $201 = /* a readonly computed ID for the attribute including schema slug and the attribute ID */ Components.Schemas.AttributeWithCompositeID;
9250
+ export type $429 = /**
9251
+ * A generic error returned by the API
9252
+ * example:
9253
+ * {
9254
+ * "status": 429,
9255
+ * "error": "Too many requests. Try again later."
9256
+ * }
9257
+ */
9258
+ Components.Responses.TooManyRequestsError;
9171
9259
  }
9172
9260
  }
9173
9261
  namespace CreateSchemaCapability {
9174
9262
  export type RequestBody = /* a readonly computed ID for the entity capability including schema slug and the capability ID */ Components.Schemas.EntityCapabilityWithCompositeID;
9175
9263
  namespace Responses {
9176
9264
  export type $201 = /* a readonly computed ID for the entity capability including schema slug and the capability ID */ Components.Schemas.EntityCapabilityWithCompositeID;
9265
+ export type $429 = /**
9266
+ * A generic error returned by the API
9267
+ * example:
9268
+ * {
9269
+ * "status": 429,
9270
+ * "error": "Too many requests. Try again later."
9271
+ * }
9272
+ */
9273
+ Components.Responses.TooManyRequestsError;
9177
9274
  }
9178
9275
  }
9179
9276
  namespace CreateSchemaGroup {
9180
9277
  export type RequestBody = /* a readonly computed ID for the group including schema slug and the group ID */ Components.Schemas.EntitySchemaGroupWithCompositeID;
9181
9278
  namespace Responses {
9182
9279
  export type $201 = /* a readonly computed ID for the group including schema slug and the group ID */ Components.Schemas.EntitySchemaGroupWithCompositeID;
9280
+ export type $429 = /**
9281
+ * A generic error returned by the API
9282
+ * example:
9283
+ * {
9284
+ * "status": 429,
9285
+ * "error": "Too many requests. Try again later."
9286
+ * }
9287
+ */
9288
+ Components.Responses.TooManyRequestsError;
9183
9289
  }
9184
9290
  }
9185
9291
  namespace CreateSchemaGroupHeadline {
9186
9292
  export type RequestBody = /* a readonly computed ID for the entity group headline including schema slug and the headline ID */ Components.Schemas.GroupHeadlineWithCompositeID;
9187
9293
  namespace Responses {
9188
9294
  export type $201 = /* a readonly computed ID for the entity group headline including schema slug and the headline ID */ Components.Schemas.GroupHeadlineWithCompositeID;
9295
+ export type $429 = /**
9296
+ * A generic error returned by the API
9297
+ * example:
9298
+ * {
9299
+ * "status": 429,
9300
+ * "error": "Too many requests. Try again later."
9301
+ * }
9302
+ */
9303
+ Components.Responses.TooManyRequestsError;
9189
9304
  }
9190
9305
  }
9191
9306
  namespace CreateTaxonomy {
@@ -9194,12 +9309,30 @@ declare namespace Paths {
9194
9309
  export type $201 = Components.Schemas.Taxonomy;
9195
9310
  export interface $409 {
9196
9311
  }
9312
+ export type $429 = /**
9313
+ * A generic error returned by the API
9314
+ * example:
9315
+ * {
9316
+ * "status": 429,
9317
+ * "error": "Too many requests. Try again later."
9318
+ * }
9319
+ */
9320
+ Components.Responses.TooManyRequestsError;
9197
9321
  }
9198
9322
  }
9199
9323
  namespace CreateTaxonomyClassification {
9200
9324
  export type RequestBody = Components.Schemas.TaxonomyClassification;
9201
9325
  namespace Responses {
9202
9326
  export type $201 = Components.Schemas.TaxonomyClassification;
9327
+ export type $429 = /**
9328
+ * A generic error returned by the API
9329
+ * example:
9330
+ * {
9331
+ * "status": 429,
9332
+ * "error": "Too many requests. Try again later."
9333
+ * }
9334
+ */
9335
+ Components.Responses.TooManyRequestsError;
9203
9336
  }
9204
9337
  }
9205
9338
  namespace DeleteEntity {
@@ -9230,6 +9363,15 @@ declare namespace Paths {
9230
9363
  namespace Responses {
9231
9364
  export interface $200 {
9232
9365
  }
9366
+ export type $429 = /**
9367
+ * A generic error returned by the API
9368
+ * example:
9369
+ * {
9370
+ * "status": 429,
9371
+ * "error": "Too many requests. Try again later."
9372
+ * }
9373
+ */
9374
+ Components.Responses.TooManyRequestsError;
9233
9375
  }
9234
9376
  }
9235
9377
  namespace DeleteRelation {
@@ -9273,6 +9415,15 @@ declare namespace Paths {
9273
9415
  * }
9274
9416
  */
9275
9417
  Components.Responses.NotFoundError;
9418
+ export type $429 = /**
9419
+ * A generic error returned by the API
9420
+ * example:
9421
+ * {
9422
+ * "status": 429,
9423
+ * "error": "Too many requests. Try again later."
9424
+ * }
9425
+ */
9426
+ Components.Responses.TooManyRequestsError;
9276
9427
  }
9277
9428
  }
9278
9429
  namespace DeleteSavedView {
@@ -9285,6 +9436,15 @@ declare namespace Paths {
9285
9436
  namespace Responses {
9286
9437
  export interface $200 {
9287
9438
  }
9439
+ export type $429 = /**
9440
+ * A generic error returned by the API
9441
+ * example:
9442
+ * {
9443
+ * "status": 429,
9444
+ * "error": "Too many requests. Try again later."
9445
+ * }
9446
+ */
9447
+ Components.Responses.TooManyRequestsError;
9288
9448
  }
9289
9449
  }
9290
9450
  namespace DeleteSchema {
@@ -9302,6 +9462,15 @@ declare namespace Paths {
9302
9462
  namespace Responses {
9303
9463
  export interface $200 {
9304
9464
  }
9465
+ export type $429 = /**
9466
+ * A generic error returned by the API
9467
+ * example:
9468
+ * {
9469
+ * "status": 429,
9470
+ * "error": "Too many requests. Try again later."
9471
+ * }
9472
+ */
9473
+ Components.Responses.TooManyRequestsError;
9305
9474
  }
9306
9475
  }
9307
9476
  namespace DeleteSchemaAttribute {
@@ -9321,6 +9490,15 @@ declare namespace Paths {
9321
9490
  }
9322
9491
  namespace Responses {
9323
9492
  export type $200 = /* a readonly computed ID for the attribute including schema slug and the attribute ID */ Components.Schemas.AttributeWithCompositeID;
9493
+ export type $429 = /**
9494
+ * A generic error returned by the API
9495
+ * example:
9496
+ * {
9497
+ * "status": 429,
9498
+ * "error": "Too many requests. Try again later."
9499
+ * }
9500
+ */
9501
+ Components.Responses.TooManyRequestsError;
9324
9502
  }
9325
9503
  }
9326
9504
  namespace DeleteSchemaCapability {
@@ -9340,6 +9518,15 @@ declare namespace Paths {
9340
9518
  }
9341
9519
  namespace Responses {
9342
9520
  export type $200 = /* a readonly computed ID for the entity capability including schema slug and the capability ID */ Components.Schemas.EntityCapabilityWithCompositeID;
9521
+ export type $429 = /**
9522
+ * A generic error returned by the API
9523
+ * example:
9524
+ * {
9525
+ * "status": 429,
9526
+ * "error": "Too many requests. Try again later."
9527
+ * }
9528
+ */
9529
+ Components.Responses.TooManyRequestsError;
9343
9530
  }
9344
9531
  }
9345
9532
  namespace DeleteSchemaGroup {
@@ -9359,6 +9546,15 @@ declare namespace Paths {
9359
9546
  }
9360
9547
  namespace Responses {
9361
9548
  export type $200 = /* a readonly computed ID for the group including schema slug and the group ID */ Components.Schemas.EntitySchemaGroupWithCompositeID;
9549
+ export type $429 = /**
9550
+ * A generic error returned by the API
9551
+ * example:
9552
+ * {
9553
+ * "status": 429,
9554
+ * "error": "Too many requests. Try again later."
9555
+ * }
9556
+ */
9557
+ Components.Responses.TooManyRequestsError;
9362
9558
  }
9363
9559
  }
9364
9560
  namespace DeleteSchemaGroupHeadline {
@@ -9378,6 +9574,15 @@ declare namespace Paths {
9378
9574
  }
9379
9575
  namespace Responses {
9380
9576
  export type $200 = /* a readonly computed ID for the entity group headline including schema slug and the headline ID */ Components.Schemas.GroupHeadlineWithCompositeID;
9577
+ export type $429 = /**
9578
+ * A generic error returned by the API
9579
+ * example:
9580
+ * {
9581
+ * "status": 429,
9582
+ * "error": "Too many requests. Try again later."
9583
+ * }
9584
+ */
9585
+ Components.Responses.TooManyRequestsError;
9381
9586
  }
9382
9587
  }
9383
9588
  namespace DeleteTaxonomy {
@@ -9394,6 +9599,15 @@ declare namespace Paths {
9394
9599
  namespace Responses {
9395
9600
  export interface $204 {
9396
9601
  }
9602
+ export type $429 = /**
9603
+ * A generic error returned by the API
9604
+ * example:
9605
+ * {
9606
+ * "status": 429,
9607
+ * "error": "Too many requests. Try again later."
9608
+ * }
9609
+ */
9610
+ Components.Responses.TooManyRequestsError;
9397
9611
  }
9398
9612
  }
9399
9613
  namespace DeleteTaxonomyClassification {
@@ -9407,6 +9621,15 @@ declare namespace Paths {
9407
9621
  export type $200 = Components.Schemas.TaxonomyClassification;
9408
9622
  export interface $403 {
9409
9623
  }
9624
+ export type $429 = /**
9625
+ * A generic error returned by the API
9626
+ * example:
9627
+ * {
9628
+ * "status": 429,
9629
+ * "error": "Too many requests. Try again later."
9630
+ * }
9631
+ */
9632
+ Components.Responses.TooManyRequestsError;
9410
9633
  }
9411
9634
  }
9412
9635
  namespace ExportEntities {
@@ -9429,6 +9652,15 @@ declare namespace Paths {
9429
9652
  namespace Responses {
9430
9653
  export interface $201 {
9431
9654
  }
9655
+ export type $429 = /**
9656
+ * A generic error returned by the API
9657
+ * example:
9658
+ * {
9659
+ * "status": 429,
9660
+ * "error": "Too many requests. Try again later."
9661
+ * }
9662
+ */
9663
+ Components.Responses.TooManyRequestsError;
9432
9664
  }
9433
9665
  }
9434
9666
  namespace GetActivity {
@@ -10421,6 +10653,15 @@ declare namespace Paths {
10421
10653
  namespace Responses {
10422
10654
  export interface $200 {
10423
10655
  }
10656
+ export type $429 = /**
10657
+ * A generic error returned by the API
10658
+ * example:
10659
+ * {
10660
+ * "status": 429,
10661
+ * "error": "Too many requests. Try again later."
10662
+ * }
10663
+ */
10664
+ Components.Responses.TooManyRequestsError;
10424
10665
  }
10425
10666
  }
10426
10667
  namespace GetSchemaGroup {
@@ -10582,7 +10823,7 @@ declare namespace Paths {
10582
10823
  /**
10583
10824
  * ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).
10584
10825
  * example:
10585
- * 2023-01-01T00:00:00.000Z
10826
+ * 2023-01-01T00:00:00Z
10586
10827
  */
10587
10828
  export type CreatedAfter = string; // date-time
10588
10829
  /**
@@ -10608,7 +10849,7 @@ declare namespace Paths {
10608
10849
  created_after?: /**
10609
10850
  * ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).
10610
10851
  * example:
10611
- * 2023-01-01T00:00:00.000Z
10852
+ * 2023-01-01T00:00:00Z
10612
10853
  */
10613
10854
  Parameters.CreatedAfter /* date-time */;
10614
10855
  sort_pending_first?: /* When true, sorts PENDING status jobs to the top of the results. */ Parameters.SortPendingFirst;
@@ -10666,12 +10907,30 @@ declare namespace Paths {
10666
10907
  namespace Responses {
10667
10908
  export interface $201 {
10668
10909
  }
10910
+ export type $429 = /**
10911
+ * A generic error returned by the API
10912
+ * example:
10913
+ * {
10914
+ * "status": 429,
10915
+ * "error": "Too many requests. Try again later."
10916
+ * }
10917
+ */
10918
+ Components.Responses.TooManyRequestsError;
10669
10919
  }
10670
10920
  }
10671
10921
  namespace ListEntities {
10672
10922
  export type RequestBody = Components.Schemas.EntityListParams;
10673
10923
  namespace Responses {
10674
10924
  export type $200 = Components.Schemas.EntitySearchResults;
10925
+ export type $429 = /**
10926
+ * A generic error returned by the API
10927
+ * example:
10928
+ * {
10929
+ * "status": 429,
10930
+ * "error": "Too many requests. Try again later."
10931
+ * }
10932
+ */
10933
+ Components.Responses.TooManyRequestsError;
10675
10934
  }
10676
10935
  }
10677
10936
  namespace ListFavoriteViewsForUser {
@@ -10934,6 +11193,15 @@ declare namespace Paths {
10934
11193
  export type RequestBody = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchema;
10935
11194
  namespace Responses {
10936
11195
  export type $200 = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem;
11196
+ export type $429 = /**
11197
+ * A generic error returned by the API
11198
+ * example:
11199
+ * {
11200
+ * "status": 429,
11201
+ * "error": "Too many requests. Try again later."
11202
+ * }
11203
+ */
11204
+ Components.Responses.TooManyRequestsError;
10937
11205
  }
10938
11206
  }
10939
11207
  namespace PutSchemaAttribute {
@@ -11085,6 +11353,15 @@ declare namespace Paths {
11085
11353
  Components.Schemas.EntityItem;
11086
11354
  export interface $404 {
11087
11355
  }
11356
+ export type $429 = /**
11357
+ * A generic error returned by the API
11358
+ * example:
11359
+ * {
11360
+ * "status": 429,
11361
+ * "error": "Too many requests. Try again later."
11362
+ * }
11363
+ */
11364
+ Components.Responses.TooManyRequestsError;
11088
11365
  export interface $500 {
11089
11366
  }
11090
11367
  }
@@ -11127,6 +11404,15 @@ declare namespace Paths {
11127
11404
  * }
11128
11405
  */
11129
11406
  Components.Responses.NotFoundError;
11407
+ export type $429 = /**
11408
+ * A generic error returned by the API
11409
+ * example:
11410
+ * {
11411
+ * "status": 429,
11412
+ * "error": "Too many requests. Try again later."
11413
+ * }
11414
+ */
11415
+ Components.Responses.TooManyRequestsError;
11130
11416
  }
11131
11417
  }
11132
11418
  namespace RestoreEntity {
@@ -11209,12 +11495,30 @@ declare namespace Paths {
11209
11495
  }
11210
11496
  export interface $404 {
11211
11497
  }
11498
+ export type $429 = /**
11499
+ * A generic error returned by the API
11500
+ * example:
11501
+ * {
11502
+ * "status": 429,
11503
+ * "error": "Too many requests. Try again later."
11504
+ * }
11505
+ */
11506
+ Components.Responses.TooManyRequestsError;
11212
11507
  }
11213
11508
  }
11214
11509
  namespace SearchEntities {
11215
11510
  export type RequestBody = Components.Schemas.EntitySearchParams;
11216
11511
  namespace Responses {
11217
11512
  export type $200 = Components.Schemas.EntitySearchResults;
11513
+ export type $429 = /**
11514
+ * A generic error returned by the API
11515
+ * example:
11516
+ * {
11517
+ * "status": 429,
11518
+ * "error": "Too many requests. Try again later."
11519
+ * }
11520
+ */
11521
+ Components.Responses.TooManyRequestsError;
11218
11522
  }
11219
11523
  }
11220
11524
  namespace TaxonomiesClassificationsSearch {
@@ -11271,6 +11575,15 @@ declare namespace Paths {
11271
11575
  */
11272
11576
  hits?: number;
11273
11577
  }
11578
+ export type $429 = /**
11579
+ * A generic error returned by the API
11580
+ * example:
11581
+ * {
11582
+ * "status": 429,
11583
+ * "error": "Too many requests. Try again later."
11584
+ * }
11585
+ */
11586
+ Components.Responses.TooManyRequestsError;
11274
11587
  }
11275
11588
  }
11276
11589
  namespace TaxonomyAutocomplete {
@@ -11317,6 +11630,15 @@ declare namespace Paths {
11317
11630
  * }
11318
11631
  */
11319
11632
  Components.Responses.NotFoundError;
11633
+ export type $429 = /**
11634
+ * A generic error returned by the API
11635
+ * example:
11636
+ * {
11637
+ * "status": 429,
11638
+ * "error": "Too many requests. Try again later."
11639
+ * }
11640
+ */
11641
+ Components.Responses.TooManyRequestsError;
11320
11642
  }
11321
11643
  }
11322
11644
  namespace UpdateEntity {
@@ -11694,6 +12016,15 @@ declare namespace Paths {
11694
12016
  export interface $409 {
11695
12017
  }
11696
12018
  export type $422 = /* Validation result for a failed validation */ Components.Schemas.EntityValidationV2ResultError;
12019
+ export type $429 = /**
12020
+ * A generic error returned by the API
12021
+ * example:
12022
+ * {
12023
+ * "status": 429,
12024
+ * "error": "Too many requests. Try again later."
12025
+ * }
12026
+ */
12027
+ Components.Responses.TooManyRequestsError;
11697
12028
  }
11698
12029
  }
11699
12030
  namespace ValidateEntity {
@@ -11752,6 +12083,15 @@ declare namespace Paths {
11752
12083
  namespace Responses {
11753
12084
  export type $200 = /* Validation result for a successful validation */ Components.Schemas.EntityValidationResultSuccess;
11754
12085
  export type $422 = /* Validation result for a failed validation */ Components.Schemas.EntityValidationResultError;
12086
+ export type $429 = /**
12087
+ * A generic error returned by the API
12088
+ * example:
12089
+ * {
12090
+ * "status": 429,
12091
+ * "error": "Too many requests. Try again later."
12092
+ * }
12093
+ */
12094
+ Components.Responses.TooManyRequestsError;
11755
12095
  }
11756
12096
  }
11757
12097
  namespace ValidateEntityV2 {
@@ -11810,10 +12150,34 @@ declare namespace Paths {
11810
12150
  namespace Responses {
11811
12151
  export type $200 = /* Validation result for a successful validation */ Components.Schemas.EntityValidationV2ResultSuccess;
11812
12152
  export type $422 = /* Validation result for a failed validation */ Components.Schemas.EntityValidationV2ResultError;
12153
+ export type $429 = /**
12154
+ * A generic error returned by the API
12155
+ * example:
12156
+ * {
12157
+ * "status": 429,
12158
+ * "error": "Too many requests. Try again later."
12159
+ * }
12160
+ */
12161
+ Components.Responses.TooManyRequestsError;
12162
+ }
12163
+ }
12164
+ namespace WipeAllEntities {
12165
+ export interface RequestBody {
12166
+ schemas?: /**
12167
+ * URL-friendly identifier for the entity schema
12168
+ * example:
12169
+ * contact
12170
+ */
12171
+ Components.Schemas.EntitySlug[];
12172
+ }
12173
+ namespace Responses {
12174
+ export interface $201 {
12175
+ }
11813
12176
  }
11814
12177
  }
11815
12178
  }
11816
12179
 
12180
+
11817
12181
  export interface OperationMethods {
11818
12182
  /**
11819
12183
  * listSchemas - listSchemas
@@ -12270,6 +12634,17 @@ export interface OperationMethods {
12270
12634
  data?: any,
12271
12635
  config?: AxiosRequestConfig
12272
12636
  ): OperationResponse<Paths.Autocomplete.Responses.$200>
12637
+ /**
12638
+ * wipeAllEntities - wipeAllEntities
12639
+ *
12640
+ * Creates a request to queue the deletion of all entities in the system. This is a destructive operation and should only be used in sandbox environments.
12641
+ *
12642
+ */
12643
+ 'wipeAllEntities'(
12644
+ parameters?: Parameters<UnknownParamsObject> | null,
12645
+ data?: Paths.WipeAllEntities.RequestBody,
12646
+ config?: AxiosRequestConfig
12647
+ ): OperationResponse<Paths.WipeAllEntities.Responses.$201>
12273
12648
  /**
12274
12649
  * createActivity - createActivity
12275
12650
  *
@@ -13368,6 +13743,19 @@ export interface PathsDictionary {
13368
13743
  config?: AxiosRequestConfig
13369
13744
  ): OperationResponse<Paths.Autocomplete.Responses.$200>
13370
13745
  }
13746
+ ['/v1/entity:wipeAllEntities']: {
13747
+ /**
13748
+ * wipeAllEntities - wipeAllEntities
13749
+ *
13750
+ * Creates a request to queue the deletion of all entities in the system. This is a destructive operation and should only be used in sandbox environments.
13751
+ *
13752
+ */
13753
+ 'post'(
13754
+ parameters?: Parameters<UnknownParamsObject> | null,
13755
+ data?: Paths.WipeAllEntities.RequestBody,
13756
+ config?: AxiosRequestConfig
13757
+ ): OperationResponse<Paths.WipeAllEntities.Responses.$201>
13758
+ }
13371
13759
  ['/v1/entity/activity']: {
13372
13760
  /**
13373
13761
  * createActivity - createActivity
@@ -14052,6 +14440,7 @@ export interface PathsDictionary {
14052
14440
 
14053
14441
  export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
14054
14442
 
14443
+
14055
14444
  export type Activity = Components.Schemas.Activity;
14056
14445
  export type ActivityCallerContext = Components.Schemas.ActivityCallerContext;
14057
14446
  export type ActivityId = Components.Schemas.ActivityId;
package/dist/openapi.json CHANGED
@@ -6489,6 +6489,17 @@
6489
6489
  },
6490
6490
  "nullable": true
6491
6491
  },
6492
+ "ui_config": {
6493
+ "type": "object",
6494
+ "properties": {
6495
+ "is_filterable": {
6496
+ "type": "boolean",
6497
+ "description": "Whether the capability is filterable",
6498
+ "example": true,
6499
+ "default": false
6500
+ }
6501
+ }
6502
+ },
6492
6503
  "ui_hooks": {
6493
6504
  "type": "array",
6494
6505
  "items": {
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/entity-client",
3
- "version": "6.3.1",
3
+ "version": "6.4.0",
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",