@epilot/entity-client 4.7.0 → 4.7.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/definition.js +1 -1
- package/dist/index.js +1 -5
- package/dist/openapi.d.ts +150 -97
- package/dist/openapi.json +130 -100
- package/dist/schema-model.d.ts +2 -2
- package/package.json +3 -4
- package/LICENSE +0 -21
package/dist/index.js
CHANGED
|
@@ -1,11 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
9
5
|
}) : (function(o, m, k, k2) {
|
|
10
6
|
if (k2 === undefined) k2 = k;
|
|
11
7
|
o[k2] = m[k];
|
package/dist/openapi.d.ts
CHANGED
|
@@ -135,6 +135,12 @@ declare namespace Components {
|
|
|
135
135
|
[name: string]: any;
|
|
136
136
|
};
|
|
137
137
|
caller?: ActivityCallerContext;
|
|
138
|
+
/**
|
|
139
|
+
* Count of total operations attached to this activity
|
|
140
|
+
* example:
|
|
141
|
+
* 1
|
|
142
|
+
*/
|
|
143
|
+
operations_total?: number;
|
|
138
144
|
operations?: EntityOperation[];
|
|
139
145
|
}
|
|
140
146
|
/**
|
|
@@ -190,6 +196,7 @@ declare namespace Components {
|
|
|
190
196
|
*
|
|
191
197
|
*/
|
|
192
198
|
render_condition?: string;
|
|
199
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
193
200
|
/**
|
|
194
201
|
* A set of constraints applicable to the attribute.
|
|
195
202
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -290,6 +297,7 @@ declare namespace Components {
|
|
|
290
297
|
*
|
|
291
298
|
*/
|
|
292
299
|
render_condition?: string;
|
|
300
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
293
301
|
/**
|
|
294
302
|
* A set of constraints applicable to the attribute.
|
|
295
303
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -376,6 +384,7 @@ declare namespace Components {
|
|
|
376
384
|
*
|
|
377
385
|
*/
|
|
378
386
|
render_condition?: string;
|
|
387
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
379
388
|
/**
|
|
380
389
|
* A set of constraints applicable to the attribute.
|
|
381
390
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -503,6 +512,7 @@ declare namespace Components {
|
|
|
503
512
|
*
|
|
504
513
|
*/
|
|
505
514
|
render_condition?: string;
|
|
515
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
506
516
|
/**
|
|
507
517
|
* A set of constraints applicable to the attribute.
|
|
508
518
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -598,6 +608,7 @@ declare namespace Components {
|
|
|
598
608
|
*
|
|
599
609
|
*/
|
|
600
610
|
render_condition?: string;
|
|
611
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
601
612
|
/**
|
|
602
613
|
* A set of constraints applicable to the attribute.
|
|
603
614
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -687,6 +698,7 @@ declare namespace Components {
|
|
|
687
698
|
*
|
|
688
699
|
*/
|
|
689
700
|
render_condition?: string;
|
|
701
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
690
702
|
/**
|
|
691
703
|
* A set of constraints applicable to the attribute.
|
|
692
704
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -778,6 +790,7 @@ declare namespace Components {
|
|
|
778
790
|
*
|
|
779
791
|
*/
|
|
780
792
|
render_condition?: string;
|
|
793
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
781
794
|
/**
|
|
782
795
|
* A set of constraints applicable to the attribute.
|
|
783
796
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -867,6 +880,7 @@ declare namespace Components {
|
|
|
867
880
|
*
|
|
868
881
|
*/
|
|
869
882
|
render_condition?: string;
|
|
883
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
870
884
|
/**
|
|
871
885
|
* A set of constraints applicable to the attribute.
|
|
872
886
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -966,6 +980,7 @@ declare namespace Components {
|
|
|
966
980
|
*
|
|
967
981
|
*/
|
|
968
982
|
render_condition?: string;
|
|
983
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
969
984
|
/**
|
|
970
985
|
* A set of constraints applicable to the attribute.
|
|
971
986
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -1054,6 +1069,7 @@ declare namespace Components {
|
|
|
1054
1069
|
*/
|
|
1055
1070
|
title?: string;
|
|
1056
1071
|
attributes?: Attribute[];
|
|
1072
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
1057
1073
|
ui_hooks?: {
|
|
1058
1074
|
[name: string]: any;
|
|
1059
1075
|
/**
|
|
@@ -1542,13 +1558,21 @@ declare namespace Components {
|
|
|
1542
1558
|
_purpose?: ClassificationId /* uuid */[];
|
|
1543
1559
|
}[];
|
|
1544
1560
|
/**
|
|
1545
|
-
* Custom grid definitions for the layout
|
|
1561
|
+
* Custom grid definitions for the layout. These settings are composed by managed and un-managed properties:
|
|
1562
|
+
* - Managed Properties: are interpreted and transformed into layout styles
|
|
1563
|
+
* - Un-managed Properties: are appended as styles into the attribute mounting node
|
|
1564
|
+
*
|
|
1546
1565
|
*/
|
|
1547
1566
|
layout_settings?: {
|
|
1548
|
-
[name: string]:
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1567
|
+
[name: string]: any;
|
|
1568
|
+
/**
|
|
1569
|
+
* Defines the grid gap for the mounting node of the attribute.
|
|
1570
|
+
*/
|
|
1571
|
+
grid_gap?: string;
|
|
1572
|
+
/**
|
|
1573
|
+
* Defines the grid column template for the mounting node of the attribute.
|
|
1574
|
+
*/
|
|
1575
|
+
grid_template_columns?: string;
|
|
1552
1576
|
};
|
|
1553
1577
|
dialog_config?: {
|
|
1554
1578
|
[name: string]: any;
|
|
@@ -1756,13 +1780,21 @@ declare namespace Components {
|
|
|
1756
1780
|
_purpose?: ClassificationId /* uuid */[];
|
|
1757
1781
|
}[];
|
|
1758
1782
|
/**
|
|
1759
|
-
* Custom grid definitions for the layout
|
|
1783
|
+
* Custom grid definitions for the layout. These settings are composed by managed and un-managed properties:
|
|
1784
|
+
* - Managed Properties: are interpreted and transformed into layout styles
|
|
1785
|
+
* - Un-managed Properties: are appended as styles into the attribute mounting node
|
|
1786
|
+
*
|
|
1760
1787
|
*/
|
|
1761
1788
|
layout_settings?: {
|
|
1762
|
-
[name: string]:
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1789
|
+
[name: string]: any;
|
|
1790
|
+
/**
|
|
1791
|
+
* Defines the grid gap for the mounting node of the attribute.
|
|
1792
|
+
*/
|
|
1793
|
+
grid_gap?: string;
|
|
1794
|
+
/**
|
|
1795
|
+
* Defines the grid column template for the mounting node of the attribute.
|
|
1796
|
+
*/
|
|
1797
|
+
grid_template_columns?: string;
|
|
1766
1798
|
};
|
|
1767
1799
|
dialog_config?: {
|
|
1768
1800
|
[name: string]: any;
|
|
@@ -1969,6 +2001,7 @@ declare namespace Components {
|
|
|
1969
2001
|
*
|
|
1970
2002
|
*/
|
|
1971
2003
|
render_condition?: string;
|
|
2004
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
1972
2005
|
/**
|
|
1973
2006
|
* A set of constraints applicable to the attribute.
|
|
1974
2007
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -2234,6 +2267,7 @@ declare namespace Components {
|
|
|
2234
2267
|
*
|
|
2235
2268
|
*/
|
|
2236
2269
|
render_condition?: string;
|
|
2270
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
2237
2271
|
/**
|
|
2238
2272
|
* A set of constraints applicable to the attribute.
|
|
2239
2273
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -2323,6 +2357,7 @@ declare namespace Components {
|
|
|
2323
2357
|
*
|
|
2324
2358
|
*/
|
|
2325
2359
|
render_condition?: string;
|
|
2360
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
2326
2361
|
/**
|
|
2327
2362
|
* A set of constraints applicable to the attribute.
|
|
2328
2363
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -2412,6 +2447,7 @@ declare namespace Components {
|
|
|
2412
2447
|
*
|
|
2413
2448
|
*/
|
|
2414
2449
|
render_condition?: string;
|
|
2450
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
2415
2451
|
/**
|
|
2416
2452
|
* A set of constraints applicable to the attribute.
|
|
2417
2453
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -2509,6 +2545,7 @@ declare namespace Components {
|
|
|
2509
2545
|
*
|
|
2510
2546
|
*/
|
|
2511
2547
|
render_condition?: string;
|
|
2548
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
2512
2549
|
/**
|
|
2513
2550
|
* A set of constraints applicable to the attribute.
|
|
2514
2551
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -2598,6 +2635,7 @@ declare namespace Components {
|
|
|
2598
2635
|
*
|
|
2599
2636
|
*/
|
|
2600
2637
|
render_condition?: string;
|
|
2638
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
2601
2639
|
/**
|
|
2602
2640
|
* A set of constraints applicable to the attribute.
|
|
2603
2641
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -2703,6 +2741,7 @@ declare namespace Components {
|
|
|
2703
2741
|
*
|
|
2704
2742
|
*/
|
|
2705
2743
|
render_condition?: string;
|
|
2744
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
2706
2745
|
/**
|
|
2707
2746
|
* A set of constraints applicable to the attribute.
|
|
2708
2747
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -2793,6 +2832,7 @@ declare namespace Components {
|
|
|
2793
2832
|
*
|
|
2794
2833
|
*/
|
|
2795
2834
|
render_condition?: string;
|
|
2835
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
2796
2836
|
/**
|
|
2797
2837
|
* A set of constraints applicable to the attribute.
|
|
2798
2838
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -2882,6 +2922,7 @@ declare namespace Components {
|
|
|
2882
2922
|
*
|
|
2883
2923
|
*/
|
|
2884
2924
|
render_condition?: string;
|
|
2925
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
2885
2926
|
/**
|
|
2886
2927
|
* A set of constraints applicable to the attribute.
|
|
2887
2928
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -2971,6 +3012,7 @@ declare namespace Components {
|
|
|
2971
3012
|
*
|
|
2972
3013
|
*/
|
|
2973
3014
|
render_condition?: string;
|
|
3015
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
2974
3016
|
/**
|
|
2975
3017
|
* A set of constraints applicable to the attribute.
|
|
2976
3018
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -3065,6 +3107,7 @@ declare namespace Components {
|
|
|
3065
3107
|
*
|
|
3066
3108
|
*/
|
|
3067
3109
|
render_condition?: string;
|
|
3110
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
3068
3111
|
/**
|
|
3069
3112
|
* A set of constraints applicable to the attribute.
|
|
3070
3113
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -3173,6 +3216,7 @@ declare namespace Components {
|
|
|
3173
3216
|
*
|
|
3174
3217
|
*/
|
|
3175
3218
|
render_condition?: string;
|
|
3219
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
3176
3220
|
/**
|
|
3177
3221
|
* A set of constraints applicable to the attribute.
|
|
3178
3222
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -3439,6 +3483,7 @@ declare namespace Components {
|
|
|
3439
3483
|
*
|
|
3440
3484
|
*/
|
|
3441
3485
|
render_condition?: string;
|
|
3486
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
3442
3487
|
/**
|
|
3443
3488
|
* A set of constraints applicable to the attribute.
|
|
3444
3489
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -3693,6 +3738,7 @@ declare namespace Components {
|
|
|
3693
3738
|
*
|
|
3694
3739
|
*/
|
|
3695
3740
|
render_condition?: string;
|
|
3741
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
3696
3742
|
/**
|
|
3697
3743
|
* A set of constraints applicable to the attribute.
|
|
3698
3744
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -3790,6 +3836,7 @@ declare namespace Components {
|
|
|
3790
3836
|
*
|
|
3791
3837
|
*/
|
|
3792
3838
|
render_condition?: string;
|
|
3839
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
3793
3840
|
/**
|
|
3794
3841
|
* A set of constraints applicable to the attribute.
|
|
3795
3842
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -3886,6 +3933,7 @@ declare namespace Components {
|
|
|
3886
3933
|
*
|
|
3887
3934
|
*/
|
|
3888
3935
|
render_condition?: string;
|
|
3936
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
3889
3937
|
/**
|
|
3890
3938
|
* A set of constraints applicable to the attribute.
|
|
3891
3939
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -4039,6 +4087,7 @@ declare namespace Components {
|
|
|
4039
4087
|
*
|
|
4040
4088
|
*/
|
|
4041
4089
|
render_condition?: string;
|
|
4090
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
4042
4091
|
/**
|
|
4043
4092
|
* A set of constraints applicable to the attribute.
|
|
4044
4093
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -4169,6 +4218,7 @@ declare namespace Components {
|
|
|
4169
4218
|
*
|
|
4170
4219
|
*/
|
|
4171
4220
|
render_condition?: string;
|
|
4221
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
4172
4222
|
/**
|
|
4173
4223
|
* A set of constraints applicable to the attribute.
|
|
4174
4224
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -4259,6 +4309,7 @@ declare namespace Components {
|
|
|
4259
4309
|
*
|
|
4260
4310
|
*/
|
|
4261
4311
|
render_condition?: string;
|
|
4312
|
+
_purpose?: ClassificationId /* uuid */[];
|
|
4262
4313
|
/**
|
|
4263
4314
|
* A set of constraints applicable to the attribute.
|
|
4264
4315
|
* These constraints should and will be enforced by the attribute renderer.
|
|
@@ -4457,27 +4508,6 @@ declare namespace Paths {
|
|
|
4457
4508
|
Components.Schemas.EntityItem;
|
|
4458
4509
|
}
|
|
4459
4510
|
}
|
|
4460
|
-
namespace CreateNewSchemaVersion {
|
|
4461
|
-
namespace Parameters {
|
|
4462
|
-
export type Draft = boolean;
|
|
4463
|
-
export type Slug = /**
|
|
4464
|
-
* URL-friendly identifier for the entity schema
|
|
4465
|
-
* example:
|
|
4466
|
-
* contact
|
|
4467
|
-
*/
|
|
4468
|
-
Components.Schemas.EntitySlug;
|
|
4469
|
-
}
|
|
4470
|
-
export interface PathParameters {
|
|
4471
|
-
slug: Parameters.Slug;
|
|
4472
|
-
}
|
|
4473
|
-
export interface QueryParameters {
|
|
4474
|
-
draft?: Parameters.Draft;
|
|
4475
|
-
}
|
|
4476
|
-
export type RequestBody = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchema;
|
|
4477
|
-
namespace Responses {
|
|
4478
|
-
export type $200 = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem;
|
|
4479
|
-
}
|
|
4480
|
-
}
|
|
4481
4511
|
namespace CreateSavedView {
|
|
4482
4512
|
export type RequestBody = /* A saved entity view */ Components.Schemas.SavedView;
|
|
4483
4513
|
namespace Responses {
|
|
@@ -4551,9 +4581,8 @@ declare namespace Paths {
|
|
|
4551
4581
|
}
|
|
4552
4582
|
}
|
|
4553
4583
|
}
|
|
4554
|
-
namespace
|
|
4584
|
+
namespace DeleteSchema {
|
|
4555
4585
|
namespace Parameters {
|
|
4556
|
-
export type Id = /* Generated uuid for schema */ Components.Schemas.SchemaId /* uuid */;
|
|
4557
4586
|
export type Slug = /**
|
|
4558
4587
|
* URL-friendly identifier for the entity schema
|
|
4559
4588
|
* example:
|
|
@@ -4564,9 +4593,6 @@ declare namespace Paths {
|
|
|
4564
4593
|
export interface PathParameters {
|
|
4565
4594
|
slug: Parameters.Slug;
|
|
4566
4595
|
}
|
|
4567
|
-
export interface QueryParameters {
|
|
4568
|
-
id: Parameters.Id;
|
|
4569
|
-
}
|
|
4570
4596
|
namespace Responses {
|
|
4571
4597
|
export interface $204 {
|
|
4572
4598
|
}
|
|
@@ -4597,10 +4623,16 @@ declare namespace Paths {
|
|
|
4597
4623
|
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
4598
4624
|
*/
|
|
4599
4625
|
Components.Schemas.ActivityId /* ulid */;
|
|
4626
|
+
export type OperationsFrom = number;
|
|
4627
|
+
export type OperationsSize = number;
|
|
4600
4628
|
}
|
|
4601
4629
|
export interface PathParameters {
|
|
4602
4630
|
id: Parameters.Id;
|
|
4603
4631
|
}
|
|
4632
|
+
export interface QueryParameters {
|
|
4633
|
+
operations_size?: Parameters.OperationsSize;
|
|
4634
|
+
operations_from?: Parameters.OperationsFrom;
|
|
4635
|
+
}
|
|
4604
4636
|
namespace Responses {
|
|
4605
4637
|
export type $200 = Components.Schemas.ActivityItem;
|
|
4606
4638
|
}
|
|
@@ -5037,6 +5069,27 @@ declare namespace Paths {
|
|
|
5037
5069
|
export type $200 = /* A saved entity view */ Components.Schemas.SavedViewItem;
|
|
5038
5070
|
}
|
|
5039
5071
|
}
|
|
5072
|
+
namespace UpdateSchema {
|
|
5073
|
+
namespace Parameters {
|
|
5074
|
+
export type Draft = boolean;
|
|
5075
|
+
export type Slug = /**
|
|
5076
|
+
* URL-friendly identifier for the entity schema
|
|
5077
|
+
* example:
|
|
5078
|
+
* contact
|
|
5079
|
+
*/
|
|
5080
|
+
Components.Schemas.EntitySlug;
|
|
5081
|
+
}
|
|
5082
|
+
export interface PathParameters {
|
|
5083
|
+
slug: Parameters.Slug;
|
|
5084
|
+
}
|
|
5085
|
+
export interface QueryParameters {
|
|
5086
|
+
draft?: Parameters.Draft;
|
|
5087
|
+
}
|
|
5088
|
+
export type RequestBody = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchema;
|
|
5089
|
+
namespace Responses {
|
|
5090
|
+
export type $200 = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem;
|
|
5091
|
+
}
|
|
5092
|
+
}
|
|
5040
5093
|
namespace UpsertEntity {
|
|
5041
5094
|
namespace Parameters {
|
|
5042
5095
|
export type ActivityId = /**
|
|
@@ -5131,7 +5184,7 @@ export interface OperationMethods {
|
|
|
5131
5184
|
/**
|
|
5132
5185
|
* listSchemas - listSchemas
|
|
5133
5186
|
*
|
|
5134
|
-
* Get the latest
|
|
5187
|
+
* Get the latest versions of all schemas
|
|
5135
5188
|
*/
|
|
5136
5189
|
'listSchemas'(
|
|
5137
5190
|
parameters?: Parameters<Paths.ListSchemas.QueryParameters> | null,
|
|
@@ -5139,55 +5192,55 @@ export interface OperationMethods {
|
|
|
5139
5192
|
config?: AxiosRequestConfig
|
|
5140
5193
|
): OperationResponse<Paths.ListSchemas.Responses.$200>
|
|
5141
5194
|
/**
|
|
5142
|
-
*
|
|
5195
|
+
* getSchema - getSchema
|
|
5143
5196
|
*
|
|
5144
|
-
*
|
|
5197
|
+
* By default gets the latest version of the Schema and to get the specific version of schema pass the id.
|
|
5145
5198
|
*/
|
|
5146
|
-
'
|
|
5147
|
-
parameters?: Parameters<
|
|
5199
|
+
'getSchema'(
|
|
5200
|
+
parameters?: Parameters<Paths.GetSchema.PathParameters & Paths.GetSchema.QueryParameters> | null,
|
|
5148
5201
|
data?: any,
|
|
5149
5202
|
config?: AxiosRequestConfig
|
|
5150
|
-
): OperationResponse<Paths.
|
|
5203
|
+
): OperationResponse<Paths.GetSchema.Responses.$200>
|
|
5151
5204
|
/**
|
|
5152
|
-
*
|
|
5205
|
+
* updateSchema - updateSchema
|
|
5153
5206
|
*
|
|
5154
|
-
*
|
|
5207
|
+
* Create or update a schema with a new version
|
|
5155
5208
|
*/
|
|
5156
|
-
'
|
|
5157
|
-
parameters?: Parameters<Paths.
|
|
5158
|
-
data?:
|
|
5209
|
+
'updateSchema'(
|
|
5210
|
+
parameters?: Parameters<Paths.UpdateSchema.PathParameters & Paths.UpdateSchema.QueryParameters> | null,
|
|
5211
|
+
data?: Paths.UpdateSchema.RequestBody,
|
|
5159
5212
|
config?: AxiosRequestConfig
|
|
5160
|
-
): OperationResponse<Paths.
|
|
5213
|
+
): OperationResponse<Paths.UpdateSchema.Responses.$200>
|
|
5161
5214
|
/**
|
|
5162
|
-
*
|
|
5215
|
+
* deleteSchema - deleteSchema
|
|
5163
5216
|
*
|
|
5164
|
-
*
|
|
5217
|
+
* Delete a schema, or a specific version of a schema
|
|
5165
5218
|
*/
|
|
5166
|
-
'
|
|
5167
|
-
parameters?: Parameters<Paths.
|
|
5219
|
+
'deleteSchema'(
|
|
5220
|
+
parameters?: Parameters<Paths.DeleteSchema.PathParameters> | null,
|
|
5168
5221
|
data?: any,
|
|
5169
5222
|
config?: AxiosRequestConfig
|
|
5170
|
-
): OperationResponse<Paths.
|
|
5223
|
+
): OperationResponse<Paths.DeleteSchema.Responses.$204>
|
|
5171
5224
|
/**
|
|
5172
|
-
*
|
|
5225
|
+
* getSchemaVersions - getSchemaVersions
|
|
5173
5226
|
*
|
|
5174
|
-
*
|
|
5227
|
+
* Get all versions of this schema ordered by the latest versions including drafts.
|
|
5175
5228
|
*/
|
|
5176
|
-
'
|
|
5177
|
-
parameters?: Parameters<Paths.
|
|
5178
|
-
data?:
|
|
5229
|
+
'getSchemaVersions'(
|
|
5230
|
+
parameters?: Parameters<Paths.GetSchemaVersions.PathParameters> | null,
|
|
5231
|
+
data?: any,
|
|
5179
5232
|
config?: AxiosRequestConfig
|
|
5180
|
-
): OperationResponse<Paths.
|
|
5233
|
+
): OperationResponse<Paths.GetSchemaVersions.Responses.$200>
|
|
5181
5234
|
/**
|
|
5182
|
-
*
|
|
5235
|
+
* listSchemaBlueprints - listSchemaBlueprints
|
|
5183
5236
|
*
|
|
5184
|
-
*
|
|
5237
|
+
* List canonical versions of all available schemas
|
|
5185
5238
|
*/
|
|
5186
|
-
'
|
|
5187
|
-
parameters?: Parameters<
|
|
5239
|
+
'listSchemaBlueprints'(
|
|
5240
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5188
5241
|
data?: any,
|
|
5189
5242
|
config?: AxiosRequestConfig
|
|
5190
|
-
): OperationResponse<Paths.
|
|
5243
|
+
): OperationResponse<Paths.ListSchemaBlueprints.Responses.$200>
|
|
5191
5244
|
/**
|
|
5192
5245
|
* listTaxonomyClassificationsForSchema - listTaxonomyClassificationsForSchema
|
|
5193
5246
|
*
|
|
@@ -5481,7 +5534,7 @@ export interface OperationMethods {
|
|
|
5481
5534
|
* Get activity by id
|
|
5482
5535
|
*/
|
|
5483
5536
|
'getActivity'(
|
|
5484
|
-
parameters?: Parameters<Paths.GetActivity.PathParameters> | null,
|
|
5537
|
+
parameters?: Parameters<Paths.GetActivity.PathParameters & Paths.GetActivity.QueryParameters> | null,
|
|
5485
5538
|
data?: any,
|
|
5486
5539
|
config?: AxiosRequestConfig
|
|
5487
5540
|
): OperationResponse<Paths.GetActivity.Responses.$200>
|
|
@@ -5678,7 +5731,7 @@ export interface PathsDictionary {
|
|
|
5678
5731
|
/**
|
|
5679
5732
|
* listSchemas - listSchemas
|
|
5680
5733
|
*
|
|
5681
|
-
* Get the latest
|
|
5734
|
+
* Get the latest versions of all schemas
|
|
5682
5735
|
*/
|
|
5683
5736
|
'get'(
|
|
5684
5737
|
parameters?: Parameters<Paths.ListSchemas.QueryParameters> | null,
|
|
@@ -5686,17 +5739,37 @@ export interface PathsDictionary {
|
|
|
5686
5739
|
config?: AxiosRequestConfig
|
|
5687
5740
|
): OperationResponse<Paths.ListSchemas.Responses.$200>
|
|
5688
5741
|
}
|
|
5689
|
-
['/v1/entity/schemas/
|
|
5742
|
+
['/v1/entity/schemas/{slug}']: {
|
|
5690
5743
|
/**
|
|
5691
|
-
*
|
|
5744
|
+
* getSchema - getSchema
|
|
5692
5745
|
*
|
|
5693
|
-
*
|
|
5746
|
+
* By default gets the latest version of the Schema and to get the specific version of schema pass the id.
|
|
5694
5747
|
*/
|
|
5695
5748
|
'get'(
|
|
5696
|
-
parameters?: Parameters<
|
|
5749
|
+
parameters?: Parameters<Paths.GetSchema.PathParameters & Paths.GetSchema.QueryParameters> | null,
|
|
5697
5750
|
data?: any,
|
|
5698
5751
|
config?: AxiosRequestConfig
|
|
5699
|
-
): OperationResponse<Paths.
|
|
5752
|
+
): OperationResponse<Paths.GetSchema.Responses.$200>
|
|
5753
|
+
/**
|
|
5754
|
+
* updateSchema - updateSchema
|
|
5755
|
+
*
|
|
5756
|
+
* Create or update a schema with a new version
|
|
5757
|
+
*/
|
|
5758
|
+
'put'(
|
|
5759
|
+
parameters?: Parameters<Paths.UpdateSchema.PathParameters & Paths.UpdateSchema.QueryParameters> | null,
|
|
5760
|
+
data?: Paths.UpdateSchema.RequestBody,
|
|
5761
|
+
config?: AxiosRequestConfig
|
|
5762
|
+
): OperationResponse<Paths.UpdateSchema.Responses.$200>
|
|
5763
|
+
/**
|
|
5764
|
+
* deleteSchema - deleteSchema
|
|
5765
|
+
*
|
|
5766
|
+
* Delete a schema, or a specific version of a schema
|
|
5767
|
+
*/
|
|
5768
|
+
'delete'(
|
|
5769
|
+
parameters?: Parameters<Paths.DeleteSchema.PathParameters> | null,
|
|
5770
|
+
data?: any,
|
|
5771
|
+
config?: AxiosRequestConfig
|
|
5772
|
+
): OperationResponse<Paths.DeleteSchema.Responses.$204>
|
|
5700
5773
|
}
|
|
5701
5774
|
['/v1/entity/schemas/{slug}/versions']: {
|
|
5702
5775
|
/**
|
|
@@ -5710,37 +5783,17 @@ export interface PathsDictionary {
|
|
|
5710
5783
|
config?: AxiosRequestConfig
|
|
5711
5784
|
): OperationResponse<Paths.GetSchemaVersions.Responses.$200>
|
|
5712
5785
|
}
|
|
5713
|
-
['/v1/entity/schemas/
|
|
5786
|
+
['/v1/entity/schemas/blueprints']: {
|
|
5714
5787
|
/**
|
|
5715
|
-
*
|
|
5788
|
+
* listSchemaBlueprints - listSchemaBlueprints
|
|
5716
5789
|
*
|
|
5717
|
-
*
|
|
5790
|
+
* List canonical versions of all available schemas
|
|
5718
5791
|
*/
|
|
5719
5792
|
'get'(
|
|
5720
|
-
parameters?: Parameters<
|
|
5721
|
-
data?: any,
|
|
5722
|
-
config?: AxiosRequestConfig
|
|
5723
|
-
): OperationResponse<Paths.GetSchema.Responses.$200>
|
|
5724
|
-
/**
|
|
5725
|
-
* createNewSchemaVersion - createNewSchemaVersion
|
|
5726
|
-
*
|
|
5727
|
-
* Create new version of the schema and default draft is false.
|
|
5728
|
-
*/
|
|
5729
|
-
'put'(
|
|
5730
|
-
parameters?: Parameters<Paths.CreateNewSchemaVersion.PathParameters & Paths.CreateNewSchemaVersion.QueryParameters> | null,
|
|
5731
|
-
data?: Paths.CreateNewSchemaVersion.RequestBody,
|
|
5732
|
-
config?: AxiosRequestConfig
|
|
5733
|
-
): OperationResponse<Paths.CreateNewSchemaVersion.Responses.$200>
|
|
5734
|
-
/**
|
|
5735
|
-
* deleteSchemaById - deleteSchemaById
|
|
5736
|
-
*
|
|
5737
|
-
* Delete schema by Id
|
|
5738
|
-
*/
|
|
5739
|
-
'delete'(
|
|
5740
|
-
parameters?: Parameters<Paths.DeleteSchemaById.PathParameters & Paths.DeleteSchemaById.QueryParameters> | null,
|
|
5793
|
+
parameters?: Parameters<UnknownParamsObject> | null,
|
|
5741
5794
|
data?: any,
|
|
5742
5795
|
config?: AxiosRequestConfig
|
|
5743
|
-
): OperationResponse<Paths.
|
|
5796
|
+
): OperationResponse<Paths.ListSchemaBlueprints.Responses.$200>
|
|
5744
5797
|
}
|
|
5745
5798
|
['/v1/entity/schemas/{slug}/taxonomy/{taxonomySlug}']: {
|
|
5746
5799
|
/**
|
|
@@ -6050,7 +6103,7 @@ export interface PathsDictionary {
|
|
|
6050
6103
|
* Get activity by id
|
|
6051
6104
|
*/
|
|
6052
6105
|
'get'(
|
|
6053
|
-
parameters?: Parameters<Paths.GetActivity.PathParameters> | null,
|
|
6106
|
+
parameters?: Parameters<Paths.GetActivity.PathParameters & Paths.GetActivity.QueryParameters> | null,
|
|
6054
6107
|
data?: any,
|
|
6055
6108
|
config?: AxiosRequestConfig
|
|
6056
6109
|
): OperationResponse<Paths.GetActivity.Responses.$200>
|