@superpanel-sdk/runtime 0.2.3 → 0.7.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 (319) hide show
  1. package/README.md +30 -10
  2. package/dist/builder/codegen/emit.d.ts +25 -12
  3. package/dist/builder/codegen/emit.js +339 -78
  4. package/dist/builder/codegen/generate.d.ts +21 -2
  5. package/dist/builder/codegen/generate.js +147 -34
  6. package/dist/builder/company-import-graph.d.ts +2 -0
  7. package/dist/builder/company-import-graph.js +40 -8
  8. package/dist/builder/company-imports.d.ts +29 -0
  9. package/dist/builder/company-imports.js +122 -0
  10. package/dist/builder/compile/compile-sequence.d.ts +61 -8
  11. package/dist/builder/compile/compile-sequence.js +334 -80
  12. package/dist/builder/compile/function-code.d.ts +19 -3
  13. package/dist/builder/compile/function-code.js +123 -45
  14. package/dist/builder/compile/registry.d.ts +7 -3
  15. package/dist/builder/compile/registry.js +30 -27
  16. package/dist/builder/errors.d.ts +9 -0
  17. package/dist/builder/errors.js +17 -0
  18. package/dist/builder/function-params.d.ts +10 -0
  19. package/dist/builder/function-params.js +203 -0
  20. package/dist/builder/load.d.ts +70 -10
  21. package/dist/builder/load.js +258 -67
  22. package/dist/builder/paths.d.ts +9 -1
  23. package/dist/builder/paths.js +32 -2
  24. package/dist/builder/schedules.d.ts +25 -0
  25. package/dist/builder/schedules.js +101 -0
  26. package/dist/builder/slot-schema-validation.d.ts +4 -0
  27. package/dist/builder/slot-schema-validation.js +10 -0
  28. package/dist/builder/typecheck.d.ts +8 -0
  29. package/dist/builder/typecheck.js +102 -0
  30. package/dist/builder/types.d.ts +127 -19
  31. package/dist/builder/types.js +21 -1
  32. package/dist/cli/auth/auth.d.ts +37 -0
  33. package/dist/cli/auth/auth.js +211 -0
  34. package/dist/cli/auth/backend-url.d.ts +5 -0
  35. package/dist/cli/auth/backend-url.js +25 -0
  36. package/dist/cli/auth/clipboard.d.ts +9 -0
  37. package/dist/cli/auth/clipboard.js +38 -0
  38. package/dist/cli/auth/http.d.ts +20 -0
  39. package/dist/cli/auth/http.js +27 -0
  40. package/dist/cli/auth/index.d.ts +10 -0
  41. package/dist/cli/auth/index.js +27 -0
  42. package/dist/cli/auth/progress.d.ts +12 -0
  43. package/dist/cli/auth/progress.js +15 -0
  44. package/dist/cli/auth/serve-login.d.ts +8 -0
  45. package/dist/cli/auth/serve-login.js +24 -0
  46. package/dist/cli/calls/index.d.ts +177 -0
  47. package/dist/cli/calls/index.js +96 -0
  48. package/dist/cli/compile/index.js +3 -0
  49. package/dist/cli/config.d.ts +10 -0
  50. package/dist/cli/config.js +52 -0
  51. package/dist/cli/debug/index.d.ts +31 -0
  52. package/dist/cli/debug/index.js +119 -0
  53. package/dist/cli/exec/index.d.ts +39 -0
  54. package/dist/cli/exec/index.js +138 -0
  55. package/dist/cli/exec/session.d.ts +48 -0
  56. package/dist/cli/exec/session.js +82 -0
  57. package/dist/cli/exec/trace.d.ts +18 -0
  58. package/dist/cli/exec/trace.js +52 -0
  59. package/dist/cli/index.js +112 -9
  60. package/dist/cli/logs/index.d.ts +47 -0
  61. package/dist/cli/logs/index.js +113 -0
  62. package/dist/cli/mobile/index.d.ts +12 -0
  63. package/dist/cli/mobile/index.js +405 -0
  64. package/dist/cli/serve/index.d.ts +109 -3
  65. package/dist/cli/serve/index.js +506 -118
  66. package/dist/cli/turns/index.d.ts +105 -0
  67. package/dist/cli/turns/index.js +128 -0
  68. package/dist/cli/turns/run.d.ts +13 -0
  69. package/dist/cli/turns/run.js +57 -0
  70. package/dist/cli/turns/shadow.d.ts +112 -0
  71. package/dist/cli/turns/shadow.js +54 -0
  72. package/dist/cli/type-gen/index.js +9 -9
  73. package/dist/compiler.d.ts +7 -0
  74. package/dist/compiler.js +7 -0
  75. package/dist/compute-host/compute-host.d.ts +14 -23
  76. package/dist/compute-host/compute-host.js +18 -30
  77. package/dist/compute-host/index.d.ts +2 -4
  78. package/dist/compute-host/index.js +1 -2
  79. package/dist/compute-host/source-compute-host.d.ts +10 -10
  80. package/dist/compute-host/source-compute-host.js +33 -40
  81. package/dist/core/case-orchestrator/contact-hours.d.ts +70 -0
  82. package/dist/core/case-orchestrator/contact-hours.js +127 -0
  83. package/dist/core/case-orchestrator/index.d.ts +3 -0
  84. package/dist/core/case-orchestrator/index.js +3 -0
  85. package/dist/core/case-orchestrator/render.d.ts +75 -0
  86. package/dist/core/case-orchestrator/render.js +244 -0
  87. package/dist/core/case-orchestrator/time.d.ts +11 -0
  88. package/dist/core/case-orchestrator/time.js +29 -0
  89. package/dist/core/case-orchestrator/types.d.ts +708 -0
  90. package/dist/core/case-orchestrator/types.js +42 -0
  91. package/dist/core/context/call.d.ts +291 -0
  92. package/dist/core/context/call.js +94 -0
  93. package/dist/core/context/channels.d.ts +60 -0
  94. package/dist/core/context/channels.js +35 -0
  95. package/dist/core/context/contact.d.ts +96 -6
  96. package/dist/core/context/contact.js +48 -2
  97. package/dist/core/context/email-message.d.ts +198 -0
  98. package/dist/core/context/email-message.js +86 -0
  99. package/dist/core/context/email.d.ts +109 -0
  100. package/dist/core/context/email.js +90 -0
  101. package/dist/core/context/exchanges.d.ts +167 -0
  102. package/dist/core/context/exchanges.js +81 -0
  103. package/dist/core/context/instances.d.ts +307 -0
  104. package/dist/core/context/instances.js +137 -0
  105. package/dist/core/context/kv.d.ts +113 -0
  106. package/dist/core/context/kv.js +60 -0
  107. package/dist/core/context/platform-registry.d.ts +544 -4
  108. package/dist/core/context/platform-registry.js +14 -2
  109. package/dist/core/context/platform.d.ts +2 -1
  110. package/dist/core/context/sms.d.ts +177 -0
  111. package/dist/core/context/sms.js +77 -0
  112. package/dist/core/context/types.d.ts +79 -48
  113. package/dist/core/context/types.js +1 -7
  114. package/dist/core/conversation/index.d.ts +85 -0
  115. package/dist/core/conversation/index.js +133 -0
  116. package/dist/core/functions/errors.d.ts +74 -0
  117. package/dist/core/functions/errors.js +26 -0
  118. package/dist/core/functions/events.d.ts +192 -0
  119. package/dist/core/functions/events.js +23 -0
  120. package/dist/core/functions/schedules.d.ts +50 -0
  121. package/dist/core/functions/schedules.js +20 -0
  122. package/dist/core/functions/types.d.ts +29 -73
  123. package/dist/core/functions/types.js +1 -4
  124. package/dist/core/office-hours/index.d.ts +39 -0
  125. package/dist/core/office-hours/index.js +187 -0
  126. package/dist/core/page/define.d.ts +904 -0
  127. package/dist/core/page/define.js +518 -0
  128. package/dist/core/page/envelope.d.ts +55 -0
  129. package/dist/core/page/envelope.js +4 -0
  130. package/dist/core/page/fns.d.ts +448 -0
  131. package/dist/core/page/fns.js +539 -0
  132. package/dist/core/page/memory-reader.d.ts +27 -0
  133. package/dist/core/page/memory-reader.js +299 -0
  134. package/dist/core/page/ops.d.ts +58 -0
  135. package/dist/core/page/ops.js +220 -0
  136. package/dist/core/page/page-host.d.ts +20 -0
  137. package/dist/core/page/page-host.js +57 -0
  138. package/dist/core/page/records-query.d.ts +234 -0
  139. package/dist/core/page/records-query.js +780 -0
  140. package/dist/core/page/render.d.ts +295 -0
  141. package/dist/core/page/render.js +1060 -0
  142. package/dist/core/page/sandbox.d.ts +85 -0
  143. package/dist/core/page/sandbox.js +357 -0
  144. package/dist/core/page/time-format.d.ts +46 -0
  145. package/dist/core/page/time-format.js +125 -0
  146. package/dist/core/page/timeline.d.ts +40 -0
  147. package/dist/core/page/timeline.js +2 -0
  148. package/dist/core/page/typed.d.ts +648 -0
  149. package/dist/core/page/typed.js +2 -0
  150. package/dist/core/page/workspace.d.ts +57 -0
  151. package/dist/core/page/workspace.js +266 -0
  152. package/dist/core/party/index.d.ts +3 -0
  153. package/dist/core/party/index.js +3 -0
  154. package/dist/core/party/schema.d.ts +208 -0
  155. package/dist/core/party/schema.js +113 -0
  156. package/dist/core/party/types.d.ts +35 -0
  157. package/dist/core/party/types.js +15 -0
  158. package/dist/core/sequence/define.d.ts +56 -0
  159. package/dist/core/sequence/define.js +10 -0
  160. package/dist/core/sequence/index.d.ts +63 -0
  161. package/dist/core/sequence/index.js +231 -0
  162. package/dist/core/slot/binding.d.ts +40 -0
  163. package/dist/core/slot/binding.js +2 -0
  164. package/dist/core/slot/company-metadata.d.ts +102 -0
  165. package/dist/core/slot/company-metadata.js +536 -0
  166. package/dist/core/slot/compile-schema.d.ts +19 -13
  167. package/dist/core/slot/compile-schema.js +51 -248
  168. package/dist/core/slot/contact-timezone.d.ts +110 -0
  169. package/dist/core/slot/contact-timezone.js +186 -0
  170. package/dist/core/slot/field.d.ts +2 -25
  171. package/dist/core/slot/field.js +0 -71
  172. package/dist/core/slot/id-ref.d.ts +17 -2
  173. package/dist/core/slot/id-ref.js +16 -8
  174. package/dist/core/slot/index.d.ts +12 -13
  175. package/dist/core/slot/index.js +11 -12
  176. package/dist/core/slot/naming.d.ts +15 -0
  177. package/dist/core/slot/naming.js +96 -0
  178. package/dist/core/slot/platform-fields.d.ts +119 -0
  179. package/dist/core/slot/platform-fields.js +121 -0
  180. package/dist/core/slot/ref.d.ts +16 -0
  181. package/dist/core/slot/ref.js +14 -0
  182. package/dist/core/slot/row.d.ts +2 -9
  183. package/dist/core/slot/row.js +13 -23
  184. package/dist/core/slot/schema-compat.d.ts +17 -0
  185. package/dist/core/slot/schema-compat.js +103 -0
  186. package/dist/core/slot/schema.d.ts +353 -76
  187. package/dist/core/slot/schema.js +163 -10
  188. package/dist/core/slot/types.d.ts +30 -103
  189. package/dist/core/slot/value.d.ts +28 -3
  190. package/dist/core/slot/value.js +93 -57
  191. package/dist/dev-overlay/protocol.d.ts +74 -8
  192. package/dist/fn-context/build-context.d.ts +3 -1
  193. package/dist/fn-context/build-context.js +26 -10
  194. package/dist/fn-context/fake/empty-api.js +9 -28
  195. package/dist/fn-context/fake/index.d.ts +13 -4
  196. package/dist/fn-context/fake/index.js +29 -2
  197. package/dist/fn-context/fn-params.d.ts +3 -0
  198. package/dist/fn-context/fn-params.js +10 -0
  199. package/dist/fn-context/index.d.ts +5 -5
  200. package/dist/fn-context/index.js +4 -4
  201. package/dist/fn-context/log.js +2 -2
  202. package/dist/fn-context/make-ctx.d.ts +11 -0
  203. package/dist/fn-context/make-ctx.js +20 -9
  204. package/dist/fn-context/rpc/case-orchestrator-tools.d.ts +32 -0
  205. package/dist/fn-context/rpc/case-orchestrator-tools.js +12 -0
  206. package/dist/fn-context/rpc/errors.d.ts +13 -0
  207. package/dist/fn-context/rpc/errors.js +22 -0
  208. package/dist/fn-context/rpc/index.d.ts +4 -2
  209. package/dist/fn-context/rpc/index.js +4 -2
  210. package/dist/fn-context/rpc/integration/index.d.ts +15 -5
  211. package/dist/fn-context/rpc/integration/index.js +1 -1
  212. package/dist/fn-context/rpc/integration/list-surfaces.d.ts +21 -0
  213. package/dist/fn-context/rpc/integration/{list-bindings.js → list-surfaces.js} +4 -4
  214. package/dist/fn-context/rpc/log.d.ts +11 -1
  215. package/dist/fn-context/rpc/platform.d.ts +13 -3
  216. package/dist/fn-context/rpc/platform.js +1 -1
  217. package/dist/fn-context/rpc/records.d.ts +85 -0
  218. package/dist/fn-context/rpc/records.js +24 -0
  219. package/dist/fn-context/rpc/trpc-client.d.ts +44 -2
  220. package/dist/fn-context/rpc/trpc-client.js +222 -12
  221. package/dist/fn-context/rpc/trpc-init.d.ts +21 -3
  222. package/dist/fn-context/rpc/trpc-init.js +10 -4
  223. package/dist/fn-context/rpc/trpc-router-factory.d.ts +111 -7
  224. package/dist/fn-context/rpc/trpc-router-factory.js +2 -0
  225. package/dist/fn-context/run-scope.d.ts +4 -0
  226. package/dist/fn-context/run-scope.js +9 -0
  227. package/dist/fn-context/types.d.ts +52 -5
  228. package/dist/index.d.ts +36 -46
  229. package/dist/index.js +30 -33
  230. package/dist/logger.d.ts +11 -0
  231. package/dist/logger.js +49 -0
  232. package/dist/platform.d.ts +75 -0
  233. package/dist/platform.js +57 -0
  234. package/dist/testing-compile-child.d.ts +2 -0
  235. package/dist/testing-compile-child.js +20 -0
  236. package/dist/testing.d.ts +368 -0
  237. package/dist/testing.js +439 -0
  238. package/dist/voice-service/actions.d.ts +50 -6
  239. package/dist/voice-service/index.d.ts +2 -0
  240. package/dist/voice-service/index.js +2 -0
  241. package/dist/voice-service/protocol.d.ts +604 -0
  242. package/dist/voice-service/protocol.js +67 -0
  243. package/dist/voice-service/types.d.ts +55 -8
  244. package/dist/worker.d.ts +11 -0
  245. package/dist/worker.js +11 -0
  246. package/package.json +38 -15
  247. package/dist/builder/compile/compile-agenda.d.ts +0 -15
  248. package/dist/builder/compile/compile-agenda.js +0 -64
  249. package/dist/builder/merge.d.ts +0 -4
  250. package/dist/builder/merge.js +0 -19
  251. package/dist/compute-host/read-only-cache.d.ts +0 -20
  252. package/dist/compute-host/read-only-cache.js +0 -61
  253. package/dist/core/context/db.d.ts +0 -69
  254. package/dist/core/context/db.js +0 -44
  255. package/dist/core/context/docusign.d.ts +0 -134
  256. package/dist/core/context/docusign.js +0 -108
  257. package/dist/core/context/filevine.d.ts +0 -323
  258. package/dist/core/context/filevine.js +0 -254
  259. package/dist/core/context/http.d.ts +0 -9
  260. package/dist/core/context/http.js +0 -4
  261. package/dist/core/context/hubspot.d.ts +0 -250
  262. package/dist/core/context/hubspot.js +0 -191
  263. package/dist/core/context/twilio.d.ts +0 -50
  264. package/dist/core/context/twilio.js +0 -42
  265. package/dist/core/functions/define/case-context.d.ts +0 -14
  266. package/dist/core/functions/define/case-context.js +0 -15
  267. package/dist/core/functions/define/compute.d.ts +0 -7
  268. package/dist/core/functions/define/compute.js +0 -17
  269. package/dist/core/functions/define/custom.d.ts +0 -4
  270. package/dist/core/functions/define/custom.js +0 -8
  271. package/dist/core/functions/define/system.d.ts +0 -7
  272. package/dist/core/functions/define/system.js +0 -12
  273. package/dist/core/functions/func-ref.d.ts +0 -16
  274. package/dist/core/functions/func-ref.js +0 -20
  275. package/dist/core/slot/deps.d.ts +0 -15
  276. package/dist/core/slot/deps.js +0 -88
  277. package/dist/core/slot/derived.d.ts +0 -32
  278. package/dist/core/slot/derived.js +0 -115
  279. package/dist/core/slot/platform-session-fields.d.ts +0 -38
  280. package/dist/core/slot/platform-session-fields.js +0 -48
  281. package/dist/core/slot/sf-schema.d.ts +0 -23
  282. package/dist/core/slot/sf-schema.js +0 -125
  283. package/dist/core/slot/sf-validate.d.ts +0 -14
  284. package/dist/core/slot/sf-validate.js +0 -132
  285. package/dist/core/slot/snapshot.d.ts +0 -18
  286. package/dist/core/slot/snapshot.js +0 -138
  287. package/dist/core/slot/write.d.ts +0 -48
  288. package/dist/core/slot/write.js +0 -426
  289. package/dist/core/stage/builders.d.ts +0 -54
  290. package/dist/core/stage/builders.js +0 -31
  291. package/dist/core/stage/condition.d.ts +0 -17
  292. package/dist/core/stage/condition.js +0 -198
  293. package/dist/core/stage/drive.d.ts +0 -43
  294. package/dist/core/stage/drive.js +0 -78
  295. package/dist/core/stage/finish-when.d.ts +0 -20
  296. package/dist/core/stage/finish-when.js +0 -82
  297. package/dist/core/stage/flatten.d.ts +0 -27
  298. package/dist/core/stage/flatten.js +0 -466
  299. package/dist/core/stage/index.d.ts +0 -15
  300. package/dist/core/stage/index.js +0 -13
  301. package/dist/core/stage/interrupts.d.ts +0 -28
  302. package/dist/core/stage/interrupts.js +0 -120
  303. package/dist/core/stage/ivr-fields.d.ts +0 -9
  304. package/dist/core/stage/ivr-fields.js +0 -75
  305. package/dist/core/stage/simulate.d.ts +0 -24
  306. package/dist/core/stage/simulate.js +0 -33
  307. package/dist/core/stage/transfer-fields.d.ts +0 -19
  308. package/dist/core/stage/transfer-fields.js +0 -129
  309. package/dist/core/stage/transfer-spec.d.ts +0 -48
  310. package/dist/core/stage/transfer-spec.js +0 -113
  311. package/dist/core/stage/types.d.ts +0 -208
  312. package/dist/core/stage/types.js +0 -2
  313. package/dist/core/stage/validate.d.ts +0 -11
  314. package/dist/core/stage/validate.js +0 -330
  315. package/dist/core/stage/walk.d.ts +0 -39
  316. package/dist/core/stage/walk.js +0 -119
  317. package/dist/fn-context/rpc/integration/list-bindings.d.ts +0 -21
  318. package/dist/fn-context/system-args.d.ts +0 -6
  319. package/dist/fn-context/system-args.js +0 -14
@@ -1,134 +0,0 @@
1
- import { z } from 'zod';
2
- import type { IntegrationAccountFields } from './account-fields.js';
3
- export declare const docusignListTemplatesOutput: z.ZodArray<z.ZodObject<{
4
- templateId: z.ZodString;
5
- name: z.ZodOptional<z.ZodString>;
6
- description: z.ZodOptional<z.ZodString>;
7
- }, z.core.$strip>>;
8
- export type DocusignListTemplatesOutput = z.infer<typeof docusignListTemplatesOutput>;
9
- export declare const docusignCreateEnvelopeFromTemplateInput: z.ZodObject<{
10
- templateId: z.ZodString;
11
- signerEmail: z.ZodString;
12
- signerName: z.ZodString;
13
- roleName: z.ZodOptional<z.ZodString>;
14
- clientUserId: z.ZodOptional<z.ZodString>;
15
- additionalFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
16
- emailSubject: z.ZodOptional<z.ZodString>;
17
- emailBlurb: z.ZodOptional<z.ZodString>;
18
- }, z.core.$strip>;
19
- export type DocusignCreateEnvelopeFromTemplateInput = z.infer<typeof docusignCreateEnvelopeFromTemplateInput>;
20
- export declare const docusignCreateEnvelopeFromTemplateOutput: z.ZodObject<{
21
- envelopeId: z.ZodString;
22
- status: z.ZodOptional<z.ZodString>;
23
- statusDateTime: z.ZodOptional<z.ZodString>;
24
- }, z.core.$strip>;
25
- export type DocusignCreateEnvelopeFromTemplateOutput = z.infer<typeof docusignCreateEnvelopeFromTemplateOutput>;
26
- export declare const docusignCreateRecipientViewFromTemplateInput: z.ZodObject<{
27
- templateId: z.ZodString;
28
- signerEmail: z.ZodString;
29
- signerName: z.ZodString;
30
- returnUrl: z.ZodString;
31
- }, z.core.$strip>;
32
- export type DocusignCreateRecipientViewFromTemplateInput = z.infer<typeof docusignCreateRecipientViewFromTemplateInput>;
33
- export declare const docusignCreateRecipientViewFromTemplateOutput: z.ZodObject<{
34
- envelopeId: z.ZodString;
35
- url: z.ZodString;
36
- }, z.core.$strip>;
37
- export type DocusignCreateRecipientViewFromTemplateOutput = z.infer<typeof docusignCreateRecipientViewFromTemplateOutput>;
38
- export declare const docusignEnvelopeIdInput: z.ZodObject<{
39
- envelopeId: z.ZodString;
40
- }, z.core.$strip>;
41
- export type DocusignEnvelopeIdInput = z.infer<typeof docusignEnvelopeIdInput>;
42
- export declare const docusignGetEnvelopeStatusOutput: z.ZodObject<{
43
- envelopeId: z.ZodString;
44
- status: z.ZodOptional<z.ZodString>;
45
- statusDateTime: z.ZodOptional<z.ZodString>;
46
- emailSubject: z.ZodOptional<z.ZodString>;
47
- sentDateTime: z.ZodOptional<z.ZodString>;
48
- completedDateTime: z.ZodOptional<z.ZodString>;
49
- }, z.core.$strip>;
50
- export type DocusignGetEnvelopeStatusOutput = z.infer<typeof docusignGetEnvelopeStatusOutput>;
51
- export declare const docusignGetEnvelopeSigningStatusOutput: z.ZodObject<{
52
- envelopeId: z.ZodString;
53
- status: z.ZodOptional<z.ZodString>;
54
- signed: z.ZodBoolean;
55
- completedDateTime: z.ZodOptional<z.ZodString>;
56
- }, z.core.$strip>;
57
- export type DocusignGetEnvelopeSigningStatusOutput = z.infer<typeof docusignGetEnvelopeSigningStatusOutput>;
58
- export declare const docusignRecipient: z.ZodObject<{
59
- recipientId: z.ZodOptional<z.ZodString>;
60
- email: z.ZodOptional<z.ZodString>;
61
- name: z.ZodOptional<z.ZodString>;
62
- status: z.ZodOptional<z.ZodString>;
63
- }, z.core.$strip>;
64
- export type DocusignRecipient = z.infer<typeof docusignRecipient>;
65
- export declare const docusignGetEnvelopeRecipientsOutput: z.ZodObject<{
66
- signers: z.ZodArray<z.ZodObject<{
67
- recipientId: z.ZodOptional<z.ZodString>;
68
- email: z.ZodOptional<z.ZodString>;
69
- name: z.ZodOptional<z.ZodString>;
70
- status: z.ZodOptional<z.ZodString>;
71
- }, z.core.$strip>>;
72
- }, z.core.$strip>;
73
- export type DocusignGetEnvelopeRecipientsOutput = z.infer<typeof docusignGetEnvelopeRecipientsOutput>;
74
- export declare const docusignListRecentEnvelopesInput: z.ZodObject<{
75
- limit: z.ZodOptional<z.ZodNumber>;
76
- }, z.core.$strip>;
77
- export type DocusignListRecentEnvelopesInput = z.infer<typeof docusignListRecentEnvelopesInput>;
78
- export declare const docusignRecentEnvelope: z.ZodObject<{
79
- envelopeId: z.ZodString;
80
- status: z.ZodOptional<z.ZodString>;
81
- statusDateTime: z.ZodOptional<z.ZodString>;
82
- sentDateTime: z.ZodOptional<z.ZodString>;
83
- completedDateTime: z.ZodOptional<z.ZodString>;
84
- emailSubject: z.ZodOptional<z.ZodString>;
85
- recipients: z.ZodArray<z.ZodObject<{
86
- email: z.ZodOptional<z.ZodString>;
87
- name: z.ZodOptional<z.ZodString>;
88
- status: z.ZodOptional<z.ZodString>;
89
- }, z.core.$strip>>;
90
- }, z.core.$strip>;
91
- export type DocusignRecentEnvelope = z.infer<typeof docusignRecentEnvelope>;
92
- export declare const docusignListRecentEnvelopesOutput: z.ZodArray<z.ZodObject<{
93
- envelopeId: z.ZodString;
94
- status: z.ZodOptional<z.ZodString>;
95
- statusDateTime: z.ZodOptional<z.ZodString>;
96
- sentDateTime: z.ZodOptional<z.ZodString>;
97
- completedDateTime: z.ZodOptional<z.ZodString>;
98
- emailSubject: z.ZodOptional<z.ZodString>;
99
- recipients: z.ZodArray<z.ZodObject<{
100
- email: z.ZodOptional<z.ZodString>;
101
- name: z.ZodOptional<z.ZodString>;
102
- status: z.ZodOptional<z.ZodString>;
103
- }, z.core.$strip>>;
104
- }, z.core.$strip>>;
105
- export type DocusignListRecentEnvelopesOutput = z.infer<typeof docusignListRecentEnvelopesOutput>;
106
- export declare const docusignSearchEnvelopesByEmailInput: z.ZodObject<{
107
- email: z.ZodString;
108
- fromDate: z.ZodOptional<z.ZodString>;
109
- }, z.core.$strip>;
110
- export type DocusignSearchEnvelopesByEmailInput = z.infer<typeof docusignSearchEnvelopesByEmailInput>;
111
- export declare const docusignSearchEnvelopesByEmailOutput: z.ZodObject<{
112
- envelopes: z.ZodArray<z.ZodObject<{
113
- envelopeId: z.ZodString;
114
- status: z.ZodOptional<z.ZodString>;
115
- statusDateTime: z.ZodOptional<z.ZodString>;
116
- emailSubject: z.ZodOptional<z.ZodString>;
117
- sentDateTime: z.ZodOptional<z.ZodString>;
118
- completedDateTime: z.ZodOptional<z.ZodString>;
119
- }, z.core.$strip>>;
120
- }, z.core.$strip>;
121
- export type DocusignSearchEnvelopesByEmailOutput = z.infer<typeof docusignSearchEnvelopesByEmailOutput>;
122
- export type DocusignService = {
123
- listTemplates(): Promise<DocusignListTemplatesOutput>;
124
- createEnvelopeFromTemplate(input: DocusignCreateEnvelopeFromTemplateInput): Promise<DocusignCreateEnvelopeFromTemplateOutput>;
125
- createRecipientViewFromTemplate(input: DocusignCreateRecipientViewFromTemplateInput): Promise<DocusignCreateRecipientViewFromTemplateOutput>;
126
- getEnvelopeStatus(input: DocusignEnvelopeIdInput): Promise<DocusignGetEnvelopeStatusOutput>;
127
- getEnvelopeSigningStatus(input: DocusignEnvelopeIdInput): Promise<DocusignGetEnvelopeSigningStatusOutput>;
128
- getEnvelopeRecipients(input: DocusignEnvelopeIdInput): Promise<DocusignGetEnvelopeRecipientsOutput>;
129
- listRecentEnvelopes(input: DocusignListRecentEnvelopesInput): Promise<DocusignListRecentEnvelopesOutput>;
130
- searchEnvelopesByEmail(input: DocusignSearchEnvelopesByEmailInput): Promise<DocusignSearchEnvelopesByEmailOutput>;
131
- };
132
- export declare const docusignMockService: DocusignService;
133
- export type DocusignApi = IntegrationAccountFields & DocusignService;
134
- //# sourceMappingURL=docusign.d.ts.map
@@ -1,108 +0,0 @@
1
- import { z } from 'zod';
2
- export const docusignListTemplatesOutput = z.array(z.object({
3
- templateId: z.string(),
4
- name: z.string().optional(),
5
- description: z.string().optional(),
6
- }));
7
- export const docusignCreateEnvelopeFromTemplateInput = z.object({
8
- templateId: z.string(),
9
- signerEmail: z.string(),
10
- signerName: z.string(),
11
- roleName: z.string().optional(),
12
- clientUserId: z.string().optional(),
13
- additionalFields: z.record(z.string(), z.string()).optional(),
14
- emailSubject: z.string().optional(),
15
- emailBlurb: z.string().optional(),
16
- });
17
- export const docusignCreateEnvelopeFromTemplateOutput = z.object({
18
- envelopeId: z.string(),
19
- status: z.string().optional(),
20
- statusDateTime: z.string().optional(),
21
- });
22
- export const docusignCreateRecipientViewFromTemplateInput = z.object({
23
- templateId: z.string(),
24
- signerEmail: z.string(),
25
- signerName: z.string(),
26
- returnUrl: z.string(),
27
- });
28
- export const docusignCreateRecipientViewFromTemplateOutput = z.object({
29
- envelopeId: z.string(),
30
- url: z.string(),
31
- });
32
- export const docusignEnvelopeIdInput = z.object({
33
- envelopeId: z.string(),
34
- });
35
- export const docusignGetEnvelopeStatusOutput = z.object({
36
- envelopeId: z.string(),
37
- status: z.string().optional(),
38
- statusDateTime: z.string().optional(),
39
- emailSubject: z.string().optional(),
40
- sentDateTime: z.string().optional(),
41
- completedDateTime: z.string().optional(),
42
- });
43
- export const docusignGetEnvelopeSigningStatusOutput = z.object({
44
- envelopeId: z.string(),
45
- status: z.string().optional(),
46
- signed: z.boolean(),
47
- completedDateTime: z.string().optional(),
48
- });
49
- export const docusignRecipient = z.object({
50
- recipientId: z.string().optional(),
51
- email: z.string().optional(),
52
- name: z.string().optional(),
53
- status: z.string().optional(),
54
- });
55
- export const docusignGetEnvelopeRecipientsOutput = z.object({
56
- signers: z.array(docusignRecipient),
57
- });
58
- export const docusignListRecentEnvelopesInput = z.object({
59
- limit: z.number().optional(),
60
- });
61
- export const docusignRecentEnvelope = z.object({
62
- envelopeId: z.string(),
63
- status: z.string().optional(),
64
- statusDateTime: z.string().optional(),
65
- sentDateTime: z.string().optional(),
66
- completedDateTime: z.string().optional(),
67
- emailSubject: z.string().optional(),
68
- recipients: z.array(z.object({
69
- email: z.string().optional(),
70
- name: z.string().optional(),
71
- status: z.string().optional(),
72
- })),
73
- });
74
- export const docusignListRecentEnvelopesOutput = z.array(docusignRecentEnvelope);
75
- export const docusignSearchEnvelopesByEmailInput = z.object({
76
- email: z.string(),
77
- fromDate: z.string().optional(),
78
- });
79
- export const docusignSearchEnvelopesByEmailOutput = z.object({
80
- envelopes: z.array(docusignGetEnvelopeStatusOutput),
81
- });
82
- export const docusignMockService = {
83
- async listTemplates() {
84
- return [];
85
- },
86
- async createEnvelopeFromTemplate() {
87
- return { envelopeId: 'mock-ds-envelope', status: 'sent' };
88
- },
89
- async createRecipientViewFromTemplate() {
90
- return { envelopeId: 'mock-ds-envelope', url: 'https://demo.docusign.net/signing/mock' };
91
- },
92
- async getEnvelopeStatus() {
93
- return { envelopeId: 'mock-ds-envelope', status: 'sent' };
94
- },
95
- async getEnvelopeSigningStatus() {
96
- return { envelopeId: 'mock-ds-envelope', status: 'sent', signed: false };
97
- },
98
- async getEnvelopeRecipients() {
99
- return { signers: [] };
100
- },
101
- async listRecentEnvelopes() {
102
- return [];
103
- },
104
- async searchEnvelopesByEmail() {
105
- return { envelopes: [] };
106
- },
107
- };
108
- //# sourceMappingURL=docusign.js.map
@@ -1,323 +0,0 @@
1
- import { z } from 'zod';
2
- import type { IntegrationAccountFields } from './account-fields.js';
3
- export declare const filevineProperties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
4
- export type FilevineProperties = z.infer<typeof filevineProperties>;
5
- export declare const filevineRecord: z.ZodObject<{
6
- id: z.ZodString;
7
- properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
8
- }, z.core.$strip>;
9
- export type FilevineRecord = z.infer<typeof filevineRecord>;
10
- export declare const filevineCreateContactInput: z.ZodObject<{
11
- firstName: z.ZodString;
12
- lastName: z.ZodString;
13
- email: z.ZodOptional<z.ZodString>;
14
- phone: z.ZodOptional<z.ZodString>;
15
- }, z.core.$strip>;
16
- export type FilevineCreateContactInput = z.infer<typeof filevineCreateContactInput>;
17
- export declare const filevineCreateContactOutput: z.ZodObject<{
18
- id: z.ZodString;
19
- }, z.core.$strip>;
20
- export type FilevineCreateContactOutput = z.infer<typeof filevineCreateContactOutput>;
21
- export declare const filevineUpdateContactInput: z.ZodObject<{
22
- id: z.ZodString;
23
- firstName: z.ZodOptional<z.ZodString>;
24
- lastName: z.ZodOptional<z.ZodString>;
25
- email: z.ZodOptional<z.ZodString>;
26
- phone: z.ZodOptional<z.ZodString>;
27
- }, z.core.$strip>;
28
- export type FilevineUpdateContactInput = z.infer<typeof filevineUpdateContactInput>;
29
- export declare const filevineUpdateContactOutput: z.ZodObject<{
30
- id: z.ZodString;
31
- properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
32
- }, z.core.$strip>;
33
- export type FilevineUpdateContactOutput = FilevineRecord;
34
- export declare const filevineGetContactInput: z.ZodObject<{
35
- id: z.ZodString;
36
- properties: z.ZodOptional<z.ZodArray<z.ZodString>>;
37
- }, z.core.$strip>;
38
- export type FilevineGetContactInput = z.infer<typeof filevineGetContactInput>;
39
- export declare const filevineGetContactOutput: z.ZodObject<{
40
- id: z.ZodString;
41
- properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
42
- }, z.core.$strip>;
43
- export type FilevineGetContactOutput = FilevineRecord;
44
- export declare const filevineSearchContactsInput: z.ZodObject<{
45
- email: z.ZodOptional<z.ZodString>;
46
- firstName: z.ZodOptional<z.ZodString>;
47
- lastName: z.ZodOptional<z.ZodString>;
48
- fullName: z.ZodOptional<z.ZodString>;
49
- phone: z.ZodOptional<z.ZodString>;
50
- searchTerm: z.ZodOptional<z.ZodString>;
51
- limit: z.ZodOptional<z.ZodNumber>;
52
- offset: z.ZodOptional<z.ZodNumber>;
53
- }, z.core.$strip>;
54
- export type FilevineSearchContactsInput = z.infer<typeof filevineSearchContactsInput>;
55
- export declare const filevineSearchContactsOutput: z.ZodObject<{
56
- results: z.ZodArray<z.ZodObject<{
57
- id: z.ZodString;
58
- properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
59
- }, z.core.$strip>>;
60
- count: z.ZodNumber;
61
- hasMore: z.ZodBoolean;
62
- offset: z.ZodOptional<z.ZodNumber>;
63
- }, z.core.$strip>;
64
- export type FilevineSearchContactsOutput = z.infer<typeof filevineSearchContactsOutput>;
65
- export declare const filevineTeamInput: z.ZodObject<{
66
- teamId: z.ZodString;
67
- userIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
68
- }, z.core.$strip>;
69
- export declare const filevineCreateProjectInput: z.ZodObject<{
70
- projectTypeId: z.ZodString;
71
- clientId: z.ZodString;
72
- phaseId: z.ZodString;
73
- projectName: z.ZodOptional<z.ZodString>;
74
- description: z.ZodOptional<z.ZodString>;
75
- teams: z.ZodOptional<z.ZodArray<z.ZodObject<{
76
- teamId: z.ZodString;
77
- userIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
78
- }, z.core.$strip>>>;
79
- }, z.core.$strip>;
80
- export type FilevineCreateProjectInput = z.infer<typeof filevineCreateProjectInput>;
81
- export declare const filevineCreateProjectOutput: z.ZodObject<{
82
- id: z.ZodString;
83
- }, z.core.$strip>;
84
- export type FilevineCreateProjectOutput = z.infer<typeof filevineCreateProjectOutput>;
85
- export declare const filevineUpdateProjectInput: z.ZodObject<{
86
- id: z.ZodString;
87
- properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
88
- }, z.core.$strip>;
89
- export type FilevineUpdateProjectInput = z.infer<typeof filevineUpdateProjectInput>;
90
- export declare const filevineUpdateProjectOutput: z.ZodObject<{
91
- id: z.ZodString;
92
- properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
93
- }, z.core.$strip>;
94
- export type FilevineUpdateProjectOutput = FilevineRecord;
95
- export declare const filevineGetProjectInput: z.ZodObject<{
96
- id: z.ZodString;
97
- properties: z.ZodOptional<z.ZodArray<z.ZodString>>;
98
- }, z.core.$strip>;
99
- export type FilevineGetProjectInput = z.infer<typeof filevineGetProjectInput>;
100
- export declare const filevineGetProjectOutput: z.ZodObject<{
101
- id: z.ZodString;
102
- properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
103
- }, z.core.$strip>;
104
- export type FilevineGetProjectOutput = FilevineRecord;
105
- export declare const filevineGetAssociatedProjectsInput: z.ZodObject<{
106
- contactId: z.ZodString;
107
- properties: z.ZodOptional<z.ZodArray<z.ZodString>>;
108
- }, z.core.$strip>;
109
- export type FilevineGetAssociatedProjectsInput = z.infer<typeof filevineGetAssociatedProjectsInput>;
110
- export declare const filevineGetAssociatedProjectsOutput: z.ZodObject<{
111
- results: z.ZodArray<z.ZodObject<{
112
- id: z.ZodString;
113
- properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
114
- }, z.core.$strip>>;
115
- }, z.core.$strip>;
116
- export type FilevineGetAssociatedProjectsOutput = z.infer<typeof filevineGetAssociatedProjectsOutput>;
117
- export declare const filevineCreateNoteInput: z.ZodObject<{
118
- projectId: z.ZodString;
119
- body: z.ZodString;
120
- }, z.core.$strip>;
121
- export type FilevineCreateNoteInput = z.infer<typeof filevineCreateNoteInput>;
122
- export declare const filevineNoteOutput: z.ZodObject<{
123
- id: z.ZodString;
124
- }, z.core.$strip>;
125
- export type FilevineNoteOutput = z.infer<typeof filevineNoteOutput>;
126
- export declare const filevineCreateCommentInput: z.ZodObject<{
127
- noteId: z.ZodString;
128
- projectId: z.ZodString;
129
- body: z.ZodString;
130
- documentId: z.ZodOptional<z.ZodString>;
131
- }, z.core.$strip>;
132
- export type FilevineCreateCommentInput = z.infer<typeof filevineCreateCommentInput>;
133
- export declare const filevineCommentOutput: z.ZodObject<{
134
- id: z.ZodString;
135
- }, z.core.$strip>;
136
- export type FilevineCommentOutput = z.infer<typeof filevineCommentOutput>;
137
- export declare const filevineCreateNoteWithCommentInput: z.ZodObject<{
138
- projectId: z.ZodString;
139
- noteTitle: z.ZodString;
140
- commentContent: z.ZodString;
141
- }, z.core.$strip>;
142
- export type FilevineCreateNoteWithCommentInput = z.infer<typeof filevineCreateNoteWithCommentInput>;
143
- export declare const filevineCreateNoteWithCommentOutput: z.ZodObject<{
144
- noteId: z.ZodString;
145
- commentId: z.ZodString;
146
- }, z.core.$strip>;
147
- export type FilevineCreateNoteWithCommentOutput = z.infer<typeof filevineCreateNoteWithCommentOutput>;
148
- export declare const filevineLogCallInput: z.ZodObject<{
149
- projectId: z.ZodString;
150
- title: z.ZodString;
151
- body: z.ZodString;
152
- }, z.core.$strip>;
153
- export type FilevineLogCallInput = z.infer<typeof filevineLogCallInput>;
154
- export declare const filevineLogSmsInput: z.ZodObject<{
155
- projectId: z.ZodString;
156
- sendFrom: z.ZodString;
157
- message: z.ZodString;
158
- }, z.core.$strip>;
159
- export type FilevineLogSmsInput = z.infer<typeof filevineLogSmsInput>;
160
- export declare const filevineLogEmailInput: z.ZodObject<{
161
- projectId: z.ZodString;
162
- sendFrom: z.ZodString;
163
- message: z.ZodString;
164
- }, z.core.$strip>;
165
- export type FilevineLogEmailInput = z.infer<typeof filevineLogEmailInput>;
166
- export declare const filevineUploadDocumentInput: z.ZodObject<{
167
- projectId: z.ZodString;
168
- filename: z.ZodString;
169
- fileData: z.ZodString;
170
- hashtags: z.ZodOptional<z.ZodArray<z.ZodString>>;
171
- }, z.core.$strip>;
172
- export type FilevineUploadDocumentInput = z.infer<typeof filevineUploadDocumentInput>;
173
- export declare const filevineUploadDocumentOutput: z.ZodObject<{
174
- id: z.ZodString;
175
- }, z.core.$strip>;
176
- export type FilevineUploadDocumentOutput = z.infer<typeof filevineUploadDocumentOutput>;
177
- export declare const filevineCollectionItemInput: z.ZodObject<{
178
- dataObject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
179
- itemId: z.ZodOptional<z.ZodString>;
180
- links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
181
- createdDate: z.ZodOptional<z.ZodString>;
182
- }, z.core.$strip>;
183
- export type FilevineCollectionItemInput = z.infer<typeof filevineCollectionItemInput>;
184
- export declare const filevineGetProjectCollectionItemsInput: z.ZodObject<{
185
- projectId: z.ZodString;
186
- selector: z.ZodString;
187
- properties: z.ZodOptional<z.ZodArray<z.ZodString>>;
188
- limit: z.ZodOptional<z.ZodNumber>;
189
- offset: z.ZodOptional<z.ZodNumber>;
190
- }, z.core.$strip>;
191
- export type FilevineGetProjectCollectionItemsInput = z.infer<typeof filevineGetProjectCollectionItemsInput>;
192
- export declare const filevineGetProjectCollectionItemsOutput: z.ZodObject<{
193
- results: z.ZodArray<z.ZodObject<{
194
- id: z.ZodString;
195
- properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
196
- }, z.core.$strip>>;
197
- count: z.ZodOptional<z.ZodNumber>;
198
- hasMore: z.ZodOptional<z.ZodBoolean>;
199
- offset: z.ZodOptional<z.ZodNumber>;
200
- }, z.core.$strip>;
201
- export type FilevineGetProjectCollectionItemsOutput = z.infer<typeof filevineGetProjectCollectionItemsOutput>;
202
- export declare const filevineGetProjectCollectionItemInput: z.ZodObject<{
203
- projectId: z.ZodString;
204
- selector: z.ZodString;
205
- uniqueId: z.ZodString;
206
- properties: z.ZodOptional<z.ZodArray<z.ZodString>>;
207
- }, z.core.$strip>;
208
- export type FilevineGetProjectCollectionItemInput = z.infer<typeof filevineGetProjectCollectionItemInput>;
209
- export declare const filevineGetProjectCollectionItemOutput: z.ZodObject<{
210
- id: z.ZodString;
211
- properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
212
- }, z.core.$strip>;
213
- export type FilevineGetProjectCollectionItemOutput = FilevineRecord;
214
- export declare const filevineCreateProjectCollectionItemInput: z.ZodObject<{
215
- projectId: z.ZodString;
216
- selector: z.ZodString;
217
- item: z.ZodObject<{
218
- dataObject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
219
- itemId: z.ZodOptional<z.ZodString>;
220
- links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
221
- createdDate: z.ZodOptional<z.ZodString>;
222
- }, z.core.$strip>;
223
- }, z.core.$strip>;
224
- export type FilevineCreateProjectCollectionItemInput = z.infer<typeof filevineCreateProjectCollectionItemInput>;
225
- export declare const filevineCreateProjectCollectionItemOutput: z.ZodObject<{
226
- id: z.ZodString;
227
- properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
228
- }, z.core.$strip>;
229
- export type FilevineCreateProjectCollectionItemOutput = FilevineRecord;
230
- export declare const filevineUpdateProjectCollectionItemInput: z.ZodObject<{
231
- projectId: z.ZodString;
232
- selector: z.ZodString;
233
- uniqueId: z.ZodString;
234
- item: z.ZodObject<{
235
- dataObject: z.ZodRecord<z.ZodString, z.ZodUnknown>;
236
- itemId: z.ZodOptional<z.ZodString>;
237
- links: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
238
- createdDate: z.ZodOptional<z.ZodString>;
239
- }, z.core.$strip>;
240
- }, z.core.$strip>;
241
- export type FilevineUpdateProjectCollectionItemInput = z.infer<typeof filevineUpdateProjectCollectionItemInput>;
242
- export declare const filevineUpdateProjectCollectionItemOutput: z.ZodObject<{
243
- id: z.ZodString;
244
- properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
245
- }, z.core.$strip>;
246
- export type FilevineUpdateProjectCollectionItemOutput = FilevineRecord;
247
- export declare const filevineDeleteProjectCollectionItemInput: z.ZodObject<{
248
- projectId: z.ZodString;
249
- selector: z.ZodString;
250
- uniqueId: z.ZodString;
251
- }, z.core.$strip>;
252
- export type FilevineDeleteProjectCollectionItemInput = z.infer<typeof filevineDeleteProjectCollectionItemInput>;
253
- export declare const filevineDeleteProjectCollectionItemOutput: z.ZodObject<{
254
- ok: z.ZodLiteral<true>;
255
- }, z.core.$strip>;
256
- export type FilevineDeleteProjectCollectionItemOutput = z.infer<typeof filevineDeleteProjectCollectionItemOutput>;
257
- export declare const filevineGetProjectFoldersInput: z.ZodObject<{
258
- projectId: z.ZodString;
259
- }, z.core.$strip>;
260
- export type FilevineGetProjectFoldersInput = z.infer<typeof filevineGetProjectFoldersInput>;
261
- export declare const filevineFolder: z.ZodObject<{
262
- id: z.ZodString;
263
- name: z.ZodString;
264
- parentId: z.ZodNullable<z.ZodString>;
265
- }, z.core.$strip>;
266
- export type FilevineFolder = z.infer<typeof filevineFolder>;
267
- export declare const filevineGetProjectFoldersOutput: z.ZodObject<{
268
- results: z.ZodArray<z.ZodObject<{
269
- id: z.ZodString;
270
- name: z.ZodString;
271
- parentId: z.ZodNullable<z.ZodString>;
272
- }, z.core.$strip>>;
273
- }, z.core.$strip>;
274
- export type FilevineGetProjectFoldersOutput = z.infer<typeof filevineGetProjectFoldersOutput>;
275
- export declare const filevineAddHashtagToProjectInput: z.ZodObject<{
276
- projectId: z.ZodString;
277
- hashtag: z.ZodString;
278
- }, z.core.$strip>;
279
- export type FilevineAddHashtagToProjectInput = z.infer<typeof filevineAddHashtagToProjectInput>;
280
- export declare const filevineAddHashtagToProjectOutput: z.ZodObject<{
281
- ok: z.ZodLiteral<true>;
282
- }, z.core.$strip>;
283
- export type FilevineAddHashtagToProjectOutput = z.infer<typeof filevineAddHashtagToProjectOutput>;
284
- export declare const filevineGetCrmUrlInput: z.ZodObject<{
285
- type: z.ZodEnum<{
286
- contact: "contact";
287
- project: "project";
288
- }>;
289
- id: z.ZodString;
290
- }, z.core.$strip>;
291
- export type FilevineGetCrmUrlInput = z.infer<typeof filevineGetCrmUrlInput>;
292
- export declare const filevineGetCrmUrlOutput: z.ZodObject<{
293
- url: z.ZodString;
294
- }, z.core.$strip>;
295
- export type FilevineGetCrmUrlOutput = z.infer<typeof filevineGetCrmUrlOutput>;
296
- export type FilevineService = {
297
- createContact(input: FilevineCreateContactInput): Promise<FilevineCreateContactOutput>;
298
- updateContact(input: FilevineUpdateContactInput): Promise<FilevineUpdateContactOutput>;
299
- getContact(input: FilevineGetContactInput): Promise<FilevineGetContactOutput>;
300
- searchContacts(input: FilevineSearchContactsInput): Promise<FilevineSearchContactsOutput>;
301
- createProject(input: FilevineCreateProjectInput): Promise<FilevineCreateProjectOutput>;
302
- updateProject(input: FilevineUpdateProjectInput): Promise<FilevineUpdateProjectOutput>;
303
- getProject(input: FilevineGetProjectInput): Promise<FilevineGetProjectOutput>;
304
- getAssociatedProjects(input: FilevineGetAssociatedProjectsInput): Promise<FilevineGetAssociatedProjectsOutput>;
305
- createNote(input: FilevineCreateNoteInput): Promise<FilevineNoteOutput>;
306
- createComment(input: FilevineCreateCommentInput): Promise<FilevineCommentOutput>;
307
- createNoteWithComment(input: FilevineCreateNoteWithCommentInput): Promise<FilevineCreateNoteWithCommentOutput>;
308
- logCall(input: FilevineLogCallInput): Promise<FilevineNoteOutput>;
309
- logSms(input: FilevineLogSmsInput): Promise<FilevineNoteOutput>;
310
- logEmail(input: FilevineLogEmailInput): Promise<FilevineNoteOutput>;
311
- uploadDocument(input: FilevineUploadDocumentInput): Promise<FilevineUploadDocumentOutput>;
312
- getProjectCollectionItems(input: FilevineGetProjectCollectionItemsInput): Promise<FilevineGetProjectCollectionItemsOutput>;
313
- getProjectCollectionItem(input: FilevineGetProjectCollectionItemInput): Promise<FilevineGetProjectCollectionItemOutput>;
314
- createProjectCollectionItem(input: FilevineCreateProjectCollectionItemInput): Promise<FilevineCreateProjectCollectionItemOutput>;
315
- updateProjectCollectionItem(input: FilevineUpdateProjectCollectionItemInput): Promise<FilevineUpdateProjectCollectionItemOutput>;
316
- deleteProjectCollectionItem(input: FilevineDeleteProjectCollectionItemInput): Promise<FilevineDeleteProjectCollectionItemOutput>;
317
- getProjectFolders(input: FilevineGetProjectFoldersInput): Promise<FilevineGetProjectFoldersOutput>;
318
- addHashtagToProject(input: FilevineAddHashtagToProjectInput): Promise<FilevineAddHashtagToProjectOutput>;
319
- getCrmUrl(input: FilevineGetCrmUrlInput): Promise<FilevineGetCrmUrlOutput>;
320
- };
321
- export declare const filevineMockService: FilevineService;
322
- export type FilevineApi = IntegrationAccountFields & FilevineService;
323
- //# sourceMappingURL=filevine.d.ts.map