@contractspec/lib.contracts 1.56.1 → 1.57.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 (212) hide show
  1. package/dist/_virtual/{rolldown_runtime.js → _rolldown/runtime.js} +3 -3
  2. package/dist/app-config/app-config.contracts.d.ts +50 -50
  3. package/dist/app-config/events.d.ts +27 -27
  4. package/dist/app-config/lifecycle-contracts.d.ts +54 -54
  5. package/dist/app-config/runtime.js +3 -3
  6. package/dist/app-config/validation.js +3 -3
  7. package/dist/capabilities/capabilities.js +20 -20
  8. package/dist/capabilities/context.d.ts +0 -1
  9. package/dist/capabilities/context.js +1 -1
  10. package/dist/capabilities/guards.d.ts +0 -1
  11. package/dist/capabilities/index.d.ts +2 -1
  12. package/dist/capabilities/index.js +2 -1
  13. package/dist/capabilities/meeting-recorder.d.ts +10 -0
  14. package/dist/capabilities/meeting-recorder.js +82 -0
  15. package/dist/capabilities/validation.d.ts +0 -1
  16. package/dist/client/react/drivers/rn-reusables.d.ts +0 -1
  17. package/dist/client/react/drivers/shadcn.d.ts +0 -1
  18. package/dist/client/react/form-render.js +3 -3
  19. package/dist/contract-registry/schemas.d.ts +2 -2
  20. package/dist/data-views/registry.d.ts +0 -1
  21. package/dist/data-views/spec.d.ts +0 -1
  22. package/dist/docs/commands/docsPublish.command.d.ts +13 -13
  23. package/dist/docs/contracts.d.ts +103 -103
  24. package/dist/docs/events/docsGenerated.event.d.ts +13 -13
  25. package/dist/docs/events/docsPublished.event.d.ts +15 -15
  26. package/dist/docs/forms/docsSearch.form.d.ts +4 -4
  27. package/dist/docs/queries/contractReference.query.d.ts +47 -47
  28. package/dist/docs/queries/docsIndex.query.d.ts +57 -57
  29. package/dist/docs/tech/llm/llm-integration.docblock.d.ts +0 -1
  30. package/dist/docs/tech/mcp-endpoints.docblock.js +5 -0
  31. package/dist/events.d.ts +0 -1
  32. package/dist/examples/index.d.ts +0 -1
  33. package/dist/examples/registry.d.ts +0 -1
  34. package/dist/examples/schema.d.ts +17 -17
  35. package/dist/experiments/spec.d.ts +2 -4
  36. package/dist/features/index.d.ts +0 -1
  37. package/dist/features/types.d.ts +2 -5
  38. package/dist/forms/forms.d.ts +1 -2
  39. package/dist/forms/forms.js +1 -2
  40. package/dist/index.d.ts +42 -1
  41. package/dist/index.js +36 -1
  42. package/dist/install.d.ts +2 -5
  43. package/dist/integrations/docs/integrations.docblock.js +19 -1
  44. package/dist/integrations/index.d.ts +26 -1
  45. package/dist/integrations/index.js +20 -1
  46. package/dist/integrations/meeting-recorder/contracts/index.d.ts +10 -0
  47. package/dist/integrations/meeting-recorder/contracts/index.js +12 -0
  48. package/dist/integrations/meeting-recorder/contracts/meetings.d.ts +458 -0
  49. package/dist/integrations/meeting-recorder/contracts/meetings.js +149 -0
  50. package/dist/integrations/meeting-recorder/contracts/transcripts.d.ts +173 -0
  51. package/dist/integrations/meeting-recorder/contracts/transcripts.js +156 -0
  52. package/dist/integrations/meeting-recorder/contracts/webhooks.d.ts +92 -0
  53. package/dist/integrations/meeting-recorder/contracts/webhooks.js +82 -0
  54. package/dist/integrations/meeting-recorder/meeting-recorder.capability.d.ts +7 -0
  55. package/dist/integrations/meeting-recorder/meeting-recorder.capability.js +21 -0
  56. package/dist/integrations/meeting-recorder/meeting-recorder.feature.d.ts +11 -0
  57. package/dist/integrations/meeting-recorder/meeting-recorder.feature.js +67 -0
  58. package/dist/integrations/meeting-recorder/models.d.ts +407 -0
  59. package/dist/integrations/meeting-recorder/models.js +295 -0
  60. package/dist/integrations/meeting-recorder/telemetry.d.ts +16 -0
  61. package/dist/integrations/meeting-recorder/telemetry.js +42 -0
  62. package/dist/integrations/openbanking/contracts/accounts.d.ts +66 -66
  63. package/dist/integrations/openbanking/contracts/balances.d.ts +34 -34
  64. package/dist/integrations/openbanking/contracts/transactions.d.ts +48 -48
  65. package/dist/integrations/openbanking/models.d.ts +55 -55
  66. package/dist/integrations/operations.d.ts +102 -102
  67. package/dist/integrations/providers/analytics-reader.d.ts +107 -0
  68. package/dist/integrations/providers/analytics-reader.js +0 -0
  69. package/dist/integrations/providers/analytics-writer.d.ts +10 -0
  70. package/dist/integrations/providers/analytics-writer.js +0 -0
  71. package/dist/integrations/providers/analytics.d.ts +49 -0
  72. package/dist/integrations/providers/analytics.js +0 -0
  73. package/dist/integrations/providers/database.d.ts +15 -0
  74. package/dist/integrations/providers/database.js +0 -0
  75. package/dist/integrations/providers/fal.d.ts +8 -0
  76. package/dist/integrations/providers/fal.js +94 -0
  77. package/dist/integrations/providers/fathom.d.ts +8 -0
  78. package/dist/integrations/providers/fathom.js +114 -0
  79. package/dist/integrations/providers/fireflies.d.ts +8 -0
  80. package/dist/integrations/providers/fireflies.js +98 -0
  81. package/dist/integrations/providers/gradium.d.ts +8 -0
  82. package/dist/integrations/providers/gradium.js +92 -0
  83. package/dist/integrations/providers/granola.d.ts +8 -0
  84. package/dist/integrations/providers/granola.js +71 -0
  85. package/dist/integrations/providers/index.d.ts +19 -1
  86. package/dist/integrations/providers/index.js +13 -1
  87. package/dist/integrations/providers/jira.d.ts +8 -0
  88. package/dist/integrations/providers/jira.js +90 -0
  89. package/dist/integrations/providers/linear.d.ts +8 -0
  90. package/dist/integrations/providers/linear.js +85 -0
  91. package/dist/integrations/providers/meeting-recorder.d.ts +132 -0
  92. package/dist/integrations/providers/meeting-recorder.js +0 -0
  93. package/dist/integrations/providers/notion.d.ts +8 -0
  94. package/dist/integrations/providers/notion.js +91 -0
  95. package/dist/integrations/providers/posthog.d.ts +8 -0
  96. package/dist/integrations/providers/posthog.js +107 -0
  97. package/dist/integrations/providers/project-management.d.ts +35 -0
  98. package/dist/integrations/providers/project-management.js +0 -0
  99. package/dist/integrations/providers/registry.d.ts +0 -1
  100. package/dist/integrations/providers/registry.js +24 -0
  101. package/dist/integrations/providers/supabase-postgres.d.ts +8 -0
  102. package/dist/integrations/providers/supabase-postgres.js +73 -0
  103. package/dist/integrations/providers/supabase-vector.d.ts +8 -0
  104. package/dist/integrations/providers/supabase-vector.js +93 -0
  105. package/dist/integrations/providers/tldv.d.ts +8 -0
  106. package/dist/integrations/providers/tldv.js +98 -0
  107. package/dist/integrations/runtime.js +0 -1
  108. package/dist/integrations/spec.d.ts +1 -1
  109. package/dist/jobs/queue.d.ts +0 -1
  110. package/dist/knowledge/binding.d.ts +1 -3
  111. package/dist/knowledge/operations.d.ts +66 -66
  112. package/dist/llm/exporters.d.ts +0 -1
  113. package/dist/llm/exporters.js +0 -1
  114. package/dist/llm/prompts.d.ts +0 -1
  115. package/dist/llm/types.d.ts +0 -1
  116. package/dist/onboarding-base.d.ts +29 -29
  117. package/dist/openapi.d.ts +0 -1
  118. package/dist/operations/operation.d.ts +19 -43
  119. package/dist/operations/registry.d.ts +0 -1
  120. package/dist/operations/registry.js +2 -2
  121. package/dist/operations/report/getContractVerificationStatus.d.ts +10 -10
  122. package/dist/ownership.d.ts +41 -88
  123. package/dist/policy/guards.d.ts +0 -1
  124. package/dist/policy/guards.js +3 -3
  125. package/dist/policy/index.d.ts +0 -1
  126. package/dist/policy/validation.d.ts +0 -1
  127. package/dist/product-intent/contract-patch-intent.d.ts +103 -0
  128. package/dist/product-intent/contract-patch-intent.js +33 -0
  129. package/dist/product-intent/contract-spec-patch.d.ts +89 -0
  130. package/dist/product-intent/contract-spec-patch.js +27 -0
  131. package/dist/product-intent/evidence.d.ts +17 -0
  132. package/dist/product-intent/evidence.js +13 -0
  133. package/dist/product-intent/findings.d.ts +60 -0
  134. package/dist/product-intent/findings.js +17 -0
  135. package/dist/product-intent/impact-report.d.ts +60 -0
  136. package/dist/product-intent/impact-report.js +27 -0
  137. package/dist/product-intent/index.d.ts +16 -0
  138. package/dist/product-intent/index.js +17 -0
  139. package/dist/product-intent/insights.d.ts +65 -0
  140. package/dist/product-intent/insights.js +23 -0
  141. package/dist/product-intent/opportunity-brief.d.ts +195 -0
  142. package/dist/product-intent/opportunity-brief.js +42 -0
  143. package/dist/product-intent/problems.d.ts +62 -0
  144. package/dist/product-intent/problems.js +22 -0
  145. package/dist/product-intent/registry.d.ts +32 -0
  146. package/dist/product-intent/registry.js +49 -0
  147. package/dist/product-intent/runtime.d.ts +103 -0
  148. package/dist/product-intent/runtime.js +101 -0
  149. package/dist/product-intent/spec.d.ts +676 -0
  150. package/dist/product-intent/spec.js +53 -0
  151. package/dist/product-intent/task-pack.d.ts +101 -0
  152. package/dist/product-intent/task-pack.js +34 -0
  153. package/dist/product-intent/tickets.d.ts +70 -0
  154. package/dist/product-intent/tickets.js +24 -0
  155. package/dist/product-intent/types.d.ts +12 -0
  156. package/dist/product-intent/types.js +13 -0
  157. package/dist/product-intent/ui-wireframe.d.ts +103 -0
  158. package/dist/product-intent/ui-wireframe.js +33 -0
  159. package/dist/registry-utils.d.ts +0 -1
  160. package/dist/registry-utils.js +3 -3
  161. package/dist/resources.js +1 -1
  162. package/dist/schema-to-markdown.d.ts +0 -1
  163. package/dist/server/contracts-adapter-input.js +2 -2
  164. package/dist/server/graphql-pothos.d.ts +0 -1
  165. package/dist/server/mcp/createMcpServer.d.ts +0 -1
  166. package/dist/server/rest-express.d.ts +0 -1
  167. package/dist/server/rest-generic.js +3 -3
  168. package/dist/server/rest-next-app.d.ts +0 -1
  169. package/dist/tests/spec.d.ts +0 -1
  170. package/dist/translations/registry.d.ts +0 -1
  171. package/dist/translations/spec.d.ts +0 -1
  172. package/dist/translations/validation.d.ts +0 -1
  173. package/dist/types.d.ts +5 -12
  174. package/dist/versioning/types.d.ts +0 -1
  175. package/dist/versioning/utils.d.ts +0 -1
  176. package/dist/workflow/adapters/memory-store.d.ts +0 -1
  177. package/dist/workflow/context.d.ts +0 -1
  178. package/dist/workflow/context.js +2 -2
  179. package/dist/workflow/runner.d.ts +1 -2
  180. package/dist/workspace-config/contractsrc-schema.d.ts +0 -1
  181. package/dist/workspace-config/contractsrc-types.d.ts +1 -3
  182. package/package.json +110 -32
  183. package/dist/integrations/providers/impls/elevenlabs-voice.d.ts +0 -20
  184. package/dist/integrations/providers/impls/elevenlabs-voice.js +0 -95
  185. package/dist/integrations/providers/impls/gcs-storage.d.ts +0 -24
  186. package/dist/integrations/providers/impls/gcs-storage.js +0 -88
  187. package/dist/integrations/providers/impls/gmail-inbound.d.ts +0 -26
  188. package/dist/integrations/providers/impls/gmail-inbound.js +0 -200
  189. package/dist/integrations/providers/impls/gmail-outbound.d.ts +0 -18
  190. package/dist/integrations/providers/impls/gmail-outbound.js +0 -105
  191. package/dist/integrations/providers/impls/google-calendar.d.ts +0 -23
  192. package/dist/integrations/providers/impls/google-calendar.js +0 -154
  193. package/dist/integrations/providers/impls/index.d.ts +0 -15
  194. package/dist/integrations/providers/impls/index.js +0 -16
  195. package/dist/integrations/providers/impls/mistral-embedding.d.ts +0 -23
  196. package/dist/integrations/providers/impls/mistral-embedding.js +0 -41
  197. package/dist/integrations/providers/impls/mistral-llm.d.ts +0 -31
  198. package/dist/integrations/providers/impls/mistral-llm.js +0 -247
  199. package/dist/integrations/providers/impls/postmark-email.d.ts +0 -19
  200. package/dist/integrations/providers/impls/postmark-email.js +0 -55
  201. package/dist/integrations/providers/impls/powens-client.d.ts +0 -124
  202. package/dist/integrations/providers/impls/powens-client.js +0 -171
  203. package/dist/integrations/providers/impls/powens-openbanking.d.ts +0 -27
  204. package/dist/integrations/providers/impls/powens-openbanking.js +0 -218
  205. package/dist/integrations/providers/impls/provider-factory.d.ts +0 -26
  206. package/dist/integrations/providers/impls/provider-factory.js +0 -146
  207. package/dist/integrations/providers/impls/qdrant-vector.d.ts +0 -24
  208. package/dist/integrations/providers/impls/qdrant-vector.js +0 -69
  209. package/dist/integrations/providers/impls/stripe-payments.d.ts +0 -28
  210. package/dist/integrations/providers/impls/stripe-payments.js +0 -202
  211. package/dist/integrations/providers/impls/twilio-sms.d.ts +0 -20
  212. package/dist/integrations/providers/impls/twilio-sms.js +0 -58
@@ -0,0 +1,458 @@
1
+ import { AnyOperationSpec, OperationSpec } from "../../../operations/operation.js";
2
+ import "../../../operations/index.js";
3
+ import { OperationSpecRegistry } from "../../../operations/registry.js";
4
+ import "../../../index.js";
5
+ import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
6
+ import { SchemaModel } from "@contractspec/lib.schema";
7
+
8
+ //#region src/integrations/meeting-recorder/contracts/meetings.d.ts
9
+ declare const MeetingRecorderListMeetings: OperationSpec<SchemaModel<{
10
+ tenantId: {
11
+ type: _contractspec_lib_schema0.FieldType<string, string>;
12
+ isOptional: false;
13
+ };
14
+ connectionId: {
15
+ type: _contractspec_lib_schema0.FieldType<string, string>;
16
+ isOptional: true;
17
+ };
18
+ from: {
19
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
20
+ isOptional: true;
21
+ };
22
+ to: {
23
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
24
+ isOptional: true;
25
+ };
26
+ cursor: {
27
+ type: _contractspec_lib_schema0.FieldType<string, string>;
28
+ isOptional: true;
29
+ };
30
+ pageSize: {
31
+ type: _contractspec_lib_schema0.FieldType<number, number>;
32
+ isOptional: true;
33
+ };
34
+ query: {
35
+ type: _contractspec_lib_schema0.FieldType<string, string>;
36
+ isOptional: true;
37
+ };
38
+ organizerEmail: {
39
+ type: _contractspec_lib_schema0.FieldType<string, string>;
40
+ isOptional: true;
41
+ };
42
+ participantEmail: {
43
+ type: _contractspec_lib_schema0.FieldType<string, string>;
44
+ isOptional: true;
45
+ };
46
+ includeTranscript: {
47
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
48
+ isOptional: true;
49
+ };
50
+ includeSummary: {
51
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
52
+ isOptional: true;
53
+ };
54
+ }>, SchemaModel<{
55
+ meetings: {
56
+ type: SchemaModel<{
57
+ id: {
58
+ type: _contractspec_lib_schema0.FieldType<string, string>;
59
+ isOptional: false;
60
+ };
61
+ tenantId: {
62
+ type: _contractspec_lib_schema0.FieldType<string, string>;
63
+ isOptional: false;
64
+ };
65
+ connectionId: {
66
+ type: _contractspec_lib_schema0.FieldType<string, string>;
67
+ isOptional: false;
68
+ };
69
+ externalId: {
70
+ type: _contractspec_lib_schema0.FieldType<string, string>;
71
+ isOptional: false;
72
+ };
73
+ title: {
74
+ type: _contractspec_lib_schema0.FieldType<string, string>;
75
+ isOptional: true;
76
+ };
77
+ summary: {
78
+ type: _contractspec_lib_schema0.FieldType<string, string>;
79
+ isOptional: true;
80
+ };
81
+ organizer: {
82
+ type: SchemaModel<{
83
+ id: {
84
+ type: _contractspec_lib_schema0.FieldType<string, string>;
85
+ isOptional: true;
86
+ };
87
+ externalId: {
88
+ type: _contractspec_lib_schema0.FieldType<string, string>;
89
+ isOptional: true;
90
+ };
91
+ name: {
92
+ type: _contractspec_lib_schema0.FieldType<string, string>;
93
+ isOptional: true;
94
+ };
95
+ email: {
96
+ type: _contractspec_lib_schema0.FieldType<string, string>;
97
+ isOptional: true;
98
+ };
99
+ role: {
100
+ type: _contractspec_lib_schema0.FieldType<string, string>;
101
+ isOptional: true;
102
+ };
103
+ isExternal: {
104
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
105
+ isOptional: true;
106
+ };
107
+ metadata: {
108
+ type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
109
+ isOptional: true;
110
+ };
111
+ }>;
112
+ isOptional: true;
113
+ };
114
+ invitees: {
115
+ type: SchemaModel<{
116
+ id: {
117
+ type: _contractspec_lib_schema0.FieldType<string, string>;
118
+ isOptional: true;
119
+ };
120
+ externalId: {
121
+ type: _contractspec_lib_schema0.FieldType<string, string>;
122
+ isOptional: true;
123
+ };
124
+ name: {
125
+ type: _contractspec_lib_schema0.FieldType<string, string>;
126
+ isOptional: true;
127
+ };
128
+ email: {
129
+ type: _contractspec_lib_schema0.FieldType<string, string>;
130
+ isOptional: true;
131
+ };
132
+ role: {
133
+ type: _contractspec_lib_schema0.FieldType<string, string>;
134
+ isOptional: true;
135
+ };
136
+ isExternal: {
137
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
138
+ isOptional: true;
139
+ };
140
+ metadata: {
141
+ type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
142
+ isOptional: true;
143
+ };
144
+ }>;
145
+ isArray: true;
146
+ isOptional: true;
147
+ };
148
+ participants: {
149
+ type: SchemaModel<{
150
+ id: {
151
+ type: _contractspec_lib_schema0.FieldType<string, string>;
152
+ isOptional: true;
153
+ };
154
+ externalId: {
155
+ type: _contractspec_lib_schema0.FieldType<string, string>;
156
+ isOptional: true;
157
+ };
158
+ name: {
159
+ type: _contractspec_lib_schema0.FieldType<string, string>;
160
+ isOptional: true;
161
+ };
162
+ email: {
163
+ type: _contractspec_lib_schema0.FieldType<string, string>;
164
+ isOptional: true;
165
+ };
166
+ role: {
167
+ type: _contractspec_lib_schema0.FieldType<string, string>;
168
+ isOptional: true;
169
+ };
170
+ isExternal: {
171
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
172
+ isOptional: true;
173
+ };
174
+ metadata: {
175
+ type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
176
+ isOptional: true;
177
+ };
178
+ }>;
179
+ isArray: true;
180
+ isOptional: true;
181
+ };
182
+ scheduledStartAt: {
183
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
184
+ isOptional: true;
185
+ };
186
+ scheduledEndAt: {
187
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
188
+ isOptional: true;
189
+ };
190
+ recordingStartAt: {
191
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
192
+ isOptional: true;
193
+ };
194
+ recordingEndAt: {
195
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
196
+ isOptional: true;
197
+ };
198
+ durationSeconds: {
199
+ type: _contractspec_lib_schema0.FieldType<number, number>;
200
+ isOptional: true;
201
+ };
202
+ meetingUrl: {
203
+ type: _contractspec_lib_schema0.FieldType<string, string>;
204
+ isOptional: true;
205
+ };
206
+ recordingUrl: {
207
+ type: _contractspec_lib_schema0.FieldType<string, string>;
208
+ isOptional: true;
209
+ };
210
+ shareUrl: {
211
+ type: _contractspec_lib_schema0.FieldType<string, string>;
212
+ isOptional: true;
213
+ };
214
+ sourcePlatform: {
215
+ type: _contractspec_lib_schema0.FieldType<string, string>;
216
+ isOptional: true;
217
+ };
218
+ language: {
219
+ type: _contractspec_lib_schema0.FieldType<string, string>;
220
+ isOptional: true;
221
+ };
222
+ transcriptAvailable: {
223
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
224
+ isOptional: true;
225
+ };
226
+ createdAt: {
227
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
228
+ isOptional: true;
229
+ };
230
+ updatedAt: {
231
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
232
+ isOptional: true;
233
+ };
234
+ metadata: {
235
+ type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
236
+ isOptional: true;
237
+ };
238
+ }>;
239
+ isOptional: false;
240
+ isArray: true;
241
+ };
242
+ nextCursor: {
243
+ type: _contractspec_lib_schema0.FieldType<string, string>;
244
+ isOptional: true;
245
+ };
246
+ hasMore: {
247
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
248
+ isOptional: true;
249
+ };
250
+ }>, undefined>;
251
+ declare const MeetingRecorderGetMeeting: OperationSpec<SchemaModel<{
252
+ tenantId: {
253
+ type: _contractspec_lib_schema0.FieldType<string, string>;
254
+ isOptional: false;
255
+ };
256
+ meetingId: {
257
+ type: _contractspec_lib_schema0.FieldType<string, string>;
258
+ isOptional: false;
259
+ };
260
+ connectionId: {
261
+ type: _contractspec_lib_schema0.FieldType<string, string>;
262
+ isOptional: true;
263
+ };
264
+ includeTranscript: {
265
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
266
+ isOptional: true;
267
+ };
268
+ includeSummary: {
269
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
270
+ isOptional: true;
271
+ };
272
+ }>, SchemaModel<{
273
+ id: {
274
+ type: _contractspec_lib_schema0.FieldType<string, string>;
275
+ isOptional: false;
276
+ };
277
+ tenantId: {
278
+ type: _contractspec_lib_schema0.FieldType<string, string>;
279
+ isOptional: false;
280
+ };
281
+ connectionId: {
282
+ type: _contractspec_lib_schema0.FieldType<string, string>;
283
+ isOptional: false;
284
+ };
285
+ externalId: {
286
+ type: _contractspec_lib_schema0.FieldType<string, string>;
287
+ isOptional: false;
288
+ };
289
+ title: {
290
+ type: _contractspec_lib_schema0.FieldType<string, string>;
291
+ isOptional: true;
292
+ };
293
+ summary: {
294
+ type: _contractspec_lib_schema0.FieldType<string, string>;
295
+ isOptional: true;
296
+ };
297
+ organizer: {
298
+ type: SchemaModel<{
299
+ id: {
300
+ type: _contractspec_lib_schema0.FieldType<string, string>;
301
+ isOptional: true;
302
+ };
303
+ externalId: {
304
+ type: _contractspec_lib_schema0.FieldType<string, string>;
305
+ isOptional: true;
306
+ };
307
+ name: {
308
+ type: _contractspec_lib_schema0.FieldType<string, string>;
309
+ isOptional: true;
310
+ };
311
+ email: {
312
+ type: _contractspec_lib_schema0.FieldType<string, string>;
313
+ isOptional: true;
314
+ };
315
+ role: {
316
+ type: _contractspec_lib_schema0.FieldType<string, string>;
317
+ isOptional: true;
318
+ };
319
+ isExternal: {
320
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
321
+ isOptional: true;
322
+ };
323
+ metadata: {
324
+ type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
325
+ isOptional: true;
326
+ };
327
+ }>;
328
+ isOptional: true;
329
+ };
330
+ invitees: {
331
+ type: SchemaModel<{
332
+ id: {
333
+ type: _contractspec_lib_schema0.FieldType<string, string>;
334
+ isOptional: true;
335
+ };
336
+ externalId: {
337
+ type: _contractspec_lib_schema0.FieldType<string, string>;
338
+ isOptional: true;
339
+ };
340
+ name: {
341
+ type: _contractspec_lib_schema0.FieldType<string, string>;
342
+ isOptional: true;
343
+ };
344
+ email: {
345
+ type: _contractspec_lib_schema0.FieldType<string, string>;
346
+ isOptional: true;
347
+ };
348
+ role: {
349
+ type: _contractspec_lib_schema0.FieldType<string, string>;
350
+ isOptional: true;
351
+ };
352
+ isExternal: {
353
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
354
+ isOptional: true;
355
+ };
356
+ metadata: {
357
+ type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
358
+ isOptional: true;
359
+ };
360
+ }>;
361
+ isArray: true;
362
+ isOptional: true;
363
+ };
364
+ participants: {
365
+ type: SchemaModel<{
366
+ id: {
367
+ type: _contractspec_lib_schema0.FieldType<string, string>;
368
+ isOptional: true;
369
+ };
370
+ externalId: {
371
+ type: _contractspec_lib_schema0.FieldType<string, string>;
372
+ isOptional: true;
373
+ };
374
+ name: {
375
+ type: _contractspec_lib_schema0.FieldType<string, string>;
376
+ isOptional: true;
377
+ };
378
+ email: {
379
+ type: _contractspec_lib_schema0.FieldType<string, string>;
380
+ isOptional: true;
381
+ };
382
+ role: {
383
+ type: _contractspec_lib_schema0.FieldType<string, string>;
384
+ isOptional: true;
385
+ };
386
+ isExternal: {
387
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
388
+ isOptional: true;
389
+ };
390
+ metadata: {
391
+ type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
392
+ isOptional: true;
393
+ };
394
+ }>;
395
+ isArray: true;
396
+ isOptional: true;
397
+ };
398
+ scheduledStartAt: {
399
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
400
+ isOptional: true;
401
+ };
402
+ scheduledEndAt: {
403
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
404
+ isOptional: true;
405
+ };
406
+ recordingStartAt: {
407
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
408
+ isOptional: true;
409
+ };
410
+ recordingEndAt: {
411
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
412
+ isOptional: true;
413
+ };
414
+ durationSeconds: {
415
+ type: _contractspec_lib_schema0.FieldType<number, number>;
416
+ isOptional: true;
417
+ };
418
+ meetingUrl: {
419
+ type: _contractspec_lib_schema0.FieldType<string, string>;
420
+ isOptional: true;
421
+ };
422
+ recordingUrl: {
423
+ type: _contractspec_lib_schema0.FieldType<string, string>;
424
+ isOptional: true;
425
+ };
426
+ shareUrl: {
427
+ type: _contractspec_lib_schema0.FieldType<string, string>;
428
+ isOptional: true;
429
+ };
430
+ sourcePlatform: {
431
+ type: _contractspec_lib_schema0.FieldType<string, string>;
432
+ isOptional: true;
433
+ };
434
+ language: {
435
+ type: _contractspec_lib_schema0.FieldType<string, string>;
436
+ isOptional: true;
437
+ };
438
+ transcriptAvailable: {
439
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
440
+ isOptional: true;
441
+ };
442
+ createdAt: {
443
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
444
+ isOptional: true;
445
+ };
446
+ updatedAt: {
447
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
448
+ isOptional: true;
449
+ };
450
+ metadata: {
451
+ type: _contractspec_lib_schema0.FieldType<Record<string, unknown>, Record<string, unknown>>;
452
+ isOptional: true;
453
+ };
454
+ }>, undefined>;
455
+ declare const meetingRecorderMeetingContracts: Record<string, AnyOperationSpec>;
456
+ declare function registerMeetingRecorderMeetingContracts(registry: OperationSpecRegistry): OperationSpecRegistry;
457
+ //#endregion
458
+ export { MeetingRecorderGetMeeting, MeetingRecorderListMeetings, meetingRecorderMeetingContracts, registerMeetingRecorderMeetingContracts };
@@ -0,0 +1,149 @@
1
+ import { defineQuery } from "../../../operations/operation.js";
2
+ import "../../../operations/index.js";
3
+ import { MeetingRecord } from "../models.js";
4
+ import { ScalarTypeEnum, SchemaModel } from "@contractspec/lib.schema";
5
+
6
+ //#region src/integrations/meeting-recorder/contracts/meetings.ts
7
+ const MeetingRecorderListMeetingsInput = new SchemaModel({
8
+ name: "MeetingRecorderListMeetingsInput",
9
+ description: "Parameters for listing meetings from a meeting recorder provider.",
10
+ fields: {
11
+ tenantId: {
12
+ type: ScalarTypeEnum.ID(),
13
+ isOptional: false
14
+ },
15
+ connectionId: {
16
+ type: ScalarTypeEnum.ID(),
17
+ isOptional: true
18
+ },
19
+ from: {
20
+ type: ScalarTypeEnum.DateTime(),
21
+ isOptional: true
22
+ },
23
+ to: {
24
+ type: ScalarTypeEnum.DateTime(),
25
+ isOptional: true
26
+ },
27
+ cursor: {
28
+ type: ScalarTypeEnum.String_unsecure(),
29
+ isOptional: true
30
+ },
31
+ pageSize: {
32
+ type: ScalarTypeEnum.Int_unsecure(),
33
+ isOptional: true
34
+ },
35
+ query: {
36
+ type: ScalarTypeEnum.String_unsecure(),
37
+ isOptional: true
38
+ },
39
+ organizerEmail: {
40
+ type: ScalarTypeEnum.String_unsecure(),
41
+ isOptional: true
42
+ },
43
+ participantEmail: {
44
+ type: ScalarTypeEnum.String_unsecure(),
45
+ isOptional: true
46
+ },
47
+ includeTranscript: {
48
+ type: ScalarTypeEnum.Boolean(),
49
+ isOptional: true
50
+ },
51
+ includeSummary: {
52
+ type: ScalarTypeEnum.Boolean(),
53
+ isOptional: true
54
+ }
55
+ }
56
+ });
57
+ const MeetingRecorderListMeetingsOutput = new SchemaModel({
58
+ name: "MeetingRecorderListMeetingsOutput",
59
+ description: "Paginated list of meetings for a recorder provider.",
60
+ fields: {
61
+ meetings: {
62
+ type: MeetingRecord,
63
+ isOptional: false,
64
+ isArray: true
65
+ },
66
+ nextCursor: {
67
+ type: ScalarTypeEnum.String_unsecure(),
68
+ isOptional: true
69
+ },
70
+ hasMore: {
71
+ type: ScalarTypeEnum.Boolean(),
72
+ isOptional: true
73
+ }
74
+ }
75
+ });
76
+ const MeetingRecorderGetMeetingInput = new SchemaModel({
77
+ name: "MeetingRecorderGetMeetingInput",
78
+ description: "Parameters for retrieving a single meeting record.",
79
+ fields: {
80
+ tenantId: {
81
+ type: ScalarTypeEnum.ID(),
82
+ isOptional: false
83
+ },
84
+ meetingId: {
85
+ type: ScalarTypeEnum.ID(),
86
+ isOptional: false
87
+ },
88
+ connectionId: {
89
+ type: ScalarTypeEnum.ID(),
90
+ isOptional: true
91
+ },
92
+ includeTranscript: {
93
+ type: ScalarTypeEnum.Boolean(),
94
+ isOptional: true
95
+ },
96
+ includeSummary: {
97
+ type: ScalarTypeEnum.Boolean(),
98
+ isOptional: true
99
+ }
100
+ }
101
+ });
102
+ const MeetingRecorderListMeetings = defineQuery({
103
+ meta: {
104
+ key: "meeting-recorder.meetings.list",
105
+ version: "1.0.0",
106
+ description: "List meetings recorded by the configured meeting provider.",
107
+ goal: "Provide downstream workflows with recent meetings and metadata.",
108
+ context: "Used by integration hubs and sync workflows to enumerate meetings before pulling transcripts.",
109
+ owners: ["@platform.integrations"],
110
+ tags: [
111
+ "meeting-recorder",
112
+ "meetings",
113
+ "transcripts"
114
+ ],
115
+ stability: "experimental"
116
+ },
117
+ io: {
118
+ input: MeetingRecorderListMeetingsInput,
119
+ output: MeetingRecorderListMeetingsOutput
120
+ },
121
+ policy: { auth: "user" }
122
+ });
123
+ const MeetingRecorderGetMeeting = defineQuery({
124
+ meta: {
125
+ key: "meeting-recorder.meetings.get",
126
+ version: "1.0.0",
127
+ description: "Retrieve metadata for a single meeting recording.",
128
+ goal: "Allow downstream experiences to display detailed meeting metadata.",
129
+ context: "Used when drilling into a specific meeting from a transcript or integration dashboard.",
130
+ owners: ["@platform.integrations"],
131
+ tags: ["meeting-recorder", "meetings"],
132
+ stability: "experimental"
133
+ },
134
+ io: {
135
+ input: MeetingRecorderGetMeetingInput,
136
+ output: MeetingRecord
137
+ },
138
+ policy: { auth: "user" }
139
+ });
140
+ const meetingRecorderMeetingContracts = {
141
+ MeetingRecorderListMeetings,
142
+ MeetingRecorderGetMeeting
143
+ };
144
+ function registerMeetingRecorderMeetingContracts(registry) {
145
+ return registry.register(MeetingRecorderListMeetings).register(MeetingRecorderGetMeeting);
146
+ }
147
+
148
+ //#endregion
149
+ export { MeetingRecorderGetMeeting, MeetingRecorderListMeetings, meetingRecorderMeetingContracts, registerMeetingRecorderMeetingContracts };