@epilot/entity-client 6.3.0 → 6.3.2

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.
Files changed (2) hide show
  1. package/dist/openapi.d.ts +410 -37
  2. package/package.json +1 -1
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 {
@@ -6589,15 +6611,7 @@ declare namespace Components {
6589
6611
  * example:
6590
6612
  * d5839b94-ba20-4225-a78e-76951d352bd6
6591
6613
  */
6592
- id?: /**
6593
- * example:
6594
- * taxonomy-slug:classification-slug
6595
- */
6596
- ClassificationId;
6597
- /**
6598
- * example:
6599
- * Wallbox PV
6600
- */
6614
+ id?: string;
6601
6615
  name: string;
6602
6616
  label: string;
6603
6617
  placeholder?: string;
@@ -6655,7 +6669,7 @@ declare namespace Components {
6655
6669
  */
6656
6670
  ClassificationId[];
6657
6671
  /**
6658
- * Manifest ID used to create/update the taxonomy classification
6672
+ * Manifest ID used to create/update the schema attribute
6659
6673
  */
6660
6674
  _manifest?: string /* uuid */[] | null;
6661
6675
  /**
@@ -6727,29 +6741,6 @@ declare namespace Components {
6727
6741
  */
6728
6742
  repeatable?: boolean;
6729
6743
  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
6744
  type: "purpose";
6754
6745
  }
6755
6746
  /**
@@ -6938,7 +6929,7 @@ declare namespace Components {
6938
6929
  relation_picker_filter?: {
6939
6930
  /**
6940
6931
  * example:
6941
- * AND is_composite_price:true
6932
+ * NOT is_composite_price:true
6942
6933
  */
6943
6934
  q: string;
6944
6935
  };
@@ -8478,7 +8469,7 @@ declare namespace Components {
8478
8469
  * example:
8479
8470
  * wallbox-pv
8480
8471
  */
8481
- slug?: string;
8472
+ slug: string;
8482
8473
  /**
8483
8474
  * example:
8484
8475
  * Wallbox PV
@@ -8888,6 +8879,15 @@ declare namespace Paths {
8888
8879
  * }
8889
8880
  */
8890
8881
  Components.Responses.NotFoundError;
8882
+ export type $429 = /**
8883
+ * A generic error returned by the API
8884
+ * example:
8885
+ * {
8886
+ * "status": 429,
8887
+ * "error": "Too many requests. Try again later."
8888
+ * }
8889
+ */
8890
+ Components.Responses.TooManyRequestsError;
8891
8891
  }
8892
8892
  }
8893
8893
  namespace Autocomplete {
@@ -8951,6 +8951,15 @@ declare namespace Paths {
8951
8951
  export type $200 = Components.Schemas.TaxonomyBulkJobTriggerResponse;
8952
8952
  export interface $400 {
8953
8953
  }
8954
+ export type $429 = /**
8955
+ * A generic error returned by the API
8956
+ * example:
8957
+ * {
8958
+ * "status": 429,
8959
+ * "error": "Too many requests. Try again later."
8960
+ * }
8961
+ */
8962
+ Components.Responses.TooManyRequestsError;
8954
8963
  }
8955
8964
  }
8956
8965
  namespace BulkMergeClassifications {
@@ -8975,6 +8984,15 @@ declare namespace Paths {
8975
8984
  export type $200 = Components.Schemas.TaxonomyBulkJobTriggerResponse;
8976
8985
  export interface $400 {
8977
8986
  }
8987
+ export type $429 = /**
8988
+ * A generic error returned by the API
8989
+ * example:
8990
+ * {
8991
+ * "status": 429,
8992
+ * "error": "Too many requests. Try again later."
8993
+ * }
8994
+ */
8995
+ Components.Responses.TooManyRequestsError;
8978
8996
  }
8979
8997
  }
8980
8998
  namespace BulkMoveClassifications {
@@ -8999,6 +9017,15 @@ declare namespace Paths {
8999
9017
  export type $200 = Components.Schemas.TaxonomyBulkJobTriggerResponse;
9000
9018
  export interface $400 {
9001
9019
  }
9020
+ export type $429 = /**
9021
+ * A generic error returned by the API
9022
+ * example:
9023
+ * {
9024
+ * "status": 429,
9025
+ * "error": "Too many requests. Try again later."
9026
+ * }
9027
+ */
9028
+ Components.Responses.TooManyRequestsError;
9002
9029
  }
9003
9030
  }
9004
9031
  namespace CancelBulkAction {
@@ -9028,6 +9055,15 @@ declare namespace Paths {
9028
9055
  }
9029
9056
  export interface $404 {
9030
9057
  }
9058
+ export type $429 = /**
9059
+ * A generic error returned by the API
9060
+ * example:
9061
+ * {
9062
+ * "status": 429,
9063
+ * "error": "Too many requests. Try again later."
9064
+ * }
9065
+ */
9066
+ Components.Responses.TooManyRequestsError;
9031
9067
  export interface $500 {
9032
9068
  }
9033
9069
  }
@@ -9042,6 +9078,15 @@ declare namespace Paths {
9042
9078
  export type RequestBody = Components.Schemas.Activity;
9043
9079
  namespace Responses {
9044
9080
  export type $200 = Components.Schemas.BaseActivityItem;
9081
+ export type $429 = /**
9082
+ * A generic error returned by the API
9083
+ * example:
9084
+ * {
9085
+ * "status": 429,
9086
+ * "error": "Too many requests. Try again later."
9087
+ * }
9088
+ */
9089
+ Components.Responses.TooManyRequestsError;
9045
9090
  }
9046
9091
  }
9047
9092
  namespace CreateEntity {
@@ -9156,36 +9201,90 @@ declare namespace Paths {
9156
9201
  */
9157
9202
  Components.Schemas.EntityItem;
9158
9203
  export type $422 = /* Validation result for a failed validation */ Components.Schemas.EntityValidationV2ResultError;
9204
+ export type $429 = /**
9205
+ * A generic error returned by the API
9206
+ * example:
9207
+ * {
9208
+ * "status": 429,
9209
+ * "error": "Too many requests. Try again later."
9210
+ * }
9211
+ */
9212
+ Components.Responses.TooManyRequestsError;
9159
9213
  }
9160
9214
  }
9161
9215
  namespace CreateSavedView {
9162
9216
  export type RequestBody = /* A saved entity view */ Components.Schemas.SavedView;
9163
9217
  namespace Responses {
9164
9218
  export type $201 = /* A saved entity view */ Components.Schemas.SavedViewItem;
9219
+ export type $429 = /**
9220
+ * A generic error returned by the API
9221
+ * example:
9222
+ * {
9223
+ * "status": 429,
9224
+ * "error": "Too many requests. Try again later."
9225
+ * }
9226
+ */
9227
+ Components.Responses.TooManyRequestsError;
9165
9228
  }
9166
9229
  }
9167
9230
  namespace CreateSchemaAttribute {
9168
9231
  export type RequestBody = /* a readonly computed ID for the attribute including schema slug and the attribute ID */ Components.Schemas.AttributeWithCompositeID;
9169
9232
  namespace Responses {
9170
9233
  export type $201 = /* a readonly computed ID for the attribute including schema slug and the attribute ID */ Components.Schemas.AttributeWithCompositeID;
9234
+ export type $429 = /**
9235
+ * A generic error returned by the API
9236
+ * example:
9237
+ * {
9238
+ * "status": 429,
9239
+ * "error": "Too many requests. Try again later."
9240
+ * }
9241
+ */
9242
+ Components.Responses.TooManyRequestsError;
9171
9243
  }
9172
9244
  }
9173
9245
  namespace CreateSchemaCapability {
9174
9246
  export type RequestBody = /* a readonly computed ID for the entity capability including schema slug and the capability ID */ Components.Schemas.EntityCapabilityWithCompositeID;
9175
9247
  namespace Responses {
9176
9248
  export type $201 = /* a readonly computed ID for the entity capability including schema slug and the capability ID */ Components.Schemas.EntityCapabilityWithCompositeID;
9249
+ export type $429 = /**
9250
+ * A generic error returned by the API
9251
+ * example:
9252
+ * {
9253
+ * "status": 429,
9254
+ * "error": "Too many requests. Try again later."
9255
+ * }
9256
+ */
9257
+ Components.Responses.TooManyRequestsError;
9177
9258
  }
9178
9259
  }
9179
9260
  namespace CreateSchemaGroup {
9180
9261
  export type RequestBody = /* a readonly computed ID for the group including schema slug and the group ID */ Components.Schemas.EntitySchemaGroupWithCompositeID;
9181
9262
  namespace Responses {
9182
9263
  export type $201 = /* a readonly computed ID for the group including schema slug and the group ID */ Components.Schemas.EntitySchemaGroupWithCompositeID;
9264
+ export type $429 = /**
9265
+ * A generic error returned by the API
9266
+ * example:
9267
+ * {
9268
+ * "status": 429,
9269
+ * "error": "Too many requests. Try again later."
9270
+ * }
9271
+ */
9272
+ Components.Responses.TooManyRequestsError;
9183
9273
  }
9184
9274
  }
9185
9275
  namespace CreateSchemaGroupHeadline {
9186
9276
  export type RequestBody = /* a readonly computed ID for the entity group headline including schema slug and the headline ID */ Components.Schemas.GroupHeadlineWithCompositeID;
9187
9277
  namespace Responses {
9188
9278
  export type $201 = /* a readonly computed ID for the entity group headline including schema slug and the headline ID */ Components.Schemas.GroupHeadlineWithCompositeID;
9279
+ export type $429 = /**
9280
+ * A generic error returned by the API
9281
+ * example:
9282
+ * {
9283
+ * "status": 429,
9284
+ * "error": "Too many requests. Try again later."
9285
+ * }
9286
+ */
9287
+ Components.Responses.TooManyRequestsError;
9189
9288
  }
9190
9289
  }
9191
9290
  namespace CreateTaxonomy {
@@ -9194,12 +9293,30 @@ declare namespace Paths {
9194
9293
  export type $201 = Components.Schemas.Taxonomy;
9195
9294
  export interface $409 {
9196
9295
  }
9296
+ export type $429 = /**
9297
+ * A generic error returned by the API
9298
+ * example:
9299
+ * {
9300
+ * "status": 429,
9301
+ * "error": "Too many requests. Try again later."
9302
+ * }
9303
+ */
9304
+ Components.Responses.TooManyRequestsError;
9197
9305
  }
9198
9306
  }
9199
9307
  namespace CreateTaxonomyClassification {
9200
9308
  export type RequestBody = Components.Schemas.TaxonomyClassification;
9201
9309
  namespace Responses {
9202
9310
  export type $201 = Components.Schemas.TaxonomyClassification;
9311
+ export type $429 = /**
9312
+ * A generic error returned by the API
9313
+ * example:
9314
+ * {
9315
+ * "status": 429,
9316
+ * "error": "Too many requests. Try again later."
9317
+ * }
9318
+ */
9319
+ Components.Responses.TooManyRequestsError;
9203
9320
  }
9204
9321
  }
9205
9322
  namespace DeleteEntity {
@@ -9230,6 +9347,15 @@ declare namespace Paths {
9230
9347
  namespace Responses {
9231
9348
  export interface $200 {
9232
9349
  }
9350
+ export type $429 = /**
9351
+ * A generic error returned by the API
9352
+ * example:
9353
+ * {
9354
+ * "status": 429,
9355
+ * "error": "Too many requests. Try again later."
9356
+ * }
9357
+ */
9358
+ Components.Responses.TooManyRequestsError;
9233
9359
  }
9234
9360
  }
9235
9361
  namespace DeleteRelation {
@@ -9273,6 +9399,15 @@ declare namespace Paths {
9273
9399
  * }
9274
9400
  */
9275
9401
  Components.Responses.NotFoundError;
9402
+ export type $429 = /**
9403
+ * A generic error returned by the API
9404
+ * example:
9405
+ * {
9406
+ * "status": 429,
9407
+ * "error": "Too many requests. Try again later."
9408
+ * }
9409
+ */
9410
+ Components.Responses.TooManyRequestsError;
9276
9411
  }
9277
9412
  }
9278
9413
  namespace DeleteSavedView {
@@ -9285,6 +9420,15 @@ declare namespace Paths {
9285
9420
  namespace Responses {
9286
9421
  export interface $200 {
9287
9422
  }
9423
+ export type $429 = /**
9424
+ * A generic error returned by the API
9425
+ * example:
9426
+ * {
9427
+ * "status": 429,
9428
+ * "error": "Too many requests. Try again later."
9429
+ * }
9430
+ */
9431
+ Components.Responses.TooManyRequestsError;
9288
9432
  }
9289
9433
  }
9290
9434
  namespace DeleteSchema {
@@ -9302,6 +9446,15 @@ declare namespace Paths {
9302
9446
  namespace Responses {
9303
9447
  export interface $200 {
9304
9448
  }
9449
+ export type $429 = /**
9450
+ * A generic error returned by the API
9451
+ * example:
9452
+ * {
9453
+ * "status": 429,
9454
+ * "error": "Too many requests. Try again later."
9455
+ * }
9456
+ */
9457
+ Components.Responses.TooManyRequestsError;
9305
9458
  }
9306
9459
  }
9307
9460
  namespace DeleteSchemaAttribute {
@@ -9321,6 +9474,15 @@ declare namespace Paths {
9321
9474
  }
9322
9475
  namespace Responses {
9323
9476
  export type $200 = /* a readonly computed ID for the attribute including schema slug and the attribute ID */ Components.Schemas.AttributeWithCompositeID;
9477
+ export type $429 = /**
9478
+ * A generic error returned by the API
9479
+ * example:
9480
+ * {
9481
+ * "status": 429,
9482
+ * "error": "Too many requests. Try again later."
9483
+ * }
9484
+ */
9485
+ Components.Responses.TooManyRequestsError;
9324
9486
  }
9325
9487
  }
9326
9488
  namespace DeleteSchemaCapability {
@@ -9340,6 +9502,15 @@ declare namespace Paths {
9340
9502
  }
9341
9503
  namespace Responses {
9342
9504
  export type $200 = /* a readonly computed ID for the entity capability including schema slug and the capability ID */ Components.Schemas.EntityCapabilityWithCompositeID;
9505
+ export type $429 = /**
9506
+ * A generic error returned by the API
9507
+ * example:
9508
+ * {
9509
+ * "status": 429,
9510
+ * "error": "Too many requests. Try again later."
9511
+ * }
9512
+ */
9513
+ Components.Responses.TooManyRequestsError;
9343
9514
  }
9344
9515
  }
9345
9516
  namespace DeleteSchemaGroup {
@@ -9359,6 +9530,15 @@ declare namespace Paths {
9359
9530
  }
9360
9531
  namespace Responses {
9361
9532
  export type $200 = /* a readonly computed ID for the group including schema slug and the group ID */ Components.Schemas.EntitySchemaGroupWithCompositeID;
9533
+ export type $429 = /**
9534
+ * A generic error returned by the API
9535
+ * example:
9536
+ * {
9537
+ * "status": 429,
9538
+ * "error": "Too many requests. Try again later."
9539
+ * }
9540
+ */
9541
+ Components.Responses.TooManyRequestsError;
9362
9542
  }
9363
9543
  }
9364
9544
  namespace DeleteSchemaGroupHeadline {
@@ -9378,6 +9558,15 @@ declare namespace Paths {
9378
9558
  }
9379
9559
  namespace Responses {
9380
9560
  export type $200 = /* a readonly computed ID for the entity group headline including schema slug and the headline ID */ Components.Schemas.GroupHeadlineWithCompositeID;
9561
+ export type $429 = /**
9562
+ * A generic error returned by the API
9563
+ * example:
9564
+ * {
9565
+ * "status": 429,
9566
+ * "error": "Too many requests. Try again later."
9567
+ * }
9568
+ */
9569
+ Components.Responses.TooManyRequestsError;
9381
9570
  }
9382
9571
  }
9383
9572
  namespace DeleteTaxonomy {
@@ -9394,6 +9583,15 @@ declare namespace Paths {
9394
9583
  namespace Responses {
9395
9584
  export interface $204 {
9396
9585
  }
9586
+ export type $429 = /**
9587
+ * A generic error returned by the API
9588
+ * example:
9589
+ * {
9590
+ * "status": 429,
9591
+ * "error": "Too many requests. Try again later."
9592
+ * }
9593
+ */
9594
+ Components.Responses.TooManyRequestsError;
9397
9595
  }
9398
9596
  }
9399
9597
  namespace DeleteTaxonomyClassification {
@@ -9407,6 +9605,15 @@ declare namespace Paths {
9407
9605
  export type $200 = Components.Schemas.TaxonomyClassification;
9408
9606
  export interface $403 {
9409
9607
  }
9608
+ export type $429 = /**
9609
+ * A generic error returned by the API
9610
+ * example:
9611
+ * {
9612
+ * "status": 429,
9613
+ * "error": "Too many requests. Try again later."
9614
+ * }
9615
+ */
9616
+ Components.Responses.TooManyRequestsError;
9410
9617
  }
9411
9618
  }
9412
9619
  namespace ExportEntities {
@@ -9429,6 +9636,15 @@ declare namespace Paths {
9429
9636
  namespace Responses {
9430
9637
  export interface $201 {
9431
9638
  }
9639
+ export type $429 = /**
9640
+ * A generic error returned by the API
9641
+ * example:
9642
+ * {
9643
+ * "status": 429,
9644
+ * "error": "Too many requests. Try again later."
9645
+ * }
9646
+ */
9647
+ Components.Responses.TooManyRequestsError;
9432
9648
  }
9433
9649
  }
9434
9650
  namespace GetActivity {
@@ -10421,6 +10637,15 @@ declare namespace Paths {
10421
10637
  namespace Responses {
10422
10638
  export interface $200 {
10423
10639
  }
10640
+ export type $429 = /**
10641
+ * A generic error returned by the API
10642
+ * example:
10643
+ * {
10644
+ * "status": 429,
10645
+ * "error": "Too many requests. Try again later."
10646
+ * }
10647
+ */
10648
+ Components.Responses.TooManyRequestsError;
10424
10649
  }
10425
10650
  }
10426
10651
  namespace GetSchemaGroup {
@@ -10582,7 +10807,7 @@ declare namespace Paths {
10582
10807
  /**
10583
10808
  * ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).
10584
10809
  * example:
10585
- * 2023-01-01T00:00:00.000Z
10810
+ * 2023-01-01T00:00:00Z
10586
10811
  */
10587
10812
  export type CreatedAfter = string; // date-time
10588
10813
  /**
@@ -10608,7 +10833,7 @@ declare namespace Paths {
10608
10833
  created_after?: /**
10609
10834
  * ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).
10610
10835
  * example:
10611
- * 2023-01-01T00:00:00.000Z
10836
+ * 2023-01-01T00:00:00Z
10612
10837
  */
10613
10838
  Parameters.CreatedAfter /* date-time */;
10614
10839
  sort_pending_first?: /* When true, sorts PENDING status jobs to the top of the results. */ Parameters.SortPendingFirst;
@@ -10666,12 +10891,30 @@ declare namespace Paths {
10666
10891
  namespace Responses {
10667
10892
  export interface $201 {
10668
10893
  }
10894
+ export type $429 = /**
10895
+ * A generic error returned by the API
10896
+ * example:
10897
+ * {
10898
+ * "status": 429,
10899
+ * "error": "Too many requests. Try again later."
10900
+ * }
10901
+ */
10902
+ Components.Responses.TooManyRequestsError;
10669
10903
  }
10670
10904
  }
10671
10905
  namespace ListEntities {
10672
10906
  export type RequestBody = Components.Schemas.EntityListParams;
10673
10907
  namespace Responses {
10674
10908
  export type $200 = Components.Schemas.EntitySearchResults;
10909
+ export type $429 = /**
10910
+ * A generic error returned by the API
10911
+ * example:
10912
+ * {
10913
+ * "status": 429,
10914
+ * "error": "Too many requests. Try again later."
10915
+ * }
10916
+ */
10917
+ Components.Responses.TooManyRequestsError;
10675
10918
  }
10676
10919
  }
10677
10920
  namespace ListFavoriteViewsForUser {
@@ -10934,6 +11177,15 @@ declare namespace Paths {
10934
11177
  export type RequestBody = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchema;
10935
11178
  namespace Responses {
10936
11179
  export type $200 = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem;
11180
+ export type $429 = /**
11181
+ * A generic error returned by the API
11182
+ * example:
11183
+ * {
11184
+ * "status": 429,
11185
+ * "error": "Too many requests. Try again later."
11186
+ * }
11187
+ */
11188
+ Components.Responses.TooManyRequestsError;
10937
11189
  }
10938
11190
  }
10939
11191
  namespace PutSchemaAttribute {
@@ -11085,6 +11337,15 @@ declare namespace Paths {
11085
11337
  Components.Schemas.EntityItem;
11086
11338
  export interface $404 {
11087
11339
  }
11340
+ export type $429 = /**
11341
+ * A generic error returned by the API
11342
+ * example:
11343
+ * {
11344
+ * "status": 429,
11345
+ * "error": "Too many requests. Try again later."
11346
+ * }
11347
+ */
11348
+ Components.Responses.TooManyRequestsError;
11088
11349
  export interface $500 {
11089
11350
  }
11090
11351
  }
@@ -11127,6 +11388,15 @@ declare namespace Paths {
11127
11388
  * }
11128
11389
  */
11129
11390
  Components.Responses.NotFoundError;
11391
+ export type $429 = /**
11392
+ * A generic error returned by the API
11393
+ * example:
11394
+ * {
11395
+ * "status": 429,
11396
+ * "error": "Too many requests. Try again later."
11397
+ * }
11398
+ */
11399
+ Components.Responses.TooManyRequestsError;
11130
11400
  }
11131
11401
  }
11132
11402
  namespace RestoreEntity {
@@ -11209,12 +11479,30 @@ declare namespace Paths {
11209
11479
  }
11210
11480
  export interface $404 {
11211
11481
  }
11482
+ export type $429 = /**
11483
+ * A generic error returned by the API
11484
+ * example:
11485
+ * {
11486
+ * "status": 429,
11487
+ * "error": "Too many requests. Try again later."
11488
+ * }
11489
+ */
11490
+ Components.Responses.TooManyRequestsError;
11212
11491
  }
11213
11492
  }
11214
11493
  namespace SearchEntities {
11215
11494
  export type RequestBody = Components.Schemas.EntitySearchParams;
11216
11495
  namespace Responses {
11217
11496
  export type $200 = Components.Schemas.EntitySearchResults;
11497
+ export type $429 = /**
11498
+ * A generic error returned by the API
11499
+ * example:
11500
+ * {
11501
+ * "status": 429,
11502
+ * "error": "Too many requests. Try again later."
11503
+ * }
11504
+ */
11505
+ Components.Responses.TooManyRequestsError;
11218
11506
  }
11219
11507
  }
11220
11508
  namespace TaxonomiesClassificationsSearch {
@@ -11271,6 +11559,15 @@ declare namespace Paths {
11271
11559
  */
11272
11560
  hits?: number;
11273
11561
  }
11562
+ export type $429 = /**
11563
+ * A generic error returned by the API
11564
+ * example:
11565
+ * {
11566
+ * "status": 429,
11567
+ * "error": "Too many requests. Try again later."
11568
+ * }
11569
+ */
11570
+ Components.Responses.TooManyRequestsError;
11274
11571
  }
11275
11572
  }
11276
11573
  namespace TaxonomyAutocomplete {
@@ -11317,6 +11614,15 @@ declare namespace Paths {
11317
11614
  * }
11318
11615
  */
11319
11616
  Components.Responses.NotFoundError;
11617
+ export type $429 = /**
11618
+ * A generic error returned by the API
11619
+ * example:
11620
+ * {
11621
+ * "status": 429,
11622
+ * "error": "Too many requests. Try again later."
11623
+ * }
11624
+ */
11625
+ Components.Responses.TooManyRequestsError;
11320
11626
  }
11321
11627
  }
11322
11628
  namespace UpdateEntity {
@@ -11694,6 +12000,15 @@ declare namespace Paths {
11694
12000
  export interface $409 {
11695
12001
  }
11696
12002
  export type $422 = /* Validation result for a failed validation */ Components.Schemas.EntityValidationV2ResultError;
12003
+ export type $429 = /**
12004
+ * A generic error returned by the API
12005
+ * example:
12006
+ * {
12007
+ * "status": 429,
12008
+ * "error": "Too many requests. Try again later."
12009
+ * }
12010
+ */
12011
+ Components.Responses.TooManyRequestsError;
11697
12012
  }
11698
12013
  }
11699
12014
  namespace ValidateEntity {
@@ -11752,6 +12067,15 @@ declare namespace Paths {
11752
12067
  namespace Responses {
11753
12068
  export type $200 = /* Validation result for a successful validation */ Components.Schemas.EntityValidationResultSuccess;
11754
12069
  export type $422 = /* Validation result for a failed validation */ Components.Schemas.EntityValidationResultError;
12070
+ export type $429 = /**
12071
+ * A generic error returned by the API
12072
+ * example:
12073
+ * {
12074
+ * "status": 429,
12075
+ * "error": "Too many requests. Try again later."
12076
+ * }
12077
+ */
12078
+ Components.Responses.TooManyRequestsError;
11755
12079
  }
11756
12080
  }
11757
12081
  namespace ValidateEntityV2 {
@@ -11810,10 +12134,34 @@ declare namespace Paths {
11810
12134
  namespace Responses {
11811
12135
  export type $200 = /* Validation result for a successful validation */ Components.Schemas.EntityValidationV2ResultSuccess;
11812
12136
  export type $422 = /* Validation result for a failed validation */ Components.Schemas.EntityValidationV2ResultError;
12137
+ export type $429 = /**
12138
+ * A generic error returned by the API
12139
+ * example:
12140
+ * {
12141
+ * "status": 429,
12142
+ * "error": "Too many requests. Try again later."
12143
+ * }
12144
+ */
12145
+ Components.Responses.TooManyRequestsError;
12146
+ }
12147
+ }
12148
+ namespace WipeAllEntities {
12149
+ export interface RequestBody {
12150
+ schemas?: /**
12151
+ * URL-friendly identifier for the entity schema
12152
+ * example:
12153
+ * contact
12154
+ */
12155
+ Components.Schemas.EntitySlug[];
12156
+ }
12157
+ namespace Responses {
12158
+ export interface $201 {
12159
+ }
11813
12160
  }
11814
12161
  }
11815
12162
  }
11816
12163
 
12164
+
11817
12165
  export interface OperationMethods {
11818
12166
  /**
11819
12167
  * listSchemas - listSchemas
@@ -12270,6 +12618,17 @@ export interface OperationMethods {
12270
12618
  data?: any,
12271
12619
  config?: AxiosRequestConfig
12272
12620
  ): OperationResponse<Paths.Autocomplete.Responses.$200>
12621
+ /**
12622
+ * wipeAllEntities - wipeAllEntities
12623
+ *
12624
+ * 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.
12625
+ *
12626
+ */
12627
+ 'wipeAllEntities'(
12628
+ parameters?: Parameters<UnknownParamsObject> | null,
12629
+ data?: Paths.WipeAllEntities.RequestBody,
12630
+ config?: AxiosRequestConfig
12631
+ ): OperationResponse<Paths.WipeAllEntities.Responses.$201>
12273
12632
  /**
12274
12633
  * createActivity - createActivity
12275
12634
  *
@@ -13368,6 +13727,19 @@ export interface PathsDictionary {
13368
13727
  config?: AxiosRequestConfig
13369
13728
  ): OperationResponse<Paths.Autocomplete.Responses.$200>
13370
13729
  }
13730
+ ['/v1/entity:wipeAllEntities']: {
13731
+ /**
13732
+ * wipeAllEntities - wipeAllEntities
13733
+ *
13734
+ * 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.
13735
+ *
13736
+ */
13737
+ 'post'(
13738
+ parameters?: Parameters<UnknownParamsObject> | null,
13739
+ data?: Paths.WipeAllEntities.RequestBody,
13740
+ config?: AxiosRequestConfig
13741
+ ): OperationResponse<Paths.WipeAllEntities.Responses.$201>
13742
+ }
13371
13743
  ['/v1/entity/activity']: {
13372
13744
  /**
13373
13745
  * createActivity - createActivity
@@ -14052,6 +14424,7 @@ export interface PathsDictionary {
14052
14424
 
14053
14425
  export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
14054
14426
 
14427
+
14055
14428
  export type Activity = Components.Schemas.Activity;
14056
14429
  export type ActivityCallerContext = Components.Schemas.ActivityCallerContext;
14057
14430
  export type ActivityId = Components.Schemas.ActivityId;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/entity-client",
3
- "version": "6.3.0",
3
+ "version": "6.3.2",
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",