@epilot/sdk 2.2.1 → 2.2.3

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 (235) hide show
  1. package/definitions/access-token-runtime.json +1 -0
  2. package/definitions/access-token.json +663 -0
  3. package/definitions/address-runtime.json +1 -0
  4. package/definitions/address-suggestions-runtime.json +1 -0
  5. package/definitions/address-suggestions.json +582 -0
  6. package/definitions/address.json +578 -0
  7. package/definitions/ai-agents-runtime.json +1 -0
  8. package/definitions/ai-agents.json +1711 -0
  9. package/definitions/app-runtime.json +1 -0
  10. package/definitions/app.json +4493 -0
  11. package/definitions/audit-logs-runtime.json +1 -0
  12. package/definitions/audit-logs.json +305 -0
  13. package/definitions/automation-runtime.json +1 -0
  14. package/definitions/automation.json +4819 -0
  15. package/definitions/billing-runtime.json +1 -0
  16. package/definitions/billing.json +837 -0
  17. package/definitions/blueprint-manifest-runtime.json +1 -0
  18. package/definitions/blueprint-manifest.json +3490 -0
  19. package/definitions/consent-runtime.json +1 -0
  20. package/definitions/consent.json +344 -0
  21. package/definitions/customer-portal-runtime.json +1 -0
  22. package/definitions/customer-portal.json +15676 -0
  23. package/definitions/dashboard-runtime.json +1 -0
  24. package/definitions/dashboard.json +484 -0
  25. package/definitions/data-management-runtime.json +1 -0
  26. package/definitions/data-management.json +972 -0
  27. package/definitions/deduplication-runtime.json +1 -0
  28. package/definitions/deduplication.json +183 -0
  29. package/definitions/design-runtime.json +1 -0
  30. package/definitions/design.json +1423 -0
  31. package/definitions/document-runtime.json +1 -0
  32. package/definitions/document.json +758 -0
  33. package/definitions/email-settings-runtime.json +1 -0
  34. package/definitions/email-settings.json +2748 -0
  35. package/definitions/email-template-runtime.json +1 -0
  36. package/definitions/email-template.json +1441 -0
  37. package/definitions/entity-mapping-runtime.json +1 -0
  38. package/definitions/entity-mapping.json +1642 -0
  39. package/definitions/entity-runtime.json +1 -0
  40. package/definitions/entity.json +10404 -0
  41. package/definitions/environments-runtime.json +1 -0
  42. package/definitions/environments.json +363 -0
  43. package/definitions/erp-integration-runtime.json +1 -0
  44. package/definitions/erp-integration.json +6780 -0
  45. package/definitions/event-catalog-runtime.json +1 -0
  46. package/definitions/event-catalog.json +1051 -0
  47. package/definitions/file-runtime.json +1 -0
  48. package/definitions/file.json +2842 -0
  49. package/definitions/iban-runtime.json +1 -0
  50. package/definitions/iban.json +132 -0
  51. package/definitions/journey-runtime.json +1 -0
  52. package/definitions/journey.json +2594 -0
  53. package/definitions/kanban-runtime.json +1 -0
  54. package/definitions/kanban.json +1505 -0
  55. package/definitions/message-runtime.json +1 -0
  56. package/definitions/message.json +2660 -0
  57. package/definitions/metering-runtime.json +1 -0
  58. package/definitions/metering.json +2321 -0
  59. package/definitions/notes-runtime.json +1 -0
  60. package/definitions/notes.json +1531 -0
  61. package/definitions/notification-runtime.json +1 -0
  62. package/definitions/notification.json +1425 -0
  63. package/definitions/organization-runtime.json +1 -0
  64. package/definitions/organization.json +1192 -0
  65. package/definitions/partner-directory-runtime.json +1 -0
  66. package/definitions/partner-directory.json +2284 -0
  67. package/definitions/permissions-runtime.json +1 -0
  68. package/definitions/permissions.json +1515 -0
  69. package/definitions/pricing-runtime.json +1 -0
  70. package/definitions/pricing-tier-runtime.json +1 -0
  71. package/definitions/pricing-tier.json +105 -0
  72. package/definitions/pricing.json +9884 -0
  73. package/definitions/purpose-runtime.json +1 -0
  74. package/definitions/purpose.json +524 -0
  75. package/definitions/sandbox-runtime.json +1 -0
  76. package/definitions/sandbox.json +453 -0
  77. package/definitions/submission-runtime.json +1 -0
  78. package/definitions/submission.json +313 -0
  79. package/definitions/targeting-runtime.json +1 -0
  80. package/definitions/targeting.json +1474 -0
  81. package/definitions/template-variables-runtime.json +1 -0
  82. package/definitions/template-variables.json +1408 -0
  83. package/definitions/user-runtime.json +1 -0
  84. package/definitions/user.json +2408 -0
  85. package/definitions/validation-rules-runtime.json +1 -0
  86. package/definitions/validation-rules.json +1491 -0
  87. package/definitions/webhooks-runtime.json +1 -0
  88. package/definitions/webhooks.json +1634 -0
  89. package/definitions/workflow-definition-runtime.json +1 -0
  90. package/definitions/workflow-definition.json +3417 -0
  91. package/definitions/workflow-runtime.json +1 -0
  92. package/definitions/workflow.json +4146 -0
  93. package/dist/apis/access-token.cjs +6 -6
  94. package/dist/apis/access-token.js +1 -1
  95. package/dist/apis/address-suggestions.cjs +6 -6
  96. package/dist/apis/address-suggestions.js +1 -1
  97. package/dist/apis/address.cjs +6 -6
  98. package/dist/apis/address.js +1 -1
  99. package/dist/apis/ai-agents.cjs +6 -6
  100. package/dist/apis/ai-agents.js +1 -1
  101. package/dist/apis/app.cjs +6 -6
  102. package/dist/apis/app.js +1 -1
  103. package/dist/apis/audit-logs.cjs +6 -6
  104. package/dist/apis/audit-logs.js +1 -1
  105. package/dist/apis/automation.cjs +6 -6
  106. package/dist/apis/automation.d.cts +2 -2
  107. package/dist/apis/automation.d.ts +2 -2
  108. package/dist/apis/automation.js +1 -1
  109. package/dist/apis/billing.cjs +6 -6
  110. package/dist/apis/billing.js +1 -1
  111. package/dist/apis/blueprint-manifest.cjs +6 -6
  112. package/dist/apis/blueprint-manifest.js +1 -1
  113. package/dist/apis/consent.cjs +6 -6
  114. package/dist/apis/consent.js +1 -1
  115. package/dist/apis/customer-portal.cjs +6 -6
  116. package/dist/apis/customer-portal.js +1 -1
  117. package/dist/apis/dashboard.cjs +6 -6
  118. package/dist/apis/dashboard.js +1 -1
  119. package/dist/apis/data-management.cjs +6 -6
  120. package/dist/apis/data-management.js +1 -1
  121. package/dist/apis/deduplication.cjs +6 -6
  122. package/dist/apis/deduplication.js +1 -1
  123. package/dist/apis/design.cjs +6 -6
  124. package/dist/apis/design.js +1 -1
  125. package/dist/apis/document.cjs +6 -6
  126. package/dist/apis/document.js +1 -1
  127. package/dist/apis/email-settings.cjs +6 -6
  128. package/dist/apis/email-settings.js +1 -1
  129. package/dist/apis/email-template.cjs +6 -6
  130. package/dist/apis/email-template.js +1 -1
  131. package/dist/apis/entity-mapping.cjs +6 -6
  132. package/dist/apis/entity-mapping.js +1 -1
  133. package/dist/apis/entity.cjs +8 -8
  134. package/dist/apis/entity.d.cts +2 -2
  135. package/dist/apis/entity.d.ts +2 -2
  136. package/dist/apis/entity.js +2 -2
  137. package/dist/apis/environments.cjs +6 -6
  138. package/dist/apis/environments.js +1 -1
  139. package/dist/apis/erp-integration.cjs +8 -8
  140. package/dist/apis/erp-integration.d.cts +2 -2
  141. package/dist/apis/erp-integration.d.ts +2 -2
  142. package/dist/apis/erp-integration.js +2 -2
  143. package/dist/apis/event-catalog.cjs +6 -6
  144. package/dist/apis/event-catalog.js +1 -1
  145. package/dist/apis/file.cjs +6 -6
  146. package/dist/apis/file.js +1 -1
  147. package/dist/apis/iban.cjs +6 -6
  148. package/dist/apis/iban.js +1 -1
  149. package/dist/apis/journey.cjs +6 -6
  150. package/dist/apis/journey.d.cts +2 -2
  151. package/dist/apis/journey.d.ts +2 -2
  152. package/dist/apis/journey.js +1 -1
  153. package/dist/apis/kanban.cjs +6 -6
  154. package/dist/apis/kanban.js +1 -1
  155. package/dist/apis/message.cjs +6 -6
  156. package/dist/apis/message.js +1 -1
  157. package/dist/apis/metering.cjs +6 -6
  158. package/dist/apis/metering.js +1 -1
  159. package/dist/apis/notes.cjs +6 -6
  160. package/dist/apis/notes.js +1 -1
  161. package/dist/apis/notification.cjs +6 -6
  162. package/dist/apis/notification.js +1 -1
  163. package/dist/apis/organization.cjs +6 -6
  164. package/dist/apis/organization.js +1 -1
  165. package/dist/apis/partner-directory.cjs +6 -6
  166. package/dist/apis/partner-directory.js +1 -1
  167. package/dist/apis/permissions.cjs +6 -6
  168. package/dist/apis/permissions.js +1 -1
  169. package/dist/apis/pricing-tier.cjs +6 -6
  170. package/dist/apis/pricing-tier.js +1 -1
  171. package/dist/apis/pricing.cjs +6 -6
  172. package/dist/apis/pricing.js +1 -1
  173. package/dist/apis/purpose.cjs +6 -6
  174. package/dist/apis/purpose.js +1 -1
  175. package/dist/apis/sandbox.cjs +6 -6
  176. package/dist/apis/sandbox.js +1 -1
  177. package/dist/apis/submission.cjs +6 -6
  178. package/dist/apis/submission.js +1 -1
  179. package/dist/apis/targeting.cjs +6 -6
  180. package/dist/apis/targeting.js +1 -1
  181. package/dist/apis/template-variables.cjs +6 -6
  182. package/dist/apis/template-variables.js +1 -1
  183. package/dist/apis/user.cjs +6 -6
  184. package/dist/apis/user.js +1 -1
  185. package/dist/apis/validation-rules.cjs +6 -6
  186. package/dist/apis/validation-rules.js +1 -1
  187. package/dist/apis/webhooks.cjs +6 -6
  188. package/dist/apis/webhooks.js +1 -1
  189. package/dist/apis/workflow-definition.cjs +6 -6
  190. package/dist/apis/workflow-definition.js +1 -1
  191. package/dist/apis/workflow.cjs +6 -6
  192. package/dist/apis/workflow.js +1 -1
  193. package/dist/{automation.d-KOiZ6ru5.d.cts → automation.d-D7BzN7Gq.d.cts} +4 -0
  194. package/dist/{automation.d-KOiZ6ru5.d.ts → automation.d-D7BzN7Gq.d.ts} +4 -0
  195. package/dist/bin/cli.js +1 -1
  196. package/dist/{chunk-6TKKEGYU.cjs → chunk-EH7KVFLO.cjs} +5 -5
  197. package/dist/{chunk-TPA4HEAO.js → chunk-LHVRAAFH.js} +1 -1
  198. package/dist/{chunk-IGVVJMX7.cjs → chunk-ODD4JQVS.cjs} +1 -1
  199. package/dist/chunk-RKSUIRD2.js +14 -0
  200. package/dist/{chunk-G33CBNJD.js → chunk-TUSCE6W2.js} +5 -5
  201. package/dist/chunk-XLQ4ZRBF.cjs +14 -0
  202. package/dist/entity-RCWJZZXM.cjs +7 -0
  203. package/dist/entity-X374X6EQ.js +7 -0
  204. package/dist/{entity-runtime-QSFVEFJ6.js → entity-runtime-CWQUEFCS.js} +1 -1
  205. package/dist/entity-runtime-EOWSEXC7.cjs +5 -0
  206. package/dist/{entity.d-DtiajmaY.d.cts → entity.d-t9R21446.d.cts} +140 -4
  207. package/dist/{entity.d-DtiajmaY.d.ts → entity.d-t9R21446.d.ts} +140 -4
  208. package/dist/erp-integration-6I4B4BIU.cjs +7 -0
  209. package/dist/erp-integration-G54BMGGE.js +7 -0
  210. package/dist/{erp-integration-runtime-FNJXDO75.js → erp-integration-runtime-6SBLYZ34.js} +1 -1
  211. package/dist/{erp-integration-runtime-WXZIQCLJ.cjs → erp-integration-runtime-HZI2P4X7.cjs} +2 -2
  212. package/dist/{erp-integration.d-DOhxy4P5.d.cts → erp-integration.d-BV3Rv9e6.d.cts} +479 -14
  213. package/dist/{erp-integration.d-DOhxy4P5.d.ts → erp-integration.d-BV3Rv9e6.d.ts} +479 -14
  214. package/dist/index.cjs +12 -12
  215. package/dist/index.d.cts +4 -4
  216. package/dist/index.d.ts +4 -4
  217. package/dist/index.js +3 -3
  218. package/dist/journey-HKN7QXCZ.cjs +7 -0
  219. package/dist/journey-UBZCOJNW.js +7 -0
  220. package/dist/{journey.d-ClXO0xK8.d.cts → journey.d-BguKXj73.d.cts} +0 -8
  221. package/dist/{journey.d-ClXO0xK8.d.ts → journey.d-BguKXj73.d.ts} +0 -8
  222. package/dist/{js-yaml-UPZKYVRY.js → js-yaml-DLCVPJ7G.js} +17 -15
  223. package/docs/entity.md +337 -5
  224. package/docs/erp-integration.md +643 -16
  225. package/docs/journey.md +0 -6
  226. package/package.json +1 -1
  227. package/dist/chunk-24T6CJTG.js +0 -14
  228. package/dist/chunk-TTNPMFXL.cjs +0 -14
  229. package/dist/entity-FA6PZX6S.js +0 -7
  230. package/dist/entity-IX5NSHPX.cjs +0 -7
  231. package/dist/entity-runtime-XSAICIVR.cjs +0 -5
  232. package/dist/erp-integration-EP2XFEH5.js +0 -7
  233. package/dist/erp-integration-NNV72VFI.cjs +0 -7
  234. package/dist/journey-KDR5EU3W.js +0 -7
  235. package/dist/journey-REBN4TGQ.cjs +0 -7
package/docs/entity.md CHANGED
@@ -33,6 +33,8 @@ const { data } = await entityClient.listSchemas(...)
33
33
  - [`getJsonSchema`](#getjsonschema)
34
34
  - [`getSchemaExample`](#getschemaexample)
35
35
  - [`getSchemaVersions`](#getschemaversions)
36
+ - [`freezeSchema`](#freezeschema)
37
+ - [`unfreezeSchema`](#unfreezeschema)
36
38
  - [`listAvailableCapabilities`](#listavailablecapabilities)
37
39
  - [`listSchemaBlueprints`](#listschemablueprints)
38
40
  - [`listTaxonomyClassificationsForSchema`](#listtaxonomyclassificationsforschema)
@@ -263,6 +265,7 @@ Get the latest versions of all schemas
263
265
  ```ts
264
266
  const { data } = await client.listSchemas({
265
267
  unpublished: true,
268
+ latest: true,
266
269
  exclude: ['...'],
267
270
  include: ['...'],
268
271
  })
@@ -280,6 +283,8 @@ const { data } = await client.listSchemas({
280
283
  "updated_at": "string",
281
284
  "comment": "string",
282
285
  "source": {},
286
+ "frozen": true,
287
+ "latest": true,
283
288
  "_summary": true,
284
289
  "slug": "contact",
285
290
  "version": 1,
@@ -325,6 +330,7 @@ Use ?full=true for complete schemas.
325
330
  const { data } = await client.listSchemasV2({
326
331
  full: true,
327
332
  unpublished: true,
333
+ latest: true,
328
334
  exclude: ['...'],
329
335
  include: ['...'],
330
336
  })
@@ -342,6 +348,8 @@ const { data } = await client.listSchemasV2({
342
348
  "updated_at": "string",
343
349
  "comment": "string",
344
350
  "source": {},
351
+ "frozen": true,
352
+ "latest": true,
345
353
  "_summary": true,
346
354
  "slug": "contact",
347
355
  "version": 1,
@@ -377,7 +385,9 @@ const { data } = await client.listSchemasV2({
377
385
 
378
386
  ### `getSchema`
379
387
 
380
- By default gets the latest version of the Schema and to get the specific version of schema pass the id.
388
+ By default gets the current version of the Schema (frozen version if frozen, otherwise latest).
389
+ Pass ?latest=true to get the latest version when the schema is frozen.
390
+ Pass ?id= to get a specific versi
381
391
 
382
392
  `GET /v1/entity/schemas/{slug}`
383
393
 
@@ -385,6 +395,7 @@ By default gets the latest version of the Schema and to get the specific version
385
395
  const { data } = await client.getSchema({
386
396
  slug: 'example',
387
397
  id: '123e4567-e89b-12d3-a456-426614174000',
398
+ latest: true,
388
399
  })
389
400
  ```
390
401
 
@@ -401,6 +412,8 @@ const { data } = await client.getSchema({
401
412
  "id": "string",
402
413
  "type": "string"
403
414
  },
415
+ "frozen": true,
416
+ "latest": true,
404
417
  "_summary": true,
405
418
  "slug": "contact",
406
419
  "version": 1,
@@ -527,7 +540,8 @@ const { data } = await client.getSchema({
527
540
 
528
541
  ### `putSchema`
529
542
 
530
- Create or update a schema with a new version
543
+ Create or update a schema with a new version.
544
+ When the schema is frozen, writes update the latest version without affecting the frozen version.
531
545
 
532
546
  `PUT /v1/entity/schemas/{slug}`
533
547
 
@@ -672,6 +686,8 @@ const { data } = await client.putSchema(
672
686
  "id": "string",
673
687
  "type": "string"
674
688
  },
689
+ "frozen": true,
690
+ "latest": true,
675
691
  "_summary": true,
676
692
  "slug": "contact",
677
693
  "version": 1,
@@ -990,6 +1006,8 @@ const { data } = await client.getSchemaVersions({
990
1006
  "updated_at": "string",
991
1007
  "comment": "string",
992
1008
  "source": {},
1009
+ "frozen": true,
1010
+ "latest": true,
993
1011
  "_summary": true,
994
1012
  "slug": "contact",
995
1013
  "version": 1,
@@ -1023,6 +1041,8 @@ const { data } = await client.getSchemaVersions({
1023
1041
  "updated_at": "string",
1024
1042
  "comment": "string",
1025
1043
  "source": {},
1044
+ "frozen": true,
1045
+ "latest": true,
1026
1046
  "_summary": true,
1027
1047
  "slug": "contact",
1028
1048
  "version": 1,
@@ -1050,7 +1070,317 @@ const { data } = await client.getSchemaVersions({
1050
1070
  }
1051
1071
  ],
1052
1072
  "versions_more": true,
1053
- "drafts_more": true
1073
+ "drafts_more": true,
1074
+ "frozen_version": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
1075
+ }
1076
+ ```
1077
+
1078
+ </details>
1079
+
1080
+ ---
1081
+
1082
+ ### `freezeSchema`
1083
+
1084
+ Freeze a schema at its current version, or at a specific version.
1085
+ When frozen, getSchema returns the frozen version by default.
1086
+ New edits via putSchema update the latest version without affecting the
1087
+
1088
+ `POST /v1/entity/schemas/{slug}/freeze`
1089
+
1090
+ ```ts
1091
+ const { data } = await client.freezeSchema(
1092
+ {
1093
+ slug: 'example',
1094
+ },
1095
+ {
1096
+ version_id: '3fa85f64-5717-4562-b3fc-2c963f66afa6'
1097
+ },
1098
+ )
1099
+ ```
1100
+
1101
+ <details>
1102
+ <summary>Response</summary>
1103
+
1104
+ ```json
1105
+ {
1106
+ "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
1107
+ "created_at": "string",
1108
+ "updated_at": "string",
1109
+ "comment": "string",
1110
+ "source": {
1111
+ "id": "string",
1112
+ "type": "string"
1113
+ },
1114
+ "frozen": true,
1115
+ "latest": true,
1116
+ "_summary": true,
1117
+ "slug": "contact",
1118
+ "version": 1,
1119
+ "blueprint": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
1120
+ "feature_flag": "FF_MY_FEATURE_FLAG",
1121
+ "enable_setting": ["360_features"],
1122
+ "name": "Contact",
1123
+ "plural": "Contacts",
1124
+ "description": "Example description",
1125
+ "docs_url": "https://docs.epilot.io/docs/pricing/entities",
1126
+ "category": "customer_relations",
1127
+ "published": false,
1128
+ "draft": false,
1129
+ "icon": "person",
1130
+ "title_template": "{{first_name}} {{last_name}}",
1131
+ "ui_config": {
1132
+ "table_view": {
1133
+ "view_type": "default",
1134
+ "row_actions": ["string"],
1135
+ "bulk_actions": ["string"],
1136
+ "navbar_actions": [],
1137
+ "enable_thumbnails": false
1138
+ },
1139
+ "create_view": {
1140
+ "view_type": "default",
1141
+ "search_params": {}
1142
+ },
1143
+ "edit_view": {
1144
+ "view_type": "default",
1145
+ "search_params": {},
1146
+ "summary_attributes": ["email"]
1147
+ },
1148
+ "single_view": {
1149
+ "view_type": "default",
1150
+ "search_params": {},
1151
+ "summary_attributes": ["email"]
1152
+ },
1153
+ "list_item": {
1154
+ "summary_attributes": [],
1155
+ "quick_actions": [],
1156
+ "ui_config": {}
1157
+ },
1158
+ "sharing": {
1159
+ "show_sharing_button": true
1160
+ }
1161
+ },
1162
+ "capabilities": [
1163
+ {
1164
+ "id": "d5839b94-ba20-4225-a78e-76951d352bd6",
1165
+ "name": "customer_messaging",
1166
+ "title": "Messaging",
1167
+ "attributes": [],
1168
+ "_purpose": ["taxonomy-slug:classification-slug"],
1169
+ "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
1170
+ "app_id": "123e4567-e89b-12d3-a456-426614174000",
1171
+ "ui_config": {},
1172
+ "ui_hooks": [],
1173
+ "feature_flag": "FF_MY_FEATURE_FLAG",
1174
+ "settings_flag": [],
1175
+ "schemas": []
1176
+ }
1177
+ ],
1178
+ "group_settings": [
1179
+ {
1180
+ "id": "e18a532b-ae79-4d86-a6a5-e5dbfb579d14",
1181
+ "label": "Contact Details",
1182
+ "expanded": true,
1183
+ "order": 1
1184
+ },
1185
+ {
1186
+ "id": "e9a1ae28-27ba-4fa0-a79c-e279cc5c4a6e",
1187
+ "label": "Address Details",
1188
+ "expanded": false,
1189
+ "order": 2,
1190
+ "info_tooltip_title": {}
1191
+ }
1192
+ ],
1193
+ "layout_settings": {
1194
+ "grid_gap": "string",
1195
+ "grid_template_columns": "string"
1196
+ },
1197
+ "dialog_config": {},
1198
+ "attributes": [
1199
+ {
1200
+ "name": "email",
1201
+ "type": "email",
1202
+ "label": "Email",
1203
+ "required": true
1204
+ },
1205
+ {
1206
+ "name": "first_name",
1207
+ "type": "string",
1208
+ "label": "First Name"
1209
+ }
1210
+ ],
1211
+ "_purpose": ["string"],
1212
+ "explicit_search_mappings": {
1213
+ "image": {
1214
+ "type": "keyword",
1215
+ "index": false
1216
+ }
1217
+ },
1218
+ "group_headlines": [
1219
+ {
1220
+ "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
1221
+ "name": "string",
1222
+ "label": "string",
1223
+ "layout": "string",
1224
+ "group": "string",
1225
+ "order": 0,
1226
+ "type": "headline",
1227
+ "enable_divider": false,
1228
+ "divider": "top_divider",
1229
+ "_purpose": ["taxonomy-slug:classification-slug"],
1230
+ "_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
1231
+ }
1232
+ ]
1233
+ }
1234
+ ```
1235
+
1236
+ </details>
1237
+
1238
+ ---
1239
+
1240
+ ### `unfreezeSchema`
1241
+
1242
+ Unfreeze a schema. Promotes the latest version to the current version for all users.
1243
+
1244
+ `POST /v1/entity/schemas/{slug}/unfreeze`
1245
+
1246
+ ```ts
1247
+ const { data } = await client.unfreezeSchema({
1248
+ slug: 'example',
1249
+ })
1250
+ ```
1251
+
1252
+ <details>
1253
+ <summary>Response</summary>
1254
+
1255
+ ```json
1256
+ {
1257
+ "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
1258
+ "created_at": "string",
1259
+ "updated_at": "string",
1260
+ "comment": "string",
1261
+ "source": {
1262
+ "id": "string",
1263
+ "type": "string"
1264
+ },
1265
+ "frozen": true,
1266
+ "latest": true,
1267
+ "_summary": true,
1268
+ "slug": "contact",
1269
+ "version": 1,
1270
+ "blueprint": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
1271
+ "feature_flag": "FF_MY_FEATURE_FLAG",
1272
+ "enable_setting": ["360_features"],
1273
+ "name": "Contact",
1274
+ "plural": "Contacts",
1275
+ "description": "Example description",
1276
+ "docs_url": "https://docs.epilot.io/docs/pricing/entities",
1277
+ "category": "customer_relations",
1278
+ "published": false,
1279
+ "draft": false,
1280
+ "icon": "person",
1281
+ "title_template": "{{first_name}} {{last_name}}",
1282
+ "ui_config": {
1283
+ "table_view": {
1284
+ "view_type": "default",
1285
+ "row_actions": ["string"],
1286
+ "bulk_actions": ["string"],
1287
+ "navbar_actions": [],
1288
+ "enable_thumbnails": false
1289
+ },
1290
+ "create_view": {
1291
+ "view_type": "default",
1292
+ "search_params": {}
1293
+ },
1294
+ "edit_view": {
1295
+ "view_type": "default",
1296
+ "search_params": {},
1297
+ "summary_attributes": ["email"]
1298
+ },
1299
+ "single_view": {
1300
+ "view_type": "default",
1301
+ "search_params": {},
1302
+ "summary_attributes": ["email"]
1303
+ },
1304
+ "list_item": {
1305
+ "summary_attributes": [],
1306
+ "quick_actions": [],
1307
+ "ui_config": {}
1308
+ },
1309
+ "sharing": {
1310
+ "show_sharing_button": true
1311
+ }
1312
+ },
1313
+ "capabilities": [
1314
+ {
1315
+ "id": "d5839b94-ba20-4225-a78e-76951d352bd6",
1316
+ "name": "customer_messaging",
1317
+ "title": "Messaging",
1318
+ "attributes": [],
1319
+ "_purpose": ["taxonomy-slug:classification-slug"],
1320
+ "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
1321
+ "app_id": "123e4567-e89b-12d3-a456-426614174000",
1322
+ "ui_config": {},
1323
+ "ui_hooks": [],
1324
+ "feature_flag": "FF_MY_FEATURE_FLAG",
1325
+ "settings_flag": [],
1326
+ "schemas": []
1327
+ }
1328
+ ],
1329
+ "group_settings": [
1330
+ {
1331
+ "id": "e18a532b-ae79-4d86-a6a5-e5dbfb579d14",
1332
+ "label": "Contact Details",
1333
+ "expanded": true,
1334
+ "order": 1
1335
+ },
1336
+ {
1337
+ "id": "e9a1ae28-27ba-4fa0-a79c-e279cc5c4a6e",
1338
+ "label": "Address Details",
1339
+ "expanded": false,
1340
+ "order": 2,
1341
+ "info_tooltip_title": {}
1342
+ }
1343
+ ],
1344
+ "layout_settings": {
1345
+ "grid_gap": "string",
1346
+ "grid_template_columns": "string"
1347
+ },
1348
+ "dialog_config": {},
1349
+ "attributes": [
1350
+ {
1351
+ "name": "email",
1352
+ "type": "email",
1353
+ "label": "Email",
1354
+ "required": true
1355
+ },
1356
+ {
1357
+ "name": "first_name",
1358
+ "type": "string",
1359
+ "label": "First Name"
1360
+ }
1361
+ ],
1362
+ "_purpose": ["string"],
1363
+ "explicit_search_mappings": {
1364
+ "image": {
1365
+ "type": "keyword",
1366
+ "index": false
1367
+ }
1368
+ },
1369
+ "group_headlines": [
1370
+ {
1371
+ "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
1372
+ "name": "string",
1373
+ "label": "string",
1374
+ "layout": "string",
1375
+ "group": "string",
1376
+ "order": 0,
1377
+ "type": "headline",
1378
+ "enable_divider": false,
1379
+ "divider": "top_divider",
1380
+ "_purpose": ["taxonomy-slug:classification-slug"],
1381
+ "_manifest": ["123e4567-e89b-12d3-a456-426614174000"]
1382
+ }
1383
+ ]
1054
1384
  }
1055
1385
  ```
1056
1386
 
@@ -1120,6 +1450,8 @@ const { data } = await client.listSchemaBlueprints()
1120
1450
  "updated_at": "string",
1121
1451
  "comment": "string",
1122
1452
  "source": {},
1453
+ "frozen": true,
1454
+ "latest": true,
1123
1455
  "_summary": true,
1124
1456
  "slug": "contact",
1125
1457
  "version": 1,
@@ -5684,6 +6016,8 @@ type EntitySchemaItem = {
5684
6016
  id?: string
5685
6017
  type?: string
5686
6018
  }
6019
+ frozen?: boolean
6020
+ latest?: boolean
5687
6021
  _summary?: boolean
5688
6022
  slug: string
5689
6023
  version?: number
@@ -5773,8 +6107,6 @@ type EntitySchemaItem = {
5773
6107
  icon?: { ... }
5774
6108
  render_condition?: { ... }
5775
6109
  _purpose?: { ... }
5776
- _manifest?: { ... }
5777
- constraints?: { ... }
5778
6110
  // ...
5779
6111
  }
5780
6112
  ```