@carbonvoice/cv-mcp-server 1.0.0

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 (152) hide show
  1. package/dist/bootstrap.js +3 -0
  2. package/dist/carbon-voice.js +20 -0
  3. package/dist/config/env.js +28 -0
  4. package/dist/config/index.js +17 -0
  5. package/dist/constants.js +9 -0
  6. package/dist/generated/carbon-voice-api/CarbonVoiceSimplifiedAPI.zod.js +1416 -0
  7. package/dist/generated/carbon-voice-api.js +377 -0
  8. package/dist/generated/index.js +17 -0
  9. package/dist/generated/models/AIPrompt.js +2 -0
  10. package/dist/generated/models/AIPromptControllerGetPromptsOwnerType.js +87 -0
  11. package/dist/generated/models/AIPromptControllerGetPromptsParams.js +2 -0
  12. package/dist/generated/models/AIPromptOwnerType.js +87 -0
  13. package/dist/generated/models/AIPromptResponseFormat.js +86 -0
  14. package/dist/generated/models/AIPromptWithMessagesResponse.js +2 -0
  15. package/dist/generated/models/AIPromptWithMessagesResult.js +2 -0
  16. package/dist/generated/models/AIResponse.js +2 -0
  17. package/dist/generated/models/AIResponseControllerGetAllResponsesDirection.js +86 -0
  18. package/dist/generated/models/AIResponseControllerGetAllResponsesParams.js +2 -0
  19. package/dist/generated/models/AIShareLinkResponse.js +2 -0
  20. package/dist/generated/models/AddAttachmentsResponse.js +2 -0
  21. package/dist/generated/models/AddLinkAttachmentPayload.js +80 -0
  22. package/dist/generated/models/AddMessageToFolderPayload.js +80 -0
  23. package/dist/generated/models/AllConversationsResponse.js +2 -0
  24. package/dist/generated/models/App.js +2 -0
  25. package/dist/generated/models/AppWebhooksAuthenticationHeader.js +80 -0
  26. package/dist/generated/models/AppWebhooksUrlMode.js +86 -0
  27. package/dist/generated/models/AsyncConversationStats.js +2 -0
  28. package/dist/generated/models/Attachment.js +2 -0
  29. package/dist/generated/models/AttachmentLocation.js +80 -0
  30. package/dist/generated/models/AttachmentType.js +87 -0
  31. package/dist/generated/models/AudioModelV2.js +80 -0
  32. package/dist/generated/models/Conversation.js +2 -0
  33. package/dist/generated/models/ConversationResponse.js +2 -0
  34. package/dist/generated/models/ConversationResponseType.js +88 -0
  35. package/dist/generated/models/ConversationType.js +88 -0
  36. package/dist/generated/models/ConversationVisibility.js +87 -0
  37. package/dist/generated/models/CreateAIPrompt.js +2 -0
  38. package/dist/generated/models/CreateAIPromptOwnerType.js +87 -0
  39. package/dist/generated/models/CreateAIPromptResponseFormat.js +86 -0
  40. package/dist/generated/models/CreateAIResponse.js +80 -0
  41. package/dist/generated/models/CreateConversationMessage.js +2 -0
  42. package/dist/generated/models/CreateConversationMessageFromMessageType.js +87 -0
  43. package/dist/generated/models/CreateFolderPayload.js +2 -0
  44. package/dist/generated/models/CreateFolderPayloadType.js +86 -0
  45. package/dist/generated/models/CreateShareLinkAIResponse.js +80 -0
  46. package/dist/generated/models/CreateVoicememoMessage.js +80 -0
  47. package/dist/generated/models/Folder.js +2 -0
  48. package/dist/generated/models/FolderType.js +86 -0
  49. package/dist/generated/models/FolderWithMessages.js +2 -0
  50. package/dist/generated/models/GetAllRootFoldersParams.js +2 -0
  51. package/dist/generated/models/GetAllRootFoldersSortBy.js +87 -0
  52. package/dist/generated/models/GetAllRootFoldersSortDirection.js +86 -0
  53. package/dist/generated/models/GetAllRootFoldersType.js +86 -0
  54. package/dist/generated/models/GetByIdDirection.js +85 -0
  55. package/dist/generated/models/GetByIdParams.js +2 -0
  56. package/dist/generated/models/GetCountsGroupedByWorkspaceParams.js +2 -0
  57. package/dist/generated/models/GetCountsGroupedByWorkspaceType.js +86 -0
  58. package/dist/generated/models/GetFolderByIdDirection.js +86 -0
  59. package/dist/generated/models/GetFolderByIdParams.js +2 -0
  60. package/dist/generated/models/GetMessageByIdParams.js +80 -0
  61. package/dist/generated/models/GetMessageResponse.js +2 -0
  62. package/dist/generated/models/GetTenRecentAIPromptResponse.js +2 -0
  63. package/dist/generated/models/GetTenRecentMessagesResponse.js +2 -0
  64. package/dist/generated/models/GetTenRecentMessagesResponseParams.js +80 -0
  65. package/dist/generated/models/Label.js +2 -0
  66. package/dist/generated/models/LabelBehavior.js +87 -0
  67. package/dist/generated/models/LabelType.js +88 -0
  68. package/dist/generated/models/Language.js +2 -0
  69. package/dist/generated/models/ListCountFoldersGroupedByWorkspace.js +2 -0
  70. package/dist/generated/models/ListFoldersResponse.js +2 -0
  71. package/dist/generated/models/ListFoldersResponseSortBy.js +87 -0
  72. package/dist/generated/models/ListFoldersResponseSortDirection.js +86 -0
  73. package/dist/generated/models/ListFoldersResponseType.js +86 -0
  74. package/dist/generated/models/ListMessagesFilter.js +2 -0
  75. package/dist/generated/models/ListMessagesFilterType.js +89 -0
  76. package/dist/generated/models/ListMessagesParams.js +2 -0
  77. package/dist/generated/models/ListMessagesResponse.js +2 -0
  78. package/dist/generated/models/ListMessagesResponseSortDirection.js +86 -0
  79. package/dist/generated/models/ListMessagesSortDirection.js +86 -0
  80. package/dist/generated/models/ListMessagesType.js +89 -0
  81. package/dist/generated/models/Message.js +2 -0
  82. package/dist/generated/models/MessageStatus.js +95 -0
  83. package/dist/generated/models/MessageType.js +89 -0
  84. package/dist/generated/models/MessageV2.js +2 -0
  85. package/dist/generated/models/MessageV2AudioDelivery.js +86 -0
  86. package/dist/generated/models/MessageV2Status.js +95 -0
  87. package/dist/generated/models/MessageV2Type.js +89 -0
  88. package/dist/generated/models/MessageV2UsersCaughtUp.js +87 -0
  89. package/dist/generated/models/MessageV2UtmData.js +2 -0
  90. package/dist/generated/models/MoveFolderPayload.js +80 -0
  91. package/dist/generated/models/PromptResponse.js +2 -0
  92. package/dist/generated/models/ReactionSummary.js +2 -0
  93. package/dist/generated/models/ReactionSummaryReactionCounts.js +80 -0
  94. package/dist/generated/models/ResponseByLanguage.js +2 -0
  95. package/dist/generated/models/ResponseByLanguageJson.js +80 -0
  96. package/dist/generated/models/SearchUserParams.js +80 -0
  97. package/dist/generated/models/SearchUsersBody.js +80 -0
  98. package/dist/generated/models/SendDirectMessage.js +2 -0
  99. package/dist/generated/models/SendDirectMessageFromMessageType.js +87 -0
  100. package/dist/generated/models/SimplifiedAIPrompt.js +80 -0
  101. package/dist/generated/models/Stats.js +80 -0
  102. package/dist/generated/models/SubFolder.js +2 -0
  103. package/dist/generated/models/SubFolderType.js +86 -0
  104. package/dist/generated/models/SubscribeUserPayload.js +2 -0
  105. package/dist/generated/models/SubscribeUserPayloadSubscriptionsItem.js +116 -0
  106. package/dist/generated/models/SubscribedUser.js +2 -0
  107. package/dist/generated/models/SubscribedUserSubscriptionsItem.js +116 -0
  108. package/dist/generated/models/SubscriptionAction.js +2 -0
  109. package/dist/generated/models/SubscriptionActionActionId.js +85 -0
  110. package/dist/generated/models/SubscriptionActionEntityType.js +85 -0
  111. package/dist/generated/models/SubscriptionFilter.js +2 -0
  112. package/dist/generated/models/SubscriptionFilterOperator.js +87 -0
  113. package/dist/generated/models/SubscriptionFilterValue.js +80 -0
  114. package/dist/generated/models/TextModel.js +2 -0
  115. package/dist/generated/models/TextModelType.js +89 -0
  116. package/dist/generated/models/TimedText.js +80 -0
  117. package/dist/generated/models/ToRecipient.js +80 -0
  118. package/dist/generated/models/UpdateFolderNamePayload.js +80 -0
  119. package/dist/generated/models/User.js +80 -0
  120. package/dist/generated/models/UserReaction.js +80 -0
  121. package/dist/generated/models/UserStats.js +80 -0
  122. package/dist/generated/models/UsersNotAllowedReceiveNotifications.js +80 -0
  123. package/dist/generated/models/UsersNotAllowedReceiveNotificationsV2.js +80 -0
  124. package/dist/generated/models/UtmData.js +80 -0
  125. package/dist/generated/models/Voice.js +2 -0
  126. package/dist/generated/models/VoiceGender.js +86 -0
  127. package/dist/generated/models/VoiceQuality.js +87 -0
  128. package/dist/generated/models/VoiceType.js +88 -0
  129. package/dist/generated/models/WorkspaceBasicInfo.js +80 -0
  130. package/dist/generated/models/index.js +215 -0
  131. package/dist/index-v1.js +80 -0
  132. package/dist/interfaces/folder.interface.js +2 -0
  133. package/dist/interfaces/get-by-id.interface.js +2 -0
  134. package/dist/interfaces/index.js +20 -0
  135. package/dist/interfaces/mcp-tool-response.interface.js +2 -0
  136. package/dist/interfaces/message.interface.js +2 -0
  137. package/dist/schemas/index.js +17 -0
  138. package/dist/schemas/message.js +10 -0
  139. package/dist/server-delete.js +624 -0
  140. package/dist/server-test.js +93 -0
  141. package/dist/server.js +365 -0
  142. package/dist/sse.js +134 -0
  143. package/dist/sse.v2.js +29 -0
  144. package/dist/stdio.js +39 -0
  145. package/dist/utils/axios-instance.js +234 -0
  146. package/dist/utils/errors.js +22 -0
  147. package/dist/utils/format-to-mcp-tool-response.js +40 -0
  148. package/dist/utils/index.js +19 -0
  149. package/dist/utils/logger.js +111 -0
  150. package/dist/utils/zod-schema-transformer.js +66 -0
  151. package/dist/utils/zod-transformer.js +24 -0
  152. package/package.json +66 -0
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.9.0 🍺
4
+ * Do not edit manually.
5
+ * Carbon Voice Simplified API
6
+ * # Introduction
7
+
8
+ The simplified version of the Carbon Voice API is designed to enhance usability for third-party clients looking to
9
+ seamlessly integrate with our application. By streamlining authentication methods, providing clear error handling guidelines,
10
+ and implementing straightforward rate limiting policies, we ensure that developers can quickly and efficiently connect to our services.
11
+ This user-friendly approach minimizes complexity, making it easier for external applications to leverage the powerful communication
12
+ features of Carbon Voice without extensive technical overhead.
13
+
14
+ This API is designed for people who feel comfortable integrating with RESTful APIs.
15
+
16
+ ## Full API Version
17
+ We also have a full version of the API. You can find it [here](/docs).
18
+
19
+ ## Terminology
20
+
21
+ * **Workspace**: An area that groups together people and Conversations.
22
+ * **Conversation**: A channel of communication. A grouping of people and messages related to a given topic.
23
+ * **Collaborators**: A group of people who are part of a Conversation.
24
+ * **Discussion**: Any post into a conversation
25
+ * **CarbonLink**: A link (on a website, QR code, or phone call) to start a conversation.
26
+
27
+ ## BaseURL
28
+
29
+ This API is served over HTTPS.
30
+
31
+ All URLs referenced in the documentation have the following base: https://api.carbonvoice.app/api/simplified.
32
+
33
+ ## Authentication
34
+
35
+ There are three ways to authenticate with this API:
36
+
37
+ * with an OAuth2 Access Token in the Authorization request header field
38
+ (which uses the Bearer authentication scheme to transmit the Access Token)
39
+ * with your Client ID and Client Secret credentials
40
+ * with a PXToken
41
+
42
+ Each endpoint supports only one option.
43
+
44
+ <SecurityDefinitions />
45
+
46
+ ## Errors
47
+
48
+ When an error occurs, you will receive an error object. Most of these error objects
49
+ contain an error code and an error description so that your applications can more
50
+ efficiently identify the problem.
51
+
52
+ If you get an 4xx HTTP response code, then you can assume that there is a bad request
53
+ from your end. In this case, check the [Error Responses section](#section/Introduction/Error-Responses) for more context.
54
+
55
+ 5xx errors suggest a problem on our end, so in this case, check [Carbon Voice's Status](https://status.carbonvoice.app)
56
+ to see how our systems are doing.
57
+
58
+ In any other case you can use our support options.
59
+
60
+ ## Error Responses
61
+
62
+ `{ "success": false, requestId: "uuid", errmsg: "error message"`
63
+
64
+ ## Rate-Limiting
65
+
66
+ This API is subject to rate limiting. The limits differ per endpoint.
67
+
68
+ If you exceed the provided rate limit for a given endpoint, you will receive the 429
69
+ Too Many Requests response with the following message: Too many requests. Check the
70
+ X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
71
+
72
+ For details on rate limiting, refer to Rate Limit Policy.
73
+
74
+ ## Support
75
+
76
+ If you have problems or need help with your case, you can always reach out to our Support.
77
+
78
+ * OpenAPI spec version: 1.0.0
79
+ */
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.AIResponseControllerGetAllResponsesDirection = void 0;
82
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
83
+ exports.AIResponseControllerGetAllResponsesDirection = {
84
+ older: 'older',
85
+ newer: 'newer',
86
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.9.0 🍺
4
+ * Do not edit manually.
5
+ * Carbon Voice Simplified API
6
+ * # Introduction
7
+
8
+ The simplified version of the Carbon Voice API is designed to enhance usability for third-party clients looking to
9
+ seamlessly integrate with our application. By streamlining authentication methods, providing clear error handling guidelines,
10
+ and implementing straightforward rate limiting policies, we ensure that developers can quickly and efficiently connect to our services.
11
+ This user-friendly approach minimizes complexity, making it easier for external applications to leverage the powerful communication
12
+ features of Carbon Voice without extensive technical overhead.
13
+
14
+ This API is designed for people who feel comfortable integrating with RESTful APIs.
15
+
16
+ ## Full API Version
17
+ We also have a full version of the API. You can find it [here](/docs).
18
+
19
+ ## Terminology
20
+
21
+ * **Workspace**: An area that groups together people and Conversations.
22
+ * **Conversation**: A channel of communication. A grouping of people and messages related to a given topic.
23
+ * **Collaborators**: A group of people who are part of a Conversation.
24
+ * **Discussion**: Any post into a conversation
25
+ * **CarbonLink**: A link (on a website, QR code, or phone call) to start a conversation.
26
+
27
+ ## BaseURL
28
+
29
+ This API is served over HTTPS.
30
+
31
+ All URLs referenced in the documentation have the following base: https://api.carbonvoice.app/api/simplified.
32
+
33
+ ## Authentication
34
+
35
+ There are three ways to authenticate with this API:
36
+
37
+ * with an OAuth2 Access Token in the Authorization request header field
38
+ (which uses the Bearer authentication scheme to transmit the Access Token)
39
+ * with your Client ID and Client Secret credentials
40
+ * with a PXToken
41
+
42
+ Each endpoint supports only one option.
43
+
44
+ <SecurityDefinitions />
45
+
46
+ ## Errors
47
+
48
+ When an error occurs, you will receive an error object. Most of these error objects
49
+ contain an error code and an error description so that your applications can more
50
+ efficiently identify the problem.
51
+
52
+ If you get an 4xx HTTP response code, then you can assume that there is a bad request
53
+ from your end. In this case, check the [Error Responses section](#section/Introduction/Error-Responses) for more context.
54
+
55
+ 5xx errors suggest a problem on our end, so in this case, check [Carbon Voice's Status](https://status.carbonvoice.app)
56
+ to see how our systems are doing.
57
+
58
+ In any other case you can use our support options.
59
+
60
+ ## Error Responses
61
+
62
+ `{ "success": false, requestId: "uuid", errmsg: "error message"`
63
+
64
+ ## Rate-Limiting
65
+
66
+ This API is subject to rate limiting. The limits differ per endpoint.
67
+
68
+ If you exceed the provided rate limit for a given endpoint, you will receive the 429
69
+ Too Many Requests response with the following message: Too many requests. Check the
70
+ X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
71
+
72
+ For details on rate limiting, refer to Rate Limit Policy.
73
+
74
+ ## Support
75
+
76
+ If you have problems or need help with your case, you can always reach out to our Support.
77
+
78
+ * OpenAPI spec version: 1.0.0
79
+ */
80
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.9.0 🍺
4
+ * Do not edit manually.
5
+ * Carbon Voice Simplified API
6
+ * # Introduction
7
+
8
+ The simplified version of the Carbon Voice API is designed to enhance usability for third-party clients looking to
9
+ seamlessly integrate with our application. By streamlining authentication methods, providing clear error handling guidelines,
10
+ and implementing straightforward rate limiting policies, we ensure that developers can quickly and efficiently connect to our services.
11
+ This user-friendly approach minimizes complexity, making it easier for external applications to leverage the powerful communication
12
+ features of Carbon Voice without extensive technical overhead.
13
+
14
+ This API is designed for people who feel comfortable integrating with RESTful APIs.
15
+
16
+ ## Full API Version
17
+ We also have a full version of the API. You can find it [here](/docs).
18
+
19
+ ## Terminology
20
+
21
+ * **Workspace**: An area that groups together people and Conversations.
22
+ * **Conversation**: A channel of communication. A grouping of people and messages related to a given topic.
23
+ * **Collaborators**: A group of people who are part of a Conversation.
24
+ * **Discussion**: Any post into a conversation
25
+ * **CarbonLink**: A link (on a website, QR code, or phone call) to start a conversation.
26
+
27
+ ## BaseURL
28
+
29
+ This API is served over HTTPS.
30
+
31
+ All URLs referenced in the documentation have the following base: https://api.carbonvoice.app/api/simplified.
32
+
33
+ ## Authentication
34
+
35
+ There are three ways to authenticate with this API:
36
+
37
+ * with an OAuth2 Access Token in the Authorization request header field
38
+ (which uses the Bearer authentication scheme to transmit the Access Token)
39
+ * with your Client ID and Client Secret credentials
40
+ * with a PXToken
41
+
42
+ Each endpoint supports only one option.
43
+
44
+ <SecurityDefinitions />
45
+
46
+ ## Errors
47
+
48
+ When an error occurs, you will receive an error object. Most of these error objects
49
+ contain an error code and an error description so that your applications can more
50
+ efficiently identify the problem.
51
+
52
+ If you get an 4xx HTTP response code, then you can assume that there is a bad request
53
+ from your end. In this case, check the [Error Responses section](#section/Introduction/Error-Responses) for more context.
54
+
55
+ 5xx errors suggest a problem on our end, so in this case, check [Carbon Voice's Status](https://status.carbonvoice.app)
56
+ to see how our systems are doing.
57
+
58
+ In any other case you can use our support options.
59
+
60
+ ## Error Responses
61
+
62
+ `{ "success": false, requestId: "uuid", errmsg: "error message"`
63
+
64
+ ## Rate-Limiting
65
+
66
+ This API is subject to rate limiting. The limits differ per endpoint.
67
+
68
+ If you exceed the provided rate limit for a given endpoint, you will receive the 429
69
+ Too Many Requests response with the following message: Too many requests. Check the
70
+ X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
71
+
72
+ For details on rate limiting, refer to Rate Limit Policy.
73
+
74
+ ## Support
75
+
76
+ If you have problems or need help with your case, you can always reach out to our Support.
77
+
78
+ * OpenAPI spec version: 1.0.0
79
+ */
80
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.9.0 🍺
4
+ * Do not edit manually.
5
+ * Carbon Voice Simplified API
6
+ * # Introduction
7
+
8
+ The simplified version of the Carbon Voice API is designed to enhance usability for third-party clients looking to
9
+ seamlessly integrate with our application. By streamlining authentication methods, providing clear error handling guidelines,
10
+ and implementing straightforward rate limiting policies, we ensure that developers can quickly and efficiently connect to our services.
11
+ This user-friendly approach minimizes complexity, making it easier for external applications to leverage the powerful communication
12
+ features of Carbon Voice without extensive technical overhead.
13
+
14
+ This API is designed for people who feel comfortable integrating with RESTful APIs.
15
+
16
+ ## Full API Version
17
+ We also have a full version of the API. You can find it [here](/docs).
18
+
19
+ ## Terminology
20
+
21
+ * **Workspace**: An area that groups together people and Conversations.
22
+ * **Conversation**: A channel of communication. A grouping of people and messages related to a given topic.
23
+ * **Collaborators**: A group of people who are part of a Conversation.
24
+ * **Discussion**: Any post into a conversation
25
+ * **CarbonLink**: A link (on a website, QR code, or phone call) to start a conversation.
26
+
27
+ ## BaseURL
28
+
29
+ This API is served over HTTPS.
30
+
31
+ All URLs referenced in the documentation have the following base: https://api.carbonvoice.app/api/simplified.
32
+
33
+ ## Authentication
34
+
35
+ There are three ways to authenticate with this API:
36
+
37
+ * with an OAuth2 Access Token in the Authorization request header field
38
+ (which uses the Bearer authentication scheme to transmit the Access Token)
39
+ * with your Client ID and Client Secret credentials
40
+ * with a PXToken
41
+
42
+ Each endpoint supports only one option.
43
+
44
+ <SecurityDefinitions />
45
+
46
+ ## Errors
47
+
48
+ When an error occurs, you will receive an error object. Most of these error objects
49
+ contain an error code and an error description so that your applications can more
50
+ efficiently identify the problem.
51
+
52
+ If you get an 4xx HTTP response code, then you can assume that there is a bad request
53
+ from your end. In this case, check the [Error Responses section](#section/Introduction/Error-Responses) for more context.
54
+
55
+ 5xx errors suggest a problem on our end, so in this case, check [Carbon Voice's Status](https://status.carbonvoice.app)
56
+ to see how our systems are doing.
57
+
58
+ In any other case you can use our support options.
59
+
60
+ ## Error Responses
61
+
62
+ `{ "success": false, requestId: "uuid", errmsg: "error message"`
63
+
64
+ ## Rate-Limiting
65
+
66
+ This API is subject to rate limiting. The limits differ per endpoint.
67
+
68
+ If you exceed the provided rate limit for a given endpoint, you will receive the 429
69
+ Too Many Requests response with the following message: Too many requests. Check the
70
+ X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
71
+
72
+ For details on rate limiting, refer to Rate Limit Policy.
73
+
74
+ ## Support
75
+
76
+ If you have problems or need help with your case, you can always reach out to our Support.
77
+
78
+ * OpenAPI spec version: 1.0.0
79
+ */
80
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,86 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.9.0 🍺
4
+ * Do not edit manually.
5
+ * Carbon Voice Simplified API
6
+ * # Introduction
7
+
8
+ The simplified version of the Carbon Voice API is designed to enhance usability for third-party clients looking to
9
+ seamlessly integrate with our application. By streamlining authentication methods, providing clear error handling guidelines,
10
+ and implementing straightforward rate limiting policies, we ensure that developers can quickly and efficiently connect to our services.
11
+ This user-friendly approach minimizes complexity, making it easier for external applications to leverage the powerful communication
12
+ features of Carbon Voice without extensive technical overhead.
13
+
14
+ This API is designed for people who feel comfortable integrating with RESTful APIs.
15
+
16
+ ## Full API Version
17
+ We also have a full version of the API. You can find it [here](/docs).
18
+
19
+ ## Terminology
20
+
21
+ * **Workspace**: An area that groups together people and Conversations.
22
+ * **Conversation**: A channel of communication. A grouping of people and messages related to a given topic.
23
+ * **Collaborators**: A group of people who are part of a Conversation.
24
+ * **Discussion**: Any post into a conversation
25
+ * **CarbonLink**: A link (on a website, QR code, or phone call) to start a conversation.
26
+
27
+ ## BaseURL
28
+
29
+ This API is served over HTTPS.
30
+
31
+ All URLs referenced in the documentation have the following base: https://api.carbonvoice.app/api/simplified.
32
+
33
+ ## Authentication
34
+
35
+ There are three ways to authenticate with this API:
36
+
37
+ * with an OAuth2 Access Token in the Authorization request header field
38
+ (which uses the Bearer authentication scheme to transmit the Access Token)
39
+ * with your Client ID and Client Secret credentials
40
+ * with a PXToken
41
+
42
+ Each endpoint supports only one option.
43
+
44
+ <SecurityDefinitions />
45
+
46
+ ## Errors
47
+
48
+ When an error occurs, you will receive an error object. Most of these error objects
49
+ contain an error code and an error description so that your applications can more
50
+ efficiently identify the problem.
51
+
52
+ If you get an 4xx HTTP response code, then you can assume that there is a bad request
53
+ from your end. In this case, check the [Error Responses section](#section/Introduction/Error-Responses) for more context.
54
+
55
+ 5xx errors suggest a problem on our end, so in this case, check [Carbon Voice's Status](https://status.carbonvoice.app)
56
+ to see how our systems are doing.
57
+
58
+ In any other case you can use our support options.
59
+
60
+ ## Error Responses
61
+
62
+ `{ "success": false, requestId: "uuid", errmsg: "error message"`
63
+
64
+ ## Rate-Limiting
65
+
66
+ This API is subject to rate limiting. The limits differ per endpoint.
67
+
68
+ If you exceed the provided rate limit for a given endpoint, you will receive the 429
69
+ Too Many Requests response with the following message: Too many requests. Check the
70
+ X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
71
+
72
+ For details on rate limiting, refer to Rate Limit Policy.
73
+
74
+ ## Support
75
+
76
+ If you have problems or need help with your case, you can always reach out to our Support.
77
+
78
+ * OpenAPI spec version: 1.0.0
79
+ */
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.AppWebhooksUrlMode = void 0;
82
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
83
+ exports.AppWebhooksUrlMode = {
84
+ one_per_client: 'one_per_client',
85
+ one_per_subscription: 'one_per_subscription',
86
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.9.0 🍺
4
+ * Do not edit manually.
5
+ * Carbon Voice Simplified API
6
+ * # Introduction
7
+
8
+ The simplified version of the Carbon Voice API is designed to enhance usability for third-party clients looking to
9
+ seamlessly integrate with our application. By streamlining authentication methods, providing clear error handling guidelines,
10
+ and implementing straightforward rate limiting policies, we ensure that developers can quickly and efficiently connect to our services.
11
+ This user-friendly approach minimizes complexity, making it easier for external applications to leverage the powerful communication
12
+ features of Carbon Voice without extensive technical overhead.
13
+
14
+ This API is designed for people who feel comfortable integrating with RESTful APIs.
15
+
16
+ ## Full API Version
17
+ We also have a full version of the API. You can find it [here](/docs).
18
+
19
+ ## Terminology
20
+
21
+ * **Workspace**: An area that groups together people and Conversations.
22
+ * **Conversation**: A channel of communication. A grouping of people and messages related to a given topic.
23
+ * **Collaborators**: A group of people who are part of a Conversation.
24
+ * **Discussion**: Any post into a conversation
25
+ * **CarbonLink**: A link (on a website, QR code, or phone call) to start a conversation.
26
+
27
+ ## BaseURL
28
+
29
+ This API is served over HTTPS.
30
+
31
+ All URLs referenced in the documentation have the following base: https://api.carbonvoice.app/api/simplified.
32
+
33
+ ## Authentication
34
+
35
+ There are three ways to authenticate with this API:
36
+
37
+ * with an OAuth2 Access Token in the Authorization request header field
38
+ (which uses the Bearer authentication scheme to transmit the Access Token)
39
+ * with your Client ID and Client Secret credentials
40
+ * with a PXToken
41
+
42
+ Each endpoint supports only one option.
43
+
44
+ <SecurityDefinitions />
45
+
46
+ ## Errors
47
+
48
+ When an error occurs, you will receive an error object. Most of these error objects
49
+ contain an error code and an error description so that your applications can more
50
+ efficiently identify the problem.
51
+
52
+ If you get an 4xx HTTP response code, then you can assume that there is a bad request
53
+ from your end. In this case, check the [Error Responses section](#section/Introduction/Error-Responses) for more context.
54
+
55
+ 5xx errors suggest a problem on our end, so in this case, check [Carbon Voice's Status](https://status.carbonvoice.app)
56
+ to see how our systems are doing.
57
+
58
+ In any other case you can use our support options.
59
+
60
+ ## Error Responses
61
+
62
+ `{ "success": false, requestId: "uuid", errmsg: "error message"`
63
+
64
+ ## Rate-Limiting
65
+
66
+ This API is subject to rate limiting. The limits differ per endpoint.
67
+
68
+ If you exceed the provided rate limit for a given endpoint, you will receive the 429
69
+ Too Many Requests response with the following message: Too many requests. Check the
70
+ X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
71
+
72
+ For details on rate limiting, refer to Rate Limit Policy.
73
+
74
+ ## Support
75
+
76
+ If you have problems or need help with your case, you can always reach out to our Support.
77
+
78
+ * OpenAPI spec version: 1.0.0
79
+ */
80
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+ /**
3
+ * Generated by orval v7.9.0 🍺
4
+ * Do not edit manually.
5
+ * Carbon Voice Simplified API
6
+ * # Introduction
7
+
8
+ The simplified version of the Carbon Voice API is designed to enhance usability for third-party clients looking to
9
+ seamlessly integrate with our application. By streamlining authentication methods, providing clear error handling guidelines,
10
+ and implementing straightforward rate limiting policies, we ensure that developers can quickly and efficiently connect to our services.
11
+ This user-friendly approach minimizes complexity, making it easier for external applications to leverage the powerful communication
12
+ features of Carbon Voice without extensive technical overhead.
13
+
14
+ This API is designed for people who feel comfortable integrating with RESTful APIs.
15
+
16
+ ## Full API Version
17
+ We also have a full version of the API. You can find it [here](/docs).
18
+
19
+ ## Terminology
20
+
21
+ * **Workspace**: An area that groups together people and Conversations.
22
+ * **Conversation**: A channel of communication. A grouping of people and messages related to a given topic.
23
+ * **Collaborators**: A group of people who are part of a Conversation.
24
+ * **Discussion**: Any post into a conversation
25
+ * **CarbonLink**: A link (on a website, QR code, or phone call) to start a conversation.
26
+
27
+ ## BaseURL
28
+
29
+ This API is served over HTTPS.
30
+
31
+ All URLs referenced in the documentation have the following base: https://api.carbonvoice.app/api/simplified.
32
+
33
+ ## Authentication
34
+
35
+ There are three ways to authenticate with this API:
36
+
37
+ * with an OAuth2 Access Token in the Authorization request header field
38
+ (which uses the Bearer authentication scheme to transmit the Access Token)
39
+ * with your Client ID and Client Secret credentials
40
+ * with a PXToken
41
+
42
+ Each endpoint supports only one option.
43
+
44
+ <SecurityDefinitions />
45
+
46
+ ## Errors
47
+
48
+ When an error occurs, you will receive an error object. Most of these error objects
49
+ contain an error code and an error description so that your applications can more
50
+ efficiently identify the problem.
51
+
52
+ If you get an 4xx HTTP response code, then you can assume that there is a bad request
53
+ from your end. In this case, check the [Error Responses section](#section/Introduction/Error-Responses) for more context.
54
+
55
+ 5xx errors suggest a problem on our end, so in this case, check [Carbon Voice's Status](https://status.carbonvoice.app)
56
+ to see how our systems are doing.
57
+
58
+ In any other case you can use our support options.
59
+
60
+ ## Error Responses
61
+
62
+ `{ "success": false, requestId: "uuid", errmsg: "error message"`
63
+
64
+ ## Rate-Limiting
65
+
66
+ This API is subject to rate limiting. The limits differ per endpoint.
67
+
68
+ If you exceed the provided rate limit for a given endpoint, you will receive the 429
69
+ Too Many Requests response with the following message: Too many requests. Check the
70
+ X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset headers.
71
+
72
+ For details on rate limiting, refer to Rate Limit Policy.
73
+
74
+ ## Support
75
+
76
+ If you have problems or need help with your case, you can always reach out to our Support.
77
+
78
+ * OpenAPI spec version: 1.0.0
79
+ */
80
+ Object.defineProperty(exports, "__esModule", { value: true });
81
+ exports.AttachmentType = void 0;
82
+ // eslint-disable-next-line @typescript-eslint/no-redeclare
83
+ exports.AttachmentType = {
84
+ link: 'link',
85
+ file: 'file',
86
+ location: 'location',
87
+ };