@ai-matrx/api 0.0.0-stage → 0.1.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 (146) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/LICENSE +21 -0
  3. package/README.md +18 -2
  4. package/dist/account.cjs +670 -0
  5. package/dist/account.d.cts +3246 -0
  6. package/dist/account.d.ts +3246 -0
  7. package/dist/account.js +558 -0
  8. package/dist/agents.cjs +598 -0
  9. package/dist/agents.d.cts +3417 -0
  10. package/dist/agents.d.ts +3417 -0
  11. package/dist/agents.js +497 -0
  12. package/dist/ai.cjs +109 -0
  13. package/dist/ai.d.cts +493 -0
  14. package/dist/ai.d.ts +493 -0
  15. package/dist/ai.js +91 -0
  16. package/dist/apps.cjs +394 -0
  17. package/dist/apps.d.cts +1094 -0
  18. package/dist/apps.d.ts +1094 -0
  19. package/dist/apps.js +328 -0
  20. package/dist/architecture.cjs +1223 -0
  21. package/dist/architecture.d.cts +4701 -0
  22. package/dist/architecture.d.ts +4701 -0
  23. package/dist/architecture.js +1016 -0
  24. package/dist/audio.cjs +226 -0
  25. package/dist/audio.d.cts +723 -0
  26. package/dist/audio.d.ts +723 -0
  27. package/dist/audio.js +188 -0
  28. package/dist/chat.cjs +538 -0
  29. package/dist/chat.d.cts +2251 -0
  30. package/dist/chat.d.ts +2251 -0
  31. package/dist/chat.js +447 -0
  32. package/dist/chunk-2SXAAKGV.cjs +279 -0
  33. package/dist/chunk-AY5N6EA4.js +43 -0
  34. package/dist/chunk-BMQI7UET.cjs +48 -0
  35. package/dist/chunk-FNIYADWI.cjs +59 -0
  36. package/dist/chunk-KIEAFMKB.js +264 -0
  37. package/dist/chunk-UONBYRE4.js +1012 -0
  38. package/dist/chunk-YTEOFGFC.js +57 -0
  39. package/dist/chunk-YUDQWDCM.cjs +1047 -0
  40. package/dist/code.cjs +561 -0
  41. package/dist/code.d.cts +1976 -0
  42. package/dist/code.d.ts +1976 -0
  43. package/dist/code.js +467 -0
  44. package/dist/commerce.cjs +22 -0
  45. package/dist/commerce.d.cts +45 -0
  46. package/dist/commerce.d.ts +45 -0
  47. package/dist/commerce.js +18 -0
  48. package/dist/communications.cjs +215 -0
  49. package/dist/communications.d.cts +948 -0
  50. package/dist/communications.d.ts +948 -0
  51. package/dist/communications.js +179 -0
  52. package/dist/computer.cjs +330 -0
  53. package/dist/computer.d.cts +733 -0
  54. package/dist/computer.d.ts +733 -0
  55. package/dist/computer.js +275 -0
  56. package/dist/content.cjs +425 -0
  57. package/dist/content.d.cts +1796 -0
  58. package/dist/content.d.ts +1796 -0
  59. package/dist/content.js +354 -0
  60. package/dist/credentials.cjs +22 -0
  61. package/dist/credentials.d.cts +82 -0
  62. package/dist/credentials.d.ts +82 -0
  63. package/dist/credentials.js +1 -0
  64. package/dist/crm.cjs +271 -0
  65. package/dist/crm.d.cts +1731 -0
  66. package/dist/crm.d.ts +1731 -0
  67. package/dist/crm.js +226 -0
  68. package/dist/data.cjs +382 -0
  69. package/dist/data.d.cts +1860 -0
  70. package/dist/data.d.ts +1860 -0
  71. package/dist/data.js +318 -0
  72. package/dist/education.cjs +28 -0
  73. package/dist/education.d.cts +73 -0
  74. package/dist/education.d.ts +73 -0
  75. package/dist/education.js +23 -0
  76. package/dist/files.cjs +1330 -0
  77. package/dist/files.d.cts +4956 -0
  78. package/dist/files.d.ts +4956 -0
  79. package/dist/files.js +1104 -0
  80. package/dist/human-resources.cjs +178 -0
  81. package/dist/human-resources.d.cts +1208 -0
  82. package/dist/human-resources.d.ts +1208 -0
  83. package/dist/human-resources.js +148 -0
  84. package/dist/index-C2E-Cp19.d.ts +385 -0
  85. package/dist/index-wC2vtb70.d.cts +385 -0
  86. package/dist/index.cjs +1934 -0
  87. package/dist/index.d.cts +2006 -0
  88. package/dist/index.d.ts +2006 -0
  89. package/dist/index.js +1668 -0
  90. package/dist/integrations.cjs +5116 -0
  91. package/dist/integrations.d.cts +19213 -0
  92. package/dist/integrations.d.ts +19213 -0
  93. package/dist/integrations.js +4263 -0
  94. package/dist/intelligence.cjs +1305 -0
  95. package/dist/intelligence.d.cts +4658 -0
  96. package/dist/intelligence.d.ts +4658 -0
  97. package/dist/intelligence.js +1196 -0
  98. package/dist/knowledge.cjs +1113 -0
  99. package/dist/knowledge.d.cts +5427 -0
  100. package/dist/knowledge.d.ts +5427 -0
  101. package/dist/knowledge.js +921 -0
  102. package/dist/legal.cjs +225 -0
  103. package/dist/legal.d.cts +1038 -0
  104. package/dist/legal.d.ts +1038 -0
  105. package/dist/legal.js +187 -0
  106. package/dist/marketing.cjs +1155 -0
  107. package/dist/marketing.d.cts +7741 -0
  108. package/dist/marketing.d.ts +7741 -0
  109. package/dist/marketing.js +951 -0
  110. package/dist/masterwork.cjs +283 -0
  111. package/dist/masterwork.d.cts +1938 -0
  112. package/dist/masterwork.d.ts +1938 -0
  113. package/dist/masterwork.js +231 -0
  114. package/dist/media.cjs +610 -0
  115. package/dist/media.d.cts +2270 -0
  116. package/dist/media.d.ts +2270 -0
  117. package/dist/media.js +507 -0
  118. package/dist/net.cjs +67 -0
  119. package/dist/net.d.cts +204 -0
  120. package/dist/net.d.ts +204 -0
  121. package/dist/net.js +2 -0
  122. package/dist/platform.cjs +150 -0
  123. package/dist/platform.d.cts +572 -0
  124. package/dist/platform.d.ts +572 -0
  125. package/dist/platform.js +125 -0
  126. package/dist/publish.cjs +248 -0
  127. package/dist/publish.d.cts +1431 -0
  128. package/dist/publish.d.ts +1431 -0
  129. package/dist/publish.js +206 -0
  130. package/dist/schemas.cjs +2 -0
  131. package/dist/schemas.d.cts +1353 -0
  132. package/dist/schemas.d.ts +1353 -0
  133. package/dist/schemas.js +1 -0
  134. package/dist/stream.cjs +44 -0
  135. package/dist/stream.d.cts +2 -0
  136. package/dist/stream.d.ts +2 -0
  137. package/dist/stream.js +3 -0
  138. package/dist/web.cjs +1045 -0
  139. package/dist/web.d.cts +4186 -0
  140. package/dist/web.d.ts +4186 -0
  141. package/dist/web.js +867 -0
  142. package/dist/workflows.cjs +825 -0
  143. package/dist/workflows.d.cts +4699 -0
  144. package/dist/workflows.d.ts +4699 -0
  145. package/dist/workflows.js +686 -0
  146. package/package.json +418 -4
@@ -0,0 +1,215 @@
1
+ 'use strict';
2
+
3
+ var chunkYUDQWDCM_cjs = require('./chunk-YUDQWDCM.cjs');
4
+ require('./chunk-2SXAAKGV.cjs');
5
+ require('./chunk-BMQI7UET.cjs');
6
+
7
+ // src/generated/communications.ts
8
+ var $conversationRelayPreparation = { m: "POST", p: "/communications/voice/conversation-relay/session-reference", d: "aidream", a: "scoped", o: "required", n: "communications.conversation_relay_preparation" };
9
+ function conversationRelayPreparation(api, args, options) {
10
+ return api.call($conversationRelayPreparation, args, options);
11
+ }
12
+ var $conversationRelayReadiness = { m: "GET", p: "/communications/voice/conversation-relay/readiness", d: "aidream", a: "guest", o: "optional", n: "communications.conversation_relay_readiness" };
13
+ function conversationRelayReadiness(api, args, options) {
14
+ return api.call($conversationRelayReadiness, args, options);
15
+ }
16
+ var $submitSelfNotification = { m: "POST", p: "/notifications/self", d: "aidream", a: "user", o: "required", n: "communications.submit_self_notification" };
17
+ function submitSelfNotification(api, args, options) {
18
+ return api.call($submitSelfNotification, args, options);
19
+ }
20
+ var $openMyStaff = { m: "POST", p: "/personal-staff/open", d: "aidream", a: "user", o: "required", n: "communications.open_my_staff" };
21
+ function openMyStaff(api, args, options) {
22
+ return api.call($openMyStaff, args, options);
23
+ }
24
+ var $joinToken = { m: "POST", p: "/v1/meet/token", d: "aidream", a: "guest", o: "required", n: "communications.join_token" };
25
+ function joinToken(api, args, options) {
26
+ return api.call($joinToken, args, options);
27
+ }
28
+ var $meetingState = { m: "GET", p: "/v1/meet/state", d: "aidream", a: "scoped", o: "required", n: "communications.meeting_state" };
29
+ function meetingState(api, args, options) {
30
+ return api.call($meetingState, args, options);
31
+ }
32
+ var $meetingLeave = { m: "POST", p: "/v1/meet/leave", d: "aidream", a: "scoped", o: "required", n: "communications.meeting_leave" };
33
+ function meetingLeave(api, args, options) {
34
+ return api.call($meetingLeave, args, options);
35
+ }
36
+ var $meetingConsent = { m: "POST", p: "/v1/meet/consent", d: "aidream", a: "scoped", o: "required", n: "communications.meeting_consent" };
37
+ function meetingConsent(api, args, options) {
38
+ return api.call($meetingConsent, args, options);
39
+ }
40
+ var $recordingStart = { m: "POST", p: "/v1/meet/recording/start", d: "aidream", a: "user", o: "required", n: "communications.recording_start" };
41
+ function recordingStart(api, args, options) {
42
+ return api.call($recordingStart, args, options);
43
+ }
44
+ var $recordingStop = { m: "POST", p: "/v1/meet/recording/stop", d: "aidream", a: "user", o: "required", n: "communications.recording_stop" };
45
+ function recordingStop(api, args, options) {
46
+ return api.call($recordingStop, args, options);
47
+ }
48
+ var $meetingEnd = { m: "POST", p: "/v1/meet/end", d: "aidream", a: "user", o: "required", n: "communications.meeting_end" };
49
+ function meetingEnd(api, args, options) {
50
+ return api.call($meetingEnd, args, options);
51
+ }
52
+ var $agentStart = { m: "POST", p: "/v1/meet/agent/start", d: "aidream", a: "user", o: "required", n: "communications.agent_start" };
53
+ function agentStart(api, args, options) {
54
+ return api.call($agentStart, args, options);
55
+ }
56
+ var $agentStop = { m: "POST", p: "/v1/meet/agent/stop", d: "aidream", a: "user", o: "required", n: "communications.agent_stop" };
57
+ function agentStop(api, args, options) {
58
+ return api.call($agentStop, args, options);
59
+ }
60
+ var $intelligenceAsk = { m: "POST", p: "/v1/meet/intelligence/ask", d: "aidream", a: "scoped", o: "required", s: "ndjson", n: "communications.intelligence_ask" };
61
+ function intelligenceAsk(api, args, options) {
62
+ return chunkYUDQWDCM_cjs.openStream(api, $intelligenceAsk, args, options);
63
+ }
64
+ var $meetingRecord = { m: "GET", p: "/v1/meet/record", d: "aidream", a: "scoped", o: "required", n: "communications.meeting_record" };
65
+ function meetingRecord(api, args, options) {
66
+ return api.call($meetingRecord, args, options);
67
+ }
68
+ var $meetingClaim = { m: "POST", p: "/v1/meet/claim", d: "aidream", a: "user", o: "required", n: "communications.meeting_claim" };
69
+ function meetingClaim(api, args, options) {
70
+ return api.call($meetingClaim, args, options);
71
+ }
72
+ var $meetingRecordAccess = { m: "POST", p: "/v1/meet/record/access", d: "aidream", a: "user", o: "required", n: "communications.meeting_record_access" };
73
+ function meetingRecordAccess(api, args, options) {
74
+ return api.call($meetingRecordAccess, args, options);
75
+ }
76
+ var $meetingAnnounce = { m: "POST", p: "/v1/meet/meetings/{meeting_id}/announce", d: "aidream", a: "user", o: "required", n: "communications.meeting_announce" };
77
+ function meetingAnnounce(api, args, options) {
78
+ return api.call($meetingAnnounce, args, options);
79
+ }
80
+ var $meetingFollowUpDraft = { m: "GET", p: "/v1/meet/meetings/{meeting_id}/follow-up", d: "aidream", a: "guest", o: "optional", n: "communications.meeting_follow_up_draft" };
81
+ function meetingFollowUpDraft(api, args, options) {
82
+ return api.call($meetingFollowUpDraft, args, options);
83
+ }
84
+ var $meetingFollowUpSend = { m: "POST", p: "/v1/meet/meetings/{meeting_id}/follow-up", d: "aidream", a: "user", o: "required", n: "communications.meeting_follow_up_send" };
85
+ function meetingFollowUpSend(api, args, options) {
86
+ return api.call($meetingFollowUpSend, args, options);
87
+ }
88
+ var $meetingRsvp = { m: "POST", p: "/v1/meet/meetings/{meeting_id}/rsvp", d: "aidream", a: "user", o: "required", n: "communications.meeting_rsvp" };
89
+ function meetingRsvp(api, args, options) {
90
+ return api.call($meetingRsvp, args, options);
91
+ }
92
+ var $rsvpByLink = { m: "POST", p: "/v1/meet/rsvp", d: "aidream", a: "scoped", o: "required", n: "communications.rsvp_by_link" };
93
+ function rsvpByLink(api, args, options) {
94
+ return api.call($rsvpByLink, args, options);
95
+ }
96
+ var $meetingGoogleCalendar = { m: "POST", p: "/v1/meet/meetings/{meeting_id}/google-calendar", d: "aidream", a: "user", o: "required", n: "communications.meeting_google_calendar" };
97
+ function meetingGoogleCalendar(api, args, options) {
98
+ return api.call($meetingGoogleCalendar, args, options);
99
+ }
100
+ var $meetingBrief = { m: "POST", p: "/v1/meet/meetings/{meeting_id}/brief", d: "aidream", a: "user", o: "required", s: "ndjson", n: "communications.meeting_brief" };
101
+ function meetingBrief(api, args, options) {
102
+ return chunkYUDQWDCM_cjs.openStream(api, $meetingBrief, args, options);
103
+ }
104
+ var $agendaDraft = { m: "POST", p: "/v1/meet/agenda-draft", d: "aidream", a: "user", o: "required", s: "ndjson", n: "communications.agenda_draft" };
105
+ function agendaDraft(api, args, options) {
106
+ return chunkYUDQWDCM_cjs.openStream(api, $agendaDraft, args, options);
107
+ }
108
+ var $meetingModerate = { m: "POST", p: "/v1/meet/moderate", d: "aidream", a: "scoped", o: "required", n: "communications.meeting_moderate" };
109
+ function meetingModerate(api, args, options) {
110
+ return api.call($meetingModerate, args, options);
111
+ }
112
+ var $meetingChatHistory = { m: "GET", p: "/v1/meet/chat", d: "aidream", a: "scoped", o: "exempt", n: "communications.meeting_chat_history" };
113
+ function meetingChatHistory(api, args, options) {
114
+ return api.call($meetingChatHistory, args, options);
115
+ }
116
+ var $meetingChatSend = { m: "POST", p: "/v1/meet/chat", d: "aidream", a: "scoped", o: "exempt", n: "communications.meeting_chat_send" };
117
+ function meetingChatSend(api, args, options) {
118
+ return api.call($meetingChatSend, args, options);
119
+ }
120
+ var $meetingCollabState = { m: "GET", p: "/v1/meet/collab", d: "aidream", a: "scoped", o: "exempt", n: "communications.meeting_collab_state" };
121
+ function meetingCollabState(api, args, options) {
122
+ return api.call($meetingCollabState, args, options);
123
+ }
124
+ var $meetingCollabAction = { m: "POST", p: "/v1/meet/collab", d: "aidream", a: "scoped", o: "exempt", n: "communications.meeting_collab_action" };
125
+ function meetingCollabAction(api, args, options) {
126
+ return api.call($meetingCollabAction, args, options);
127
+ }
128
+ var $meetingCaptionsTranslate = { m: "POST", p: "/v1/meet/captions/translate", d: "aidream", a: "scoped", o: "required", n: "communications.meeting_captions_translate" };
129
+ function meetingCaptionsTranslate(api, args, options) {
130
+ return api.call($meetingCaptionsTranslate, args, options);
131
+ }
132
+ var $livekitWebhook = { m: "POST", p: "/v1/meet/webhooks/livekit", d: "aidream", a: "public", o: "required", n: "communications.livekit_webhook" };
133
+ function livekitWebhook(api, args, options) {
134
+ return api.call($livekitWebhook, args, options);
135
+ }
136
+ var $readTestHandsetInbox = { m: "GET", p: "/communications/internal/test-handset-inbox", d: "aidream", a: "user", o: "required", n: "communications.read_test_handset_inbox" };
137
+ function readTestHandsetInbox(api, args, options) {
138
+ return api.call($readTestHandsetInbox, args, options);
139
+ }
140
+ var $inboundSmsFallback = { m: "POST", p: "/communications/sms/inbound-fallback", d: "aidream", a: "public", o: "required", n: "communications.inbound_sms_fallback" };
141
+ function inboundSmsFallback(api, args, options) {
142
+ return api.call($inboundSmsFallback, args, options);
143
+ }
144
+ var TABLE = {
145
+ "POST /communications/voice/conversation-relay/session-reference": $conversationRelayPreparation,
146
+ "GET /communications/voice/conversation-relay/readiness": $conversationRelayReadiness,
147
+ "POST /notifications/self": $submitSelfNotification,
148
+ "POST /personal-staff/open": $openMyStaff,
149
+ "POST /v1/meet/token": $joinToken,
150
+ "GET /v1/meet/state": $meetingState,
151
+ "POST /v1/meet/leave": $meetingLeave,
152
+ "POST /v1/meet/consent": $meetingConsent,
153
+ "POST /v1/meet/recording/start": $recordingStart,
154
+ "POST /v1/meet/recording/stop": $recordingStop,
155
+ "POST /v1/meet/end": $meetingEnd,
156
+ "POST /v1/meet/agent/start": $agentStart,
157
+ "POST /v1/meet/agent/stop": $agentStop,
158
+ "GET /v1/meet/record": $meetingRecord,
159
+ "POST /v1/meet/claim": $meetingClaim,
160
+ "POST /v1/meet/record/access": $meetingRecordAccess,
161
+ "POST /v1/meet/meetings/{meeting_id}/announce": $meetingAnnounce,
162
+ "GET /v1/meet/meetings/{meeting_id}/follow-up": $meetingFollowUpDraft,
163
+ "POST /v1/meet/meetings/{meeting_id}/follow-up": $meetingFollowUpSend,
164
+ "POST /v1/meet/meetings/{meeting_id}/rsvp": $meetingRsvp,
165
+ "POST /v1/meet/rsvp": $rsvpByLink,
166
+ "POST /v1/meet/meetings/{meeting_id}/google-calendar": $meetingGoogleCalendar,
167
+ "POST /v1/meet/moderate": $meetingModerate,
168
+ "GET /v1/meet/chat": $meetingChatHistory,
169
+ "POST /v1/meet/chat": $meetingChatSend,
170
+ "GET /v1/meet/collab": $meetingCollabState,
171
+ "POST /v1/meet/collab": $meetingCollabAction,
172
+ "POST /v1/meet/captions/translate": $meetingCaptionsTranslate,
173
+ "POST /v1/meet/webhooks/livekit": $livekitWebhook,
174
+ "GET /communications/internal/test-handset-inbox": $readTestHandsetInbox,
175
+ "POST /communications/sms/inbound-fallback": $inboundSmsFallback
176
+ };
177
+ function call(api, key, args, options) {
178
+ return api.call(TABLE[key], args, options);
179
+ }
180
+
181
+ exports.agendaDraft = agendaDraft;
182
+ exports.agentStart = agentStart;
183
+ exports.agentStop = agentStop;
184
+ exports.call = call;
185
+ exports.conversationRelayPreparation = conversationRelayPreparation;
186
+ exports.conversationRelayReadiness = conversationRelayReadiness;
187
+ exports.inboundSmsFallback = inboundSmsFallback;
188
+ exports.intelligenceAsk = intelligenceAsk;
189
+ exports.joinToken = joinToken;
190
+ exports.livekitWebhook = livekitWebhook;
191
+ exports.meetingAnnounce = meetingAnnounce;
192
+ exports.meetingBrief = meetingBrief;
193
+ exports.meetingCaptionsTranslate = meetingCaptionsTranslate;
194
+ exports.meetingChatHistory = meetingChatHistory;
195
+ exports.meetingChatSend = meetingChatSend;
196
+ exports.meetingClaim = meetingClaim;
197
+ exports.meetingCollabAction = meetingCollabAction;
198
+ exports.meetingCollabState = meetingCollabState;
199
+ exports.meetingConsent = meetingConsent;
200
+ exports.meetingEnd = meetingEnd;
201
+ exports.meetingFollowUpDraft = meetingFollowUpDraft;
202
+ exports.meetingFollowUpSend = meetingFollowUpSend;
203
+ exports.meetingGoogleCalendar = meetingGoogleCalendar;
204
+ exports.meetingLeave = meetingLeave;
205
+ exports.meetingModerate = meetingModerate;
206
+ exports.meetingRecord = meetingRecord;
207
+ exports.meetingRecordAccess = meetingRecordAccess;
208
+ exports.meetingRsvp = meetingRsvp;
209
+ exports.meetingState = meetingState;
210
+ exports.openMyStaff = openMyStaff;
211
+ exports.readTestHandsetInbox = readTestHandsetInbox;
212
+ exports.recordingStart = recordingStart;
213
+ exports.recordingStop = recordingStop;
214
+ exports.rsvpByLink = rsvpByLink;
215
+ exports.submitSelfNotification = submitSelfNotification;