@epilot/entity-client 4.34.0 → 4.34.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.
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
@@ -374,10 +374,7 @@ declare namespace Components {
374
374
  hint_tooltip_placement?: string;
375
375
  };
376
376
  type?: "address";
377
- /**
378
- * Default fields visible on addresses
379
- */
380
- default_address_fields?: ("postal_code" | "city" | "street" | "street_number" | "plot_area" | "plot_of_land" | "suburb" | "country" | "additional_info" | "coordinates" | "start_date" | "end_date")[];
377
+ default_address_fields?: /* Default fields visible on addresses */ DefaultAddressFields;
381
378
  }
382
379
  /**
383
380
  * Reference to an address attribute of another entity
@@ -515,6 +512,7 @@ declare namespace Components {
515
512
  };
516
513
  type?: "relation_address";
517
514
  has_primary?: boolean;
515
+ default_address_fields?: /* Default fields visible on addresses */ DefaultAddressFields;
518
516
  }
519
517
  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 | /* Address attribute */ AddressAttribute | /* 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;
520
518
  /**
@@ -908,6 +906,7 @@ declare namespace Components {
908
906
  _tags?: string[] | null;
909
907
  _created_at: string | null; // date-time
910
908
  _updated_at: string | null; // date-time
909
+ _deleted_at?: string | null; // date-time
911
910
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
912
911
  _purpose?: string[] | null;
913
912
  /**
@@ -1767,6 +1766,10 @@ declare namespace Components {
1767
1766
  };
1768
1767
  type?: "date" | "datetime";
1769
1768
  }
1769
+ /**
1770
+ * Default fields visible on addresses
1771
+ */
1772
+ export type DefaultAddressFields = ("postal_code" | "city" | "street" | "street_number" | "plot_area" | "plot_of_land" | "suburb" | "country" | "additional_info" | "coordinates" | "start_date" | "end_date" | "salutation" | "title" | "first_name" | "last_name" | "company_name")[];
1770
1773
  export interface ESClusterAssignment {
1771
1774
  /**
1772
1775
  * The organization for which the cluster assignment is returned
@@ -1839,6 +1842,7 @@ declare namespace Components {
1839
1842
  _tags?: string[] | null;
1840
1843
  _created_at?: string | null; // date-time
1841
1844
  _updated_at?: string | null; // date-time
1845
+ _deleted_at?: string | null; // date-time
1842
1846
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
1843
1847
  _purpose?: string[] | null;
1844
1848
  /**
@@ -2269,6 +2273,7 @@ declare namespace Components {
2269
2273
  _tags?: string[] | null;
2270
2274
  _created_at: string | null; // date-time
2271
2275
  _updated_at: string | null; // date-time
2276
+ _deleted_at?: string | null; // date-time
2272
2277
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
2273
2278
  _purpose?: string[] | null;
2274
2279
  /**
@@ -2449,6 +2454,7 @@ declare namespace Components {
2449
2454
  _tags?: string[] | null;
2450
2455
  _created_at?: string | null; // date-time
2451
2456
  _updated_at?: string | null; // date-time
2457
+ _deleted_at?: string | null; // date-time
2452
2458
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
2453
2459
  _purpose?: string[] | null;
2454
2460
  /**
@@ -2632,7 +2638,7 @@ declare namespace Components {
2632
2638
  * example:
2633
2639
  * customer_relations
2634
2640
  */
2635
- category?: "customer_relations" | "sales" | "product_hub" | "contracts" | "journeys" | "messaging" | "system";
2641
+ category?: string;
2636
2642
  /**
2637
2643
  * example:
2638
2644
  * false
@@ -3006,7 +3012,7 @@ declare namespace Components {
3006
3012
  * example:
3007
3013
  * customer_relations
3008
3014
  */
3009
- category?: "customer_relations" | "sales" | "product_hub" | "contracts" | "journeys" | "messaging" | "system";
3015
+ category?: string;
3010
3016
  /**
3011
3017
  * example:
3012
3018
  * false
@@ -4069,6 +4075,7 @@ declare namespace Components {
4069
4075
  _tags?: string[] | null;
4070
4076
  _created_at: string | null; // date-time
4071
4077
  _updated_at: string | null; // date-time
4078
+ _deleted_at?: string | null; // date-time
4072
4079
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
4073
4080
  _purpose?: string[] | null;
4074
4081
  /**
@@ -5940,6 +5947,7 @@ declare namespace Components {
5940
5947
  _tags?: string[] | null;
5941
5948
  _created_at: string | null; // date-time
5942
5949
  _updated_at: string | null; // date-time
5950
+ _deleted_at?: string | null; // date-time
5943
5951
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
5944
5952
  _purpose?: string[] | null;
5945
5953
  /**
@@ -6032,6 +6040,7 @@ declare namespace Components {
6032
6040
  _tags?: string[] | null;
6033
6041
  _created_at: string | null; // date-time
6034
6042
  _updated_at: string | null; // date-time
6043
+ _deleted_at?: string | null; // date-time
6035
6044
  _acl?: /* Access control list (ACL) for an entity. Defines sharing access to external orgs or users. */ EntityAcl;
6036
6045
  _purpose?: string[] | null;
6037
6046
  /**
@@ -10982,8 +10991,8 @@ export interface OperationMethods {
10982
10991
  /**
10983
10992
  * bulkDeleteClassifications - bulkDeleteClassifications
10984
10993
  *
10985
- * Permanently deletes taxonomy classifications. The classifications are deleted through a bulk
10986
- * async operation which also deletes all references of the deleted classifications from the entities
10994
+ * Permanently deletes taxonomy classifications. The classifications are deleted through a bulk
10995
+ * async operation which also deletes all references of the deleted classifications from the entities
10987
10996
  * referencing them.
10988
10997
  *
10989
10998
  */
@@ -12070,8 +12079,8 @@ export interface PathsDictionary {
12070
12079
  /**
12071
12080
  * bulkDeleteClassifications - bulkDeleteClassifications
12072
12081
  *
12073
- * Permanently deletes taxonomy classifications. The classifications are deleted through a bulk
12074
- * async operation which also deletes all references of the deleted classifications from the entities
12082
+ * Permanently deletes taxonomy classifications. The classifications are deleted through a bulk
12083
+ * async operation which also deletes all references of the deleted classifications from the entities
12075
12084
  * referencing them.
12076
12085
  *
12077
12086
  */
@@ -12283,6 +12292,7 @@ export type ConsentAttribute = Components.Schemas.ConsentAttribute;
12283
12292
  export type CountryAttribute = Components.Schemas.CountryAttribute;
12284
12293
  export type CurrencyAttribute = Components.Schemas.CurrencyAttribute;
12285
12294
  export type DateAttribute = Components.Schemas.DateAttribute;
12295
+ export type DefaultAddressFields = Components.Schemas.DefaultAddressFields;
12286
12296
  export type ESClusterAssignment = Components.Schemas.ESClusterAssignment;
12287
12297
  export type Entity = Components.Schemas.Entity;
12288
12298
  export type EntityAcl = Components.Schemas.EntityAcl;
package/dist/openapi.json CHANGED
@@ -3043,7 +3043,7 @@
3043
3043
  "post": {
3044
3044
  "operationId": "bulkDeleteClassifications",
3045
3045
  "summary": "bulkDeleteClassifications",
3046
- "description": "Permanently deletes taxonomy classifications. The classifications are deleted through a bulk \nasync operation which also deletes all references of the deleted classifications from the entities \nreferencing them.\n",
3046
+ "description": "Permanently deletes taxonomy classifications. The classifications are deleted through a bulk\nasync operation which also deletes all references of the deleted classifications from the entities\nreferencing them.\n",
3047
3047
  "tags": [
3048
3048
  "Taxonomy"
3049
3049
  ],
@@ -3737,16 +3737,7 @@
3737
3737
  },
3738
3738
  "category": {
3739
3739
  "type": "string",
3740
- "example": "customer_relations",
3741
- "enum": [
3742
- "customer_relations",
3743
- "sales",
3744
- "product_hub",
3745
- "contracts",
3746
- "journeys",
3747
- "messaging",
3748
- "system"
3749
- ]
3740
+ "example": "customer_relations"
3750
3741
  },
3751
3742
  "published": {
3752
3743
  "type": "boolean",
@@ -5146,6 +5137,38 @@
5146
5137
  }
5147
5138
  ]
5148
5139
  },
5140
+ "DefaultAddressFields": {
5141
+ "type": "array",
5142
+ "description": "Default fields visible on addresses",
5143
+ "items": {
5144
+ "type": "string",
5145
+ "enum": [
5146
+ "postal_code",
5147
+ "city",
5148
+ "street",
5149
+ "street_number",
5150
+ "plot_area",
5151
+ "plot_of_land",
5152
+ "suburb",
5153
+ "country",
5154
+ "additional_info",
5155
+ "coordinates",
5156
+ "start_date",
5157
+ "end_date",
5158
+ "salutation",
5159
+ "title",
5160
+ "first_name",
5161
+ "last_name",
5162
+ "company_name"
5163
+ ]
5164
+ },
5165
+ "default": [
5166
+ "postal_code",
5167
+ "city",
5168
+ "street",
5169
+ "street_number"
5170
+ ]
5171
+ },
5149
5172
  "AddressAttribute": {
5150
5173
  "allOf": [
5151
5174
  {
@@ -5162,31 +5185,7 @@
5162
5185
  ]
5163
5186
  },
5164
5187
  "default_address_fields": {
5165
- "description": "Default fields visible on addresses",
5166
- "default": [
5167
- "postal_code",
5168
- "city",
5169
- "street",
5170
- "street_number"
5171
- ],
5172
- "type": "array",
5173
- "items": {
5174
- "type": "string",
5175
- "enum": [
5176
- "postal_code",
5177
- "city",
5178
- "street",
5179
- "street_number",
5180
- "plot_area",
5181
- "plot_of_land",
5182
- "suburb",
5183
- "country",
5184
- "additional_info",
5185
- "coordinates",
5186
- "start_date",
5187
- "end_date"
5188
- ]
5189
- }
5188
+ "$ref": "#/components/schemas/DefaultAddressFields"
5190
5189
  }
5191
5190
  }
5192
5191
  }
@@ -5209,6 +5208,9 @@
5209
5208
  },
5210
5209
  "has_primary": {
5211
5210
  "type": "boolean"
5211
+ },
5212
+ "default_address_fields": {
5213
+ "$ref": "#/components/schemas/DefaultAddressFields"
5212
5214
  }
5213
5215
  }
5214
5216
  }
@@ -6014,6 +6016,12 @@
6014
6016
  "nullable": true,
6015
6017
  "readOnly": true
6016
6018
  },
6019
+ "_deleted_at": {
6020
+ "type": "string",
6021
+ "format": "date-time",
6022
+ "nullable": true,
6023
+ "readOnly": true
6024
+ },
6017
6025
  "_acl": {
6018
6026
  "readOnly": true,
6019
6027
  "$ref": "#/components/schemas/EntityAcl"
File without changes
File without changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/entity-client",
3
- "version": "4.34.0",
3
+ "version": "4.34.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",