@epilot/sdk 2.18.3 → 2.18.4

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 (121) hide show
  1. package/definitions/entity.json +27 -1
  2. package/dist/apis/access-token.cjs +6 -6
  3. package/dist/apis/access-token.js +1 -1
  4. package/dist/apis/address-suggestions.cjs +6 -6
  5. package/dist/apis/address-suggestions.js +1 -1
  6. package/dist/apis/address.cjs +6 -6
  7. package/dist/apis/address.js +1 -1
  8. package/dist/apis/ai-agents.cjs +6 -6
  9. package/dist/apis/ai-agents.js +1 -1
  10. package/dist/apis/app.cjs +6 -6
  11. package/dist/apis/app.js +1 -1
  12. package/dist/apis/audit-logs.cjs +6 -6
  13. package/dist/apis/audit-logs.js +1 -1
  14. package/dist/apis/automation.cjs +6 -6
  15. package/dist/apis/automation.js +1 -1
  16. package/dist/apis/billing.cjs +6 -6
  17. package/dist/apis/billing.js +1 -1
  18. package/dist/apis/blueprint-manifest.cjs +6 -6
  19. package/dist/apis/blueprint-manifest.js +1 -1
  20. package/dist/apis/calendar.cjs +6 -6
  21. package/dist/apis/calendar.js +1 -1
  22. package/dist/apis/configuration-hub.cjs +6 -6
  23. package/dist/apis/configuration-hub.js +1 -1
  24. package/dist/apis/consent.cjs +6 -6
  25. package/dist/apis/consent.js +1 -1
  26. package/dist/apis/customer-portal.cjs +6 -6
  27. package/dist/apis/customer-portal.js +1 -1
  28. package/dist/apis/dashboard.cjs +6 -6
  29. package/dist/apis/dashboard.js +1 -1
  30. package/dist/apis/data-governance.cjs +6 -6
  31. package/dist/apis/data-governance.js +1 -1
  32. package/dist/apis/deduplication.cjs +6 -6
  33. package/dist/apis/deduplication.js +1 -1
  34. package/dist/apis/design.cjs +6 -6
  35. package/dist/apis/design.js +1 -1
  36. package/dist/apis/document.cjs +6 -6
  37. package/dist/apis/document.js +1 -1
  38. package/dist/apis/email-settings.cjs +6 -6
  39. package/dist/apis/email-settings.js +1 -1
  40. package/dist/apis/email-template.cjs +6 -6
  41. package/dist/apis/email-template.js +1 -1
  42. package/dist/apis/entity-mapping.cjs +6 -6
  43. package/dist/apis/entity-mapping.js +1 -1
  44. package/dist/apis/entity.cjs +6 -6
  45. package/dist/apis/entity.d.cts +2 -2
  46. package/dist/apis/entity.d.ts +2 -2
  47. package/dist/apis/entity.js +1 -1
  48. package/dist/apis/environments.cjs +6 -6
  49. package/dist/apis/environments.js +1 -1
  50. package/dist/apis/event-catalog.cjs +6 -6
  51. package/dist/apis/event-catalog.js +1 -1
  52. package/dist/apis/file.cjs +6 -6
  53. package/dist/apis/file.js +1 -1
  54. package/dist/apis/iban.cjs +6 -6
  55. package/dist/apis/iban.js +1 -1
  56. package/dist/apis/integration-toolkit.cjs +6 -6
  57. package/dist/apis/integration-toolkit.js +1 -1
  58. package/dist/apis/journey.cjs +6 -6
  59. package/dist/apis/journey.js +1 -1
  60. package/dist/apis/kanban.cjs +6 -6
  61. package/dist/apis/kanban.js +1 -1
  62. package/dist/apis/message.cjs +6 -6
  63. package/dist/apis/message.js +1 -1
  64. package/dist/apis/metering.cjs +6 -6
  65. package/dist/apis/metering.js +1 -1
  66. package/dist/apis/notes.cjs +6 -6
  67. package/dist/apis/notes.js +1 -1
  68. package/dist/apis/notification.cjs +6 -6
  69. package/dist/apis/notification.js +1 -1
  70. package/dist/apis/organization.cjs +6 -6
  71. package/dist/apis/organization.js +1 -1
  72. package/dist/apis/partner-directory.cjs +6 -6
  73. package/dist/apis/partner-directory.js +1 -1
  74. package/dist/apis/permissions.cjs +6 -6
  75. package/dist/apis/permissions.js +1 -1
  76. package/dist/apis/pricing-tier.cjs +6 -6
  77. package/dist/apis/pricing-tier.js +1 -1
  78. package/dist/apis/pricing.cjs +6 -6
  79. package/dist/apis/pricing.js +1 -1
  80. package/dist/apis/purpose.cjs +6 -6
  81. package/dist/apis/purpose.js +1 -1
  82. package/dist/apis/query.cjs +6 -6
  83. package/dist/apis/query.js +1 -1
  84. package/dist/apis/sandbox.cjs +6 -6
  85. package/dist/apis/sandbox.js +1 -1
  86. package/dist/apis/sharing.cjs +6 -6
  87. package/dist/apis/sharing.js +1 -1
  88. package/dist/apis/snapshot.cjs +6 -6
  89. package/dist/apis/snapshot.js +1 -1
  90. package/dist/apis/submission.cjs +6 -6
  91. package/dist/apis/submission.js +1 -1
  92. package/dist/apis/target.cjs +6 -6
  93. package/dist/apis/target.js +1 -1
  94. package/dist/apis/targeting.cjs +6 -6
  95. package/dist/apis/targeting.js +1 -1
  96. package/dist/apis/template-variables.cjs +6 -6
  97. package/dist/apis/template-variables.js +1 -1
  98. package/dist/apis/user.cjs +6 -6
  99. package/dist/apis/user.js +1 -1
  100. package/dist/apis/validation-rules.cjs +6 -6
  101. package/dist/apis/validation-rules.js +1 -1
  102. package/dist/apis/webhooks.cjs +6 -6
  103. package/dist/apis/webhooks.js +1 -1
  104. package/dist/apis/workflow-definition.cjs +6 -6
  105. package/dist/apis/workflow-definition.js +1 -1
  106. package/dist/apis/workflow.cjs +6 -6
  107. package/dist/apis/workflow.js +1 -1
  108. package/dist/{chunk-6XCKLP3T.js → chunk-3FHDY3R5.js} +1 -1
  109. package/dist/{chunk-5RAQKW2K.cjs → chunk-HUDTRI32.cjs} +1 -1
  110. package/dist/entity-DBJ2R3UN.js +7 -0
  111. package/dist/entity-HO34WNFK.cjs +7 -0
  112. package/dist/{entity.d-CaFNmDfj.d.cts → entity.d-BOpXYCU2.d.cts} +66 -2
  113. package/dist/{entity.d-CaFNmDfj.d.ts → entity.d-BOpXYCU2.d.ts} +66 -2
  114. package/dist/index.cjs +8 -8
  115. package/dist/index.d.cts +1 -1
  116. package/dist/index.d.ts +1 -1
  117. package/dist/index.js +1 -1
  118. package/docs/entity.md +57 -13
  119. package/package.json +1 -1
  120. package/dist/entity-IZHQB3JX.js +0 -7
  121. package/dist/entity-MYDUQBEE.cjs +0 -7
@@ -3307,6 +3307,15 @@ declare namespace Components {
3307
3307
  */
3308
3308
  title?: string;
3309
3309
  attributes?: Attribute[];
3310
+ /**
3311
+ * Allow conditional variants of the entity to override the values managed by this
3312
+ * capability. Only meaningful on schemas that declare `conditions` and on capabilities
3313
+ * that render an attribute group (`EntityAttributes:Group` ui hook), e.g. pricing tiers.
3314
+ * Attributes carried by the capability opt in individually via their own
3315
+ * `variant_overridable` flag.
3316
+ *
3317
+ */
3318
+ variant_overridable?: boolean;
3310
3319
  _purpose?: /**
3311
3320
  * example:
3312
3321
  * taxonomy-slug:classification-slug
@@ -3413,6 +3422,18 @@ declare namespace Components {
3413
3422
  */
3414
3423
  resource?: string;
3415
3424
  };
3425
+ /**
3426
+ * Whether this widget is switched on by default for entity types that have the capability. Only meaningful on the `EntityDetailsV2:Widget` hook. Defaults to true when omitted. An admin's explicit choice in the entity builder is stored in the schema's `ui_config.widget_visibility` and wins over this.
3427
+ * example:
3428
+ * false
3429
+ */
3430
+ default_visible?: boolean;
3431
+ /**
3432
+ * The pricing-tier settings key an organisation must have enabled to use this widget. Omit for widgets available to everyone. Resolved against `GET /v2/pricing-tiers/me` as `override_settings[key].enabled ?? settings[key].enabled`. Note this is commercial packaging enforced in the UI, not a security control — the key must also be added to the pricing tier settings list in epilot-admin-portal, or it can never be switched on for a tier.
3433
+ * example:
3434
+ * entity_address_maps
3435
+ */
3436
+ pricing_tier_setting?: string;
3416
3437
  }[];
3417
3438
  /**
3418
3439
  * This capability should only be active when the feature flag is enabled
@@ -3460,6 +3481,15 @@ declare namespace Components {
3460
3481
  */
3461
3482
  title?: string;
3462
3483
  attributes?: Attribute[];
3484
+ /**
3485
+ * Allow conditional variants of the entity to override the values managed by this
3486
+ * capability. Only meaningful on schemas that declare `conditions` and on capabilities
3487
+ * that render an attribute group (`EntityAttributes:Group` ui hook), e.g. pricing tiers.
3488
+ * Attributes carried by the capability opt in individually via their own
3489
+ * `variant_overridable` flag.
3490
+ *
3491
+ */
3492
+ variant_overridable?: boolean;
3463
3493
  _purpose?: /**
3464
3494
  * example:
3465
3495
  * taxonomy-slug:classification-slug
@@ -3566,6 +3596,18 @@ declare namespace Components {
3566
3596
  */
3567
3597
  resource?: string;
3568
3598
  };
3599
+ /**
3600
+ * Whether this widget is switched on by default for entity types that have the capability. Only meaningful on the `EntityDetailsV2:Widget` hook. Defaults to true when omitted. An admin's explicit choice in the entity builder is stored in the schema's `ui_config.widget_visibility` and wins over this.
3601
+ * example:
3602
+ * false
3603
+ */
3604
+ default_visible?: boolean;
3605
+ /**
3606
+ * The pricing-tier settings key an organisation must have enabled to use this widget. Omit for widgets available to everyone. Resolved against `GET /v2/pricing-tiers/me` as `override_settings[key].enabled ?? settings[key].enabled`. Note this is commercial packaging enforced in the UI, not a security control — the key must also be added to the pricing tier settings list in epilot-admin-portal, or it can never be switched on for a tier.
3607
+ * example:
3608
+ * entity_address_maps
3609
+ */
3610
+ pricing_tier_setting?: string;
3569
3611
  }[];
3570
3612
  /**
3571
3613
  * This capability should only be active when the feature flag is enabled
@@ -4581,6 +4623,17 @@ declare namespace Components {
4581
4623
  * Ordered list of widget ids controlling the entity-details widget-grid order. Each id is a capability widget's `component` (or `summary` for the synthesized summary card); widgets absent from the list keep their natural order at the end.
4582
4624
  */
4583
4625
  widget_order?: string[];
4626
+ /**
4627
+ * Per-widget on/off state for the entity-details widget grid, keyed by widget id (a capability widget's `component`, or `summary` for the synthesized summary card). Holds only the admin's deviations from each widget's declared default: a widget absent from this map falls back to its ui_hook `default_visible`, and then to visible. Do not seed this map from migrations — doing so would freeze today's defaults into the schema.
4628
+ * example:
4629
+ * {
4630
+ * "next_best_action": true,
4631
+ * "address_map": false
4632
+ * }
4633
+ */
4634
+ widget_visibility?: {
4635
+ [name: string]: boolean;
4636
+ };
4584
4637
  };
4585
4638
  capabilities: /* Capabilities the Entity has. Turn features on/off for entities. */ EntityCapability[];
4586
4639
  /**
@@ -5012,6 +5065,17 @@ declare namespace Components {
5012
5065
  * Ordered list of widget ids controlling the entity-details widget-grid order. Each id is a capability widget's `component` (or `summary` for the synthesized summary card); widgets absent from the list keep their natural order at the end.
5013
5066
  */
5014
5067
  widget_order?: string[];
5068
+ /**
5069
+ * Per-widget on/off state for the entity-details widget grid, keyed by widget id (a capability widget's `component`, or `summary` for the synthesized summary card). Holds only the admin's deviations from each widget's declared default: a widget absent from this map falls back to its ui_hook `default_visible`, and then to visible. Do not seed this map from migrations — doing so would freeze today's defaults into the schema.
5070
+ * example:
5071
+ * {
5072
+ * "next_best_action": true,
5073
+ * "address_map": false
5074
+ * }
5075
+ */
5076
+ widget_visibility?: {
5077
+ [name: string]: boolean;
5078
+ };
5015
5079
  };
5016
5080
  capabilities: /* Capabilities the Entity has. Turn features on/off for entities. */ EntityCapability[];
5017
5081
  /**
@@ -15446,7 +15510,7 @@ declare namespace Paths {
15446
15510
  /**
15447
15511
  * ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).
15448
15512
  * example:
15449
- * 2023-01-01T00:00:00Z
15513
+ * 2023-01-01T00:00:00.000Z
15450
15514
  */
15451
15515
  export type CreatedAfter = string; // date-time
15452
15516
  /**
@@ -15472,7 +15536,7 @@ declare namespace Paths {
15472
15536
  created_after?: /**
15473
15537
  * ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).
15474
15538
  * example:
15475
- * 2023-01-01T00:00:00Z
15539
+ * 2023-01-01T00:00:00.000Z
15476
15540
  */
15477
15541
  Parameters.CreatedAfter /* date-time */;
15478
15542
  sort_pending_first?: /* When true, sorts PENDING status jobs to the top of the results. */ Parameters.SortPendingFirst;
@@ -3307,6 +3307,15 @@ declare namespace Components {
3307
3307
  */
3308
3308
  title?: string;
3309
3309
  attributes?: Attribute[];
3310
+ /**
3311
+ * Allow conditional variants of the entity to override the values managed by this
3312
+ * capability. Only meaningful on schemas that declare `conditions` and on capabilities
3313
+ * that render an attribute group (`EntityAttributes:Group` ui hook), e.g. pricing tiers.
3314
+ * Attributes carried by the capability opt in individually via their own
3315
+ * `variant_overridable` flag.
3316
+ *
3317
+ */
3318
+ variant_overridable?: boolean;
3310
3319
  _purpose?: /**
3311
3320
  * example:
3312
3321
  * taxonomy-slug:classification-slug
@@ -3413,6 +3422,18 @@ declare namespace Components {
3413
3422
  */
3414
3423
  resource?: string;
3415
3424
  };
3425
+ /**
3426
+ * Whether this widget is switched on by default for entity types that have the capability. Only meaningful on the `EntityDetailsV2:Widget` hook. Defaults to true when omitted. An admin's explicit choice in the entity builder is stored in the schema's `ui_config.widget_visibility` and wins over this.
3427
+ * example:
3428
+ * false
3429
+ */
3430
+ default_visible?: boolean;
3431
+ /**
3432
+ * The pricing-tier settings key an organisation must have enabled to use this widget. Omit for widgets available to everyone. Resolved against `GET /v2/pricing-tiers/me` as `override_settings[key].enabled ?? settings[key].enabled`. Note this is commercial packaging enforced in the UI, not a security control — the key must also be added to the pricing tier settings list in epilot-admin-portal, or it can never be switched on for a tier.
3433
+ * example:
3434
+ * entity_address_maps
3435
+ */
3436
+ pricing_tier_setting?: string;
3416
3437
  }[];
3417
3438
  /**
3418
3439
  * This capability should only be active when the feature flag is enabled
@@ -3460,6 +3481,15 @@ declare namespace Components {
3460
3481
  */
3461
3482
  title?: string;
3462
3483
  attributes?: Attribute[];
3484
+ /**
3485
+ * Allow conditional variants of the entity to override the values managed by this
3486
+ * capability. Only meaningful on schemas that declare `conditions` and on capabilities
3487
+ * that render an attribute group (`EntityAttributes:Group` ui hook), e.g. pricing tiers.
3488
+ * Attributes carried by the capability opt in individually via their own
3489
+ * `variant_overridable` flag.
3490
+ *
3491
+ */
3492
+ variant_overridable?: boolean;
3463
3493
  _purpose?: /**
3464
3494
  * example:
3465
3495
  * taxonomy-slug:classification-slug
@@ -3566,6 +3596,18 @@ declare namespace Components {
3566
3596
  */
3567
3597
  resource?: string;
3568
3598
  };
3599
+ /**
3600
+ * Whether this widget is switched on by default for entity types that have the capability. Only meaningful on the `EntityDetailsV2:Widget` hook. Defaults to true when omitted. An admin's explicit choice in the entity builder is stored in the schema's `ui_config.widget_visibility` and wins over this.
3601
+ * example:
3602
+ * false
3603
+ */
3604
+ default_visible?: boolean;
3605
+ /**
3606
+ * The pricing-tier settings key an organisation must have enabled to use this widget. Omit for widgets available to everyone. Resolved against `GET /v2/pricing-tiers/me` as `override_settings[key].enabled ?? settings[key].enabled`. Note this is commercial packaging enforced in the UI, not a security control — the key must also be added to the pricing tier settings list in epilot-admin-portal, or it can never be switched on for a tier.
3607
+ * example:
3608
+ * entity_address_maps
3609
+ */
3610
+ pricing_tier_setting?: string;
3569
3611
  }[];
3570
3612
  /**
3571
3613
  * This capability should only be active when the feature flag is enabled
@@ -4581,6 +4623,17 @@ declare namespace Components {
4581
4623
  * Ordered list of widget ids controlling the entity-details widget-grid order. Each id is a capability widget's `component` (or `summary` for the synthesized summary card); widgets absent from the list keep their natural order at the end.
4582
4624
  */
4583
4625
  widget_order?: string[];
4626
+ /**
4627
+ * Per-widget on/off state for the entity-details widget grid, keyed by widget id (a capability widget's `component`, or `summary` for the synthesized summary card). Holds only the admin's deviations from each widget's declared default: a widget absent from this map falls back to its ui_hook `default_visible`, and then to visible. Do not seed this map from migrations — doing so would freeze today's defaults into the schema.
4628
+ * example:
4629
+ * {
4630
+ * "next_best_action": true,
4631
+ * "address_map": false
4632
+ * }
4633
+ */
4634
+ widget_visibility?: {
4635
+ [name: string]: boolean;
4636
+ };
4584
4637
  };
4585
4638
  capabilities: /* Capabilities the Entity has. Turn features on/off for entities. */ EntityCapability[];
4586
4639
  /**
@@ -5012,6 +5065,17 @@ declare namespace Components {
5012
5065
  * Ordered list of widget ids controlling the entity-details widget-grid order. Each id is a capability widget's `component` (or `summary` for the synthesized summary card); widgets absent from the list keep their natural order at the end.
5013
5066
  */
5014
5067
  widget_order?: string[];
5068
+ /**
5069
+ * Per-widget on/off state for the entity-details widget grid, keyed by widget id (a capability widget's `component`, or `summary` for the synthesized summary card). Holds only the admin's deviations from each widget's declared default: a widget absent from this map falls back to its ui_hook `default_visible`, and then to visible. Do not seed this map from migrations — doing so would freeze today's defaults into the schema.
5070
+ * example:
5071
+ * {
5072
+ * "next_best_action": true,
5073
+ * "address_map": false
5074
+ * }
5075
+ */
5076
+ widget_visibility?: {
5077
+ [name: string]: boolean;
5078
+ };
5015
5079
  };
5016
5080
  capabilities: /* Capabilities the Entity has. Turn features on/off for entities. */ EntityCapability[];
5017
5081
  /**
@@ -15446,7 +15510,7 @@ declare namespace Paths {
15446
15510
  /**
15447
15511
  * ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).
15448
15512
  * example:
15449
- * 2023-01-01T00:00:00Z
15513
+ * 2023-01-01T00:00:00.000Z
15450
15514
  */
15451
15515
  export type CreatedAfter = string; // date-time
15452
15516
  /**
@@ -15472,7 +15536,7 @@ declare namespace Paths {
15472
15536
  created_after?: /**
15473
15537
  * ISO 8601 timestamp to filter jobs created after this time (e.g., 2023-01-01T00:00:00Z).
15474
15538
  * example:
15475
- * 2023-01-01T00:00:00Z
15539
+ * 2023-01-01T00:00:00.000Z
15476
15540
  */
15477
15541
  Parameters.CreatedAfter /* date-time */;
15478
15542
  sort_pending_first?: /* When true, sorts PENDING status jobs to the top of the results. */ Parameters.SortPendingFirst;
package/dist/index.cjs CHANGED
@@ -158,7 +158,7 @@ var _chunkADSWGLIVcjs = require('./chunk-ADSWGLIV.cjs');
158
158
 
159
159
 
160
160
 
161
- var _chunk5RAQKW2Kcjs = require('./chunk-5RAQKW2K.cjs');
161
+ var _chunkHUDTRI32cjs = require('./chunk-HUDTRI32.cjs');
162
162
 
163
163
 
164
164
  var _chunkNJK5F5TFcjs = require('./chunk-NJK5F5TF.cjs');
@@ -225,7 +225,7 @@ var resolveClient = (params) => {
225
225
  }
226
226
  if (!entry.instance) {
227
227
  const definition = entry.loader();
228
- entry.instance = _chunk5RAQKW2Kcjs.createApiClient.call(void 0, {
228
+ entry.instance = _chunkHUDTRI32cjs.createApiClient.call(void 0, {
229
229
  definition,
230
230
  token: state.token,
231
231
  headers: state.globalHeaders,
@@ -258,7 +258,7 @@ var resetAllClients = (registry) => {
258
258
  };
259
259
 
260
260
  // src/apis/_registry.ts
261
- var expandDef = (mod) => _chunk5RAQKW2Kcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
261
+ var expandDef = (mod) => _chunkHUDTRI32cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
262
262
  var registerBuiltinApis = (registry) => {
263
263
  registerApi({
264
264
  registry,
@@ -601,9 +601,9 @@ var createSDK = () => {
601
601
  const available = [...registry.keys()].join(", ");
602
602
  throw new Error(`Unknown API: "${name}". Available: ${available}`);
603
603
  }
604
- return _chunk5RAQKW2Kcjs.createApiHandle.call(void 0, {
604
+ return _chunkHUDTRI32cjs.createApiHandle.call(void 0, {
605
605
  resolveClient: () => resolveClient({ registry, name, state }),
606
- createClient: () => _chunk5RAQKW2Kcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
606
+ createClient: () => _chunkHUDTRI32cjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
607
607
  apiName: name
608
608
  });
609
609
  };
@@ -651,9 +651,9 @@ var createSDK = () => {
651
651
  return interceptorUse;
652
652
  }
653
653
  case "help":
654
- return (apiName) => _chunk5RAQKW2Kcjs.help.call(void 0, apiName);
654
+ return (apiName) => _chunkHUDTRI32cjs.help.call(void 0, apiName);
655
655
  case "openapi":
656
- return (apiName) => _chunk5RAQKW2Kcjs.openapi.call(void 0, apiName);
656
+ return (apiName) => _chunkHUDTRI32cjs.openapi.call(void 0, apiName);
657
657
  case "then":
658
658
  case "catch":
659
659
  case "finally":
@@ -683,4 +683,4 @@ var epilot = createSDK();
683
683
 
684
684
 
685
685
 
686
- exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunk5RAQKW2Kcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunk5RAQKW2Kcjs.help; exports.openapi = _chunk5RAQKW2Kcjs.openapi;
686
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkHUDTRI32cjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkHUDTRI32cjs.help; exports.openapi = _chunkHUDTRI32cjs.openapi;
package/dist/index.d.cts CHANGED
@@ -23,7 +23,7 @@ import { C as Client$g } from './design.d-CYHbiaq_.cjs';
23
23
  import { C as Client$h } from './document.d-DN37pjdx.cjs';
24
24
  import { C as Client$i } from './email-settings.d-CR4lORuR.cjs';
25
25
  import { C as Client$j } from './email-template.d-gtQkdaXM.cjs';
26
- import { C as Client$k } from './entity.d-CaFNmDfj.cjs';
26
+ import { C as Client$k } from './entity.d-BOpXYCU2.cjs';
27
27
  import { C as Client$l } from './entity-mapping.d-DKSW3sfy.cjs';
28
28
  import { C as Client$m } from './environments.d-BvqvN-PD.cjs';
29
29
  import { C as Client$n } from './event-catalog.d-QIhhewVH.cjs';
package/dist/index.d.ts CHANGED
@@ -23,7 +23,7 @@ import { C as Client$g } from './design.d-CYHbiaq_.js';
23
23
  import { C as Client$h } from './document.d-DN37pjdx.js';
24
24
  import { C as Client$i } from './email-settings.d-CR4lORuR.js';
25
25
  import { C as Client$j } from './email-template.d-gtQkdaXM.js';
26
- import { C as Client$k } from './entity.d-CaFNmDfj.js';
26
+ import { C as Client$k } from './entity.d-BOpXYCU2.js';
27
27
  import { C as Client$l } from './entity-mapping.d-DKSW3sfy.js';
28
28
  import { C as Client$m } from './environments.d-BvqvN-PD.js';
29
29
  import { C as Client$n } from './event-catalog.d-QIhhewVH.js';
package/dist/index.js CHANGED
@@ -158,7 +158,7 @@ import {
158
158
  expand,
159
159
  help,
160
160
  openapi
161
- } from "./chunk-6XCKLP3T.js";
161
+ } from "./chunk-3FHDY3R5.js";
162
162
  import {
163
163
  __require
164
164
  } from "./chunk-YPSWSI3M.js";
package/docs/entity.md CHANGED
@@ -487,7 +487,11 @@ const { data } = await client.getSchema({
487
487
  "columns": 0,
488
488
  "cells": [0]
489
489
  },
490
- "widget_order": ["string"]
490
+ "widget_order": ["string"],
491
+ "widget_visibility": {
492
+ "next_best_action": true,
493
+ "address_map": false
494
+ }
491
495
  },
492
496
  "capabilities": [
493
497
  {
@@ -495,6 +499,7 @@ const { data } = await client.getSchema({
495
499
  "name": "customer_messaging",
496
500
  "title": "Messaging",
497
501
  "attributes": [],
502
+ "variant_overridable": false,
498
503
  "_purpose": ["taxonomy-slug:classification-slug"],
499
504
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
500
505
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -640,7 +645,11 @@ const { data } = await client.putSchema(
640
645
  columns: 0,
641
646
  cells: [0]
642
647
  },
643
- widget_order: ['string']
648
+ widget_order: ['string'],
649
+ widget_visibility: {
650
+ next_best_action: true,
651
+ address_map: false
652
+ }
644
653
  },
645
654
  capabilities: [
646
655
  {
@@ -648,6 +657,7 @@ const { data } = await client.putSchema(
648
657
  name: 'customer_messaging',
649
658
  title: 'Messaging',
650
659
  attributes: [ /* ... */ ],
660
+ variant_overridable: false,
651
661
  _purpose: ['taxonomy-slug:classification-slug'],
652
662
  _manifest: ['123e4567-e89b-12d3-a456-426614174000'],
653
663
  app_id: '123e4567-e89b-12d3-a456-426614174000',
@@ -793,7 +803,11 @@ const { data } = await client.putSchema(
793
803
  "columns": 0,
794
804
  "cells": [0]
795
805
  },
796
- "widget_order": ["string"]
806
+ "widget_order": ["string"],
807
+ "widget_visibility": {
808
+ "next_best_action": true,
809
+ "address_map": false
810
+ }
797
811
  },
798
812
  "capabilities": [
799
813
  {
@@ -801,6 +815,7 @@ const { data } = await client.putSchema(
801
815
  "name": "customer_messaging",
802
816
  "title": "Messaging",
803
817
  "attributes": [],
818
+ "variant_overridable": false,
804
819
  "_purpose": ["taxonomy-slug:classification-slug"],
805
820
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
806
821
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -1238,7 +1253,11 @@ const { data } = await client.freezeSchema(
1238
1253
  "columns": 0,
1239
1254
  "cells": [0]
1240
1255
  },
1241
- "widget_order": ["string"]
1256
+ "widget_order": ["string"],
1257
+ "widget_visibility": {
1258
+ "next_best_action": true,
1259
+ "address_map": false
1260
+ }
1242
1261
  },
1243
1262
  "capabilities": [
1244
1263
  {
@@ -1246,6 +1265,7 @@ const { data } = await client.freezeSchema(
1246
1265
  "name": "customer_messaging",
1247
1266
  "title": "Messaging",
1248
1267
  "attributes": [],
1268
+ "variant_overridable": false,
1249
1269
  "_purpose": ["taxonomy-slug:classification-slug"],
1250
1270
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
1251
1271
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -1405,7 +1425,11 @@ const { data } = await client.unfreezeSchema({
1405
1425
  "columns": 0,
1406
1426
  "cells": [0]
1407
1427
  },
1408
- "widget_order": ["string"]
1428
+ "widget_order": ["string"],
1429
+ "widget_visibility": {
1430
+ "next_best_action": true,
1431
+ "address_map": false
1432
+ }
1409
1433
  },
1410
1434
  "capabilities": [
1411
1435
  {
@@ -1413,6 +1437,7 @@ const { data } = await client.unfreezeSchema({
1413
1437
  "name": "customer_messaging",
1414
1438
  "title": "Messaging",
1415
1439
  "attributes": [],
1440
+ "variant_overridable": false,
1416
1441
  "_purpose": ["taxonomy-slug:classification-slug"],
1417
1442
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
1418
1443
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -1518,6 +1543,7 @@ const { data } = await client.listAvailableCapabilities({
1518
1543
  "name": "customer_messaging",
1519
1544
  "title": "Messaging",
1520
1545
  "attributes": [],
1546
+ "variant_overridable": false,
1521
1547
  "_purpose": ["taxonomy-slug:classification-slug"],
1522
1548
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
1523
1549
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -5164,6 +5190,7 @@ const { data } = await client.createSchemaCapability(
5164
5190
  },
5165
5191
  /* ... 33 more */
5166
5192
  ],
5193
+ variant_overridable: false,
5167
5194
  _purpose: ['taxonomy-slug:classification-slug'],
5168
5195
  _manifest: ['123e4567-e89b-12d3-a456-426614174000'],
5169
5196
  app_id: '123e4567-e89b-12d3-a456-426614174000',
@@ -5186,7 +5213,9 @@ const { data } = await client.createSchemaCapability(
5186
5213
  icon: 'email',
5187
5214
  disabled: true,
5188
5215
  header: true,
5189
- requiredPermission: { /* ... */ }
5216
+ requiredPermission: { /* ... */ },
5217
+ default_visible: false,
5218
+ pricing_tier_setting: 'entity_address_maps'
5190
5219
  }
5191
5220
  ],
5192
5221
  feature_flag: 'FF_MY_FEATURE_FLAG',
@@ -5296,6 +5325,7 @@ const { data } = await client.createSchemaCapability(
5296
5325
  "type": "link"
5297
5326
  }
5298
5327
  ],
5328
+ "variant_overridable": false,
5299
5329
  "_purpose": ["taxonomy-slug:classification-slug"],
5300
5330
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
5301
5331
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -5318,7 +5348,9 @@ const { data } = await client.createSchemaCapability(
5318
5348
  "icon": "email",
5319
5349
  "disabled": true,
5320
5350
  "header": true,
5321
- "requiredPermission": {}
5351
+ "requiredPermission": {},
5352
+ "default_visible": false,
5353
+ "pricing_tier_setting": "entity_address_maps"
5322
5354
  }
5323
5355
  ],
5324
5356
  "feature_flag": "FF_MY_FEATURE_FLAG",
@@ -5443,6 +5475,7 @@ const { data } = await client.getSchemaCapability({
5443
5475
  "type": "link"
5444
5476
  }
5445
5477
  ],
5478
+ "variant_overridable": false,
5446
5479
  "_purpose": ["taxonomy-slug:classification-slug"],
5447
5480
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
5448
5481
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -5465,7 +5498,9 @@ const { data } = await client.getSchemaCapability({
5465
5498
  "icon": "email",
5466
5499
  "disabled": true,
5467
5500
  "header": true,
5468
- "requiredPermission": {}
5501
+ "requiredPermission": {},
5502
+ "default_visible": false,
5503
+ "pricing_tier_setting": "entity_address_maps"
5469
5504
  }
5470
5505
  ],
5471
5506
  "feature_flag": "FF_MY_FEATURE_FLAG",
@@ -5586,6 +5621,7 @@ const { data } = await client.putSchemaCapability(
5586
5621
  },
5587
5622
  /* ... 33 more */
5588
5623
  ],
5624
+ variant_overridable: false,
5589
5625
  _purpose: ['taxonomy-slug:classification-slug'],
5590
5626
  _manifest: ['123e4567-e89b-12d3-a456-426614174000'],
5591
5627
  app_id: '123e4567-e89b-12d3-a456-426614174000',
@@ -5608,7 +5644,9 @@ const { data } = await client.putSchemaCapability(
5608
5644
  icon: 'email',
5609
5645
  disabled: true,
5610
5646
  header: true,
5611
- requiredPermission: { /* ... */ }
5647
+ requiredPermission: { /* ... */ },
5648
+ default_visible: false,
5649
+ pricing_tier_setting: 'entity_address_maps'
5612
5650
  }
5613
5651
  ],
5614
5652
  feature_flag: 'FF_MY_FEATURE_FLAG',
@@ -5718,6 +5756,7 @@ const { data } = await client.putSchemaCapability(
5718
5756
  "type": "link"
5719
5757
  }
5720
5758
  ],
5759
+ "variant_overridable": false,
5721
5760
  "_purpose": ["taxonomy-slug:classification-slug"],
5722
5761
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
5723
5762
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -5740,7 +5779,9 @@ const { data } = await client.putSchemaCapability(
5740
5779
  "icon": "email",
5741
5780
  "disabled": true,
5742
5781
  "header": true,
5743
- "requiredPermission": {}
5782
+ "requiredPermission": {},
5783
+ "default_visible": false,
5784
+ "pricing_tier_setting": "entity_address_maps"
5744
5785
  }
5745
5786
  ],
5746
5787
  "feature_flag": "FF_MY_FEATURE_FLAG",
@@ -5865,6 +5906,7 @@ const { data } = await client.deleteSchemaCapability({
5865
5906
  "type": "link"
5866
5907
  }
5867
5908
  ],
5909
+ "variant_overridable": false,
5868
5910
  "_purpose": ["taxonomy-slug:classification-slug"],
5869
5911
  "_manifest": ["123e4567-e89b-12d3-a456-426614174000"],
5870
5912
  "app_id": "123e4567-e89b-12d3-a456-426614174000",
@@ -5887,7 +5929,9 @@ const { data } = await client.deleteSchemaCapability({
5887
5929
  "icon": "email",
5888
5930
  "disabled": true,
5889
5931
  "header": true,
5890
- "requiredPermission": {}
5932
+ "requiredPermission": {},
5933
+ "default_visible": false,
5934
+ "pricing_tier_setting": "entity_address_maps"
5891
5935
  }
5892
5936
  ],
5893
5937
  "feature_flag": "FF_MY_FEATURE_FLAG",
@@ -6423,6 +6467,7 @@ type EntitySchema = {
6423
6467
  cells?: { ... }
6424
6468
  }
6425
6469
  widget_order?: string[]
6470
+ widget_visibility?: Record<string, boolean>
6426
6471
  }
6427
6472
  capabilities: Array<{
6428
6473
  id?: string
@@ -6451,7 +6496,6 @@ type EntitySchema = {
6451
6496
  _purpose?: { ... }
6452
6497
  _manifest?: { ... }
6453
6498
  constraints?: { ... }
6454
- feature_flag?: { ... }
6455
6499
  // ...
6456
6500
  }
6457
6501
  ```
@@ -6541,6 +6585,7 @@ type EntitySchemaItem = {
6541
6585
  cells?: { ... }
6542
6586
  }
6543
6587
  widget_order?: string[]
6588
+ widget_visibility?: Record<string, boolean>
6544
6589
  }
6545
6590
  capabilities: Array<{
6546
6591
  id?: string
@@ -6558,7 +6603,6 @@ type EntitySchemaItem = {
6558
6603
  readonly?: { ... }
6559
6604
  deprecated?: { ... }
6560
6605
  variant_overridable?: { ... }
6561
- default_value?: { ... }
6562
6606
  // ...
6563
6607
  }
6564
6608
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.18.3",
3
+ "version": "2.18.4",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",