@epilot/entity-client 4.22.0 → 4.23.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/jest.config.ts +16 -0
- package/package-lock.json +17779 -0
- package/package.json +1 -1
- package/src/client.test.ts +25 -0
- package/src/client.ts +26 -0
- package/src/definition.ts +5 -0
- package/{dist → src}/openapi-runtime.json +74 -0
- package/{dist → src}/openapi.d.ts +409 -69
- package/{dist → src}/openapi.json +275 -85
- package/src/schema-model.ts +13 -0
- package/webpack.config.js +31 -0
- package/dist/client.d.ts +0 -3
- package/dist/client.js +0 -37
- package/dist/definition.d.ts +0 -3
- package/dist/definition.js +0 -1
- package/dist/index.js +0 -19
- package/dist/schema-model.d.ts +0 -11
- package/dist/schema-model.js +0 -13
- /package/{dist/index.d.ts → src/index.ts} +0 -0
|
@@ -348,6 +348,16 @@ declare namespace Components {
|
|
|
348
348
|
has_primary?: boolean;
|
|
349
349
|
}
|
|
350
350
|
export type Attribute = /* Textarea or text input */ TextAttribute | /* Link with title and href */ LinkAttribute | /* Date or Datetime picker */ DateAttribute | /* Country picker */ CountryAttribute | /* Yes / No Toggle */ BooleanAttribute | /* Dropdown select */ SelectAttribute | /* Multi Choice Selection */ MultiSelectAttribute | /* Status select */ StatusAttribute | /* Sequence of unique identifiers */ SequenceAttribute | /* Entity Relationship */ RelationAttribute | /* User Relationship */ UserRelationAttribute | /* Reference to an address attribute of another entity */ AddressRelationAttribute | /* Reference to a payment method attribute of another entity */ PaymentMethodRelationAttribute | /* Currency input */ CurrencyAttribute | /* Repeatable (add N number of fields) */ RepeatableAttribute | /* Tags */ TagsAttribute | /* Numeric input */ NumberAttribute | /* Consent Management */ ConsentAttribute | /* No UI representation */ InternalAttribute | /* Type of attribute to render N number of ordered fields */ OrderedListAttribute | /* File or Image Attachment */ FileAttribute | /* An attribute that is computed from the entity data. For more details on how to use them, check the docs [here](https://e-pilot.atlassian.net/wiki/spaces/EO/pages/5642977476/How+To+Computed+Schema+Attributes) */ ComputedAttribute | /* Partner Status */ PartnerStatusAttribute | /* Email address for send invitation */ InvitationEmailAttribute | /* Automation entity */ AutomationAttribute | /* Epilot internal user info */ InternalUserAttribute | /* Entity Taxonomy */ PurposeAttribute | /* Shared Partner Organisations */ PartnerOrganisationAttribute;
|
|
351
|
+
/**
|
|
352
|
+
* a readonly computed ID for the attribute including schema slug and the attribute ID
|
|
353
|
+
*/
|
|
354
|
+
export type AttributeWithCompositeID = {
|
|
355
|
+
/**
|
|
356
|
+
* example:
|
|
357
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
358
|
+
*/
|
|
359
|
+
composite_id?: string;
|
|
360
|
+
} & (/* a readonly computed ID for the attribute including schema slug and the attribute ID */ /* Textarea or text input */ TextAttribute | /* Link with title and href */ LinkAttribute | /* Date or Datetime picker */ DateAttribute | /* Country picker */ CountryAttribute | /* Yes / No Toggle */ BooleanAttribute | /* Dropdown select */ SelectAttribute | /* Multi Choice Selection */ MultiSelectAttribute | /* Status select */ StatusAttribute | /* Sequence of unique identifiers */ SequenceAttribute | /* Entity Relationship */ RelationAttribute | /* User Relationship */ UserRelationAttribute | /* Reference to an address attribute of another entity */ AddressRelationAttribute | /* Reference to a payment method attribute of another entity */ PaymentMethodRelationAttribute | /* Currency input */ CurrencyAttribute | /* Repeatable (add N number of fields) */ RepeatableAttribute | /* Tags */ TagsAttribute | /* Numeric input */ NumberAttribute | /* Consent Management */ ConsentAttribute | /* No UI representation */ InternalAttribute | /* Type of attribute to render N number of ordered fields */ OrderedListAttribute | /* File or Image Attachment */ FileAttribute | /* An attribute that is computed from the entity data. For more details on how to use them, check the docs [here](https://e-pilot.atlassian.net/wiki/spaces/EO/pages/5642977476/How+To+Computed+Schema+Attributes) */ ComputedAttribute | /* Partner Status */ PartnerStatusAttribute | /* Email address for send invitation */ InvitationEmailAttribute | /* Automation entity */ AutomationAttribute | /* Epilot internal user info */ InternalUserAttribute | /* Entity Taxonomy */ PurposeAttribute | /* Shared Partner Organisations */ PartnerOrganisationAttribute);
|
|
351
361
|
/**
|
|
352
362
|
* Automation entity
|
|
353
363
|
*/
|
|
@@ -474,6 +484,45 @@ declare namespace Components {
|
|
|
474
484
|
};
|
|
475
485
|
type?: "automation";
|
|
476
486
|
}
|
|
487
|
+
export interface BaseActivityItem {
|
|
488
|
+
_id?: /**
|
|
489
|
+
* See https://github.com/ulid/spec
|
|
490
|
+
* example:
|
|
491
|
+
* 01F130Q52Q6MWSNS8N2AVXV4JN
|
|
492
|
+
*/
|
|
493
|
+
ActivityId /* ulid */;
|
|
494
|
+
timestamp?: string; // date-time
|
|
495
|
+
/**
|
|
496
|
+
* example:
|
|
497
|
+
* MyCustomActivity
|
|
498
|
+
*/
|
|
499
|
+
type: string;
|
|
500
|
+
/**
|
|
501
|
+
* Title for activity. Supports handlebars syntax.
|
|
502
|
+
* example:
|
|
503
|
+
* My custom activity
|
|
504
|
+
*/
|
|
505
|
+
title: string;
|
|
506
|
+
/**
|
|
507
|
+
* Message for activity. Supports handlebars syntax.
|
|
508
|
+
* example:
|
|
509
|
+
* {{caller}} did something with {{entity payload.entity.id}}.
|
|
510
|
+
*/
|
|
511
|
+
message: string;
|
|
512
|
+
/**
|
|
513
|
+
* example:
|
|
514
|
+
* {
|
|
515
|
+
* "entity": {
|
|
516
|
+
* "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
|
|
517
|
+
* "schema": "contact"
|
|
518
|
+
* }
|
|
519
|
+
* }
|
|
520
|
+
*/
|
|
521
|
+
payload?: {
|
|
522
|
+
[name: string]: any;
|
|
523
|
+
};
|
|
524
|
+
caller?: ActivityCallerContext;
|
|
525
|
+
}
|
|
477
526
|
export interface BaseAttribute {
|
|
478
527
|
name: string;
|
|
479
528
|
label: string;
|
|
@@ -1651,6 +1700,120 @@ declare namespace Components {
|
|
|
1651
1700
|
*/
|
|
1652
1701
|
settings_flag?: SettingFlag[];
|
|
1653
1702
|
}
|
|
1703
|
+
/**
|
|
1704
|
+
* a readonly computed ID for the entity capability including schema slug and the capability ID
|
|
1705
|
+
*/
|
|
1706
|
+
export interface EntityCapabilityWithCompositeID {
|
|
1707
|
+
/**
|
|
1708
|
+
* Unique name for the capability
|
|
1709
|
+
* example:
|
|
1710
|
+
* customer_messaging
|
|
1711
|
+
*/
|
|
1712
|
+
name: string;
|
|
1713
|
+
/**
|
|
1714
|
+
* Human readable title of the capability
|
|
1715
|
+
* example:
|
|
1716
|
+
* Messaging
|
|
1717
|
+
*/
|
|
1718
|
+
title?: string;
|
|
1719
|
+
attributes?: Attribute[];
|
|
1720
|
+
_purpose?: /**
|
|
1721
|
+
* example:
|
|
1722
|
+
* taxonomy-slug:classification-slug
|
|
1723
|
+
*/
|
|
1724
|
+
ClassificationId[];
|
|
1725
|
+
ui_hooks?: {
|
|
1726
|
+
[name: string]: any;
|
|
1727
|
+
/**
|
|
1728
|
+
* name of the hook to use
|
|
1729
|
+
* example:
|
|
1730
|
+
* EntityDetailsV2:Tab
|
|
1731
|
+
*/
|
|
1732
|
+
hook: string;
|
|
1733
|
+
/**
|
|
1734
|
+
* example:
|
|
1735
|
+
* _is_composite_price = "false"
|
|
1736
|
+
*/
|
|
1737
|
+
render_condition?: string;
|
|
1738
|
+
/**
|
|
1739
|
+
* render order (ascending)
|
|
1740
|
+
* example:
|
|
1741
|
+
* 10
|
|
1742
|
+
*/
|
|
1743
|
+
order?: number;
|
|
1744
|
+
/**
|
|
1745
|
+
* example:
|
|
1746
|
+
* Notes
|
|
1747
|
+
*/
|
|
1748
|
+
title?: string;
|
|
1749
|
+
/**
|
|
1750
|
+
* Sets the group expand/collapse default state
|
|
1751
|
+
*/
|
|
1752
|
+
group_expanded?: boolean;
|
|
1753
|
+
/**
|
|
1754
|
+
* package to be imported
|
|
1755
|
+
* example:
|
|
1756
|
+
* @epilot360/notes
|
|
1757
|
+
*/
|
|
1758
|
+
import?: string;
|
|
1759
|
+
/**
|
|
1760
|
+
* the component to be dynamically loaded
|
|
1761
|
+
* example:
|
|
1762
|
+
* PricingItems
|
|
1763
|
+
*/
|
|
1764
|
+
component?: string;
|
|
1765
|
+
/**
|
|
1766
|
+
* route for specified capability
|
|
1767
|
+
* example:
|
|
1768
|
+
* notes
|
|
1769
|
+
*/
|
|
1770
|
+
route?: string;
|
|
1771
|
+
/**
|
|
1772
|
+
* Preview icon name(As in Base elements) for the capability
|
|
1773
|
+
* example:
|
|
1774
|
+
* email
|
|
1775
|
+
*/
|
|
1776
|
+
icon?: string;
|
|
1777
|
+
/**
|
|
1778
|
+
* Whether capability should be disabled
|
|
1779
|
+
*/
|
|
1780
|
+
disabled?: boolean;
|
|
1781
|
+
/**
|
|
1782
|
+
* Specific to Activity pilot
|
|
1783
|
+
*/
|
|
1784
|
+
header?: boolean;
|
|
1785
|
+
/**
|
|
1786
|
+
* Require a permission to display UI hook
|
|
1787
|
+
*/
|
|
1788
|
+
requiredPermission?: {
|
|
1789
|
+
/**
|
|
1790
|
+
* example:
|
|
1791
|
+
* note:view
|
|
1792
|
+
*/
|
|
1793
|
+
action: string;
|
|
1794
|
+
/**
|
|
1795
|
+
* example:
|
|
1796
|
+
* 123
|
|
1797
|
+
*/
|
|
1798
|
+
resource?: string;
|
|
1799
|
+
};
|
|
1800
|
+
}[];
|
|
1801
|
+
/**
|
|
1802
|
+
* This capability should only be active when the feature flag is enabled
|
|
1803
|
+
* example:
|
|
1804
|
+
* FF_MY_FEATURE_FLAG
|
|
1805
|
+
*/
|
|
1806
|
+
feature_flag?: string;
|
|
1807
|
+
/**
|
|
1808
|
+
* This capability should only be active when all the settings have the correct value
|
|
1809
|
+
*/
|
|
1810
|
+
settings_flag?: SettingFlag[];
|
|
1811
|
+
/**
|
|
1812
|
+
* example:
|
|
1813
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
1814
|
+
*/
|
|
1815
|
+
composite_id?: string;
|
|
1816
|
+
}
|
|
1654
1817
|
export interface EntityDefaultCreate {
|
|
1655
1818
|
view_type?: "default";
|
|
1656
1819
|
search_params?: {
|
|
@@ -2914,73 +3077,6 @@ declare namespace Components {
|
|
|
2914
3077
|
hits?: number;
|
|
2915
3078
|
relations?: GetRelationsResp;
|
|
2916
3079
|
}
|
|
2917
|
-
/**
|
|
2918
|
-
* Entity with relation data resolved into the attribute values
|
|
2919
|
-
* example:
|
|
2920
|
-
* {
|
|
2921
|
-
* "_relations": [
|
|
2922
|
-
* {
|
|
2923
|
-
* "entity_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
|
|
2924
|
-
* }
|
|
2925
|
-
* ],
|
|
2926
|
-
* "status": "active",
|
|
2927
|
-
* "customer_number": "abc123",
|
|
2928
|
-
* "email": [
|
|
2929
|
-
* {
|
|
2930
|
-
* "label": "work",
|
|
2931
|
-
* "email": "user@example.com"
|
|
2932
|
-
* }
|
|
2933
|
-
* ],
|
|
2934
|
-
* "phone": [
|
|
2935
|
-
* {
|
|
2936
|
-
* "label": "work",
|
|
2937
|
-
* "phone": "+49123456789"
|
|
2938
|
-
* }
|
|
2939
|
-
* ],
|
|
2940
|
-
* "first_name": "First Name",
|
|
2941
|
-
* "middle_name": "Middle Name",
|
|
2942
|
-
* "last_name": "Last Name",
|
|
2943
|
-
* "date_of_birth": "2019-08-24",
|
|
2944
|
-
* "title": "Mr.",
|
|
2945
|
-
* "account": [
|
|
2946
|
-
* {
|
|
2947
|
-
* "status": "active",
|
|
2948
|
-
* "name": "Company name",
|
|
2949
|
-
* "company_email": [
|
|
2950
|
-
* {
|
|
2951
|
-
* "label": "Company email",
|
|
2952
|
-
* "email": "company@example.com"
|
|
2953
|
-
* }
|
|
2954
|
-
* ],
|
|
2955
|
-
* "company_phone": [
|
|
2956
|
-
* {
|
|
2957
|
-
* "label": "Support phone",
|
|
2958
|
-
* "phone": "+49123456789"
|
|
2959
|
-
* }
|
|
2960
|
-
* ],
|
|
2961
|
-
* "company_website": "https://example.com",
|
|
2962
|
-
* "tax_id": "DE123456789",
|
|
2963
|
-
* "tax_exemption": "2019-08-24",
|
|
2964
|
-
* "contacts": {
|
|
2965
|
-
* "$relation": [
|
|
2966
|
-
* {
|
|
2967
|
-
* "_tags": [
|
|
2968
|
-
* "CEO"
|
|
2969
|
-
* ],
|
|
2970
|
-
* "entity_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
|
|
2971
|
-
* }
|
|
2972
|
-
* ]
|
|
2973
|
-
* }
|
|
2974
|
-
* }
|
|
2975
|
-
* ]
|
|
2976
|
-
* }
|
|
2977
|
-
*/
|
|
2978
|
-
export interface HydratedEntity {
|
|
2979
|
-
[name: string]: any;
|
|
2980
|
-
_relations: {
|
|
2981
|
-
entity_id: EntityId /* uuid */;
|
|
2982
|
-
}[];
|
|
2983
|
-
}
|
|
2984
3080
|
/**
|
|
2985
3081
|
* No UI representation
|
|
2986
3082
|
*/
|
|
@@ -3769,6 +3865,10 @@ declare namespace Components {
|
|
|
3769
3865
|
};
|
|
3770
3866
|
type?: "number";
|
|
3771
3867
|
format?: string;
|
|
3868
|
+
/**
|
|
3869
|
+
* Whether or not to show a thousands separator
|
|
3870
|
+
*/
|
|
3871
|
+
show_separator?: boolean;
|
|
3772
3872
|
}
|
|
3773
3873
|
/**
|
|
3774
3874
|
* Type of attribute to render N number of ordered fields
|
|
@@ -6092,7 +6192,7 @@ declare namespace Paths {
|
|
|
6092
6192
|
entities?: Parameters.Entities;
|
|
6093
6193
|
}
|
|
6094
6194
|
namespace Responses {
|
|
6095
|
-
export type $200 = Components.Schemas.
|
|
6195
|
+
export type $200 = Components.Schemas.BaseActivityItem;
|
|
6096
6196
|
}
|
|
6097
6197
|
}
|
|
6098
6198
|
namespace Autocomplete {
|
|
@@ -6149,7 +6249,7 @@ declare namespace Paths {
|
|
|
6149
6249
|
}
|
|
6150
6250
|
export type RequestBody = Components.Schemas.Activity;
|
|
6151
6251
|
namespace Responses {
|
|
6152
|
-
export type $200 = Components.Schemas.
|
|
6252
|
+
export type $200 = Components.Schemas.BaseActivityItem;
|
|
6153
6253
|
}
|
|
6154
6254
|
}
|
|
6155
6255
|
namespace CreateEntity {
|
|
@@ -6414,6 +6514,44 @@ declare namespace Paths {
|
|
|
6414
6514
|
}
|
|
6415
6515
|
}
|
|
6416
6516
|
}
|
|
6517
|
+
namespace DeleteSchemaAttribute {
|
|
6518
|
+
namespace Parameters {
|
|
6519
|
+
/**
|
|
6520
|
+
* example:
|
|
6521
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
6522
|
+
*/
|
|
6523
|
+
export type CompositeId = string; // ^.+:.+$
|
|
6524
|
+
}
|
|
6525
|
+
export interface PathParameters {
|
|
6526
|
+
composite_id: /**
|
|
6527
|
+
* example:
|
|
6528
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
6529
|
+
*/
|
|
6530
|
+
Parameters.CompositeId /* ^.+:.+$ */;
|
|
6531
|
+
}
|
|
6532
|
+
namespace Responses {
|
|
6533
|
+
export type $200 = /* a readonly computed ID for the attribute including schema slug and the attribute ID */ Components.Schemas.AttributeWithCompositeID;
|
|
6534
|
+
}
|
|
6535
|
+
}
|
|
6536
|
+
namespace DeleteSchemaCapability {
|
|
6537
|
+
namespace Parameters {
|
|
6538
|
+
/**
|
|
6539
|
+
* example:
|
|
6540
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
6541
|
+
*/
|
|
6542
|
+
export type CompositeId = string; // ^.+:.+$
|
|
6543
|
+
}
|
|
6544
|
+
export interface PathParameters {
|
|
6545
|
+
composite_id: /**
|
|
6546
|
+
* example:
|
|
6547
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
6548
|
+
*/
|
|
6549
|
+
Parameters.CompositeId /* ^.+:.+$ */;
|
|
6550
|
+
}
|
|
6551
|
+
namespace Responses {
|
|
6552
|
+
export type $200 = /* a readonly computed ID for the entity capability including schema slug and the capability ID */ Components.Schemas.EntityCapabilityWithCompositeID;
|
|
6553
|
+
}
|
|
6554
|
+
}
|
|
6417
6555
|
namespace DeleteTaxonomy {
|
|
6418
6556
|
namespace Parameters {
|
|
6419
6557
|
export type Permanent = boolean;
|
|
@@ -6924,6 +7062,44 @@ declare namespace Paths {
|
|
|
6924
7062
|
export type $200 = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem;
|
|
6925
7063
|
}
|
|
6926
7064
|
}
|
|
7065
|
+
namespace GetSchemaAttribute {
|
|
7066
|
+
namespace Parameters {
|
|
7067
|
+
/**
|
|
7068
|
+
* example:
|
|
7069
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
7070
|
+
*/
|
|
7071
|
+
export type CompositeId = string; // ^.+:.+$
|
|
7072
|
+
}
|
|
7073
|
+
export interface PathParameters {
|
|
7074
|
+
composite_id: /**
|
|
7075
|
+
* example:
|
|
7076
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
7077
|
+
*/
|
|
7078
|
+
Parameters.CompositeId /* ^.+:.+$ */;
|
|
7079
|
+
}
|
|
7080
|
+
namespace Responses {
|
|
7081
|
+
export type $200 = /* a readonly computed ID for the attribute including schema slug and the attribute ID */ Components.Schemas.AttributeWithCompositeID;
|
|
7082
|
+
}
|
|
7083
|
+
}
|
|
7084
|
+
namespace GetSchemaCapability {
|
|
7085
|
+
namespace Parameters {
|
|
7086
|
+
/**
|
|
7087
|
+
* example:
|
|
7088
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
7089
|
+
*/
|
|
7090
|
+
export type CompositeId = string; // ^.+:.+$
|
|
7091
|
+
}
|
|
7092
|
+
export interface PathParameters {
|
|
7093
|
+
composite_id: /**
|
|
7094
|
+
* example:
|
|
7095
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
7096
|
+
*/
|
|
7097
|
+
Parameters.CompositeId /* ^.+:.+$ */;
|
|
7098
|
+
}
|
|
7099
|
+
namespace Responses {
|
|
7100
|
+
export type $200 = /* a readonly computed ID for the entity capability including schema slug and the capability ID */ Components.Schemas.EntityCapabilityWithCompositeID;
|
|
7101
|
+
}
|
|
7102
|
+
}
|
|
6927
7103
|
namespace GetSchemaVersions {
|
|
6928
7104
|
namespace Parameters {
|
|
6929
7105
|
export type DraftsFrom = number;
|
|
@@ -7236,6 +7412,46 @@ declare namespace Paths {
|
|
|
7236
7412
|
export type $200 = /* The "type" of an Entity. Describes the shape. Includes Entity Attributes, Relations and Capabilities. */ Components.Schemas.EntitySchemaItem;
|
|
7237
7413
|
}
|
|
7238
7414
|
}
|
|
7415
|
+
namespace PutSchemaAttribute {
|
|
7416
|
+
namespace Parameters {
|
|
7417
|
+
/**
|
|
7418
|
+
* example:
|
|
7419
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
7420
|
+
*/
|
|
7421
|
+
export type CompositeId = string; // ^.+:.+$
|
|
7422
|
+
}
|
|
7423
|
+
export interface PathParameters {
|
|
7424
|
+
composite_id: /**
|
|
7425
|
+
* example:
|
|
7426
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
7427
|
+
*/
|
|
7428
|
+
Parameters.CompositeId /* ^.+:.+$ */;
|
|
7429
|
+
}
|
|
7430
|
+
export type RequestBody = /* a readonly computed ID for the attribute including schema slug and the attribute ID */ Components.Schemas.AttributeWithCompositeID;
|
|
7431
|
+
namespace Responses {
|
|
7432
|
+
export type $200 = /* a readonly computed ID for the attribute including schema slug and the attribute ID */ Components.Schemas.AttributeWithCompositeID;
|
|
7433
|
+
}
|
|
7434
|
+
}
|
|
7435
|
+
namespace PutSchemaCapability {
|
|
7436
|
+
namespace Parameters {
|
|
7437
|
+
/**
|
|
7438
|
+
* example:
|
|
7439
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
7440
|
+
*/
|
|
7441
|
+
export type CompositeId = string; // ^.+:.+$
|
|
7442
|
+
}
|
|
7443
|
+
export interface PathParameters {
|
|
7444
|
+
composite_id: /**
|
|
7445
|
+
* example:
|
|
7446
|
+
* contact:97644baa-083f-4e49-9188-fcff2ecaad7d
|
|
7447
|
+
*/
|
|
7448
|
+
Parameters.CompositeId /* ^.+:.+$ */;
|
|
7449
|
+
}
|
|
7450
|
+
export type RequestBody = /* a readonly computed ID for the entity capability including schema slug and the capability ID */ Components.Schemas.EntityCapabilityWithCompositeID;
|
|
7451
|
+
namespace Responses {
|
|
7452
|
+
export type $200 = /* a readonly computed ID for the entity capability including schema slug and the capability ID */ Components.Schemas.EntityCapabilityWithCompositeID;
|
|
7453
|
+
}
|
|
7454
|
+
}
|
|
7239
7455
|
namespace SearchEntities {
|
|
7240
7456
|
export type RequestBody = Components.Schemas.EntitySearchParams;
|
|
7241
7457
|
namespace Responses {
|
|
@@ -8473,6 +8689,66 @@ export interface OperationMethods {
|
|
|
8473
8689
|
data?: any,
|
|
8474
8690
|
config?: AxiosRequestConfig
|
|
8475
8691
|
): OperationResponse<Paths.DeleteTaxonomyClassification.Responses.$204>
|
|
8692
|
+
/**
|
|
8693
|
+
* getSchemaAttribute - getSchemaAttribute
|
|
8694
|
+
*
|
|
8695
|
+
* Get a schema attribute from given attribute ID
|
|
8696
|
+
*/
|
|
8697
|
+
'getSchemaAttribute'(
|
|
8698
|
+
parameters?: Parameters<Paths.GetSchemaAttribute.PathParameters> | null,
|
|
8699
|
+
data?: any,
|
|
8700
|
+
config?: AxiosRequestConfig
|
|
8701
|
+
): OperationResponse<Paths.GetSchemaAttribute.Responses.$200>
|
|
8702
|
+
/**
|
|
8703
|
+
* putSchemaAttribute - putSchemaAttribute
|
|
8704
|
+
*
|
|
8705
|
+
* Adds or updates an attribute in the schema
|
|
8706
|
+
*/
|
|
8707
|
+
'putSchemaAttribute'(
|
|
8708
|
+
parameters?: Parameters<Paths.PutSchemaAttribute.PathParameters> | null,
|
|
8709
|
+
data?: Paths.PutSchemaAttribute.RequestBody,
|
|
8710
|
+
config?: AxiosRequestConfig
|
|
8711
|
+
): OperationResponse<Paths.PutSchemaAttribute.Responses.$200>
|
|
8712
|
+
/**
|
|
8713
|
+
* deleteSchemaAttribute - deleteSchemaAttribute
|
|
8714
|
+
*
|
|
8715
|
+
* Deletes an attribute from a schema
|
|
8716
|
+
*/
|
|
8717
|
+
'deleteSchemaAttribute'(
|
|
8718
|
+
parameters?: Parameters<Paths.DeleteSchemaAttribute.PathParameters> | null,
|
|
8719
|
+
data?: any,
|
|
8720
|
+
config?: AxiosRequestConfig
|
|
8721
|
+
): OperationResponse<Paths.DeleteSchemaAttribute.Responses.$200>
|
|
8722
|
+
/**
|
|
8723
|
+
* getSchemaCapability - getSchemaCapability
|
|
8724
|
+
*
|
|
8725
|
+
* Get a schema capability from given capability ID
|
|
8726
|
+
*/
|
|
8727
|
+
'getSchemaCapability'(
|
|
8728
|
+
parameters?: Parameters<Paths.GetSchemaCapability.PathParameters> | null,
|
|
8729
|
+
data?: any,
|
|
8730
|
+
config?: AxiosRequestConfig
|
|
8731
|
+
): OperationResponse<Paths.GetSchemaCapability.Responses.$200>
|
|
8732
|
+
/**
|
|
8733
|
+
* putSchemaCapability - putSchemaCapability
|
|
8734
|
+
*
|
|
8735
|
+
* Adds or updates an capability in the schema
|
|
8736
|
+
*/
|
|
8737
|
+
'putSchemaCapability'(
|
|
8738
|
+
parameters?: Parameters<Paths.PutSchemaCapability.PathParameters> | null,
|
|
8739
|
+
data?: Paths.PutSchemaCapability.RequestBody,
|
|
8740
|
+
config?: AxiosRequestConfig
|
|
8741
|
+
): OperationResponse<Paths.PutSchemaCapability.Responses.$200>
|
|
8742
|
+
/**
|
|
8743
|
+
* deleteSchemaCapability - deleteSchemaCapability
|
|
8744
|
+
*
|
|
8745
|
+
* Deletes a Capability from a schema
|
|
8746
|
+
*/
|
|
8747
|
+
'deleteSchemaCapability'(
|
|
8748
|
+
parameters?: Parameters<Paths.DeleteSchemaCapability.PathParameters> | null,
|
|
8749
|
+
data?: any,
|
|
8750
|
+
config?: AxiosRequestConfig
|
|
8751
|
+
): OperationResponse<Paths.DeleteSchemaCapability.Responses.$200>
|
|
8476
8752
|
}
|
|
8477
8753
|
|
|
8478
8754
|
export interface PathsDictionary {
|
|
@@ -9273,6 +9549,70 @@ export interface PathsDictionary {
|
|
|
9273
9549
|
config?: AxiosRequestConfig
|
|
9274
9550
|
): OperationResponse<Paths.DeleteTaxonomyClassification.Responses.$204>
|
|
9275
9551
|
}
|
|
9552
|
+
['/v1/entity/schemas/attributes/{composite_id}']: {
|
|
9553
|
+
/**
|
|
9554
|
+
* getSchemaAttribute - getSchemaAttribute
|
|
9555
|
+
*
|
|
9556
|
+
* Get a schema attribute from given attribute ID
|
|
9557
|
+
*/
|
|
9558
|
+
'get'(
|
|
9559
|
+
parameters?: Parameters<Paths.GetSchemaAttribute.PathParameters> | null,
|
|
9560
|
+
data?: any,
|
|
9561
|
+
config?: AxiosRequestConfig
|
|
9562
|
+
): OperationResponse<Paths.GetSchemaAttribute.Responses.$200>
|
|
9563
|
+
/**
|
|
9564
|
+
* putSchemaAttribute - putSchemaAttribute
|
|
9565
|
+
*
|
|
9566
|
+
* Adds or updates an attribute in the schema
|
|
9567
|
+
*/
|
|
9568
|
+
'put'(
|
|
9569
|
+
parameters?: Parameters<Paths.PutSchemaAttribute.PathParameters> | null,
|
|
9570
|
+
data?: Paths.PutSchemaAttribute.RequestBody,
|
|
9571
|
+
config?: AxiosRequestConfig
|
|
9572
|
+
): OperationResponse<Paths.PutSchemaAttribute.Responses.$200>
|
|
9573
|
+
/**
|
|
9574
|
+
* deleteSchemaAttribute - deleteSchemaAttribute
|
|
9575
|
+
*
|
|
9576
|
+
* Deletes an attribute from a schema
|
|
9577
|
+
*/
|
|
9578
|
+
'delete'(
|
|
9579
|
+
parameters?: Parameters<Paths.DeleteSchemaAttribute.PathParameters> | null,
|
|
9580
|
+
data?: any,
|
|
9581
|
+
config?: AxiosRequestConfig
|
|
9582
|
+
): OperationResponse<Paths.DeleteSchemaAttribute.Responses.$200>
|
|
9583
|
+
}
|
|
9584
|
+
['/v1/entity/schemas/capabilities/{composite_id}']: {
|
|
9585
|
+
/**
|
|
9586
|
+
* getSchemaCapability - getSchemaCapability
|
|
9587
|
+
*
|
|
9588
|
+
* Get a schema capability from given capability ID
|
|
9589
|
+
*/
|
|
9590
|
+
'get'(
|
|
9591
|
+
parameters?: Parameters<Paths.GetSchemaCapability.PathParameters> | null,
|
|
9592
|
+
data?: any,
|
|
9593
|
+
config?: AxiosRequestConfig
|
|
9594
|
+
): OperationResponse<Paths.GetSchemaCapability.Responses.$200>
|
|
9595
|
+
/**
|
|
9596
|
+
* putSchemaCapability - putSchemaCapability
|
|
9597
|
+
*
|
|
9598
|
+
* Adds or updates an capability in the schema
|
|
9599
|
+
*/
|
|
9600
|
+
'put'(
|
|
9601
|
+
parameters?: Parameters<Paths.PutSchemaCapability.PathParameters> | null,
|
|
9602
|
+
data?: Paths.PutSchemaCapability.RequestBody,
|
|
9603
|
+
config?: AxiosRequestConfig
|
|
9604
|
+
): OperationResponse<Paths.PutSchemaCapability.Responses.$200>
|
|
9605
|
+
/**
|
|
9606
|
+
* deleteSchemaCapability - deleteSchemaCapability
|
|
9607
|
+
*
|
|
9608
|
+
* Deletes a Capability from a schema
|
|
9609
|
+
*/
|
|
9610
|
+
'delete'(
|
|
9611
|
+
parameters?: Parameters<Paths.DeleteSchemaCapability.PathParameters> | null,
|
|
9612
|
+
data?: any,
|
|
9613
|
+
config?: AxiosRequestConfig
|
|
9614
|
+
): OperationResponse<Paths.DeleteSchemaCapability.Responses.$200>
|
|
9615
|
+
}
|
|
9276
9616
|
}
|
|
9277
9617
|
|
|
9278
9618
|
export type Client = OpenAPIClient<OperationMethods, PathsDictionary>
|