@epilot/cli 0.1.10 → 0.1.11

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 (78) hide show
  1. package/README.md +3 -3
  2. package/definitions/app.json +56 -6
  3. package/definitions/blueprint-manifest.json +115 -1
  4. package/definitions/customer-portal.json +757 -81
  5. package/definitions/data-management.json +10 -0
  6. package/definitions/email-settings.json +121 -0
  7. package/definitions/email-template.json +25 -3
  8. package/definitions/entity.json +328 -10
  9. package/definitions/erp-integration.json +472 -13
  10. package/definitions/journey.json +18 -1
  11. package/definitions/kanban.json +25 -1
  12. package/definitions/organization.json +35 -1
  13. package/definitions/partner-directory.json +795 -229
  14. package/definitions/permissions.json +41 -6
  15. package/definitions/webhooks.json +111 -2
  16. package/definitions/workflow.json +40 -0
  17. package/dist/{access-token-PTTCRMGK.js → access-token-CIM4RLBP.js} +1 -1
  18. package/dist/add-component-IW4644NE.js +241 -0
  19. package/dist/{address-2FDPEPR6.js → address-EDRTUWTP.js} +1 -1
  20. package/dist/{address-suggestions-XBEK5DDQ.js → address-suggestions-S5WEST2N.js} +1 -1
  21. package/dist/{ai-agents-ZY5BNVTN.js → ai-agents-RXDDJDAR.js} +1 -1
  22. package/dist/{app-IT5FWGUK.js → api-36XROHLK.js} +5 -5
  23. package/dist/app-BKS7M4UQ.js +24 -0
  24. package/dist/{audit-logs-FB4TE4TI.js → audit-logs-PXGDGJGV.js} +1 -1
  25. package/dist/{automation-JE5LDKJM.js → automation-LS6MVLP2.js} +1 -1
  26. package/dist/{billing-GOFCP5T3.js → billing-KVYFUKZK.js} +1 -1
  27. package/dist/bin/epilot.js +52 -52
  28. package/dist/{blueprint-manifest-WJIQKFYK.js → blueprint-manifest-W4ZGJD2Z.js} +1 -1
  29. package/dist/{chunk-P5IZZW4Y.js → chunk-BYAEI4Z2.js} +1 -1
  30. package/dist/{chunk-MNSG22DM.js → chunk-K2UQOP3Q.js} +26 -10
  31. package/dist/chunk-POCU2J27.js +365 -0
  32. package/dist/{completion-HZNPHJI4.js → completion-HTO64G2S.js} +1 -1
  33. package/dist/{consent-DSMWWHUL.js → consent-M4QB2HPM.js} +1 -1
  34. package/dist/{customer-portal-IJYTJYUZ.js → customer-portal-SVO2YCXA.js} +1 -1
  35. package/dist/{dashboard-DOAX6XDG.js → dashboard-CYCXIX74.js} +1 -1
  36. package/dist/{data-management-C4JPPUPD.js → data-management-KXAPA7ZU.js} +1 -1
  37. package/dist/{deduplication-7OGLZLAC.js → deduplication-M3KEVJRG.js} +1 -1
  38. package/dist/deploy-UQZAUHAB.js +214 -0
  39. package/dist/{design-3CAYTWFY.js → design-UVJJ2KO2.js} +1 -1
  40. package/dist/{document-NT5JOJQV.js → document-5HB632XE.js} +1 -1
  41. package/dist/{email-settings-2M3WJTQS.js → email-settings-H7HQTDYE.js} +1 -1
  42. package/dist/{email-template-F4PLBPPC.js → email-template-2DHZ3VKF.js} +1 -1
  43. package/dist/{entity-32LKMZAU.js → entity-HED6QHG7.js} +1 -1
  44. package/dist/{entity-mapping-OBCZDYQJ.js → entity-mapping-QP22B65Z.js} +1 -1
  45. package/dist/{environments-H3TBCDQE.js → environments-6LLEIGWV.js} +1 -1
  46. package/dist/{erp-integration-UW6H55EK.js → erp-integration-DXFYJ2F3.js} +1 -1
  47. package/dist/{event-catalog-NVAPTZ4M.js → event-catalog-2ZCZTATY.js} +1 -1
  48. package/dist/export-US5GMHTS.js +44 -0
  49. package/dist/{file-US2HR4SV.js → file-R6IIXOIZ.js} +1 -1
  50. package/dist/{iban-7QUCOULB.js → iban-EQD2VROZ.js} +1 -1
  51. package/dist/init-DGPWBRRB.js +524 -0
  52. package/dist/{journey-E5T4BZZX.js → journey-V7X2KUKH.js} +1 -1
  53. package/dist/{kanban-7UHU5VE6.js → kanban-EPI6C3FR.js} +1 -1
  54. package/dist/{message-7KY33RJE.js → message-477EJ5JO.js} +1 -1
  55. package/dist/{metering-P7BZGMY7.js → metering-5EAEKRSL.js} +1 -1
  56. package/dist/{notes-TNJ7FPA3.js → notes-CVXNRULU.js} +1 -1
  57. package/dist/{notification-6KXEFVO5.js → notification-6HXS76XP.js} +1 -1
  58. package/dist/{organization-FF4Y3PBO.js → organization-O33CZQKD.js} +1 -1
  59. package/dist/{partner-directory-VH2SBAS2.js → partner-directory-NZWGCKSB.js} +2 -2
  60. package/dist/{permissions-KENZ4HNY.js → permissions-6QEOBJ6M.js} +1 -1
  61. package/dist/{pricing-P6QZ77VJ.js → pricing-KNYSULCW.js} +1 -1
  62. package/dist/{pricing-tier-2IRJMTM6.js → pricing-tier-OCHP6SHT.js} +1 -1
  63. package/dist/{purpose-IHROR6LQ.js → purpose-NGM42XWB.js} +1 -1
  64. package/dist/remove-component-B2GMICMD.js +89 -0
  65. package/dist/review-QFPON37R.js +69 -0
  66. package/dist/{sandbox-62XQPOU6.js → sandbox-YX3VVAQG.js} +1 -1
  67. package/dist/{submission-PUWGOYQB.js → submission-YOWVSZNA.js} +1 -1
  68. package/dist/{targeting-QB3DFYNI.js → targeting-BMZCOG72.js} +1 -1
  69. package/dist/{template-variables-IPKRUJ4E.js → template-variables-YTABZL3E.js} +1 -1
  70. package/dist/{upgrade-TNDH4WGQ.js → upgrade-KZSOPDCR.js} +1 -1
  71. package/dist/{user-2CP75TFC.js → user-3N5ZOUYS.js} +1 -1
  72. package/dist/validate-G7K6AVBI.js +53 -0
  73. package/dist/{validation-rules-GNI4EEG5.js → validation-rules-QVS7LKEP.js} +1 -1
  74. package/dist/versions-UTPAWTIU.js +109 -0
  75. package/dist/{webhooks-2OWUX7UL.js → webhooks-6WMWACOW.js} +1 -1
  76. package/dist/{workflow-WSLERVJI.js → workflow-ZO2MKDBS.js} +1 -1
  77. package/dist/{workflow-definition-FP3WKHGG.js → workflow-definition-RCWKIPYI.js} +1 -1
  78. package/package.json +2 -1
@@ -739,6 +739,16 @@
739
739
  },
740
740
  "lookback_period_days": {
741
741
  "type": "integer"
742
+ },
743
+ "message_type": {
744
+ "type": "array",
745
+ "items": {
746
+ "type": "string",
747
+ "enum": [
748
+ "SENT",
749
+ "RECEIVED"
750
+ ]
751
+ }
742
752
  }
743
753
  }
744
754
  },
@@ -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",
@@ -2,7 +2,7 @@
2
2
  "openapi": "3.0.2",
3
3
  "info": {
4
4
  "title": "Email template API",
5
- "version": "1.0.0-RFC",
5
+ "version": "1.1.0",
6
6
  "description": "Email template API service\n"
7
7
  },
8
8
  "tags": [
@@ -598,6 +598,10 @@
598
598
  "description": "Updated by",
599
599
  "type": "string",
600
600
  "example": 1234
601
+ },
602
+ "json_template": {
603
+ "type": "string",
604
+ "description": "This field is used to store JSON templates. If this field is populated, then the Body html is derived from the JSON."
601
605
  }
602
606
  }
603
607
  },
@@ -688,6 +692,10 @@
688
692
  "type": "string",
689
693
  "example": 1234
690
694
  },
695
+ "json_template": {
696
+ "type": "string",
697
+ "description": "This field is used to store JSON templates. If this field is populated, then the Body html is derived from the JSON."
698
+ },
691
699
  "system_template": {
692
700
  "description": "If template is created by system (Double Opt-in, CMD invitation,...) then true, and some attributes can not be edited such as Name, To,...\nRemember to add default content of template to system_template enum for revert to original feature\n",
693
701
  "type": "boolean",
@@ -1085,6 +1093,11 @@
1085
1093
  "type": "boolean",
1086
1094
  "description": "When true, it lets to send only the email by skip creating the thread & message entities."
1087
1095
  },
1096
+ "CompleteThread": {
1097
+ "type": "boolean",
1098
+ "description": "Whether the thread is marked as Done immediately after sending the message",
1099
+ "default": false
1100
+ },
1088
1101
  "BulkSendMessageRequest": {
1089
1102
  "type": "object",
1090
1103
  "description": "It takes a list of entity ids, treating each as a separate mainEntity to construct individual messages.\nFor e.g; if there some opportunityIds are provided, then each opportunityId is treated as a separate mainEntity to construct individual messages.\n",
@@ -1096,6 +1109,9 @@
1096
1109
  "skip_creating_entities": {
1097
1110
  "$ref": "#/components/schemas/SkipCreatingEntities"
1098
1111
  },
1112
+ "complete_thread": {
1113
+ "$ref": "#/components/schemas/CompleteThread"
1114
+ },
1099
1115
  "email_template_id": {
1100
1116
  "type": "string",
1101
1117
  "description": "ID of email template to use for sending bulk emails",
@@ -1104,7 +1120,7 @@
1104
1120
  "must_include_unsubscribe_link": {
1105
1121
  "type": "boolean",
1106
1122
  "description": "If true then include unsubscribe link in the email body\n",
1107
- "default": true
1123
+ "default": false
1108
1124
  },
1109
1125
  "recipient_ids": {
1110
1126
  "type": "array",
@@ -1134,6 +1150,9 @@
1134
1150
  "skip_creating_entities": {
1135
1151
  "$ref": "#/components/schemas/SkipCreatingEntities"
1136
1152
  },
1153
+ "complete_thread": {
1154
+ "$ref": "#/components/schemas/CompleteThread"
1155
+ },
1137
1156
  "email_template_id": {
1138
1157
  "type": "string",
1139
1158
  "description": "ID of email template to use for sending bulk emails",
@@ -1142,7 +1161,7 @@
1142
1161
  "must_include_unsubscribe_link": {
1143
1162
  "type": "boolean",
1144
1163
  "description": "If true then include unsubscribe link in the email body\n",
1145
- "default": true
1164
+ "default": false
1146
1165
  },
1147
1166
  "recipient_query": {
1148
1167
  "type": "string",
@@ -1192,6 +1211,9 @@
1192
1211
  "skip_creating_entities": {
1193
1212
  "$ref": "#/components/schemas/SkipCreatingEntities"
1194
1213
  },
1214
+ "complete_thread": {
1215
+ "$ref": "#/components/schemas/CompleteThread"
1216
+ },
1195
1217
  "status": {
1196
1218
  "type": "string",
1197
1219
  "description": "Status of the bulk message action\n* PROCESSING: Bulk message action is processing the request\n* QUEUEING: Bulk message action is generating emails to send in a queue\n* SENDING: Bulk message action is sending emails from the queue\n* SUCCESS: Bulk message action is completed successfully\n* FAILED: Bulk message action is failed\n* CANCELLED: Bulk message action was cancelled\n",