@epilot/sdk 2.1.2 → 2.1.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 (124) hide show
  1. package/definitions/customer-portal.json +216 -19
  2. package/definitions/email-settings-runtime.json +1 -1
  3. package/definitions/email-settings.json +121 -0
  4. package/dist/apis/access-token.cjs +6 -6
  5. package/dist/apis/access-token.js +1 -1
  6. package/dist/apis/address-suggestions.cjs +6 -6
  7. package/dist/apis/address-suggestions.js +1 -1
  8. package/dist/apis/address.cjs +6 -6
  9. package/dist/apis/address.js +1 -1
  10. package/dist/apis/ai-agents.cjs +6 -6
  11. package/dist/apis/ai-agents.js +1 -1
  12. package/dist/apis/app.cjs +6 -6
  13. package/dist/apis/app.js +1 -1
  14. package/dist/apis/audit-logs.cjs +6 -6
  15. package/dist/apis/audit-logs.js +1 -1
  16. package/dist/apis/automation.cjs +6 -6
  17. package/dist/apis/automation.js +1 -1
  18. package/dist/apis/billing.cjs +6 -6
  19. package/dist/apis/billing.js +1 -1
  20. package/dist/apis/blueprint-manifest.cjs +6 -6
  21. package/dist/apis/blueprint-manifest.js +1 -1
  22. package/dist/apis/consent.cjs +6 -6
  23. package/dist/apis/consent.js +1 -1
  24. package/dist/apis/customer-portal.cjs +6 -6
  25. package/dist/apis/customer-portal.d.cts +2 -2
  26. package/dist/apis/customer-portal.d.ts +2 -2
  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-management.cjs +6 -6
  31. package/dist/apis/data-management.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 +8 -8
  39. package/dist/apis/email-settings.d.cts +2 -2
  40. package/dist/apis/email-settings.d.ts +2 -2
  41. package/dist/apis/email-settings.js +2 -2
  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/erp-integration.cjs +6 -6
  51. package/dist/apis/erp-integration.js +1 -1
  52. package/dist/apis/event-catalog.cjs +6 -6
  53. package/dist/apis/event-catalog.js +1 -1
  54. package/dist/apis/file.cjs +6 -6
  55. package/dist/apis/file.js +1 -1
  56. package/dist/apis/iban.cjs +6 -6
  57. package/dist/apis/iban.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/sandbox.cjs +6 -6
  83. package/dist/apis/sandbox.js +1 -1
  84. package/dist/apis/submission.cjs +6 -6
  85. package/dist/apis/submission.js +1 -1
  86. package/dist/apis/targeting.cjs +6 -6
  87. package/dist/apis/targeting.js +1 -1
  88. package/dist/apis/template-variables.cjs +6 -6
  89. package/dist/apis/template-variables.js +1 -1
  90. package/dist/apis/user.cjs +6 -6
  91. package/dist/apis/user.js +1 -1
  92. package/dist/apis/validation-rules.cjs +6 -6
  93. package/dist/apis/validation-rules.js +1 -1
  94. package/dist/apis/webhooks.cjs +6 -6
  95. package/dist/apis/webhooks.js +1 -1
  96. package/dist/apis/workflow-definition.cjs +6 -6
  97. package/dist/apis/workflow-definition.js +1 -1
  98. package/dist/apis/workflow.cjs +6 -6
  99. package/dist/apis/workflow.js +1 -1
  100. package/dist/{chunk-RJ3DWFSK.js → chunk-3NLMZLCD.js} +1 -1
  101. package/dist/{chunk-T7LQKRUK.cjs → chunk-5HXHGSD5.cjs} +3 -3
  102. package/dist/{chunk-BPHOGIQM.cjs → chunk-A67W5WAP.cjs} +1 -1
  103. package/dist/{chunk-QTU4H6NQ.js → chunk-YW6UBO24.js} +3 -3
  104. package/dist/customer-portal-5JVN4Y5Y.js +7 -0
  105. package/dist/customer-portal-T7KIY3AE.cjs +7 -0
  106. package/dist/{customer-portal.d-Bh9NF8cY.d.cts → customer-portal.d-uN6lOpvy.d.cts} +174 -32
  107. package/dist/{customer-portal.d-Bh9NF8cY.d.ts → customer-portal.d-uN6lOpvy.d.ts} +174 -32
  108. package/dist/email-settings-EJ3DCPPN.js +7 -0
  109. package/dist/email-settings-TALOPLBC.cjs +7 -0
  110. package/dist/{email-settings-runtime-NS7MU3RB.cjs → email-settings-runtime-3NJIAWWI.cjs} +2 -2
  111. package/dist/{email-settings-runtime-X7F3EPAB.js → email-settings-runtime-Q2HVKJDS.js} +1 -1
  112. package/dist/{email-settings.d-BXxYjVDr.d.cts → email-settings.d-DUvmLZMN.d.cts} +115 -2
  113. package/dist/{email-settings.d-BXxYjVDr.d.ts → email-settings.d-DUvmLZMN.d.ts} +115 -2
  114. package/dist/index.cjs +10 -10
  115. package/dist/index.d.cts +2 -2
  116. package/dist/index.d.ts +2 -2
  117. package/dist/index.js +2 -2
  118. package/docs/customer-portal.md +351 -1123
  119. package/docs/email-settings.md +80 -1
  120. package/package.json +1 -1
  121. package/dist/customer-portal-D3SLPAHZ.js +0 -7
  122. package/dist/customer-portal-UR3GN4VU.cjs +0 -7
  123. package/dist/email-settings-TQ5GGDYG.js +0 -7
  124. package/dist/email-settings-TQC34GST.cjs +0 -7
@@ -2110,7 +2110,8 @@
2110
2110
  "get": {
2111
2111
  "operationId": "getPublicPortalWidgets",
2112
2112
  "summary": "getPublicPortalWidgets",
2113
- "description": "Retrieves the public widgets of a portal",
2113
+ "description": "Retrieves the public widgets of a portal.",
2114
+ "deprecated": true,
2114
2115
  "tags": [
2115
2116
  "Public"
2116
2117
  ],
@@ -2164,6 +2165,7 @@
2164
2165
  "operationId": "upsertPortalWidget",
2165
2166
  "summary": "upsertPortalWidget",
2166
2167
  "description": "Upsert widget for a portal of an organization.",
2168
+ "deprecated": true,
2167
2169
  "security": [
2168
2170
  {
2169
2171
  "EpilotAuth": []
@@ -2222,7 +2224,8 @@
2222
2224
  "get": {
2223
2225
  "operationId": "getPortalWidgets",
2224
2226
  "summary": "getPortalWidgets",
2225
- "description": "Retrieves the widgets of a portal",
2227
+ "description": "Retrieves the widgets of a portal.",
2228
+ "deprecated": true,
2226
2229
  "tags": [
2227
2230
  "ECP Admin",
2228
2231
  "ECP"
@@ -2826,6 +2829,7 @@
2826
2829
  "operationId": "updateContact",
2827
2830
  "summary": "updateContact",
2828
2831
  "description": "Updates the contact details.",
2832
+ "deprecated": true,
2829
2833
  "tags": [
2830
2834
  "ECP"
2831
2835
  ],
@@ -3881,7 +3885,8 @@
3881
3885
  "get": {
3882
3886
  "operationId": "getAllOrders",
3883
3887
  "summary": "getAllOrders",
3884
- "description": "Get all orders for the portal user",
3888
+ "description": "Get all orders for the portal user. Use searchPortalUserEntities instead.",
3889
+ "deprecated": true,
3885
3890
  "tags": [
3886
3891
  "ECP"
3887
3892
  ],
@@ -4028,7 +4033,8 @@
4028
4033
  "get": {
4029
4034
  "operationId": "getOrder",
4030
4035
  "summary": "getOrder",
4031
- "description": "Get an order by id",
4036
+ "description": "Get an order by id. Use getPortalUserEntity instead.",
4037
+ "deprecated": true,
4032
4038
  "tags": [
4033
4039
  "ECP"
4034
4040
  ],
@@ -4122,7 +4128,8 @@
4122
4128
  "patch": {
4123
4129
  "operationId": "updateOrder",
4124
4130
  "summary": "updateOrder",
4125
- "description": "Update an order by id",
4131
+ "description": "Update an order by id. Use getPortalUserEntity instead.",
4132
+ "deprecated": true,
4126
4133
  "tags": [
4127
4134
  "ECP"
4128
4135
  ],
@@ -4186,7 +4193,8 @@
4186
4193
  "get": {
4187
4194
  "operationId": "getAllOpportunities",
4188
4195
  "summary": "getAllOpportunities",
4189
- "description": "Get all opportunities of a portal user",
4196
+ "description": "Get all opportunities of a portal user. Use searchPortalUserEntities instead.",
4197
+ "deprecated": true,
4190
4198
  "tags": [
4191
4199
  "ECP"
4192
4200
  ],
@@ -4269,7 +4277,8 @@
4269
4277
  "get": {
4270
4278
  "operationId": "getSearchableAttributesForOpportunities",
4271
4279
  "summary": "getSearchableAttributesForOpportunities",
4272
- "description": "Get all opportunity searchable attributes for a portal user",
4280
+ "description": "Get all opportunity searchable attributes for a portal user. Use searchPortalUserEntities instead.",
4281
+ "deprecated": true,
4273
4282
  "tags": [
4274
4283
  "ECP"
4275
4284
  ],
@@ -4340,7 +4349,8 @@
4340
4349
  "post": {
4341
4350
  "operationId": "getSearchResultsForOpportunities",
4342
4351
  "summary": "getSearchResultsForOpportunities",
4343
- "description": "Get all opportunity with the given serached attributes",
4352
+ "description": "Get all opportunity with the given searched attributes. Use searchPortalUserEntities instead.",
4353
+ "deprecated": true,
4344
4354
  "tags": [
4345
4355
  "ECP"
4346
4356
  ],
@@ -4449,7 +4459,8 @@
4449
4459
  "get": {
4450
4460
  "operationId": "getOpportunity",
4451
4461
  "summary": "getOpportunity",
4452
- "description": "Get an opportunity by id",
4462
+ "description": "Get an opportunity by id. Use getPortalUserEntity instead.",
4463
+ "deprecated": true,
4453
4464
  "tags": [
4454
4465
  "ECP"
4455
4466
  ],
@@ -4536,7 +4547,8 @@
4536
4547
  "patch": {
4537
4548
  "operationId": "updateOpportunity",
4538
4549
  "summary": "updateOpportunity",
4539
- "description": "Update an opportunity by id",
4550
+ "description": "Update an opportunity by id.",
4551
+ "deprecated": true,
4540
4552
  "tags": [
4541
4553
  "ECP"
4542
4554
  ],
@@ -4602,7 +4614,8 @@
4602
4614
  "get": {
4603
4615
  "operationId": "getAllRequests",
4604
4616
  "summary": "getAllRequests",
4605
- "description": "Get all opportunities & orders of a portal user",
4617
+ "description": "Get all opportunities & orders of a portal user. Use searchPortalUserEntities instead.",
4618
+ "deprecated": true,
4606
4619
  "tags": [
4607
4620
  "ECP"
4608
4621
  ],
@@ -4698,7 +4711,8 @@
4698
4711
  "get": {
4699
4712
  "operationId": "getAllContracts",
4700
4713
  "summary": "getAllContracts",
4701
- "description": "Get all contracts for a portal user",
4714
+ "description": "Get all contracts for a portal user. Use searchPortalUserEntities instead.",
4715
+ "deprecated": true,
4702
4716
  "tags": [
4703
4717
  "ECP"
4704
4718
  ],
@@ -4778,7 +4792,8 @@
4778
4792
  "get": {
4779
4793
  "operationId": "getContract",
4780
4794
  "summary": "getContract",
4781
- "description": "Get a contract by id",
4795
+ "description": "Get a contract by id. Use getPortalUserEntity instead.",
4796
+ "deprecated": true,
4782
4797
  "tags": [
4783
4798
  "ECP"
4784
4799
  ],
@@ -4871,7 +4886,8 @@
4871
4886
  "patch": {
4872
4887
  "operationId": "updateContract",
4873
4888
  "summary": "updateContract",
4874
- "description": "Update a contract by id",
4889
+ "description": "Update a contract by id. Use getPortalUserEntity instead.",
4890
+ "deprecated": true,
4875
4891
  "tags": [
4876
4892
  "ECP"
4877
4893
  ],
@@ -5730,7 +5746,8 @@
5730
5746
  "get": {
5731
5747
  "operationId": "getFileById",
5732
5748
  "summary": "getFileById",
5733
- "description": "Fetch a document with ID",
5749
+ "description": "Fetch a document with ID. Use getPortalUserEntity instead.",
5750
+ "deprecated": true,
5734
5751
  "tags": [
5735
5752
  "ECP"
5736
5753
  ],
@@ -6126,6 +6143,10 @@
6126
6143
  },
6127
6144
  "origin": {
6128
6145
  "$ref": "#/components/schemas/Origin"
6146
+ },
6147
+ "portal_id": {
6148
+ "type": "string",
6149
+ "description": "The portal ID to look up the portal config. When provided, takes precedence over origin."
6129
6150
  }
6130
6151
  }
6131
6152
  }
@@ -7496,6 +7517,10 @@
7496
7517
  },
7497
7518
  "context_entities": {
7498
7519
  "$ref": "#/components/schemas/ContextEntities"
7520
+ },
7521
+ "evaluate_targeting": {
7522
+ "type": "boolean",
7523
+ "description": "When true, evaluates targeting conditions and annotates each page/block visibility with _targeting_status ('visible' | 'hidden' | 'no_targeting'). Blocks and pages are never removed — for preview/builder use only."
7499
7524
  }
7500
7525
  }
7501
7526
  }
@@ -8611,9 +8636,36 @@
8611
8636
  },
8612
8637
  "contact_data": {
8613
8638
  "type": "object",
8614
- "description": "Additional contact entity fields to set when creating the contact for the invited user.\nThese are mapped directly to contact entity attributes (e.g. first_name, last_name, phone).\n",
8639
+ "description": "Additional contact entity fields to set when creating the contact for the invited user.\nThese are mapped directly to contact entity attributes (e.g. first_name, last_name, phone).\nValues can be strings or arrays of strings (for multiselect attributes).\n",
8615
8640
  "additionalProperties": {
8616
- "type": "string"
8641
+ "oneOf": [
8642
+ {
8643
+ "type": "string"
8644
+ },
8645
+ {
8646
+ "type": "array",
8647
+ "items": {
8648
+ "type": "string"
8649
+ }
8650
+ }
8651
+ ]
8652
+ }
8653
+ },
8654
+ "portal_user_data": {
8655
+ "type": "object",
8656
+ "description": "Additional portal user entity fields to set when creating the portal user for the invited user.\nThese are mapped directly to portal_user entity attributes.\nValues can be strings or arrays of strings (for multiselect attributes).\n",
8657
+ "additionalProperties": {
8658
+ "oneOf": [
8659
+ {
8660
+ "type": "string"
8661
+ },
8662
+ {
8663
+ "type": "array",
8664
+ "items": {
8665
+ "type": "string"
8666
+ }
8667
+ }
8668
+ ]
8617
8669
  }
8618
8670
  }
8619
8671
  }
@@ -13281,6 +13333,9 @@
13281
13333
  "type": "boolean",
13282
13334
  "description": "If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.",
13283
13335
  "default": false
13336
+ },
13337
+ "secure_proxy": {
13338
+ "$ref": "#/components/schemas/SecureProxyConfig"
13284
13339
  }
13285
13340
  },
13286
13341
  "required": [
@@ -13380,6 +13435,9 @@
13380
13435
  "type": "boolean",
13381
13436
  "description": "If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.",
13382
13437
  "default": false
13438
+ },
13439
+ "secure_proxy": {
13440
+ "$ref": "#/components/schemas/SecureProxyConfig"
13383
13441
  }
13384
13442
  },
13385
13443
  "required": [
@@ -13487,6 +13545,9 @@
13487
13545
  "type": "boolean",
13488
13546
  "description": "If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.",
13489
13547
  "default": false
13548
+ },
13549
+ "secure_proxy": {
13550
+ "$ref": "#/components/schemas/SecureProxyConfig"
13490
13551
  }
13491
13552
  },
13492
13553
  "required": [
@@ -13562,6 +13623,9 @@
13562
13623
  "type": "boolean",
13563
13624
  "description": "If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.",
13564
13625
  "default": false
13626
+ },
13627
+ "secure_proxy": {
13628
+ "$ref": "#/components/schemas/SecureProxyConfig"
13565
13629
  }
13566
13630
  },
13567
13631
  "required": [
@@ -13636,6 +13700,9 @@
13636
13700
  "type": "boolean",
13637
13701
  "description": "If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.",
13638
13702
  "default": false
13703
+ },
13704
+ "secure_proxy": {
13705
+ "$ref": "#/components/schemas/SecureProxyConfig"
13639
13706
  }
13640
13707
  },
13641
13708
  "required": [
@@ -13710,6 +13777,9 @@
13710
13777
  "type": "boolean",
13711
13778
  "description": "If true, requests are made from a set of static IP addresses and only allow connections to a set of allowed IP addresses. Get in touch with us to add your IP addresses.",
13712
13779
  "default": false
13780
+ },
13781
+ "secure_proxy": {
13782
+ "$ref": "#/components/schemas/SecureProxyConfig"
13713
13783
  }
13714
13784
  },
13715
13785
  "required": [
@@ -13717,6 +13787,25 @@
13717
13787
  "call"
13718
13788
  ]
13719
13789
  },
13790
+ "SecureProxyConfig": {
13791
+ "type": "object",
13792
+ "description": "Configuration for routing requests through the ERP Integration secure proxy. Mutually exclusive with use_static_ips.",
13793
+ "properties": {
13794
+ "integration_id": {
13795
+ "type": "string",
13796
+ "format": "uuid",
13797
+ "description": "Integration ID that owns the secure_proxy use case."
13798
+ },
13799
+ "use_case_slug": {
13800
+ "type": "string",
13801
+ "description": "Use case slug for the secure proxy use case."
13802
+ }
13803
+ },
13804
+ "required": [
13805
+ "integration_id",
13806
+ "use_case_slug"
13807
+ ]
13808
+ },
13720
13809
  "ExtensionAuthBlock": {
13721
13810
  "type": "object",
13722
13811
  "properties": {
@@ -14403,7 +14492,65 @@
14403
14492
  "visibility": {
14404
14493
  "type": "object",
14405
14494
  "description": "The conditions that need to be met for the block to be shown",
14406
- "additionalProperties": true
14495
+ "additionalProperties": true,
14496
+ "properties": {
14497
+ "is_hidden": {
14498
+ "type": "boolean",
14499
+ "description": "Block is fully hidden from portal users"
14500
+ },
14501
+ "hidden_on_mobile": {
14502
+ "type": "boolean",
14503
+ "description": "Block is hidden on mobile viewports"
14504
+ },
14505
+ "hidden_on_desktop": {
14506
+ "type": "boolean",
14507
+ "description": "Block is hidden on desktop viewports"
14508
+ },
14509
+ "hidden_in_app": {
14510
+ "type": "boolean",
14511
+ "description": "Block is hidden in the mobile app"
14512
+ },
14513
+ "start_date": {
14514
+ "type": "string",
14515
+ "format": "date-time",
14516
+ "description": "Schedule visibility start date. If only start_date is set, block is visible from this date onwards."
14517
+ },
14518
+ "end_date": {
14519
+ "type": "string",
14520
+ "format": "date-time",
14521
+ "description": "Schedule visibility end date. If only end_date is set, block is visible until this date."
14522
+ },
14523
+ "visible_for_targets": {
14524
+ "type": "array",
14525
+ "items": {
14526
+ "type": "string"
14527
+ },
14528
+ "description": "Target IDs that must match for the block to be visible"
14529
+ },
14530
+ "visible_for_operator": {
14531
+ "type": "string",
14532
+ "enum": [
14533
+ "and",
14534
+ "or"
14535
+ ],
14536
+ "description": "Operator for visible_for_targets matching"
14537
+ },
14538
+ "hidden_for_targets": {
14539
+ "type": "array",
14540
+ "items": {
14541
+ "type": "string"
14542
+ },
14543
+ "description": "Target IDs that if matched will hide the block"
14544
+ },
14545
+ "hidden_for_operator": {
14546
+ "type": "string",
14547
+ "enum": [
14548
+ "and",
14549
+ "or"
14550
+ ],
14551
+ "description": "Operator for hidden_for_targets matching"
14552
+ }
14553
+ }
14407
14554
  },
14408
14555
  "content": {
14409
14556
  "type": "object",
@@ -14502,7 +14649,57 @@
14502
14649
  "visibility": {
14503
14650
  "type": "object",
14504
14651
  "description": "The conditions that need to be met for the page to be shown",
14505
- "additionalProperties": true
14652
+ "additionalProperties": true,
14653
+ "properties": {
14654
+ "is_hidden": {
14655
+ "type": "boolean",
14656
+ "description": "Page is fully hidden from portal users"
14657
+ },
14658
+ "hidden_in_app": {
14659
+ "type": "boolean",
14660
+ "description": "Page is hidden in the mobile app"
14661
+ },
14662
+ "start_date": {
14663
+ "type": "string",
14664
+ "format": "date-time",
14665
+ "description": "Schedule visibility start date. If only start_date is set, page is visible from this date onwards."
14666
+ },
14667
+ "end_date": {
14668
+ "type": "string",
14669
+ "format": "date-time",
14670
+ "description": "Schedule visibility end date. If only end_date is set, page is visible until this date."
14671
+ },
14672
+ "visible_for_targets": {
14673
+ "type": "array",
14674
+ "items": {
14675
+ "type": "string"
14676
+ },
14677
+ "description": "Target IDs that must match for the page to be visible"
14678
+ },
14679
+ "visible_for_operator": {
14680
+ "type": "string",
14681
+ "enum": [
14682
+ "and",
14683
+ "or"
14684
+ ],
14685
+ "description": "Operator for visible_for_targets matching"
14686
+ },
14687
+ "hidden_for_targets": {
14688
+ "type": "array",
14689
+ "items": {
14690
+ "type": "string"
14691
+ },
14692
+ "description": "Target IDs that if matched will hide the page"
14693
+ },
14694
+ "hidden_for_operator": {
14695
+ "type": "string",
14696
+ "enum": [
14697
+ "and",
14698
+ "or"
14699
+ ],
14700
+ "description": "Operator for hidden_for_targets matching"
14701
+ }
14702
+ }
14506
14703
  },
14507
14704
  "content": {
14508
14705
  "type": "object",
@@ -1 +1 @@
1
- {"s":"https://email-settings.sls.epilot.io","o":[["provisionEpilotEmailAddress","put","/v2/email-settings/email-addresses/epilot:provision",null,1],["setEmailAddressPrimary","post","/v2/email-settings/email-addresses/primary",null,1],["getEmailAddress","get","/v2/email-settings/email-addresses/{id}",[["EmailAddressId"]]],["deleteEmailAddress","delete","/v2/email-settings/email-addresses/{id}",[["EmailAddressId"]]],["updateEmailAddress","put","/v2/email-settings/email-addresses/{id}",[["EmailAddressId"]],1],["listEmailAddresses","get","/v2/email-settings/email-addresses"],["addEmailAddress","post","/v2/email-settings/email-addresses",null,1],["getSharedInbox","get","/v2/email-settings/shared-inboxes/{id}",[["SharedInboxId"]]],["deleteSharedInbox","delete","/v2/email-settings/shared-inboxes/{id}",[["SharedInboxId"],["successorInboxId","q"]]],["updateSharedInbox","put","/v2/email-settings/shared-inboxes/{id}",[["SharedInboxId"]],1],["listSharedInboxes","get","/v2/email-settings/shared-inboxes"],["addSharedInbox","post","/v2/email-settings/shared-inboxes",null,1],["listInboxBuckets","get","/v2/email-settings/inbox-buckets"],["connectOutlook","get","/v2/outlook/connect"],["getOutlookConnectionStatus","get","/v2/outlook/connection/status"],["disconnectOutlook","post","/v2/outlook/connection/disconnect",null,1],["connectOutlookMailbox","post","/v2/outlook/mailbox/connect",null,1],["disconnectOutlookMailbox","post","/v2/outlook/mailbox/{email}/disconnect",[["email","p",true]]],["startMailboxSync","post","/v2/outlook/mailbox/{email}/sync",[["email","p",true]],1],["getMailboxSyncStatus","get","/v2/outlook/mailbox/{email}/sync/status",[["email","p",true]]],["retryMailboxSync","post","/v2/outlook/mailbox/{email}/sync/retry",[["email","p",true]],1],["getConnectedOutlookEmails","get","/v2/outlook/mailbox/mappings"],["outlookOAuthCallback","get","/v2/outlook/oauth/callback",[["code","q"],["state","q",true],["session_state","q"],["error","q"],["error_description","q"],["error_subcode","q"],["client_info","q"],["error_uri","q"],["admin_consent","q"],["tenant","q"]]],["getSettings","get","/v1/email-settings",[["type","q",true],["id","q"]]],["addSetting","post","/v1/email-settings",null,1],["deleteSetting","delete","/v1/email-settings",null,1],["updateSetting","post","/v1/email-settings/{id}",[["id","p",true]],1],["addDomain","post","/v1/email-settings/domain",null,1],["deleteDomain","delete","/v1/email-settings/domain",null,1],["verifyNameServers","post","/v1/email-settings/domain/name-servers:verify",null,1],["verifyDomain","post","/v1/email-settings/domain:verify",null,1]],"v":"3.0.3","cp":{"EmailAddressId":["id","p",true],"SharedInboxId":["id","p",true]}}
1
+ {"s":"https://email-settings.sls.epilot.io","o":[["provisionEpilotEmailAddress","put","/v2/email-settings/email-addresses/epilot:provision",null,1],["setEmailAddressPrimary","post","/v2/email-settings/email-addresses/primary",null,1],["getEmailAddress","get","/v2/email-settings/email-addresses/{id}",[["EmailAddressId"]]],["deleteEmailAddress","delete","/v2/email-settings/email-addresses/{id}",[["EmailAddressId"]]],["updateEmailAddress","put","/v2/email-settings/email-addresses/{id}",[["EmailAddressId"]],1],["listEmailAddresses","get","/v2/email-settings/email-addresses"],["addEmailAddress","post","/v2/email-settings/email-addresses",null,1],["getSharedInbox","get","/v2/email-settings/shared-inboxes/{id}",[["SharedInboxId"]]],["deleteSharedInbox","delete","/v2/email-settings/shared-inboxes/{id}",[["SharedInboxId"],["successorInboxId","q"]]],["updateSharedInbox","put","/v2/email-settings/shared-inboxes/{id}",[["SharedInboxId"]],1],["listSharedInboxes","get","/v2/email-settings/shared-inboxes"],["addSharedInbox","post","/v2/email-settings/shared-inboxes",null,1],["listInboxBuckets","get","/v2/email-settings/inbox-buckets"],["connectOutlook","get","/v2/outlook/connect"],["getOutlookConnectionStatus","get","/v2/outlook/connection/status"],["disconnectOutlook","post","/v2/outlook/connection/disconnect",null,1],["connectMsTeams","post","/v2/channels/msteams/connect"],["disconnectMsTeams","post","/v2/channels/msteams/disconnect"],["getMsTeamsStatus","get","/v2/channels/msteams/status"],["connectOutlookMailbox","post","/v2/outlook/mailbox/connect",null,1],["disconnectOutlookMailbox","post","/v2/outlook/mailbox/{email}/disconnect",[["email","p",true]]],["startMailboxSync","post","/v2/outlook/mailbox/{email}/sync",[["email","p",true]],1],["getMailboxSyncStatus","get","/v2/outlook/mailbox/{email}/sync/status",[["email","p",true]]],["retryMailboxSync","post","/v2/outlook/mailbox/{email}/sync/retry",[["email","p",true]],1],["getConnectedOutlookEmails","get","/v2/outlook/mailbox/mappings"],["outlookOAuthCallback","get","/v2/outlook/oauth/callback",[["code","q"],["state","q",true],["session_state","q"],["error","q"],["error_description","q"],["error_subcode","q"],["client_info","q"],["error_uri","q"],["admin_consent","q"],["tenant","q"]]],["getSettings","get","/v1/email-settings",[["type","q",true],["id","q"]]],["addSetting","post","/v1/email-settings",null,1],["deleteSetting","delete","/v1/email-settings",null,1],["updateSetting","post","/v1/email-settings/{id}",[["id","p",true]],1],["addDomain","post","/v1/email-settings/domain",null,1],["deleteDomain","delete","/v1/email-settings/domain",null,1],["verifyNameServers","post","/v1/email-settings/domain/name-servers:verify",null,1],["verifyDomain","post","/v1/email-settings/domain:verify",null,1]],"v":"3.0.3","cp":{"EmailAddressId":["id","p",true],"SharedInboxId":["id","p",true]}}
@@ -26,6 +26,10 @@
26
26
  "name": "O365 Outlook Connection",
27
27
  "description": "Microsoft Office 365 Outlook integration endpoints. These endpoints enable organizations to:\n- Initiate OAuth connections with Microsoft 365\n- Connect Outlook shared mailboxes\n- Manage connection status and tokens\n- Disconnect integrations when needed\n\nThe integration supports multiple Azure AD tenants and handles token refresh automatically.\n"
28
28
  },
29
+ {
30
+ "name": "Channels",
31
+ "description": "Channel integration endpoints. Channels represent external communication providers\n(e.g., Microsoft Teams, WhatsApp) that can be connected to an epilot organization.\n\nAll channel endpoints live under `/v2/channels/{channel}`.\n"
32
+ },
29
33
  {
30
34
  "name": "Settings",
31
35
  "description": "Generic settings management for various email configuration types:\n- **signature**: HTML email signatures\n- **email_domain**: Custom email domains\n- **email_address**: Sender email addresses\n- **whitelist_email_address**: Addresses exempt from duplicate detection\n- **restrict_duplicates_within**: Time window for duplicate email detection\n"
@@ -571,6 +575,10 @@
571
575
  "has_connections": {
572
576
  "type": "boolean",
573
577
  "description": "Whether any connections exist"
578
+ },
579
+ "teams_enabled": {
580
+ "type": "boolean",
581
+ "description": "Whether Microsoft Teams features are enabled for this organization"
574
582
  }
575
583
  }
576
584
  }
@@ -652,6 +660,119 @@
652
660
  }
653
661
  }
654
662
  },
663
+ "/v2/channels/msteams/connect": {
664
+ "post": {
665
+ "operationId": "connectMsTeams",
666
+ "summary": "connectMsTeams",
667
+ "description": "Connects Microsoft Teams channel (click-to-call deep links, meetings) for the organization.\nRequires an active Microsoft 365 / Outlook connection.\n",
668
+ "tags": [
669
+ "Channels"
670
+ ],
671
+ "responses": {
672
+ "200": {
673
+ "description": "Teams channel connected successfully",
674
+ "content": {
675
+ "application/json": {
676
+ "schema": {
677
+ "type": "object",
678
+ "properties": {
679
+ "connected": {
680
+ "type": "boolean"
681
+ },
682
+ "connected_at": {
683
+ "type": "string",
684
+ "format": "date-time"
685
+ }
686
+ }
687
+ }
688
+ }
689
+ }
690
+ },
691
+ "400": {
692
+ "description": "No active Outlook connection found",
693
+ "content": {
694
+ "application/json": {
695
+ "schema": {
696
+ "type": "object",
697
+ "properties": {
698
+ "error": {
699
+ "type": "string"
700
+ },
701
+ "message": {
702
+ "type": "string"
703
+ }
704
+ }
705
+ }
706
+ }
707
+ }
708
+ }
709
+ }
710
+ }
711
+ },
712
+ "/v2/channels/msteams/disconnect": {
713
+ "post": {
714
+ "operationId": "disconnectMsTeams",
715
+ "summary": "disconnectMsTeams",
716
+ "description": "Disconnects Microsoft Teams channel for the organization.\n",
717
+ "tags": [
718
+ "Channels"
719
+ ],
720
+ "responses": {
721
+ "200": {
722
+ "description": "Teams channel disconnected successfully",
723
+ "content": {
724
+ "application/json": {
725
+ "schema": {
726
+ "type": "object",
727
+ "properties": {
728
+ "connected": {
729
+ "type": "boolean"
730
+ }
731
+ }
732
+ }
733
+ }
734
+ }
735
+ }
736
+ }
737
+ }
738
+ },
739
+ "/v2/channels/msteams/status": {
740
+ "get": {
741
+ "operationId": "getMsTeamsStatus",
742
+ "summary": "getMsTeamsStatus",
743
+ "description": "Returns the connection status of the Microsoft Teams channel for the organization.\n",
744
+ "tags": [
745
+ "Channels"
746
+ ],
747
+ "responses": {
748
+ "200": {
749
+ "description": "Teams channel status retrieved successfully",
750
+ "content": {
751
+ "application/json": {
752
+ "schema": {
753
+ "type": "object",
754
+ "properties": {
755
+ "connected": {
756
+ "type": "boolean",
757
+ "description": "Whether the Teams channel is connected"
758
+ },
759
+ "connected_at": {
760
+ "type": "string",
761
+ "format": "date-time",
762
+ "description": "When the Teams channel was connected"
763
+ },
764
+ "connected_by_user_id": {
765
+ "type": "string",
766
+ "description": "User ID who connected the Teams channel"
767
+ }
768
+ }
769
+ }
770
+ }
771
+ }
772
+ }
773
+ }
774
+ }
775
+ },
655
776
  "/v2/outlook/mailbox/connect": {
656
777
  "post": {
657
778
  "operationId": "connectOutlookMailbox",
@@ -6,25 +6,25 @@ var _chunkOXJOO2YFcjs = require('../chunk-OXJOO2YF.cjs');
6
6
 
7
7
 
8
8
 
9
- var _chunkT7LQKRUKcjs = require('../chunk-T7LQKRUK.cjs');
9
+ var _chunk5HXHGSD5cjs = require('../chunk-5HXHGSD5.cjs');
10
10
  require('../chunk-NJK5F5TF.cjs');
11
11
 
12
12
  // src/apis/access-token.ts
13
13
  var loadDefinition = () => {
14
14
  const mod = _chunkOXJOO2YFcjs.require_access_token_runtime.call(void 0, );
15
- return _chunkT7LQKRUKcjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
15
+ return _chunk5HXHGSD5cjs.expand.call(void 0, _nullishCoalesce(mod.default, () => ( mod)));
16
16
  };
17
17
  var _instance = null;
18
18
  var resolve = () => {
19
19
  if (!_instance) {
20
20
  const def = loadDefinition();
21
- _instance = _chunkT7LQKRUKcjs.createApiClient.call(void 0, { definition: def, apiName: "accessToken" });
21
+ _instance = _chunk5HXHGSD5cjs.createApiClient.call(void 0, { definition: def, apiName: "accessToken" });
22
22
  }
23
23
  return _instance;
24
24
  };
25
- var _handle = _chunkT7LQKRUKcjs.createApiHandle.call(void 0, {
25
+ var _handle = _chunk5HXHGSD5cjs.createApiHandle.call(void 0, {
26
26
  resolveClient: resolve,
27
- createClient: () => _chunkT7LQKRUKcjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "accessToken" }),
27
+ createClient: () => _chunk5HXHGSD5cjs.createApiClient.call(void 0, { definition: loadDefinition(), apiName: "accessToken" }),
28
28
  apiName: "accessToken"
29
29
  });
30
30
  var getClient = _handle.getClient;
@@ -35,4 +35,4 @@ var accessToken = _handle;
35
35
 
36
36
 
37
37
 
38
- exports.accessToken = accessToken; exports.authorize = _chunkT7LQKRUKcjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
38
+ exports.accessToken = accessToken; exports.authorize = _chunk5HXHGSD5cjs.authorize; exports.createClient = createClient; exports.getClient = getClient;
@@ -6,7 +6,7 @@ import {
6
6
  createApiClient,
7
7
  createApiHandle,
8
8
  expand
9
- } from "../chunk-QTU4H6NQ.js";
9
+ } from "../chunk-YW6UBO24.js";
10
10
  import "../chunk-YPSWSI3M.js";
11
11
 
12
12
  // src/apis/access-token.ts