@epilot/sdk 2.19.4 → 2.19.5

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/customer-portal.json +34 -8
  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.d.cts +2 -2
  28. package/dist/apis/customer-portal.d.ts +2 -2
  29. package/dist/apis/customer-portal.js +1 -1
  30. package/dist/apis/dashboard.cjs +6 -6
  31. package/dist/apis/dashboard.js +1 -1
  32. package/dist/apis/data-governance.cjs +6 -6
  33. package/dist/apis/data-governance.js +1 -1
  34. package/dist/apis/deduplication.cjs +6 -6
  35. package/dist/apis/deduplication.js +1 -1
  36. package/dist/apis/design.cjs +6 -6
  37. package/dist/apis/design.js +1 -1
  38. package/dist/apis/document.cjs +6 -6
  39. package/dist/apis/document.js +1 -1
  40. package/dist/apis/email-settings.cjs +6 -6
  41. package/dist/apis/email-settings.js +1 -1
  42. package/dist/apis/email-template.cjs +6 -6
  43. package/dist/apis/email-template.js +1 -1
  44. package/dist/apis/entity-mapping.cjs +6 -6
  45. package/dist/apis/entity-mapping.js +1 -1
  46. package/dist/apis/entity.cjs +6 -6
  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-PHOP6DMJ.js → chunk-HWPPR3IM.js} +1 -1
  109. package/dist/{chunk-AD5FK5LK.cjs → chunk-VB6VABGZ.cjs} +1 -1
  110. package/dist/customer-portal-CDFQM72A.js +7 -0
  111. package/dist/customer-portal-MS6WNXAO.cjs +7 -0
  112. package/dist/{customer-portal.d-DTnk0yQf.d.cts → customer-portal.d-DJHJY-vb.d.cts} +51 -8
  113. package/dist/{customer-portal.d-DTnk0yQf.d.ts → customer-portal.d-DJHJY-vb.d.ts} +51 -8
  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/customer-portal.md +13 -4
  119. package/package.json +1 -1
  120. package/dist/customer-portal-FCUPDA7V.cjs +0 -7
  121. package/dist/customer-portal-GRWXQYKT.js +0 -7
@@ -1460,6 +1460,10 @@ declare namespace Components {
1460
1460
  * Configures which 360 events generate an in-app notification for the portal user. Each enabled trigger renders the referenced notification template and creates a notification addressed to the portal user. Admin/builder-only — never exposed via the public portal config.
1461
1461
  */
1462
1462
  notification_triggers?: NotificationTriggerConfig[];
1463
+ /**
1464
+ * Master toggle for the portal's engagement center (in-app notifications including the notification triggers above). Off when absent — portal users only see the engagement center and receive trigger notifications after an admin enables it.
1465
+ */
1466
+ engagement_center_enabled?: boolean;
1463
1467
  }
1464
1468
  export interface CommonConfigAttributesV3 {
1465
1469
  /**
@@ -3290,7 +3294,27 @@ declare namespace Components {
3290
3294
  templates?: {
3291
3295
  [name: string]: string;
3292
3296
  };
3293
- templates_ref?: /* Reference to admin-authored portal configuration (a page block or a global search configuration item) from which the API derives Handlebars templates server-side. This replaces client-supplied template strings so portal users can never submit arbitrary templates for resolution. When both a reference and raw `templates` are provided, the reference wins and the raw templates are ignored. */ TemplatesRef;
3297
+ /**
3298
+ * Reference to admin-authored portal configuration (a page block or a global search configuration item) from which the API derives Handlebars templates server-side. This replaces client-supplied template strings so portal users can never submit arbitrary templates for resolution. When both a reference and raw `templates` are provided, the reference wins and the raw templates are ignored.
3299
+ */
3300
+ templates_ref?: {
3301
+ /**
3302
+ * ID of the portal page to derive templates from. When given without `block_id`, templates are derived from every block of the page and returned resolved as a nested map keyed by block id (the entity detail page contract).
3303
+ */
3304
+ page_id?: string;
3305
+ /**
3306
+ * ID of a block within the page. Templates are derived from the block's content according to its block type (e.g. meter_selector, meter_reading, entity_list).
3307
+ */
3308
+ block_id?: string;
3309
+ /**
3310
+ * For blocks carrying a per-schema configuration array (entity_list), the id of the configuration item to derive templates from. Requires `page_id` and `block_id`.
3311
+ */
3312
+ config_id?: string;
3313
+ /**
3314
+ * ID of the portal's `global_search` configuration item to derive search result templates and the group title template from. Mutually exclusive with `page_id`.
3315
+ */
3316
+ global_search_config_id?: string;
3317
+ };
3294
3318
  }
3295
3319
  export interface EntityTemplates {
3296
3320
  /**
@@ -6610,6 +6634,10 @@ declare namespace Components {
6610
6634
  * Configures which 360 events generate an in-app notification for the portal user. Each enabled trigger renders the referenced notification template and creates a notification addressed to the portal user. Admin/builder-only — never exposed via the public portal config.
6611
6635
  */
6612
6636
  notification_triggers?: NotificationTriggerConfig[];
6637
+ /**
6638
+ * Master toggle for the portal's engagement center (in-app notifications including the notification triggers above). Off when absent — portal users only see the engagement center and receive trigger notifications after an admin enables it.
6639
+ */
6640
+ engagement_center_enabled?: boolean;
6613
6641
  /**
6614
6642
  * ID of the organization
6615
6643
  * example:
@@ -8103,11 +8131,14 @@ declare namespace Components {
8103
8131
  */
8104
8132
  code: string;
8105
8133
  /**
8106
- * The redirect uri
8134
+ * The redirect uri used in the authorization request. Optional: when omitted it is
8135
+ * resolved server-side from the provider's configured `redirect_uri`, falling back to
8136
+ * the portal's own callback route (`https://<domain>/sso`).
8137
+ *
8107
8138
  * example:
8108
- * https://customer-portal.com/login
8139
+ * https://customer-portal.com/sso
8109
8140
  */
8110
- redirect_uri: string;
8141
+ redirect_uri?: string;
8111
8142
  /**
8112
8143
  * The client id
8113
8144
  * example:
@@ -9011,6 +9042,10 @@ declare namespace Components {
9011
9042
  * Configures which 360 events generate an in-app notification for the portal user. Each enabled trigger renders the referenced notification template and creates a notification addressed to the portal user. Admin/builder-only — never exposed via the public portal config.
9012
9043
  */
9013
9044
  notification_triggers?: NotificationTriggerConfig[];
9045
+ /**
9046
+ * Master toggle for the portal's engagement center (in-app notifications including the notification triggers above). Off when absent — portal users only see the engagement center and receive trigger notifications after an admin enables it.
9047
+ */
9048
+ engagement_center_enabled?: boolean;
9014
9049
  }
9015
9050
  export interface UpsertPortalConfigV3 {
9016
9051
  /**
@@ -9664,7 +9699,7 @@ declare namespace Components {
9664
9699
  /**
9665
9700
  * Intervals supported for the current context. If omitted, all intervals are assumed supported.
9666
9701
  */
9667
- intervals?: ("PT15M" | "PT1H" | "P1D" | "P1M")[];
9702
+ intervals?: ("PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y")[];
9668
9703
  data_range?: /* Earliest / latest timestamps for which data is available in the current context. */ VisualizationDataRange;
9669
9704
  }
9670
9705
  export interface VisualizationTypeOption {
@@ -11355,7 +11390,7 @@ declare namespace Paths {
11355
11390
  export type ExtensionId = string;
11356
11391
  export type From = string; // date-time
11357
11392
  export type HookId = string;
11358
- export type Interval = "PT15M" | "PT1H" | "P1D" | "P1M";
11393
+ export type Interval = "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y";
11359
11394
  export type MeterId = string;
11360
11395
  export type To = string; // date-time
11361
11396
  }
@@ -11712,7 +11747,7 @@ declare namespace Paths {
11712
11747
  export type ExtensionId = string;
11713
11748
  export type From = string; // date-time
11714
11749
  export type HookId = string;
11715
- export type Interval = "PT15M" | "PT1H" | "P1D" | "P1M";
11750
+ export type Interval = "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y";
11716
11751
  export type MeterId = string;
11717
11752
  export type To = string; // date-time
11718
11753
  }
@@ -13558,6 +13593,10 @@ declare namespace Paths {
13558
13593
  * Configures which 360 events generate an in-app notification for the portal user. Each enabled trigger renders the referenced notification template and creates a notification addressed to the portal user. Admin/builder-only — never exposed via the public portal config.
13559
13594
  */
13560
13595
  notification_triggers?: Components.Schemas.NotificationTriggerConfig[];
13596
+ /**
13597
+ * Master toggle for the portal's engagement center (in-app notifications including the notification triggers above). Off when absent — portal users only see the engagement center and receive trigger notifications after an admin enables it.
13598
+ */
13599
+ engagement_center_enabled?: boolean;
13561
13600
  /**
13562
13601
  * ID of the organization
13563
13602
  * example:
@@ -14180,6 +14219,10 @@ declare namespace Paths {
14180
14219
  * Configures which 360 events generate an in-app notification for the portal user. Each enabled trigger renders the referenced notification template and creates a notification addressed to the portal user. Admin/builder-only — never exposed via the public portal config.
14181
14220
  */
14182
14221
  notification_triggers?: Components.Schemas.NotificationTriggerConfig[];
14222
+ /**
14223
+ * Master toggle for the portal's engagement center (in-app notifications including the notification triggers above). Off when absent — portal users only see the engagement center and receive trigger notifications after an admin enables it.
14224
+ */
14225
+ engagement_center_enabled?: boolean;
14183
14226
  /**
14184
14227
  * ID of the organization
14185
14228
  * example:
@@ -14580,7 +14623,7 @@ declare namespace Paths {
14580
14623
  export type ExtensionId = string;
14581
14624
  export type From = string; // date-time
14582
14625
  export type HookId = string;
14583
- export type Interval = "PT15M" | "PT1H" | "P1D" | "P1M";
14626
+ export type Interval = "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y";
14584
14627
  export type MeterId = string;
14585
14628
  export type To = string; // date-time
14586
14629
  }
@@ -1460,6 +1460,10 @@ declare namespace Components {
1460
1460
  * Configures which 360 events generate an in-app notification for the portal user. Each enabled trigger renders the referenced notification template and creates a notification addressed to the portal user. Admin/builder-only — never exposed via the public portal config.
1461
1461
  */
1462
1462
  notification_triggers?: NotificationTriggerConfig[];
1463
+ /**
1464
+ * Master toggle for the portal's engagement center (in-app notifications including the notification triggers above). Off when absent — portal users only see the engagement center and receive trigger notifications after an admin enables it.
1465
+ */
1466
+ engagement_center_enabled?: boolean;
1463
1467
  }
1464
1468
  export interface CommonConfigAttributesV3 {
1465
1469
  /**
@@ -3290,7 +3294,27 @@ declare namespace Components {
3290
3294
  templates?: {
3291
3295
  [name: string]: string;
3292
3296
  };
3293
- templates_ref?: /* Reference to admin-authored portal configuration (a page block or a global search configuration item) from which the API derives Handlebars templates server-side. This replaces client-supplied template strings so portal users can never submit arbitrary templates for resolution. When both a reference and raw `templates` are provided, the reference wins and the raw templates are ignored. */ TemplatesRef;
3297
+ /**
3298
+ * Reference to admin-authored portal configuration (a page block or a global search configuration item) from which the API derives Handlebars templates server-side. This replaces client-supplied template strings so portal users can never submit arbitrary templates for resolution. When both a reference and raw `templates` are provided, the reference wins and the raw templates are ignored.
3299
+ */
3300
+ templates_ref?: {
3301
+ /**
3302
+ * ID of the portal page to derive templates from. When given without `block_id`, templates are derived from every block of the page and returned resolved as a nested map keyed by block id (the entity detail page contract).
3303
+ */
3304
+ page_id?: string;
3305
+ /**
3306
+ * ID of a block within the page. Templates are derived from the block's content according to its block type (e.g. meter_selector, meter_reading, entity_list).
3307
+ */
3308
+ block_id?: string;
3309
+ /**
3310
+ * For blocks carrying a per-schema configuration array (entity_list), the id of the configuration item to derive templates from. Requires `page_id` and `block_id`.
3311
+ */
3312
+ config_id?: string;
3313
+ /**
3314
+ * ID of the portal's `global_search` configuration item to derive search result templates and the group title template from. Mutually exclusive with `page_id`.
3315
+ */
3316
+ global_search_config_id?: string;
3317
+ };
3294
3318
  }
3295
3319
  export interface EntityTemplates {
3296
3320
  /**
@@ -6610,6 +6634,10 @@ declare namespace Components {
6610
6634
  * Configures which 360 events generate an in-app notification for the portal user. Each enabled trigger renders the referenced notification template and creates a notification addressed to the portal user. Admin/builder-only — never exposed via the public portal config.
6611
6635
  */
6612
6636
  notification_triggers?: NotificationTriggerConfig[];
6637
+ /**
6638
+ * Master toggle for the portal's engagement center (in-app notifications including the notification triggers above). Off when absent — portal users only see the engagement center and receive trigger notifications after an admin enables it.
6639
+ */
6640
+ engagement_center_enabled?: boolean;
6613
6641
  /**
6614
6642
  * ID of the organization
6615
6643
  * example:
@@ -8103,11 +8131,14 @@ declare namespace Components {
8103
8131
  */
8104
8132
  code: string;
8105
8133
  /**
8106
- * The redirect uri
8134
+ * The redirect uri used in the authorization request. Optional: when omitted it is
8135
+ * resolved server-side from the provider's configured `redirect_uri`, falling back to
8136
+ * the portal's own callback route (`https://<domain>/sso`).
8137
+ *
8107
8138
  * example:
8108
- * https://customer-portal.com/login
8139
+ * https://customer-portal.com/sso
8109
8140
  */
8110
- redirect_uri: string;
8141
+ redirect_uri?: string;
8111
8142
  /**
8112
8143
  * The client id
8113
8144
  * example:
@@ -9011,6 +9042,10 @@ declare namespace Components {
9011
9042
  * Configures which 360 events generate an in-app notification for the portal user. Each enabled trigger renders the referenced notification template and creates a notification addressed to the portal user. Admin/builder-only — never exposed via the public portal config.
9012
9043
  */
9013
9044
  notification_triggers?: NotificationTriggerConfig[];
9045
+ /**
9046
+ * Master toggle for the portal's engagement center (in-app notifications including the notification triggers above). Off when absent — portal users only see the engagement center and receive trigger notifications after an admin enables it.
9047
+ */
9048
+ engagement_center_enabled?: boolean;
9014
9049
  }
9015
9050
  export interface UpsertPortalConfigV3 {
9016
9051
  /**
@@ -9664,7 +9699,7 @@ declare namespace Components {
9664
9699
  /**
9665
9700
  * Intervals supported for the current context. If omitted, all intervals are assumed supported.
9666
9701
  */
9667
- intervals?: ("PT15M" | "PT1H" | "P1D" | "P1M")[];
9702
+ intervals?: ("PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y")[];
9668
9703
  data_range?: /* Earliest / latest timestamps for which data is available in the current context. */ VisualizationDataRange;
9669
9704
  }
9670
9705
  export interface VisualizationTypeOption {
@@ -11355,7 +11390,7 @@ declare namespace Paths {
11355
11390
  export type ExtensionId = string;
11356
11391
  export type From = string; // date-time
11357
11392
  export type HookId = string;
11358
- export type Interval = "PT15M" | "PT1H" | "P1D" | "P1M";
11393
+ export type Interval = "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y";
11359
11394
  export type MeterId = string;
11360
11395
  export type To = string; // date-time
11361
11396
  }
@@ -11712,7 +11747,7 @@ declare namespace Paths {
11712
11747
  export type ExtensionId = string;
11713
11748
  export type From = string; // date-time
11714
11749
  export type HookId = string;
11715
- export type Interval = "PT15M" | "PT1H" | "P1D" | "P1M";
11750
+ export type Interval = "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y";
11716
11751
  export type MeterId = string;
11717
11752
  export type To = string; // date-time
11718
11753
  }
@@ -13558,6 +13593,10 @@ declare namespace Paths {
13558
13593
  * Configures which 360 events generate an in-app notification for the portal user. Each enabled trigger renders the referenced notification template and creates a notification addressed to the portal user. Admin/builder-only — never exposed via the public portal config.
13559
13594
  */
13560
13595
  notification_triggers?: Components.Schemas.NotificationTriggerConfig[];
13596
+ /**
13597
+ * Master toggle for the portal's engagement center (in-app notifications including the notification triggers above). Off when absent — portal users only see the engagement center and receive trigger notifications after an admin enables it.
13598
+ */
13599
+ engagement_center_enabled?: boolean;
13561
13600
  /**
13562
13601
  * ID of the organization
13563
13602
  * example:
@@ -14180,6 +14219,10 @@ declare namespace Paths {
14180
14219
  * Configures which 360 events generate an in-app notification for the portal user. Each enabled trigger renders the referenced notification template and creates a notification addressed to the portal user. Admin/builder-only — never exposed via the public portal config.
14181
14220
  */
14182
14221
  notification_triggers?: Components.Schemas.NotificationTriggerConfig[];
14222
+ /**
14223
+ * Master toggle for the portal's engagement center (in-app notifications including the notification triggers above). Off when absent — portal users only see the engagement center and receive trigger notifications after an admin enables it.
14224
+ */
14225
+ engagement_center_enabled?: boolean;
14183
14226
  /**
14184
14227
  * ID of the organization
14185
14228
  * example:
@@ -14580,7 +14623,7 @@ declare namespace Paths {
14580
14623
  export type ExtensionId = string;
14581
14624
  export type From = string; // date-time
14582
14625
  export type HookId = string;
14583
- export type Interval = "PT15M" | "PT1H" | "P1D" | "P1M";
14626
+ export type Interval = "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y";
14584
14627
  export type MeterId = string;
14585
14628
  export type To = string; // date-time
14586
14629
  }
package/dist/index.cjs CHANGED
@@ -158,7 +158,7 @@ var _chunkADSWGLIVcjs = require('./chunk-ADSWGLIV.cjs');
158
158
 
159
159
 
160
160
 
161
- var _chunkAD5FK5LKcjs = require('./chunk-AD5FK5LK.cjs');
161
+ var _chunkVB6VABGZcjs = require('./chunk-VB6VABGZ.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 = _chunkAD5FK5LKcjs.createApiClient.call(void 0, {
228
+ entry.instance = _chunkVB6VABGZcjs.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) => _chunkAD5FK5LKcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
261
+ var expandDef = (mod) => _chunkVB6VABGZcjs.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 _chunkAD5FK5LKcjs.createApiHandle.call(void 0, {
604
+ return _chunkVB6VABGZcjs.createApiHandle.call(void 0, {
605
605
  resolveClient: () => resolveClient({ registry, name, state }),
606
- createClient: () => _chunkAD5FK5LKcjs.createApiClient.call(void 0, { definition: entry.loader(), apiName: name }),
606
+ createClient: () => _chunkVB6VABGZcjs.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) => _chunkAD5FK5LKcjs.help.call(void 0, apiName);
654
+ return (apiName) => _chunkVB6VABGZcjs.help.call(void 0, apiName);
655
655
  case "openapi":
656
- return (apiName) => _chunkAD5FK5LKcjs.openapi.call(void 0, apiName);
656
+ return (apiName) => _chunkVB6VABGZcjs.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 = _chunkAD5FK5LKcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkAD5FK5LKcjs.help; exports.openapi = _chunkAD5FK5LKcjs.openapi;
686
+ exports.applyLargeResponseInterceptor = applyLargeResponseInterceptor; exports.applyRetryInterceptor = applyRetryInterceptor; exports.authorize = _chunkVB6VABGZcjs.authorize; exports.createSDK = createSDK; exports.epilot = epilot; exports.help = _chunkVB6VABGZcjs.help; exports.openapi = _chunkVB6VABGZcjs.openapi;
package/dist/index.d.cts CHANGED
@@ -15,7 +15,7 @@ import { C as Client$8 } from './blueprint-manifest.d-BVxmCeu7.cjs';
15
15
  import { C as Client$9 } from './calendar.d-mk-ltGpk.cjs';
16
16
  import { C as Client$a } from './configuration-hub.d-Dv41yC3b.cjs';
17
17
  import { C as Client$b } from './consent.d-C2PROHhX.cjs';
18
- import { C as Client$c } from './customer-portal.d-DTnk0yQf.cjs';
18
+ import { C as Client$c } from './customer-portal.d-DJHJY-vb.cjs';
19
19
  import { C as Client$d } from './dashboard.d-BSevFHjf.cjs';
20
20
  import { C as Client$e } from './data-governance.d-BbZ466j5.cjs';
21
21
  import { C as Client$f } from './deduplication.d-Cueh8bDD.cjs';
package/dist/index.d.ts CHANGED
@@ -15,7 +15,7 @@ import { C as Client$8 } from './blueprint-manifest.d-BVxmCeu7.js';
15
15
  import { C as Client$9 } from './calendar.d-mk-ltGpk.js';
16
16
  import { C as Client$a } from './configuration-hub.d-Dv41yC3b.js';
17
17
  import { C as Client$b } from './consent.d-C2PROHhX.js';
18
- import { C as Client$c } from './customer-portal.d-DTnk0yQf.js';
18
+ import { C as Client$c } from './customer-portal.d-DJHJY-vb.js';
19
19
  import { C as Client$d } from './dashboard.d-BSevFHjf.js';
20
20
  import { C as Client$e } from './data-governance.d-BbZ466j5.js';
21
21
  import { C as Client$f } from './deduplication.d-Cueh8bDD.js';
package/dist/index.js CHANGED
@@ -158,7 +158,7 @@ import {
158
158
  expand,
159
159
  help,
160
160
  openapi
161
- } from "./chunk-PHOP6DMJ.js";
161
+ } from "./chunk-HWPPR3IM.js";
162
162
  import {
163
163
  __require
164
164
  } from "./chunk-YPSWSI3M.js";
@@ -627,7 +627,8 @@ const { data } = await client.upsertPortal(
627
627
  enabled: true,
628
628
  template_id: '3fa85f64-5717-4562-b3fc-2c963f66afa6'
629
629
  }
630
- ]
630
+ ],
631
+ engagement_center_enabled: true
631
632
  },
632
633
  )
633
634
  ```
@@ -863,6 +864,7 @@ const { data } = await client.upsertPortal(
863
864
  "template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
864
865
  }
865
866
  ],
867
+ "engagement_center_enabled": true,
866
868
  "id": 12345,
867
869
  "organization_id": 12345,
868
870
  "org_settings": {
@@ -1236,6 +1238,7 @@ const { data } = await client.getPortalConfigByDomain({
1236
1238
  "template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
1237
1239
  }
1238
1240
  ],
1241
+ "engagement_center_enabled": true,
1239
1242
  "id": 12345,
1240
1243
  "organization_id": 12345,
1241
1244
  "org_settings": {
@@ -1512,6 +1515,7 @@ const { data } = await client.getPortalConfig({
1512
1515
  "template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
1513
1516
  }
1514
1517
  ],
1518
+ "engagement_center_enabled": true,
1515
1519
  "id": 12345,
1516
1520
  "organization_id": 12345,
1517
1521
  "org_settings": {
@@ -2677,6 +2681,7 @@ const { data } = await client.getPublicPortalConfig({
2677
2681
  "template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
2678
2682
  }
2679
2683
  ],
2684
+ "engagement_center_enabled": true,
2680
2685
  "id": 12345,
2681
2686
  "organization_id": 12345,
2682
2687
  "org_settings": {
@@ -2953,6 +2958,7 @@ const { data } = await client.getOrgPortalConfig({
2953
2958
  "template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
2954
2959
  }
2955
2960
  ],
2961
+ "engagement_center_enabled": true,
2956
2962
  "id": 12345,
2957
2963
  "organization_id": 12345,
2958
2964
  "org_settings": {
@@ -3238,6 +3244,7 @@ const { data } = await client.getPublicPortalConfigV3({
3238
3244
  "template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
3239
3245
  }
3240
3246
  ],
3247
+ "engagement_center_enabled": true,
3241
3248
  "id": 12345,
3242
3249
  "organization_id": 12345,
3243
3250
  "org_settings": {
@@ -3514,6 +3521,7 @@ const { data } = await client.getOrgPortalConfigV3({
3514
3521
  "template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
3515
3522
  }
3516
3523
  ],
3524
+ "engagement_center_enabled": true,
3517
3525
  "id": 12345,
3518
3526
  "organization_id": 12345,
3519
3527
  "org_settings": {
@@ -3616,6 +3624,7 @@ const { data } = await client.getAllPortalConfigs()
3616
3624
  "pages": {},
3617
3625
  "global_blocks": {},
3618
3626
  "notification_triggers": [],
3627
+ "engagement_center_enabled": true,
3619
3628
  "id": 12345,
3620
3629
  "organization_id": 12345,
3621
3630
  "org_settings": {},
@@ -7144,7 +7153,7 @@ const { data } = await client.ssoCallback(
7144
7153
  token_endpoint: 'https://www.facebook.com/v12.0/dialog/oauth',
7145
7154
  grant_type: 'authorization_code',
7146
7155
  code: '123456',
7147
- redirect_uri: 'https://customer-portal.com/login',
7156
+ redirect_uri: 'https://customer-portal.com/sso',
7148
7157
  client_id: '123456',
7149
7158
  code_verifier: '123456'
7150
7159
  },
@@ -13166,7 +13175,7 @@ type VisualizationMetadata = {
13166
13175
  color?: "primary" | "slate" | "mauve" | "orange" | "red" | "tomato" | "amber" | "green" | "blue"
13167
13176
  precision?: number
13168
13177
  }>
13169
- intervals?: "PT15M" | "PT1H" | "P1D" | "P1M"[]
13178
+ intervals?: "PT15M" | "PT1H" | "P1D" | "P1M" | "P1Y"[]
13170
13179
  data_range?: {
13171
13180
  from?: string // date-time
13172
13181
  to?: string // date-time
@@ -14134,7 +14143,7 @@ type SSOCallbackRequest = {
14134
14143
  token_endpoint: string
14135
14144
  grant_type: string
14136
14145
  code: string
14137
- redirect_uri: string
14146
+ redirect_uri?: string
14138
14147
  client_id: string
14139
14148
  code_verifier: string
14140
14149
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epilot/sdk",
3
- "version": "2.19.4",
3
+ "version": "2.19.5",
4
4
  "description": "JavaScript/TypeScript SDK for epilot APIs",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",