@mackenly/planningcenterkit 0.4.42 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (422) hide show
  1. package/README.md +472 -31
  2. package/dist/cjs/client.d.ts +145 -0
  3. package/dist/cjs/client.d.ts.map +1 -0
  4. package/dist/cjs/client.js +176 -0
  5. package/dist/cjs/client.js.map +1 -0
  6. package/dist/cjs/core/auth.d.ts +105 -0
  7. package/dist/cjs/core/auth.d.ts.map +1 -0
  8. package/dist/cjs/core/auth.js +219 -0
  9. package/dist/cjs/core/auth.js.map +1 -0
  10. package/dist/cjs/core/errors.d.ts +145 -0
  11. package/dist/cjs/core/errors.d.ts.map +1 -0
  12. package/dist/cjs/core/errors.js +202 -0
  13. package/dist/cjs/core/errors.js.map +1 -0
  14. package/dist/cjs/core/graph.d.ts +110 -0
  15. package/dist/cjs/core/graph.d.ts.map +1 -0
  16. package/dist/cjs/core/graph.js +14 -0
  17. package/dist/cjs/core/graph.js.map +1 -0
  18. package/dist/cjs/core/http.d.ts +147 -0
  19. package/dist/cjs/core/http.d.ts.map +1 -0
  20. package/dist/cjs/core/http.js +478 -0
  21. package/dist/cjs/core/http.js.map +1 -0
  22. package/dist/cjs/core/jsonapi.d.ts +65 -0
  23. package/dist/cjs/core/jsonapi.d.ts.map +1 -0
  24. package/dist/{types.js → cjs/core/jsonapi.js} +1 -2
  25. package/dist/cjs/core/jsonapi.js.map +1 -0
  26. package/dist/cjs/core/oauth.d.ts +202 -0
  27. package/dist/cjs/core/oauth.d.ts.map +1 -0
  28. package/dist/cjs/core/oauth.js +290 -0
  29. package/dist/cjs/core/oauth.js.map +1 -0
  30. package/dist/cjs/core/product.d.ts +78 -0
  31. package/dist/cjs/core/product.d.ts.map +1 -0
  32. package/dist/cjs/core/product.js +57 -0
  33. package/dist/cjs/core/product.js.map +1 -0
  34. package/dist/cjs/core/query.d.ts +489 -0
  35. package/dist/cjs/core/query.d.ts.map +1 -0
  36. package/dist/cjs/core/query.js +435 -0
  37. package/dist/cjs/core/query.js.map +1 -0
  38. package/dist/cjs/core/transport.d.ts +57 -0
  39. package/dist/cjs/core/transport.d.ts.map +1 -0
  40. package/dist/cjs/core/transport.js +7 -0
  41. package/dist/cjs/core/transport.js.map +1 -0
  42. package/dist/cjs/entries/api.d.ts +26 -0
  43. package/dist/cjs/entries/api.d.ts.map +1 -0
  44. package/dist/cjs/entries/api.js +40 -0
  45. package/dist/cjs/entries/api.js.map +1 -0
  46. package/dist/cjs/entries/calendar.d.ts +26 -0
  47. package/dist/cjs/entries/calendar.d.ts.map +1 -0
  48. package/dist/cjs/entries/calendar.js +40 -0
  49. package/dist/cjs/entries/calendar.js.map +1 -0
  50. package/dist/cjs/entries/check-ins.d.ts +26 -0
  51. package/dist/cjs/entries/check-ins.d.ts.map +1 -0
  52. package/dist/cjs/entries/check-ins.js +40 -0
  53. package/dist/cjs/entries/check-ins.js.map +1 -0
  54. package/dist/cjs/entries/current.d.ts +26 -0
  55. package/dist/cjs/entries/current.d.ts.map +1 -0
  56. package/dist/cjs/entries/current.js +40 -0
  57. package/dist/cjs/entries/current.js.map +1 -0
  58. package/dist/cjs/entries/giving.d.ts +26 -0
  59. package/dist/cjs/entries/giving.d.ts.map +1 -0
  60. package/dist/cjs/entries/giving.js +40 -0
  61. package/dist/cjs/entries/giving.js.map +1 -0
  62. package/dist/cjs/entries/groups.d.ts +26 -0
  63. package/dist/cjs/entries/groups.d.ts.map +1 -0
  64. package/dist/cjs/entries/groups.js +40 -0
  65. package/dist/cjs/entries/groups.js.map +1 -0
  66. package/dist/cjs/entries/oauth.d.ts +8 -0
  67. package/dist/cjs/entries/oauth.d.ts.map +1 -0
  68. package/dist/cjs/entries/oauth.js +27 -0
  69. package/dist/cjs/entries/oauth.js.map +1 -0
  70. package/dist/cjs/entries/people.d.ts +26 -0
  71. package/dist/cjs/entries/people.d.ts.map +1 -0
  72. package/dist/cjs/entries/people.js +40 -0
  73. package/dist/cjs/entries/people.js.map +1 -0
  74. package/dist/cjs/entries/publishing.d.ts +26 -0
  75. package/dist/cjs/entries/publishing.d.ts.map +1 -0
  76. package/dist/cjs/entries/publishing.js +40 -0
  77. package/dist/cjs/entries/publishing.js.map +1 -0
  78. package/dist/cjs/entries/registrations.d.ts +26 -0
  79. package/dist/cjs/entries/registrations.d.ts.map +1 -0
  80. package/dist/cjs/entries/registrations.js +40 -0
  81. package/dist/cjs/entries/registrations.js.map +1 -0
  82. package/dist/cjs/entries/services.d.ts +26 -0
  83. package/dist/cjs/entries/services.d.ts.map +1 -0
  84. package/dist/cjs/entries/services.js +40 -0
  85. package/dist/cjs/entries/services.js.map +1 -0
  86. package/dist/cjs/entries/webhooks-api.d.ts +26 -0
  87. package/dist/cjs/entries/webhooks-api.d.ts.map +1 -0
  88. package/dist/cjs/entries/webhooks-api.js +40 -0
  89. package/dist/cjs/entries/webhooks-api.js.map +1 -0
  90. package/dist/cjs/entries/webhooks.d.ts +6 -0
  91. package/dist/cjs/entries/webhooks.d.ts.map +1 -0
  92. package/dist/cjs/entries/webhooks.js +22 -0
  93. package/dist/cjs/entries/webhooks.js.map +1 -0
  94. package/dist/cjs/generated/api.d.ts +426 -0
  95. package/dist/cjs/generated/api.d.ts.map +1 -0
  96. package/dist/cjs/generated/api.js +77 -0
  97. package/dist/cjs/generated/api.js.map +1 -0
  98. package/dist/cjs/generated/calendar.d.ts +2849 -0
  99. package/dist/cjs/generated/calendar.d.ts.map +1 -0
  100. package/dist/cjs/generated/calendar.js +299 -0
  101. package/dist/cjs/generated/calendar.js.map +1 -0
  102. package/dist/cjs/generated/check-ins.d.ts +2383 -0
  103. package/dist/cjs/generated/check-ins.d.ts.map +1 -0
  104. package/dist/cjs/generated/check-ins.js +298 -0
  105. package/dist/cjs/generated/check-ins.js.map +1 -0
  106. package/dist/cjs/generated/current.d.ts +135 -0
  107. package/dist/cjs/generated/current.d.ts.map +1 -0
  108. package/dist/cjs/generated/current.js +34 -0
  109. package/dist/cjs/generated/current.js.map +1 -0
  110. package/dist/cjs/generated/giving.d.ts +2309 -0
  111. package/dist/cjs/generated/giving.d.ts.map +1 -0
  112. package/dist/cjs/generated/giving.js +228 -0
  113. package/dist/cjs/generated/giving.js.map +1 -0
  114. package/dist/cjs/generated/groups.d.ts +1789 -0
  115. package/dist/cjs/generated/groups.d.ts.map +1 -0
  116. package/dist/cjs/generated/groups.js +200 -0
  117. package/dist/cjs/generated/groups.js.map +1 -0
  118. package/dist/cjs/generated/index.d.ts +5067 -0
  119. package/dist/cjs/generated/index.d.ts.map +1 -0
  120. package/dist/cjs/generated/index.js +73 -0
  121. package/dist/cjs/generated/index.js.map +1 -0
  122. package/dist/cjs/generated/people.d.ts +6001 -0
  123. package/dist/cjs/generated/people.d.ts.map +1 -0
  124. package/dist/cjs/generated/people.js +694 -0
  125. package/dist/cjs/generated/people.js.map +1 -0
  126. package/dist/cjs/generated/publishing.d.ts +1468 -0
  127. package/dist/cjs/generated/publishing.d.ts.map +1 -0
  128. package/dist/cjs/generated/publishing.js +180 -0
  129. package/dist/cjs/generated/publishing.js.map +1 -0
  130. package/dist/cjs/generated/registrations.d.ts +936 -0
  131. package/dist/cjs/generated/registrations.d.ts.map +1 -0
  132. package/dist/cjs/generated/registrations.js +122 -0
  133. package/dist/cjs/generated/registrations.js.map +1 -0
  134. package/dist/cjs/generated/services.d.ts +6301 -0
  135. package/dist/cjs/generated/services.d.ts.map +1 -0
  136. package/dist/cjs/generated/services.js +634 -0
  137. package/dist/cjs/generated/services.js.map +1 -0
  138. package/dist/cjs/generated/webhooks.d.ts +325 -0
  139. package/dist/cjs/generated/webhooks.d.ts.map +1 -0
  140. package/dist/cjs/generated/webhooks.js +58 -0
  141. package/dist/cjs/generated/webhooks.js.map +1 -0
  142. package/dist/cjs/index.d.ts +29 -0
  143. package/dist/cjs/index.d.ts.map +1 -0
  144. package/dist/cjs/index.js +51 -0
  145. package/dist/cjs/index.js.map +1 -0
  146. package/dist/cjs/package.json +1 -0
  147. package/dist/cjs/webhooks/errors.d.ts +51 -0
  148. package/dist/cjs/webhooks/errors.d.ts.map +1 -0
  149. package/dist/cjs/webhooks/errors.js +56 -0
  150. package/dist/cjs/webhooks/errors.js.map +1 -0
  151. package/dist/cjs/webhooks/events.d.ts +144 -0
  152. package/dist/cjs/webhooks/events.d.ts.map +1 -0
  153. package/dist/cjs/webhooks/events.js +160 -0
  154. package/dist/cjs/webhooks/events.js.map +1 -0
  155. package/dist/cjs/webhooks/handle.d.ts +103 -0
  156. package/dist/cjs/webhooks/handle.d.ts.map +1 -0
  157. package/dist/cjs/webhooks/handle.js +140 -0
  158. package/dist/cjs/webhooks/handle.js.map +1 -0
  159. package/dist/cjs/webhooks/index.d.ts +33 -0
  160. package/dist/cjs/webhooks/index.d.ts.map +1 -0
  161. package/dist/cjs/webhooks/index.js +46 -0
  162. package/dist/cjs/webhooks/index.js.map +1 -0
  163. package/dist/cjs/webhooks/signature.d.ts +84 -0
  164. package/dist/cjs/webhooks/signature.d.ts.map +1 -0
  165. package/dist/cjs/webhooks/signature.js +126 -0
  166. package/dist/cjs/webhooks/signature.js.map +1 -0
  167. package/dist/esm/client.d.ts +145 -0
  168. package/dist/esm/client.d.ts.map +1 -0
  169. package/dist/esm/client.js +172 -0
  170. package/dist/esm/client.js.map +1 -0
  171. package/dist/esm/core/auth.d.ts +105 -0
  172. package/dist/esm/core/auth.d.ts.map +1 -0
  173. package/dist/esm/core/auth.js +215 -0
  174. package/dist/esm/core/auth.js.map +1 -0
  175. package/dist/esm/core/errors.d.ts +145 -0
  176. package/dist/esm/core/errors.d.ts.map +1 -0
  177. package/dist/esm/core/errors.js +185 -0
  178. package/dist/esm/core/errors.js.map +1 -0
  179. package/dist/esm/core/graph.d.ts +110 -0
  180. package/dist/esm/core/graph.d.ts.map +1 -0
  181. package/dist/esm/core/graph.js +13 -0
  182. package/dist/esm/core/graph.js.map +1 -0
  183. package/dist/esm/core/http.d.ts +147 -0
  184. package/dist/esm/core/http.d.ts.map +1 -0
  185. package/dist/esm/core/http.js +473 -0
  186. package/dist/esm/core/http.js.map +1 -0
  187. package/dist/esm/core/jsonapi.d.ts +65 -0
  188. package/dist/esm/core/jsonapi.d.ts.map +1 -0
  189. package/dist/esm/core/jsonapi.js +2 -0
  190. package/dist/esm/core/jsonapi.js.map +1 -0
  191. package/dist/esm/core/oauth.d.ts +202 -0
  192. package/dist/esm/core/oauth.d.ts.map +1 -0
  193. package/dist/esm/core/oauth.js +280 -0
  194. package/dist/esm/core/oauth.js.map +1 -0
  195. package/dist/esm/core/product.d.ts +78 -0
  196. package/dist/esm/core/product.d.ts.map +1 -0
  197. package/dist/esm/core/product.js +54 -0
  198. package/dist/esm/core/product.js.map +1 -0
  199. package/dist/esm/core/query.d.ts +489 -0
  200. package/dist/esm/core/query.d.ts.map +1 -0
  201. package/dist/esm/core/query.js +431 -0
  202. package/dist/esm/core/query.js.map +1 -0
  203. package/dist/esm/core/transport.d.ts +57 -0
  204. package/dist/esm/core/transport.d.ts.map +1 -0
  205. package/dist/esm/core/transport.js +6 -0
  206. package/dist/esm/core/transport.js.map +1 -0
  207. package/dist/esm/entries/api.d.ts +26 -0
  208. package/dist/esm/entries/api.d.ts.map +1 -0
  209. package/dist/esm/entries/api.js +23 -0
  210. package/dist/esm/entries/api.js.map +1 -0
  211. package/dist/esm/entries/calendar.d.ts +26 -0
  212. package/dist/esm/entries/calendar.d.ts.map +1 -0
  213. package/dist/esm/entries/calendar.js +23 -0
  214. package/dist/esm/entries/calendar.js.map +1 -0
  215. package/dist/esm/entries/check-ins.d.ts +26 -0
  216. package/dist/esm/entries/check-ins.d.ts.map +1 -0
  217. package/dist/esm/entries/check-ins.js +23 -0
  218. package/dist/esm/entries/check-ins.js.map +1 -0
  219. package/dist/esm/entries/current.d.ts +26 -0
  220. package/dist/esm/entries/current.d.ts.map +1 -0
  221. package/dist/esm/entries/current.js +23 -0
  222. package/dist/esm/entries/current.js.map +1 -0
  223. package/dist/esm/entries/giving.d.ts +26 -0
  224. package/dist/esm/entries/giving.d.ts.map +1 -0
  225. package/dist/esm/entries/giving.js +23 -0
  226. package/dist/esm/entries/giving.js.map +1 -0
  227. package/dist/esm/entries/groups.d.ts +26 -0
  228. package/dist/esm/entries/groups.d.ts.map +1 -0
  229. package/dist/esm/entries/groups.js +23 -0
  230. package/dist/esm/entries/groups.js.map +1 -0
  231. package/dist/esm/entries/oauth.d.ts +8 -0
  232. package/dist/esm/entries/oauth.d.ts.map +1 -0
  233. package/dist/esm/entries/oauth.js +7 -0
  234. package/dist/esm/entries/oauth.js.map +1 -0
  235. package/dist/esm/entries/people.d.ts +26 -0
  236. package/dist/esm/entries/people.d.ts.map +1 -0
  237. package/dist/esm/entries/people.js +23 -0
  238. package/dist/esm/entries/people.js.map +1 -0
  239. package/dist/esm/entries/publishing.d.ts +26 -0
  240. package/dist/esm/entries/publishing.d.ts.map +1 -0
  241. package/dist/esm/entries/publishing.js +23 -0
  242. package/dist/esm/entries/publishing.js.map +1 -0
  243. package/dist/esm/entries/registrations.d.ts +26 -0
  244. package/dist/esm/entries/registrations.d.ts.map +1 -0
  245. package/dist/esm/entries/registrations.js +23 -0
  246. package/dist/esm/entries/registrations.js.map +1 -0
  247. package/dist/esm/entries/services.d.ts +26 -0
  248. package/dist/esm/entries/services.d.ts.map +1 -0
  249. package/dist/esm/entries/services.js +23 -0
  250. package/dist/esm/entries/services.js.map +1 -0
  251. package/dist/esm/entries/webhooks-api.d.ts +26 -0
  252. package/dist/esm/entries/webhooks-api.d.ts.map +1 -0
  253. package/dist/esm/entries/webhooks-api.js +23 -0
  254. package/dist/esm/entries/webhooks-api.js.map +1 -0
  255. package/dist/esm/entries/webhooks.d.ts +6 -0
  256. package/dist/esm/entries/webhooks.d.ts.map +1 -0
  257. package/dist/esm/entries/webhooks.js +6 -0
  258. package/dist/esm/entries/webhooks.js.map +1 -0
  259. package/dist/esm/generated/api.d.ts +426 -0
  260. package/dist/esm/generated/api.d.ts.map +1 -0
  261. package/dist/esm/generated/api.js +74 -0
  262. package/dist/esm/generated/api.js.map +1 -0
  263. package/dist/esm/generated/calendar.d.ts +2849 -0
  264. package/dist/esm/generated/calendar.d.ts.map +1 -0
  265. package/dist/esm/generated/calendar.js +296 -0
  266. package/dist/esm/generated/calendar.js.map +1 -0
  267. package/dist/esm/generated/check-ins.d.ts +2383 -0
  268. package/dist/esm/generated/check-ins.d.ts.map +1 -0
  269. package/dist/esm/generated/check-ins.js +295 -0
  270. package/dist/esm/generated/check-ins.js.map +1 -0
  271. package/dist/esm/generated/current.d.ts +135 -0
  272. package/dist/esm/generated/current.d.ts.map +1 -0
  273. package/dist/esm/generated/current.js +31 -0
  274. package/dist/esm/generated/current.js.map +1 -0
  275. package/dist/esm/generated/giving.d.ts +2309 -0
  276. package/dist/esm/generated/giving.d.ts.map +1 -0
  277. package/dist/esm/generated/giving.js +225 -0
  278. package/dist/esm/generated/giving.js.map +1 -0
  279. package/dist/esm/generated/groups.d.ts +1789 -0
  280. package/dist/esm/generated/groups.d.ts.map +1 -0
  281. package/dist/esm/generated/groups.js +197 -0
  282. package/dist/esm/generated/groups.js.map +1 -0
  283. package/dist/esm/generated/index.d.ts +5067 -0
  284. package/dist/esm/generated/index.d.ts.map +1 -0
  285. package/dist/esm/generated/index.js +37 -0
  286. package/dist/esm/generated/index.js.map +1 -0
  287. package/dist/esm/generated/people.d.ts +6001 -0
  288. package/dist/esm/generated/people.d.ts.map +1 -0
  289. package/dist/esm/generated/people.js +691 -0
  290. package/dist/esm/generated/people.js.map +1 -0
  291. package/dist/esm/generated/publishing.d.ts +1468 -0
  292. package/dist/esm/generated/publishing.d.ts.map +1 -0
  293. package/dist/esm/generated/publishing.js +177 -0
  294. package/dist/esm/generated/publishing.js.map +1 -0
  295. package/dist/esm/generated/registrations.d.ts +936 -0
  296. package/dist/esm/generated/registrations.d.ts.map +1 -0
  297. package/dist/esm/generated/registrations.js +119 -0
  298. package/dist/esm/generated/registrations.js.map +1 -0
  299. package/dist/esm/generated/services.d.ts +6301 -0
  300. package/dist/esm/generated/services.d.ts.map +1 -0
  301. package/dist/esm/generated/services.js +631 -0
  302. package/dist/esm/generated/services.js.map +1 -0
  303. package/dist/esm/generated/webhooks.d.ts +325 -0
  304. package/dist/esm/generated/webhooks.d.ts.map +1 -0
  305. package/dist/esm/generated/webhooks.js +55 -0
  306. package/dist/esm/generated/webhooks.js.map +1 -0
  307. package/dist/esm/index.d.ts +29 -0
  308. package/dist/esm/index.d.ts.map +1 -0
  309. package/dist/esm/index.js +26 -0
  310. package/dist/esm/index.js.map +1 -0
  311. package/dist/esm/webhooks/errors.d.ts +51 -0
  312. package/dist/esm/webhooks/errors.d.ts.map +1 -0
  313. package/dist/esm/webhooks/errors.js +51 -0
  314. package/dist/esm/webhooks/errors.js.map +1 -0
  315. package/dist/esm/webhooks/events.d.ts +144 -0
  316. package/dist/esm/webhooks/events.d.ts.map +1 -0
  317. package/dist/esm/webhooks/events.js +155 -0
  318. package/dist/esm/webhooks/events.js.map +1 -0
  319. package/dist/esm/webhooks/handle.d.ts +103 -0
  320. package/dist/esm/webhooks/handle.d.ts.map +1 -0
  321. package/dist/esm/webhooks/handle.js +137 -0
  322. package/dist/esm/webhooks/handle.js.map +1 -0
  323. package/dist/esm/webhooks/index.d.ts +33 -0
  324. package/dist/esm/webhooks/index.d.ts.map +1 -0
  325. package/dist/esm/webhooks/index.js +33 -0
  326. package/dist/esm/webhooks/index.js.map +1 -0
  327. package/dist/esm/webhooks/signature.d.ts +84 -0
  328. package/dist/esm/webhooks/signature.d.ts.map +1 -0
  329. package/dist/esm/webhooks/signature.js +120 -0
  330. package/dist/esm/webhooks/signature.js.map +1 -0
  331. package/llms.txt +119 -0
  332. package/package.json +79 -14
  333. package/src/client.ts +169 -282
  334. package/src/core/auth.ts +317 -0
  335. package/src/core/errors.ts +219 -0
  336. package/src/core/graph.ts +137 -0
  337. package/src/core/http.ts +594 -0
  338. package/src/core/jsonapi.ts +64 -0
  339. package/src/core/oauth.ts +403 -0
  340. package/src/core/product.ts +137 -0
  341. package/src/core/query.ts +1011 -0
  342. package/src/core/transport.ts +62 -0
  343. package/src/entries/api.ts +28 -0
  344. package/src/entries/calendar.ts +28 -0
  345. package/src/entries/check-ins.ts +28 -0
  346. package/src/entries/current.ts +28 -0
  347. package/src/entries/giving.ts +28 -0
  348. package/src/entries/groups.ts +28 -0
  349. package/src/entries/oauth.ts +7 -0
  350. package/src/entries/people.ts +28 -0
  351. package/src/entries/publishing.ts +28 -0
  352. package/src/entries/registrations.ts +28 -0
  353. package/src/entries/services.ts +28 -0
  354. package/src/entries/webhooks-api.ts +28 -0
  355. package/src/entries/webhooks.ts +5 -0
  356. package/src/generated/api.ts +401 -0
  357. package/src/generated/calendar.ts +2380 -0
  358. package/src/generated/check-ins.ts +1783 -0
  359. package/src/generated/current.ts +136 -0
  360. package/src/generated/giving.ts +1956 -0
  361. package/src/generated/groups.ts +1474 -0
  362. package/src/generated/index.ts +59 -0
  363. package/src/generated/people.ts +5103 -0
  364. package/src/generated/publishing.ts +1321 -0
  365. package/src/generated/registrations.ts +799 -0
  366. package/src/generated/services.ts +5427 -0
  367. package/src/generated/webhooks.ts +314 -0
  368. package/src/index.ts +74 -4
  369. package/src/webhooks/errors.ts +52 -0
  370. package/src/webhooks/events.ts +272 -0
  371. package/src/webhooks/handle.ts +163 -0
  372. package/src/webhooks/index.ts +54 -0
  373. package/src/webhooks/signature.ts +140 -0
  374. package/.gitattributes +0 -2
  375. package/.github/FUNDING.yml +0 -3
  376. package/.github/dependabot.yml +0 -21
  377. package/.github/workflows/ci-publish.yml +0 -84
  378. package/SECURITY.md +0 -13
  379. package/TODO.md +0 -6
  380. package/dist/client.d.ts +0 -216
  381. package/dist/client.js +0 -265
  382. package/dist/client.js.map +0 -1
  383. package/dist/index.d.ts +0 -4
  384. package/dist/index.js +0 -6
  385. package/dist/index.js.map +0 -1
  386. package/dist/modules/calendar.d.ts +0 -5
  387. package/dist/modules/calendar.js +0 -11
  388. package/dist/modules/calendar.js.map +0 -1
  389. package/dist/modules/checkins.d.ts +0 -0
  390. package/dist/modules/checkins.js +0 -2
  391. package/dist/modules/checkins.js.map +0 -1
  392. package/dist/modules/giving.d.ts +0 -0
  393. package/dist/modules/giving.js +0 -2
  394. package/dist/modules/giving.js.map +0 -1
  395. package/dist/modules/groups.d.ts +0 -4
  396. package/dist/modules/groups.js +0 -22
  397. package/dist/modules/groups.js.map +0 -1
  398. package/dist/modules/people.d.ts +0 -66
  399. package/dist/modules/people.js +0 -40
  400. package/dist/modules/people.js.map +0 -1
  401. package/dist/modules/publishing.d.ts +0 -0
  402. package/dist/modules/publishing.js +0 -2
  403. package/dist/modules/publishing.js.map +0 -1
  404. package/dist/modules/services.d.ts +0 -0
  405. package/dist/modules/services.js +0 -2
  406. package/dist/modules/services.js.map +0 -1
  407. package/dist/modules/webhooks.d.ts +0 -0
  408. package/dist/modules/webhooks.js +0 -2
  409. package/dist/modules/webhooks.js.map +0 -1
  410. package/dist/types.d.ts +0 -6
  411. package/dist/types.js.map +0 -1
  412. package/src/index.test.ts +0 -7
  413. package/src/modules/calendar.ts +0 -11
  414. package/src/modules/checkins.ts +0 -0
  415. package/src/modules/giving.ts +0 -0
  416. package/src/modules/groups.ts +0 -7
  417. package/src/modules/people.ts +0 -92
  418. package/src/modules/publishing.ts +0 -0
  419. package/src/modules/services.ts +0 -0
  420. package/src/modules/webhooks.ts +0 -0
  421. package/src/types.ts +0 -8
  422. package/tsconfig.json +0 -111
@@ -0,0 +1,2849 @@
1
+ import type { PcoResource } from '../core/jsonapi.js';
2
+ /** Runtime metadata for Planning Center Calendar: paths and capabilities only. */
3
+ export declare const calendarGraph: {
4
+ readonly product: 'calendar';
5
+ readonly slug: 'calendar';
6
+ readonly basePath: '/calendar/v2';
7
+ readonly version: '2026-06-22';
8
+ readonly rootVertex: 'organization';
9
+ readonly root: {
10
+ readonly attachments: {
11
+ readonly vertex: 'attachment';
12
+ readonly many: true;
13
+ readonly canCreate: false;
14
+ };
15
+ readonly calendars: {
16
+ readonly vertex: 'calendar';
17
+ readonly many: true;
18
+ readonly canCreate: false;
19
+ };
20
+ readonly conflicts: {
21
+ readonly vertex: 'conflict';
22
+ readonly many: true;
23
+ readonly canCreate: false;
24
+ };
25
+ readonly event_instances: {
26
+ readonly vertex: 'event_instance';
27
+ readonly many: true;
28
+ readonly canCreate: false;
29
+ };
30
+ readonly event_resource_requests: {
31
+ readonly vertex: 'event_resource_request';
32
+ readonly many: true;
33
+ readonly canCreate: false;
34
+ };
35
+ readonly events: {
36
+ readonly vertex: 'event';
37
+ readonly many: true;
38
+ readonly canCreate: false;
39
+ };
40
+ readonly feeds: {
41
+ readonly vertex: 'feed';
42
+ readonly many: true;
43
+ readonly canCreate: false;
44
+ };
45
+ readonly job_statuses: {
46
+ readonly vertex: 'job_status';
47
+ readonly many: true;
48
+ readonly canCreate: false;
49
+ };
50
+ readonly people: {
51
+ readonly vertex: 'person';
52
+ readonly many: true;
53
+ readonly canCreate: false;
54
+ };
55
+ readonly report_templates: {
56
+ readonly vertex: 'report_template';
57
+ readonly many: true;
58
+ readonly canCreate: true;
59
+ };
60
+ readonly resource_approval_groups: {
61
+ readonly vertex: 'resource_approval_group';
62
+ readonly many: true;
63
+ readonly canCreate: false;
64
+ };
65
+ readonly resource_bookings: {
66
+ readonly vertex: 'resource_booking';
67
+ readonly many: true;
68
+ readonly canCreate: false;
69
+ };
70
+ readonly resource_folders: {
71
+ readonly vertex: 'resource_folder';
72
+ readonly many: true;
73
+ readonly canCreate: true;
74
+ };
75
+ readonly resource_questions: {
76
+ readonly vertex: 'resource_question';
77
+ readonly many: true;
78
+ readonly canCreate: false;
79
+ };
80
+ readonly resources: {
81
+ readonly vertex: 'resource';
82
+ readonly many: true;
83
+ readonly canCreate: true;
84
+ };
85
+ readonly room_setups: {
86
+ readonly vertex: 'room_setup';
87
+ readonly many: true;
88
+ readonly canCreate: false;
89
+ };
90
+ readonly tag_groups: {
91
+ readonly vertex: 'tag_group';
92
+ readonly many: true;
93
+ readonly canCreate: true;
94
+ };
95
+ readonly tags: {
96
+ readonly vertex: 'tag';
97
+ readonly many: true;
98
+ readonly canCreate: true;
99
+ };
100
+ };
101
+ readonly vertices: {
102
+ readonly attachment: {
103
+ readonly type: 'Attachment';
104
+ readonly edges: {
105
+ readonly event: {
106
+ readonly vertex: 'event';
107
+ readonly many: true;
108
+ readonly canCreate: false;
109
+ };
110
+ };
111
+ readonly actions: readonly [];
112
+ readonly canUpdate: false;
113
+ readonly canDelete: false;
114
+ readonly canonicalPath: '/calendar/v2/attachments';
115
+ };
116
+ readonly calendar: {
117
+ readonly type: 'Calendar';
118
+ readonly edges: {
119
+ readonly approval_groups: {
120
+ readonly vertex: 'resource_approval_group';
121
+ readonly many: true;
122
+ readonly canCreate: false;
123
+ };
124
+ readonly events: {
125
+ readonly vertex: 'event';
126
+ readonly many: true;
127
+ readonly canCreate: false;
128
+ };
129
+ };
130
+ readonly actions: readonly [];
131
+ readonly canUpdate: false;
132
+ readonly canDelete: false;
133
+ readonly canonicalPath: '/calendar/v2/calendars';
134
+ };
135
+ readonly conflict: {
136
+ readonly type: 'Conflict';
137
+ readonly edges: {
138
+ readonly resolved_by: {
139
+ readonly vertex: 'person';
140
+ readonly many: true;
141
+ readonly canCreate: false;
142
+ };
143
+ readonly resource: {
144
+ readonly vertex: 'resource';
145
+ readonly many: true;
146
+ readonly canCreate: false;
147
+ };
148
+ readonly winner: {
149
+ readonly vertex: 'event';
150
+ readonly many: true;
151
+ readonly canCreate: false;
152
+ };
153
+ };
154
+ readonly actions: readonly [];
155
+ readonly canUpdate: false;
156
+ readonly canDelete: false;
157
+ readonly canonicalPath: '/calendar/v2/conflicts';
158
+ };
159
+ readonly containing_resource: {
160
+ readonly type: 'ContainingResource';
161
+ readonly edges: {};
162
+ readonly actions: readonly [];
163
+ readonly canUpdate: false;
164
+ readonly canDelete: false;
165
+ };
166
+ readonly event: {
167
+ readonly type: 'Event';
168
+ readonly edges: {
169
+ readonly attachments: {
170
+ readonly vertex: 'attachment';
171
+ readonly many: true;
172
+ readonly canCreate: false;
173
+ };
174
+ readonly calendar: {
175
+ readonly vertex: 'calendar';
176
+ readonly many: true;
177
+ readonly canCreate: false;
178
+ };
179
+ readonly conflicts: {
180
+ readonly vertex: 'conflict';
181
+ readonly many: true;
182
+ readonly canCreate: false;
183
+ };
184
+ readonly event_connections: {
185
+ readonly vertex: 'event_connection';
186
+ readonly many: true;
187
+ readonly canCreate: true;
188
+ };
189
+ readonly event_instances: {
190
+ readonly vertex: 'event_instance';
191
+ readonly many: true;
192
+ readonly canCreate: false;
193
+ };
194
+ readonly event_resource_requests: {
195
+ readonly vertex: 'event_resource_request';
196
+ readonly many: true;
197
+ readonly canCreate: false;
198
+ };
199
+ readonly feed: {
200
+ readonly vertex: 'feed';
201
+ readonly many: true;
202
+ readonly canCreate: false;
203
+ };
204
+ readonly owner: {
205
+ readonly vertex: 'person';
206
+ readonly many: true;
207
+ readonly canCreate: false;
208
+ };
209
+ readonly resource_bookings: {
210
+ readonly vertex: 'resource_booking';
211
+ readonly many: true;
212
+ readonly canCreate: false;
213
+ };
214
+ readonly tags: {
215
+ readonly vertex: 'tag';
216
+ readonly many: true;
217
+ readonly canCreate: false;
218
+ };
219
+ };
220
+ readonly actions: readonly [];
221
+ readonly canUpdate: false;
222
+ readonly canDelete: false;
223
+ readonly canonicalPath: '/calendar/v2/events';
224
+ };
225
+ readonly event_connection: {
226
+ readonly type: 'EventConnection';
227
+ readonly edges: {};
228
+ readonly actions: readonly [];
229
+ readonly canUpdate: true;
230
+ readonly canDelete: true;
231
+ };
232
+ readonly event_instance: {
233
+ readonly type: 'EventInstance';
234
+ readonly edges: {
235
+ readonly event: {
236
+ readonly vertex: 'event';
237
+ readonly many: true;
238
+ readonly canCreate: false;
239
+ };
240
+ readonly event_times: {
241
+ readonly vertex: 'event_time';
242
+ readonly many: true;
243
+ readonly canCreate: false;
244
+ };
245
+ readonly resource_bookings: {
246
+ readonly vertex: 'resource_booking';
247
+ readonly many: true;
248
+ readonly canCreate: false;
249
+ };
250
+ readonly tags: {
251
+ readonly vertex: 'tag';
252
+ readonly many: true;
253
+ readonly canCreate: false;
254
+ };
255
+ };
256
+ readonly actions: readonly [];
257
+ readonly canUpdate: false;
258
+ readonly canDelete: false;
259
+ readonly canonicalPath: '/calendar/v2/event_instances';
260
+ };
261
+ readonly event_resource_answer: {
262
+ readonly type: 'EventResourceAnswer';
263
+ readonly edges: {};
264
+ readonly actions: readonly [];
265
+ readonly canUpdate: false;
266
+ readonly canDelete: false;
267
+ };
268
+ readonly event_resource_request: {
269
+ readonly type: 'EventResourceRequest';
270
+ readonly edges: {
271
+ readonly answers: {
272
+ readonly vertex: 'event_resource_answer';
273
+ readonly many: true;
274
+ readonly canCreate: false;
275
+ };
276
+ readonly created_by: {
277
+ readonly vertex: 'person';
278
+ readonly many: true;
279
+ readonly canCreate: false;
280
+ };
281
+ readonly event: {
282
+ readonly vertex: 'event';
283
+ readonly many: true;
284
+ readonly canCreate: false;
285
+ };
286
+ readonly resource: {
287
+ readonly vertex: 'resource';
288
+ readonly many: true;
289
+ readonly canCreate: false;
290
+ };
291
+ readonly resource_bookings: {
292
+ readonly vertex: 'resource_booking';
293
+ readonly many: true;
294
+ readonly canCreate: false;
295
+ };
296
+ readonly room_setup: {
297
+ readonly vertex: 'room_setup';
298
+ readonly many: true;
299
+ readonly canCreate: false;
300
+ };
301
+ readonly updated_by: {
302
+ readonly vertex: 'person';
303
+ readonly many: true;
304
+ readonly canCreate: false;
305
+ };
306
+ };
307
+ readonly actions: readonly [];
308
+ readonly canUpdate: false;
309
+ readonly canDelete: false;
310
+ readonly canonicalPath: '/calendar/v2/event_resource_requests';
311
+ };
312
+ readonly event_time: {
313
+ readonly type: 'EventTime';
314
+ readonly edges: {
315
+ readonly event: {
316
+ readonly vertex: 'event';
317
+ readonly many: true;
318
+ readonly canCreate: false;
319
+ };
320
+ };
321
+ readonly actions: readonly [];
322
+ readonly canUpdate: false;
323
+ readonly canDelete: false;
324
+ };
325
+ readonly feed: {
326
+ readonly type: 'Feed';
327
+ readonly edges: {};
328
+ readonly actions: readonly [];
329
+ readonly canUpdate: false;
330
+ readonly canDelete: false;
331
+ readonly canonicalPath: '/calendar/v2/feeds';
332
+ };
333
+ readonly job_status: {
334
+ readonly type: 'JobStatus';
335
+ readonly edges: {};
336
+ readonly actions: readonly [];
337
+ readonly canUpdate: false;
338
+ readonly canDelete: false;
339
+ readonly canonicalPath: '/calendar/v2/job_statuses';
340
+ };
341
+ readonly organization: {
342
+ readonly type: 'Organization';
343
+ readonly edges: {};
344
+ readonly actions: readonly [];
345
+ readonly canUpdate: false;
346
+ readonly canDelete: false;
347
+ };
348
+ readonly person: {
349
+ readonly type: 'Person';
350
+ readonly edges: {
351
+ readonly event_resource_requests: {
352
+ readonly vertex: 'event_resource_request';
353
+ readonly many: true;
354
+ readonly canCreate: false;
355
+ };
356
+ readonly organization: {
357
+ readonly vertex: 'organization';
358
+ readonly many: true;
359
+ readonly canCreate: false;
360
+ };
361
+ };
362
+ readonly actions: readonly [];
363
+ readonly canUpdate: false;
364
+ readonly canDelete: false;
365
+ readonly canonicalPath: '/calendar/v2/people';
366
+ };
367
+ readonly report_template: {
368
+ readonly type: 'ReportTemplate';
369
+ readonly edges: {};
370
+ readonly actions: readonly [];
371
+ readonly canUpdate: true;
372
+ readonly canDelete: true;
373
+ readonly canonicalPath: '/calendar/v2/report_templates';
374
+ };
375
+ readonly required_approval: {
376
+ readonly type: 'RequiredApproval';
377
+ readonly edges: {
378
+ readonly resource: {
379
+ readonly vertex: 'resource';
380
+ readonly many: true;
381
+ readonly canCreate: false;
382
+ };
383
+ };
384
+ readonly actions: readonly [];
385
+ readonly canUpdate: false;
386
+ readonly canDelete: false;
387
+ };
388
+ readonly resource: {
389
+ readonly type: 'Resource';
390
+ readonly edges: {
391
+ readonly conflicts: {
392
+ readonly vertex: 'conflict';
393
+ readonly many: true;
394
+ readonly canCreate: false;
395
+ };
396
+ readonly event_resource_requests: {
397
+ readonly vertex: 'event_resource_request';
398
+ readonly many: true;
399
+ readonly canCreate: false;
400
+ };
401
+ readonly required_approvals: {
402
+ readonly vertex: 'required_approval';
403
+ readonly many: true;
404
+ readonly canCreate: false;
405
+ };
406
+ readonly resource_approval_groups: {
407
+ readonly vertex: 'resource_approval_group';
408
+ readonly many: true;
409
+ readonly canCreate: false;
410
+ };
411
+ readonly resource_bookings: {
412
+ readonly vertex: 'resource_booking';
413
+ readonly many: true;
414
+ readonly canCreate: false;
415
+ };
416
+ readonly resource_folder: {
417
+ readonly vertex: 'resource_folder';
418
+ readonly many: true;
419
+ readonly canCreate: false;
420
+ };
421
+ readonly resource_questions: {
422
+ readonly vertex: 'resource_question';
423
+ readonly many: true;
424
+ readonly canCreate: true;
425
+ };
426
+ readonly room_setups: {
427
+ readonly vertex: 'room_setup';
428
+ readonly many: true;
429
+ readonly canCreate: false;
430
+ };
431
+ };
432
+ readonly actions: readonly [];
433
+ readonly canUpdate: true;
434
+ readonly canDelete: true;
435
+ readonly canonicalPath: '/calendar/v2/resources';
436
+ };
437
+ readonly resource_approval_group: {
438
+ readonly type: 'ResourceApprovalGroup';
439
+ readonly edges: {
440
+ readonly calendars: {
441
+ readonly vertex: 'calendar';
442
+ readonly many: true;
443
+ readonly canCreate: false;
444
+ };
445
+ readonly event_resource_requests: {
446
+ readonly vertex: 'event_resource_request';
447
+ readonly many: true;
448
+ readonly canCreate: false;
449
+ };
450
+ readonly people: {
451
+ readonly vertex: 'person';
452
+ readonly many: true;
453
+ readonly canCreate: false;
454
+ };
455
+ readonly required_approvals: {
456
+ readonly vertex: 'required_approval';
457
+ readonly many: true;
458
+ readonly canCreate: false;
459
+ };
460
+ readonly resources: {
461
+ readonly vertex: 'resource';
462
+ readonly many: true;
463
+ readonly canCreate: false;
464
+ };
465
+ };
466
+ readonly actions: readonly [];
467
+ readonly canUpdate: false;
468
+ readonly canDelete: false;
469
+ readonly canonicalPath: '/calendar/v2/resource_approval_groups';
470
+ };
471
+ readonly resource_booking: {
472
+ readonly type: 'ResourceBooking';
473
+ readonly edges: {
474
+ readonly event_resource_request: {
475
+ readonly vertex: 'event_resource_request';
476
+ readonly many: true;
477
+ readonly canCreate: false;
478
+ };
479
+ readonly resource: {
480
+ readonly vertex: 'resource';
481
+ readonly many: true;
482
+ readonly canCreate: false;
483
+ };
484
+ };
485
+ readonly actions: readonly [];
486
+ readonly canUpdate: false;
487
+ readonly canDelete: false;
488
+ readonly canonicalPath: '/calendar/v2/resource_bookings';
489
+ };
490
+ readonly resource_folder: {
491
+ readonly type: 'ResourceFolder';
492
+ readonly edges: {
493
+ readonly resources: {
494
+ readonly vertex: 'resource';
495
+ readonly many: true;
496
+ readonly canCreate: false;
497
+ };
498
+ };
499
+ readonly actions: readonly [];
500
+ readonly canUpdate: true;
501
+ readonly canDelete: true;
502
+ readonly canonicalPath: '/calendar/v2/resource_folders';
503
+ };
504
+ readonly resource_question: {
505
+ readonly type: 'ResourceQuestion';
506
+ readonly edges: {};
507
+ readonly actions: readonly [];
508
+ readonly canUpdate: true;
509
+ readonly canDelete: true;
510
+ readonly canonicalPath: '/calendar/v2/resource_questions';
511
+ };
512
+ readonly resource_suggestion: {
513
+ readonly type: 'ResourceSuggestion';
514
+ readonly edges: {
515
+ readonly resource: {
516
+ readonly vertex: 'resource';
517
+ readonly many: true;
518
+ readonly canCreate: false;
519
+ };
520
+ };
521
+ readonly actions: readonly [];
522
+ readonly canUpdate: false;
523
+ readonly canDelete: false;
524
+ };
525
+ readonly room_setup: {
526
+ readonly type: 'RoomSetup';
527
+ readonly edges: {
528
+ readonly containing_resource: {
529
+ readonly vertex: 'containing_resource';
530
+ readonly many: true;
531
+ readonly canCreate: false;
532
+ };
533
+ readonly resource_suggestions: {
534
+ readonly vertex: 'resource_suggestion';
535
+ readonly many: true;
536
+ readonly canCreate: false;
537
+ };
538
+ };
539
+ readonly actions: readonly [];
540
+ readonly canUpdate: false;
541
+ readonly canDelete: false;
542
+ readonly canonicalPath: '/calendar/v2/room_setups';
543
+ };
544
+ readonly tag: {
545
+ readonly type: 'Tag';
546
+ readonly edges: {
547
+ readonly event_instances: {
548
+ readonly vertex: 'event_instance';
549
+ readonly many: true;
550
+ readonly canCreate: false;
551
+ };
552
+ readonly events: {
553
+ readonly vertex: 'event';
554
+ readonly many: true;
555
+ readonly canCreate: false;
556
+ };
557
+ readonly tag_group: {
558
+ readonly vertex: 'tag_group';
559
+ readonly many: true;
560
+ readonly canCreate: false;
561
+ };
562
+ };
563
+ readonly actions: readonly [];
564
+ readonly canUpdate: true;
565
+ readonly canDelete: true;
566
+ readonly canonicalPath: '/calendar/v2/tags';
567
+ };
568
+ readonly tag_group: {
569
+ readonly type: 'TagGroup';
570
+ readonly edges: {
571
+ readonly events: {
572
+ readonly vertex: 'event';
573
+ readonly many: true;
574
+ readonly canCreate: false;
575
+ };
576
+ readonly tags: {
577
+ readonly vertex: 'tag';
578
+ readonly many: true;
579
+ readonly canCreate: false;
580
+ };
581
+ };
582
+ readonly actions: readonly [];
583
+ readonly canUpdate: true;
584
+ readonly canDelete: true;
585
+ readonly canonicalPath: '/calendar/v2/tag_groups';
586
+ };
587
+ };
588
+ };
589
+ /**
590
+ * Type-level schema of {@link Attachment}: attributes, query options, writable fields, and edges.
591
+ *
592
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/attachment
593
+ */
594
+ export interface AttachmentSchema {
595
+ type: 'Attachment';
596
+ attributes: {
597
+ /** MIME type of the attachment. Null for external links. */
598
+ content_type: string | null;
599
+ /** UTC time at which the attachment was created */
600
+ created_at: string | null;
601
+ /** Description of the attachment */
602
+ description: string | null;
603
+ /** File size in bytes. Null for external links. */
604
+ file_size: number | null;
605
+ /**
606
+ * Possible values: file_upload, external_link
607
+ *
608
+ * Possible values: `file_upload` or `external_link`
609
+ */
610
+ kind: string | null;
611
+ /** Set to the file name if not provided */
612
+ name: string | null;
613
+ /** UTC time at which the attachment was updated */
614
+ updated_at: string | null;
615
+ /**
616
+ * Path to where the attachment is stored, or the external link URL for external_link attachments
617
+ */
618
+ url: string | null;
619
+ };
620
+ relationships: 'event';
621
+ includes: 'event';
622
+ related: {
623
+ event: 'event';
624
+ };
625
+ where: {
626
+ content_type: string;
627
+ created_at: string | Date;
628
+ description: string;
629
+ file_size: number;
630
+ kind: string;
631
+ name: string;
632
+ updated_at: string | Date;
633
+ };
634
+ whereOps: {
635
+ created_at: 'gt' | 'gte' | 'lt' | 'lte';
636
+ updated_at: 'gt' | 'gte' | 'lt' | 'lte';
637
+ };
638
+ order: 'content_type' | 'created_at' | 'description' | 'file_size' | 'kind' | 'name' | 'updated_at';
639
+ create: {};
640
+ update: {};
641
+ delete: false;
642
+ actions: never;
643
+ edges: {
644
+ event: {
645
+ vertex: 'event';
646
+ many: true;
647
+ filters: never;
648
+ create: false;
649
+ };
650
+ };
651
+ }
652
+ /**
653
+ * Type-level schema of {@link Calendar2}: attributes, query options, writable fields, and edges.
654
+ *
655
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/calendar
656
+ */
657
+ export interface Calendar2Schema {
658
+ type: 'Calendar';
659
+ attributes: {
660
+ access: string | null;
661
+ access_restricted: boolean | null;
662
+ /**
663
+ * Possible values: `blue`, `aqua`, `teal`, `green`, `yellow`, `orange`, `pink`, `purple`, `magenta`, `indigo`, `aqua_bold`, `teal_bold`, `orange_bold`, `magenta_bold`, `blue_bold`, `green_bold`, `yellow_bold`, `pink_bold`, `purple_bold`, or `indigo_bold`
664
+ */
665
+ color: string | null;
666
+ /**
667
+ * The number of pending events that would confirm if the calendar stopped requiring approval
668
+ *
669
+ * Only available when requested with the `?fields` param
670
+ */
671
+ confirmable_event_count: number | null;
672
+ created_at: string | null;
673
+ default: boolean | null;
674
+ description: string | null;
675
+ name: string | null;
676
+ requires_approval: boolean | null;
677
+ updated_at: string | null;
678
+ };
679
+ relationships: never;
680
+ includes: 'approval_groups';
681
+ related: {
682
+ approval_groups: 'resource_approval_group';
683
+ };
684
+ where: {};
685
+ whereOps: {};
686
+ order: 'name';
687
+ create: {};
688
+ update: {};
689
+ delete: false;
690
+ actions: never;
691
+ edges: {
692
+ approval_groups: {
693
+ vertex: 'resource_approval_group';
694
+ many: true;
695
+ filters: never;
696
+ create: false;
697
+ };
698
+ events: {
699
+ vertex: 'event';
700
+ many: true;
701
+ filters: never;
702
+ create: false;
703
+ };
704
+ };
705
+ }
706
+ /**
707
+ * Type-level schema of {@link Conflict}: attributes, query options, writable fields, and edges.
708
+ *
709
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/conflict
710
+ */
711
+ export interface ConflictSchema {
712
+ type: 'Conflict';
713
+ attributes: {
714
+ /** UTC time at which the conflict was created */
715
+ created_at: string | null;
716
+ /** Additional information about the conflict or resolution */
717
+ note: string | null;
718
+ /** UTC time at which the conflict was resolved */
719
+ resolved_at: string | null;
720
+ /** UTC time at which the conflict was updated */
721
+ updated_at: string | null;
722
+ };
723
+ relationships: 'resolved_by' | 'resource' | 'winner';
724
+ includes: 'resolved_by' | 'resource' | 'winner';
725
+ related: {
726
+ resolved_by: 'person';
727
+ resource: 'resource';
728
+ winner: 'event';
729
+ };
730
+ where: {};
731
+ whereOps: {};
732
+ order: 'resolved_at';
733
+ create: {};
734
+ update: {};
735
+ delete: false;
736
+ actions: never;
737
+ edges: {
738
+ resolved_by: {
739
+ vertex: 'person';
740
+ many: true;
741
+ filters: never;
742
+ create: false;
743
+ };
744
+ resource: {
745
+ vertex: 'resource';
746
+ many: true;
747
+ filters: never;
748
+ create: false;
749
+ };
750
+ winner: {
751
+ vertex: 'event';
752
+ many: true;
753
+ filters: never;
754
+ create: false;
755
+ };
756
+ };
757
+ }
758
+ /**
759
+ * Type-level schema of {@link ContainingResource}: attributes, query options, writable fields, and edges.
760
+ *
761
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/containing_resource
762
+ */
763
+ export interface ContainingResourceSchema {
764
+ type: 'ContainingResource';
765
+ attributes: {};
766
+ relationships: never;
767
+ includes: never;
768
+ related: {};
769
+ where: {};
770
+ whereOps: {};
771
+ order: never;
772
+ create: {};
773
+ update: {};
774
+ delete: false;
775
+ actions: never;
776
+ edges: {};
777
+ }
778
+ /**
779
+ * Type-level schema of {@link Event}: attributes, query options, writable fields, and edges.
780
+ *
781
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event
782
+ */
783
+ export interface EventSchema {
784
+ type: 'Event';
785
+ attributes: {
786
+ /**
787
+ * Possible values:
788
+ * - `A`: approved.
789
+ * - `P`: pending.
790
+ * - `R`: rejected.
791
+ */
792
+ approval_status: string | null;
793
+ /** UTC time at which the event was created */
794
+ created_at: string | null;
795
+ /** A rich text public-facing summary of the event */
796
+ description: string | null;
797
+ /**
798
+ * - `true` indicates the event is featured on Church Center
799
+ * - `false` indicates the event is not featured on Church Center
800
+ */
801
+ featured: boolean | null;
802
+ /** Path to where the event image is stored */
803
+ image_url: string | null;
804
+ /**
805
+ * - `true` indicates the event is published to Church Center through the link only
806
+ * - `false` indicates the event is published to Church Center normally
807
+ */
808
+ link_only: boolean | null;
809
+ /** The name of the event */
810
+ name: string | null;
811
+ /**
812
+ * Calculated by taking the sum of the `percent_approved` for all
813
+ * future `ReservationBlocks` and dividing that by the `count` of all future
814
+ * `ReservationBlocks`.
815
+ *
816
+ * If there are no future `ReservationBlocks`, returns `100`
817
+ */
818
+ percent_approved: number | null;
819
+ /**
820
+ * Calculated by taking the sum of the `percent_rejected` for all
821
+ * future `ReservationBlocks` and dividing that by the `count` of all future
822
+ * `ReservationBlocks`.
823
+ *
824
+ * If there are no future `ReservationBlocks`, returns `0`
825
+ */
826
+ percent_rejected: number | null;
827
+ /** The registration URL for the event */
828
+ registration_url: string | null;
829
+ /** A plain text public-facing summary of the event */
830
+ summary: string | null;
831
+ /** UTC time at which the event was updated */
832
+ updated_at: string | null;
833
+ /**
834
+ * - `true` indicates the event Church Center visibility is set to 'Published'
835
+ * - `false` indicates the event Church Center visibility is set to 'Hidden'
836
+ */
837
+ visible_in_church_center: boolean | null;
838
+ };
839
+ relationships: 'calendar' | 'owner';
840
+ includes: 'attachments' | 'calendar' | 'feed' | 'owner' | 'tags';
841
+ related: {
842
+ attachments: 'attachment';
843
+ calendar: 'calendar';
844
+ feed: 'feed';
845
+ owner: 'person';
846
+ tags: 'tag';
847
+ };
848
+ where: {
849
+ approval_status: string;
850
+ created_at: string | Date;
851
+ featured: boolean;
852
+ link_only: boolean;
853
+ name: string;
854
+ percent_approved: number;
855
+ percent_rejected: number;
856
+ updated_at: string | Date;
857
+ visible_in_church_center: boolean;
858
+ };
859
+ whereOps: {
860
+ created_at: 'gt' | 'gte' | 'lt' | 'lte';
861
+ updated_at: 'gt' | 'gte' | 'lt' | 'lte';
862
+ };
863
+ order: never;
864
+ create: {};
865
+ update: {};
866
+ delete: false;
867
+ actions: never;
868
+ edges: {
869
+ attachments: {
870
+ vertex: 'attachment';
871
+ many: true;
872
+ filters: never;
873
+ create: false;
874
+ };
875
+ calendar: {
876
+ vertex: 'calendar';
877
+ many: true;
878
+ filters: never;
879
+ create: false;
880
+ };
881
+ conflicts: {
882
+ vertex: 'conflict';
883
+ many: true;
884
+ filters: never;
885
+ create: false;
886
+ };
887
+ event_connections: {
888
+ vertex: 'event_connection';
889
+ many: true;
890
+ filters: never;
891
+ create: true;
892
+ };
893
+ event_instances: {
894
+ vertex: 'event_instance';
895
+ many: true;
896
+ filters: 'canceled' | 'future' | 'not_canceled';
897
+ create: false;
898
+ };
899
+ event_resource_requests: {
900
+ vertex: 'event_resource_request';
901
+ many: true;
902
+ filters: never;
903
+ create: false;
904
+ };
905
+ feed: {
906
+ vertex: 'feed';
907
+ many: true;
908
+ filters: never;
909
+ create: false;
910
+ };
911
+ owner: {
912
+ vertex: 'person';
913
+ many: true;
914
+ filters: never;
915
+ create: false;
916
+ };
917
+ resource_bookings: {
918
+ vertex: 'resource_booking';
919
+ many: true;
920
+ filters: 'future';
921
+ create: false;
922
+ };
923
+ tags: {
924
+ vertex: 'tag';
925
+ many: true;
926
+ filters: never;
927
+ create: false;
928
+ };
929
+ };
930
+ }
931
+ /**
932
+ * Type-level schema of {@link EventConnection}: attributes, query options, writable fields, and edges.
933
+ *
934
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_connection
935
+ */
936
+ export interface EventConnectionSchema {
937
+ type: 'EventConnection';
938
+ attributes: {
939
+ /** Unique identifier for the connected record */
940
+ connected_to_id: string | null;
941
+ /** Name of the record that the event is connected to */
942
+ connected_to_name: string | null;
943
+ /** Currently we support `signup`, `group`, `event`, and `service_type` */
944
+ connected_to_type: string | null;
945
+ /** A link to the connected record */
946
+ connected_to_url: string | null;
947
+ /** Currently we support `registrations`, `groups`, `check-ins`, and `services` */
948
+ product_name: string | null;
949
+ /**
950
+ * Whether this connection is promoted for display (only applies to Groups connections)
951
+ *
952
+ * Only available when requested with the `?fields` param
953
+ */
954
+ promoted: boolean | null;
955
+ };
956
+ relationships: 'event';
957
+ includes: never;
958
+ related: {
959
+ event: 'event';
960
+ };
961
+ where: {
962
+ connected_to_id: string;
963
+ product_name: string;
964
+ promoted: boolean;
965
+ };
966
+ whereOps: {};
967
+ order: never;
968
+ create: {
969
+ /** Unique identifier for the connected record */
970
+ connected_to_id?: string | null;
971
+ /** Name of the record that the event is connected to */
972
+ connected_to_name?: string | null;
973
+ /** Currently we support `signup`, `group`, `event`, and `service_type` */
974
+ connected_to_type?: string | null;
975
+ /** Currently we support `registrations`, `groups`, `check-ins`, and `services` */
976
+ product_name?: string | null;
977
+ /**
978
+ * Whether this connection is promoted for display (only applies to Groups connections)
979
+ *
980
+ * Only available when requested with the `?fields` param
981
+ */
982
+ promoted?: boolean | null;
983
+ };
984
+ update: {
985
+ /** Unique identifier for the connected record */
986
+ connected_to_id?: string | null;
987
+ /** Name of the record that the event is connected to */
988
+ connected_to_name?: string | null;
989
+ /** Currently we support `signup`, `group`, `event`, and `service_type` */
990
+ connected_to_type?: string | null;
991
+ /** Currently we support `registrations`, `groups`, `check-ins`, and `services` */
992
+ product_name?: string | null;
993
+ /**
994
+ * Whether this connection is promoted for display (only applies to Groups connections)
995
+ *
996
+ * Only available when requested with the `?fields` param
997
+ */
998
+ promoted?: boolean | null;
999
+ };
1000
+ delete: true;
1001
+ actions: never;
1002
+ edges: {};
1003
+ }
1004
+ /**
1005
+ * Type-level schema of {@link EventInstance}: attributes, query options, writable fields, and edges.
1006
+ *
1007
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_instance
1008
+ */
1009
+ export interface EventInstanceSchema {
1010
+ type: 'EventInstance';
1011
+ attributes: {
1012
+ /** Indicates whether event instance lasts all day */
1013
+ all_day_event: boolean | null;
1014
+ /** Indicates whether the event instance is canceled */
1015
+ canceled: boolean | null;
1016
+ /**
1017
+ * UTC time at which the event instance was canceled. `null` when it is not canceled
1018
+ */
1019
+ canceled_at: string | null;
1020
+ /** The URL for the event on Church Center */
1021
+ church_center_url: string | null;
1022
+ /** Compact representation of event instance's recurrence pattern */
1023
+ compact_recurrence_description: string | null;
1024
+ /** UTC time at which the event instance was created */
1025
+ created_at: string | null;
1026
+ /**
1027
+ * A rich text public-facing summary of the event
1028
+ *
1029
+ * Only available when requested with the `?fields` param
1030
+ */
1031
+ description: string | null;
1032
+ /** UTC time at which the event instance ends */
1033
+ ends_at: string | null;
1034
+ /**
1035
+ * Path to where the event image is stored
1036
+ *
1037
+ * Only available when requested with the `?fields` param
1038
+ */
1039
+ image_url: string | null;
1040
+ /**
1041
+ * The type of event: `standard` or `blockout`
1042
+ *
1043
+ * Only available when requested with the `?fields` param
1044
+ */
1045
+ kind: string | null;
1046
+ /** Representation of where the event instance takes place */
1047
+ location: string | null;
1048
+ /** Name of event. Can be overridden for specific instances */
1049
+ name: string | null;
1050
+ /** Publicly visible end time */
1051
+ published_ends_at: string | null;
1052
+ /** Publicly visible start time */
1053
+ published_starts_at: string | null;
1054
+ /**
1055
+ * For a recurring event instance, the interval of how often the event instance occurs
1056
+ */
1057
+ recurrence: string | null;
1058
+ /** Longer description of the event instance's recurrence pattern */
1059
+ recurrence_description: string | null;
1060
+ /** UTC time at which the event instance starts */
1061
+ starts_at: string | null;
1062
+ /** UTC time at which the event instance was updated */
1063
+ updated_at: string | null;
1064
+ };
1065
+ relationships: 'event';
1066
+ includes: 'event' | 'event_times' | 'resource_bookings' | 'tags';
1067
+ related: {
1068
+ event: 'event';
1069
+ event_times: 'event_time';
1070
+ resource_bookings: 'resource_booking';
1071
+ tags: 'tag';
1072
+ };
1073
+ where: {
1074
+ created_at: string | Date;
1075
+ ends_at: string | Date;
1076
+ kind: string;
1077
+ starts_at: string | Date;
1078
+ updated_at: string | Date;
1079
+ };
1080
+ whereOps: {
1081
+ created_at: 'gt' | 'gte' | 'lt' | 'lte';
1082
+ ends_at: 'gt' | 'gte' | 'lt' | 'lte';
1083
+ starts_at: 'gt' | 'gte' | 'lt' | 'lte';
1084
+ updated_at: 'gt' | 'gte' | 'lt' | 'lte';
1085
+ };
1086
+ order: 'created_at' | 'ends_at' | 'starts_at' | 'updated_at';
1087
+ create: {};
1088
+ update: {};
1089
+ delete: false;
1090
+ actions: never;
1091
+ edges: {
1092
+ event: {
1093
+ vertex: 'event';
1094
+ many: true;
1095
+ filters: never;
1096
+ create: false;
1097
+ };
1098
+ event_times: {
1099
+ vertex: 'event_time';
1100
+ many: true;
1101
+ filters: never;
1102
+ create: false;
1103
+ };
1104
+ resource_bookings: {
1105
+ vertex: 'resource_booking';
1106
+ many: true;
1107
+ filters: 'future' | 'resources' | 'rooms';
1108
+ create: false;
1109
+ };
1110
+ tags: {
1111
+ vertex: 'tag';
1112
+ many: true;
1113
+ filters: never;
1114
+ create: false;
1115
+ };
1116
+ };
1117
+ }
1118
+ /**
1119
+ * Type-level schema of {@link EventResourceAnswer}: attributes, query options, writable fields, and edges.
1120
+ *
1121
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_resource_answer
1122
+ */
1123
+ export interface EventResourceAnswerSchema {
1124
+ type: 'EventResourceAnswer';
1125
+ attributes: {
1126
+ /** The answer formatted for display */
1127
+ answer: Record<string, unknown> | null;
1128
+ created_at: string | null;
1129
+ /** Only available when requested with the `?fields` param */
1130
+ db_answer: string | null;
1131
+ /** Question details as of when it was answered */
1132
+ question: Record<string, unknown> | null;
1133
+ updated_at: string | null;
1134
+ };
1135
+ relationships: 'created_by' | 'event_resource_request' | 'resource_question' | 'updated_by';
1136
+ includes: never;
1137
+ related: {
1138
+ created_by: 'person';
1139
+ event_resource_request: 'event_resource_request';
1140
+ resource_question: 'resource_question';
1141
+ updated_by: 'person';
1142
+ };
1143
+ where: {};
1144
+ whereOps: {};
1145
+ order: never;
1146
+ create: {};
1147
+ update: {};
1148
+ delete: false;
1149
+ actions: never;
1150
+ edges: {};
1151
+ }
1152
+ /**
1153
+ * Type-level schema of {@link EventResourceRequest}: attributes, query options, writable fields, and edges.
1154
+ *
1155
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_resource_request
1156
+ */
1157
+ export interface EventResourceRequestSchema {
1158
+ type: 'EventResourceRequest';
1159
+ attributes: {
1160
+ /** Whether or not an email has been sent to request approval */
1161
+ approval_sent: boolean | null;
1162
+ /**
1163
+ * Possible values:
1164
+ * - `A`: approved
1165
+ * - `P`: pending
1166
+ * - `R`: rejected
1167
+ */
1168
+ approval_status: string | null;
1169
+ /** UTC time at which request was created */
1170
+ created_at: string | null;
1171
+ /** Additional information about the room or resource request */
1172
+ notes: string | null;
1173
+ /** How many of the rooms or resources are being requested */
1174
+ quantity: number | null;
1175
+ /** UTC time at which request was updated */
1176
+ updated_at: string | null;
1177
+ /** Whether this resource request is visible on kiosks */
1178
+ visible_on_kiosks: boolean | null;
1179
+ };
1180
+ relationships: 'created_by' | 'event' | 'event_resource_request' | 'resource' | 'room_setup' | 'updated_by';
1181
+ includes: 'created_by' | 'event' | 'resource' | 'room_setup' | 'updated_by';
1182
+ related: {
1183
+ created_by: 'person';
1184
+ event: 'event';
1185
+ event_resource_request: 'event_resource_request';
1186
+ resource: 'resource';
1187
+ room_setup: 'room_setup';
1188
+ updated_by: 'person';
1189
+ };
1190
+ where: {
1191
+ approval_sent: boolean;
1192
+ approval_status: string;
1193
+ created_at: string | Date;
1194
+ updated_at: string | Date;
1195
+ };
1196
+ whereOps: {
1197
+ created_at: 'gt' | 'gte' | 'lt' | 'lte';
1198
+ updated_at: 'gt' | 'gte' | 'lt' | 'lte';
1199
+ };
1200
+ order: never;
1201
+ create: {};
1202
+ update: {};
1203
+ delete: false;
1204
+ actions: never;
1205
+ edges: {
1206
+ answers: {
1207
+ vertex: 'event_resource_answer';
1208
+ many: true;
1209
+ filters: never;
1210
+ create: false;
1211
+ };
1212
+ created_by: {
1213
+ vertex: 'person';
1214
+ many: true;
1215
+ filters: never;
1216
+ create: false;
1217
+ };
1218
+ event: {
1219
+ vertex: 'event';
1220
+ many: true;
1221
+ filters: never;
1222
+ create: false;
1223
+ };
1224
+ resource: {
1225
+ vertex: 'resource';
1226
+ many: true;
1227
+ filters: never;
1228
+ create: false;
1229
+ };
1230
+ resource_bookings: {
1231
+ vertex: 'resource_booking';
1232
+ many: true;
1233
+ filters: 'approved' | 'approved_conflict' | 'approved_pending' | 'approved_pending_conflict' | 'approved_pending_rejected' | 'approved_pending_rejected_conflict' | 'approved_rejected' | 'approved_rejected_conflict' | 'conflict' | 'future' | 'pending' | 'pending_conflict' | 'pending_rejected' | 'pending_rejected_conflict' | 'rejected' | 'rejected_conflict';
1234
+ create: false;
1235
+ };
1236
+ room_setup: {
1237
+ vertex: 'room_setup';
1238
+ many: true;
1239
+ filters: never;
1240
+ create: false;
1241
+ };
1242
+ updated_by: {
1243
+ vertex: 'person';
1244
+ many: true;
1245
+ filters: never;
1246
+ create: false;
1247
+ };
1248
+ };
1249
+ }
1250
+ /**
1251
+ * Type-level schema of {@link EventTime}: attributes, query options, writable fields, and edges.
1252
+ *
1253
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_time
1254
+ */
1255
+ export interface EventTimeSchema {
1256
+ type: 'EventTime';
1257
+ attributes: {
1258
+ /** UTC time at which the event time ends */
1259
+ ends_at: string | null;
1260
+ /** Name of the event time */
1261
+ name: string | null;
1262
+ /** UTC time at which the event time starts */
1263
+ starts_at: string | null;
1264
+ /** Set to `true` if the time is visible on kiosk */
1265
+ visible_on_kiosks: boolean | null;
1266
+ /** Set to `true` if the time is visible on widget or iCal */
1267
+ visible_on_widget_and_ical: boolean | null;
1268
+ };
1269
+ relationships: 'event';
1270
+ includes: 'event';
1271
+ related: {
1272
+ event: 'event';
1273
+ };
1274
+ where: {
1275
+ ends_at: string | Date;
1276
+ name: string;
1277
+ starts_at: string | Date;
1278
+ visible_on_kiosks: boolean;
1279
+ visible_on_widget_and_ical: boolean;
1280
+ };
1281
+ whereOps: {
1282
+ ends_at: 'gt' | 'gte' | 'lt' | 'lte';
1283
+ starts_at: 'gt' | 'gte' | 'lt' | 'lte';
1284
+ };
1285
+ order: 'ends_at' | 'starts_at';
1286
+ create: {};
1287
+ update: {};
1288
+ delete: false;
1289
+ actions: never;
1290
+ edges: {
1291
+ event: {
1292
+ vertex: 'event';
1293
+ many: true;
1294
+ filters: never;
1295
+ create: false;
1296
+ };
1297
+ };
1298
+ }
1299
+ /**
1300
+ * Type-level schema of {@link Feed}: attributes, query options, writable fields, and edges.
1301
+ *
1302
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/feed
1303
+ */
1304
+ export interface FeedSchema {
1305
+ type: 'Feed';
1306
+ attributes: {
1307
+ can_delete: boolean | null;
1308
+ /** Possible values: `hidden` or `published` */
1309
+ default_church_center_visibility: string | null;
1310
+ deleting: boolean | null;
1311
+ /** Possible values: `registrations`, `groups`, `ical`, or `form` */
1312
+ feed_type: string | null;
1313
+ imported_at: string | null;
1314
+ name: string | null;
1315
+ /** Only available when requested with the `?fields` param */
1316
+ prefix_event_names: boolean | null;
1317
+ source_id: string | null;
1318
+ /** Only available when requested with the `?fields` param */
1319
+ sync_campus_tags: boolean | null;
1320
+ };
1321
+ relationships: 'default_calendar' | 'event_owner';
1322
+ includes: never;
1323
+ related: {
1324
+ default_calendar: 'calendar';
1325
+ event_owner: 'person';
1326
+ };
1327
+ where: {
1328
+ feed_type: string;
1329
+ source_id: string;
1330
+ };
1331
+ whereOps: {};
1332
+ order: 'name';
1333
+ create: {};
1334
+ update: {};
1335
+ delete: false;
1336
+ actions: never;
1337
+ edges: {};
1338
+ }
1339
+ /**
1340
+ * Type-level schema of {@link JobStatus}: attributes, query options, writable fields, and edges.
1341
+ *
1342
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/job_status
1343
+ */
1344
+ export interface JobStatusSchema {
1345
+ type: 'JobStatus';
1346
+ attributes: {
1347
+ errors: Record<string, unknown> | null;
1348
+ message: string | null;
1349
+ retries: number | null;
1350
+ started_at: string | null;
1351
+ status: string | null;
1352
+ };
1353
+ relationships: never;
1354
+ includes: never;
1355
+ related: {};
1356
+ where: {};
1357
+ whereOps: {};
1358
+ order: never;
1359
+ create: {};
1360
+ update: {};
1361
+ delete: false;
1362
+ actions: never;
1363
+ edges: {};
1364
+ }
1365
+ /**
1366
+ * Type-level schema of {@link Organization}: attributes, query options, writable fields, and edges.
1367
+ *
1368
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/organization
1369
+ */
1370
+ export interface OrganizationSchema {
1371
+ type: 'Organization';
1372
+ attributes: {
1373
+ /** The day of the week the calendar starts on */
1374
+ calendar_starts_on: string | null;
1375
+ /**
1376
+ * Possible values:
1377
+ * - `%d/%m/%Y`: indicates date/month/year formatting
1378
+ * - `%m/%d/%Y`: indicates month/date/year formatting
1379
+ */
1380
+ date_format: string | null;
1381
+ /** The name of the organization */
1382
+ name: string | null;
1383
+ /** Only available when requested with the `?fields` param */
1384
+ onboarding: boolean | null;
1385
+ /** The time zone of the organization */
1386
+ time_zone: string | null;
1387
+ /**
1388
+ * - `true` indicates hours for times will use a 24-hour clock
1389
+ * - `false` indicates hours for times will use a 12-hour clock
1390
+ */
1391
+ twenty_four_hour_time: boolean | null;
1392
+ };
1393
+ relationships: never;
1394
+ includes: never;
1395
+ related: {};
1396
+ where: {};
1397
+ whereOps: {};
1398
+ order: never;
1399
+ create: {};
1400
+ update: {};
1401
+ delete: false;
1402
+ actions: never;
1403
+ edges: {};
1404
+ }
1405
+ /**
1406
+ * Type-level schema of {@link Person}: attributes, query options, writable fields, and edges.
1407
+ *
1408
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/person
1409
+ */
1410
+ export interface PersonSchema {
1411
+ type: 'Person';
1412
+ attributes: {
1413
+ /** Path to where the avatar image is stored */
1414
+ avatar_url: string | null;
1415
+ /** Indicates whether the person can edit other people */
1416
+ can_edit_people: boolean | null;
1417
+ /** Indicates whether the person can edit resources */
1418
+ can_edit_resources: boolean | null;
1419
+ /** Indicates whether the person can edit rooms */
1420
+ can_edit_rooms: boolean | null;
1421
+ /** Indicates whether the person is a child */
1422
+ child: boolean | null;
1423
+ /**
1424
+ * An object containing the person's contact data.
1425
+ *
1426
+ * This can include an array of `email_addresses`, `addresses` and `phone_numbers`
1427
+ */
1428
+ contact_data: string | null;
1429
+ /** UTC time at which the person was created */
1430
+ created_at: string | null;
1431
+ /**
1432
+ * Indicates whether the person is an Event Administrator, and therefore has access to every calendar
1433
+ *
1434
+ *
1435
+ * Only available when requested with the `?fields` param
1436
+ */
1437
+ event_administrator: boolean | null;
1438
+ /** Event permissions for the person */
1439
+ event_permissions_type: string | null;
1440
+ /** The person's first name */
1441
+ first_name: string | null;
1442
+ /** `M` indicates male, `F` indicates female */
1443
+ gender: string | null;
1444
+ /** Indicates whether the person has access to Calendar */
1445
+ has_access: boolean | null;
1446
+ /**
1447
+ * Indicates whether the person has full (not limited, event-level-only) access to at least one calendar
1448
+ *
1449
+ *
1450
+ * Only available when requested with the `?fields` param
1451
+ */
1452
+ has_full_access_to_any_calendar: boolean | null;
1453
+ /** The person's last name */
1454
+ last_name: string | null;
1455
+ /**
1456
+ * Indicates whether the person is a member of at least one approval group
1457
+ *
1458
+ * Only available when requested with the `?fields` param
1459
+ */
1460
+ member_of_approval_groups: boolean | null;
1461
+ /** The person's middle name */
1462
+ middle_name: string | null;
1463
+ /** The person's first name, last name, and name suffix */
1464
+ name: string | null;
1465
+ /**
1466
+ * Possible values:
1467
+ * - `Mr.`
1468
+ * - `Mrs.`
1469
+ * - `Ms.`
1470
+ * - `Miss`
1471
+ * - `Dr.`
1472
+ * - `Rev.`
1473
+ */
1474
+ name_prefix: string | null;
1475
+ /**
1476
+ * Possible values:
1477
+ * - `Jr.`
1478
+ * - `Sr.`
1479
+ * - `Ph.D.`
1480
+ * - `II`
1481
+ * - `III`
1482
+ */
1483
+ name_suffix: string | null;
1484
+ /**
1485
+ * If the person is a member of an approval group, the number of EventResourceRequests needing resolution.
1486
+ *
1487
+ * If `resolves_conflicts` is `true`, the count will also include the number of Conflicts needing resolution.
1488
+ */
1489
+ pending_request_count: number | null;
1490
+ /** People permissions for the person */
1491
+ people_permissions_type: string | null;
1492
+ /** Integer that corresponds to the person's permissions in Calendar */
1493
+ permissions: number | null;
1494
+ /** Indicates whether the person is able to resolve Conflicts */
1495
+ resolves_conflicts: boolean | null;
1496
+ /** Resource permissions for the person */
1497
+ resources_permissions_type: string | null;
1498
+ /** Room permissions for the person */
1499
+ room_permissions_type: string | null;
1500
+ /** Indicates whether the person is a Organization Administrator */
1501
+ site_administrator: boolean | null;
1502
+ /**
1503
+ * Possible values:
1504
+ * - `active`: The person is marked "active" in People
1505
+ * - `inactive`: The person is marked "inactive" in People
1506
+ *
1507
+ *
1508
+ * Possible values: `active`, `pending`, or `inactive`
1509
+ */
1510
+ status: string | null;
1511
+ /** UTC time at which the person was updated */
1512
+ updated_at: string | null;
1513
+ };
1514
+ relationships: never;
1515
+ includes: 'organization';
1516
+ related: {
1517
+ organization: 'organization';
1518
+ };
1519
+ where: {
1520
+ created_at: string | Date;
1521
+ first_name: string;
1522
+ last_name: string;
1523
+ middle_name: string;
1524
+ updated_at: string | Date;
1525
+ };
1526
+ whereOps: {
1527
+ created_at: 'gt' | 'gte' | 'lt' | 'lte';
1528
+ updated_at: 'gt' | 'gte' | 'lt' | 'lte';
1529
+ };
1530
+ order: 'created_at' | 'first_name' | 'last_name' | 'resolves_conflicts' | 'updated_at';
1531
+ create: {};
1532
+ update: {};
1533
+ delete: false;
1534
+ actions: never;
1535
+ edges: {
1536
+ event_resource_requests: {
1537
+ vertex: 'event_resource_request';
1538
+ many: true;
1539
+ filters: 'awaiting_response' | 'future' | 'not_in_conflict' | 'not_overbooked' | 'overbooked';
1540
+ create: false;
1541
+ };
1542
+ organization: {
1543
+ vertex: 'organization';
1544
+ many: true;
1545
+ filters: never;
1546
+ create: false;
1547
+ };
1548
+ };
1549
+ }
1550
+ /**
1551
+ * Type-level schema of {@link ReportTemplate}: attributes, query options, writable fields, and edges.
1552
+ *
1553
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/report_template
1554
+ */
1555
+ export interface ReportTemplateSchema {
1556
+ type: 'ReportTemplate';
1557
+ attributes: {
1558
+ /** The contents of the report template */
1559
+ body: string | null;
1560
+ /** UTC time at which the report was created */
1561
+ created_at: string | null;
1562
+ /** A summarization of the report */
1563
+ description: string | null;
1564
+ /** The title of the report */
1565
+ title: string | null;
1566
+ /** UTC time at which the report was updated */
1567
+ updated_at: string | null;
1568
+ };
1569
+ relationships: never;
1570
+ includes: never;
1571
+ related: {};
1572
+ where: {};
1573
+ whereOps: {};
1574
+ order: never;
1575
+ create: {
1576
+ /** The contents of the report template */
1577
+ body?: string | null;
1578
+ /** A summarization of the report */
1579
+ description?: string | null;
1580
+ /** The title of the report */
1581
+ title?: string | null;
1582
+ };
1583
+ update: {
1584
+ /** The contents of the report template */
1585
+ body?: string | null;
1586
+ /** A summarization of the report */
1587
+ description?: string | null;
1588
+ /** The title of the report */
1589
+ title?: string | null;
1590
+ };
1591
+ delete: true;
1592
+ actions: never;
1593
+ edges: {};
1594
+ }
1595
+ /**
1596
+ * Type-level schema of {@link RequiredApproval}: attributes, query options, writable fields, and edges.
1597
+ *
1598
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/required_approval
1599
+ */
1600
+ export interface RequiredApprovalSchema {
1601
+ type: 'RequiredApproval';
1602
+ attributes: {};
1603
+ relationships: never;
1604
+ includes: 'resource';
1605
+ related: {
1606
+ resource: 'resource';
1607
+ };
1608
+ where: {};
1609
+ whereOps: {};
1610
+ order: never;
1611
+ create: {};
1612
+ update: {};
1613
+ delete: false;
1614
+ actions: never;
1615
+ edges: {
1616
+ resource: {
1617
+ vertex: 'resource';
1618
+ many: true;
1619
+ filters: never;
1620
+ create: false;
1621
+ };
1622
+ };
1623
+ }
1624
+ /**
1625
+ * Type-level schema of {@link Resource}: attributes, query options, writable fields, and edges.
1626
+ *
1627
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource
1628
+ */
1629
+ export interface ResourceSchema {
1630
+ type: 'Resource';
1631
+ attributes: {
1632
+ /** UTC time at which the room or resource was created */
1633
+ created_at: string | null;
1634
+ /** Description of the room or resource */
1635
+ description: string | null;
1636
+ /** UTC time at which the resource expires */
1637
+ expires_at: string | null;
1638
+ /** Where the resource is normally kept */
1639
+ home_location: string | null;
1640
+ /** Path to where resource image is stored */
1641
+ image: string | null;
1642
+ /** The type of resource, can either be `Room` or `Resource` */
1643
+ kind: string | null;
1644
+ /** The name of the room or resource */
1645
+ name: string | null;
1646
+ /**
1647
+ * A string representing the location of the resource if it is nested within a folder.
1648
+ *
1649
+ * Each parent folder is separated by `/`
1650
+ */
1651
+ path_name: string | null;
1652
+ /** The quantity of the resource */
1653
+ quantity: number | null;
1654
+ /** The serial number of the resource */
1655
+ serial_number: string | null;
1656
+ /** UTC time at which the room or resource was updated */
1657
+ updated_at: string | null;
1658
+ };
1659
+ relationships: never;
1660
+ includes: 'resource_approval_groups' | 'resource_folder' | 'resource_questions' | 'room_setups';
1661
+ related: {
1662
+ resource_approval_groups: 'resource_approval_group';
1663
+ resource_folder: 'resource_folder';
1664
+ resource_questions: 'resource_question';
1665
+ room_setups: 'room_setup';
1666
+ };
1667
+ where: {
1668
+ created_at: string | Date;
1669
+ id: string;
1670
+ kind: string;
1671
+ name: string;
1672
+ path_name: string;
1673
+ serial_number: string;
1674
+ updated_at: string | Date;
1675
+ };
1676
+ whereOps: {
1677
+ created_at: 'gt' | 'gte' | 'lt' | 'lte';
1678
+ updated_at: 'gt' | 'gte' | 'lt' | 'lte';
1679
+ };
1680
+ order: 'created_at' | 'expires_at' | 'name' | 'updated_at';
1681
+ create: {
1682
+ /** Description of the room or resource */
1683
+ description?: string | null;
1684
+ /** UTC time at which the resource expires */
1685
+ expires_at?: string | null;
1686
+ /** Where the resource is normally kept */
1687
+ home_location?: string | null;
1688
+ /** The type of resource, can either be `Room` or `Resource` */
1689
+ kind?: string | null;
1690
+ /** The name of the room or resource */
1691
+ name?: string | null;
1692
+ /** The quantity of the resource */
1693
+ quantity?: number | null;
1694
+ resource_approval_group_ids?: string[];
1695
+ resource_folder_id?: string;
1696
+ room_setup_ids?: string[];
1697
+ /** The serial number of the resource */
1698
+ serial_number?: string | null;
1699
+ };
1700
+ update: {
1701
+ /** Description of the room or resource */
1702
+ description?: string | null;
1703
+ /** UTC time at which the resource expires */
1704
+ expires_at?: string | null;
1705
+ /** Where the resource is normally kept */
1706
+ home_location?: string | null;
1707
+ /** The name of the room or resource */
1708
+ name?: string | null;
1709
+ /** The quantity of the resource */
1710
+ quantity?: number | null;
1711
+ resource_approval_group_ids?: string[];
1712
+ resource_folder_id?: string;
1713
+ /** The serial number of the resource */
1714
+ serial_number?: string | null;
1715
+ };
1716
+ delete: true;
1717
+ actions: never;
1718
+ edges: {
1719
+ conflicts: {
1720
+ vertex: 'conflict';
1721
+ many: true;
1722
+ filters: never;
1723
+ create: false;
1724
+ };
1725
+ event_resource_requests: {
1726
+ vertex: 'event_resource_request';
1727
+ many: true;
1728
+ filters: never;
1729
+ create: false;
1730
+ };
1731
+ required_approvals: {
1732
+ vertex: 'required_approval';
1733
+ many: true;
1734
+ filters: never;
1735
+ create: false;
1736
+ };
1737
+ resource_approval_groups: {
1738
+ vertex: 'resource_approval_group';
1739
+ many: true;
1740
+ filters: never;
1741
+ create: false;
1742
+ };
1743
+ resource_bookings: {
1744
+ vertex: 'resource_booking';
1745
+ many: true;
1746
+ filters: 'approved' | 'approved_conflict' | 'approved_pending' | 'approved_pending_conflict' | 'approved_pending_rejected' | 'approved_pending_rejected_conflict' | 'approved_rejected' | 'approved_rejected_conflict' | 'conflict' | 'future' | 'pending' | 'pending_conflict' | 'pending_rejected' | 'pending_rejected_conflict' | 'rejected' | 'rejected_conflict';
1747
+ create: false;
1748
+ };
1749
+ resource_folder: {
1750
+ vertex: 'resource_folder';
1751
+ many: true;
1752
+ filters: never;
1753
+ create: false;
1754
+ };
1755
+ resource_questions: {
1756
+ vertex: 'resource_question';
1757
+ many: true;
1758
+ filters: never;
1759
+ create: true;
1760
+ };
1761
+ room_setups: {
1762
+ vertex: 'room_setup';
1763
+ many: true;
1764
+ filters: never;
1765
+ create: false;
1766
+ };
1767
+ };
1768
+ }
1769
+ /**
1770
+ * Type-level schema of {@link ResourceApprovalGroup}: attributes, query options, writable fields, and edges.
1771
+ *
1772
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_approval_group
1773
+ */
1774
+ export interface ResourceApprovalGroupSchema {
1775
+ type: 'ResourceApprovalGroup';
1776
+ attributes: {
1777
+ /**
1778
+ * The number of calendars that require approval from the group
1779
+ *
1780
+ * Only available when requested with the `?fields` param
1781
+ */
1782
+ calendar_count: number | null;
1783
+ /** UTC time at which the approval group was created */
1784
+ created_at: string | null;
1785
+ /** Only available when requested with the `?fields` param */
1786
+ form_count: number | null;
1787
+ /** Name of the approval group */
1788
+ name: string | null;
1789
+ /**
1790
+ * The number of people in the approval group
1791
+ *
1792
+ * Only available when requested with the `?fields` param
1793
+ */
1794
+ person_count: number | null;
1795
+ /**
1796
+ * The number of resources in the approval group
1797
+ *
1798
+ * Only available when requested with the `?fields` param
1799
+ */
1800
+ resource_count: number | null;
1801
+ /**
1802
+ * The number of rooms in the approval group
1803
+ *
1804
+ * Only available when requested with the `?fields` param
1805
+ */
1806
+ room_count: number | null;
1807
+ /** UTC time at which the approval group was updated */
1808
+ updated_at: string | null;
1809
+ };
1810
+ relationships: never;
1811
+ includes: 'calendars' | 'people' | 'resources';
1812
+ related: {
1813
+ calendars: 'calendar';
1814
+ people: 'person';
1815
+ resources: 'resource';
1816
+ };
1817
+ where: {
1818
+ created_at: string | Date;
1819
+ id: string;
1820
+ name: string;
1821
+ updated_at: string | Date;
1822
+ };
1823
+ whereOps: {
1824
+ created_at: 'gt' | 'gte' | 'lt' | 'lte';
1825
+ updated_at: 'gt' | 'gte' | 'lt' | 'lte';
1826
+ };
1827
+ order: 'created_at' | 'name' | 'updated_at';
1828
+ create: {};
1829
+ update: {};
1830
+ delete: false;
1831
+ actions: never;
1832
+ edges: {
1833
+ calendars: {
1834
+ vertex: 'calendar';
1835
+ many: true;
1836
+ filters: never;
1837
+ create: false;
1838
+ };
1839
+ event_resource_requests: {
1840
+ vertex: 'event_resource_request';
1841
+ many: true;
1842
+ filters: 'awaiting_response' | 'future' | 'not_in_conflict' | 'not_overbooked' | 'overbooked';
1843
+ create: false;
1844
+ };
1845
+ people: {
1846
+ vertex: 'person';
1847
+ many: true;
1848
+ filters: never;
1849
+ create: false;
1850
+ };
1851
+ required_approvals: {
1852
+ vertex: 'required_approval';
1853
+ many: true;
1854
+ filters: 'resources' | 'rooms';
1855
+ create: false;
1856
+ };
1857
+ resources: {
1858
+ vertex: 'resource';
1859
+ many: true;
1860
+ filters: 'resources' | 'rooms';
1861
+ create: false;
1862
+ };
1863
+ };
1864
+ }
1865
+ /**
1866
+ * Type-level schema of {@link ResourceBooking}: attributes, query options, writable fields, and edges.
1867
+ *
1868
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_booking
1869
+ */
1870
+ export interface ResourceBookingSchema {
1871
+ type: 'ResourceBooking';
1872
+ attributes: {
1873
+ /** UTC time at which the booking was created */
1874
+ created_at: string | null;
1875
+ /** UTC time at which usage of the booked room or resource ends */
1876
+ ends_at: string | null;
1877
+ /** The quantity of the rooms or resources booked */
1878
+ quantity: number | null;
1879
+ /** UTC time at which usage of the booked room or resource starts */
1880
+ starts_at: string | null;
1881
+ /** UTC time at which the booking was updated */
1882
+ updated_at: string | null;
1883
+ };
1884
+ relationships: 'event' | 'event_instance' | 'resource';
1885
+ includes: 'event_resource_request' | 'resource';
1886
+ related: {
1887
+ event: 'event';
1888
+ event_instance: 'event_instance';
1889
+ event_resource_request: 'event_resource_request';
1890
+ resource: 'resource';
1891
+ };
1892
+ where: {
1893
+ created_at: string | Date;
1894
+ ends_at: string | Date;
1895
+ starts_at: string | Date;
1896
+ updated_at: string | Date;
1897
+ };
1898
+ whereOps: {
1899
+ created_at: 'gt' | 'gte' | 'lt' | 'lte';
1900
+ ends_at: 'gt' | 'gte' | 'lt' | 'lte';
1901
+ starts_at: 'gt' | 'gte' | 'lt' | 'lte';
1902
+ updated_at: 'gt' | 'gte' | 'lt' | 'lte';
1903
+ };
1904
+ order: 'created_at' | 'ends_at' | 'starts_at' | 'updated_at';
1905
+ create: {};
1906
+ update: {};
1907
+ delete: false;
1908
+ actions: never;
1909
+ edges: {
1910
+ event_resource_request: {
1911
+ vertex: 'event_resource_request';
1912
+ many: true;
1913
+ filters: never;
1914
+ create: false;
1915
+ };
1916
+ resource: {
1917
+ vertex: 'resource';
1918
+ many: true;
1919
+ filters: never;
1920
+ create: false;
1921
+ };
1922
+ };
1923
+ }
1924
+ /**
1925
+ * Type-level schema of {@link ResourceFolder}: attributes, query options, writable fields, and edges.
1926
+ *
1927
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_folder
1928
+ */
1929
+ export interface ResourceFolderSchema {
1930
+ type: 'ResourceFolder';
1931
+ attributes: {
1932
+ ancestry: string | null;
1933
+ /** UTC time at which the folder was created */
1934
+ created_at: string | null;
1935
+ /** The type of folder, can either be `Room` or `Resource` */
1936
+ kind: string | null;
1937
+ /** The folder name */
1938
+ name: string | null;
1939
+ /**
1940
+ * A string representing the location of the folder if it is nested.
1941
+ *
1942
+ * Each parent folder is separated by `/`
1943
+ */
1944
+ path_name: string | null;
1945
+ /** UTC time at which the folder was updated */
1946
+ updated_at: string | null;
1947
+ };
1948
+ relationships: never;
1949
+ includes: 'resources';
1950
+ related: {
1951
+ resources: 'resource';
1952
+ };
1953
+ where: {
1954
+ ancestry: string;
1955
+ created_at: string | Date;
1956
+ name: string;
1957
+ path_name: string;
1958
+ updated_at: string | Date;
1959
+ };
1960
+ whereOps: {
1961
+ created_at: 'gt' | 'gte' | 'lt' | 'lte';
1962
+ updated_at: 'gt' | 'gte' | 'lt' | 'lte';
1963
+ };
1964
+ order: 'ancestry' | 'created_at' | 'name' | 'updated_at';
1965
+ create: {
1966
+ /** The type of folder, can either be `Room` or `Resource` */
1967
+ kind?: string | null;
1968
+ /** The folder name */
1969
+ name?: string | null;
1970
+ resource_folder_id?: string;
1971
+ };
1972
+ update: {
1973
+ /** The folder name */
1974
+ name?: string | null;
1975
+ resource_folder_id?: string;
1976
+ };
1977
+ delete: true;
1978
+ actions: never;
1979
+ edges: {
1980
+ resources: {
1981
+ vertex: 'resource';
1982
+ many: true;
1983
+ filters: never;
1984
+ create: false;
1985
+ };
1986
+ };
1987
+ }
1988
+ /**
1989
+ * Type-level schema of {@link ResourceQuestion}: attributes, query options, writable fields, and edges.
1990
+ *
1991
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_question
1992
+ */
1993
+ export interface ResourceQuestionSchema {
1994
+ type: 'ResourceQuestion';
1995
+ attributes: {
1996
+ /**
1997
+ * If `kind` is `dropdown`, represents a string of dropdown choices
1998
+ * separated by the `|` character
1999
+ */
2000
+ choices: string | null;
2001
+ /** UTC time at which the question was created */
2002
+ created_at: string | null;
2003
+ /** Optional description of the question */
2004
+ description: string | null;
2005
+ /**
2006
+ * Possible values:
2007
+ * - `dropdown`: predefined list of choices as an answer
2008
+ * - `paragraph`: expected answer is a paragraph
2009
+ * - `text`: expected answer is a sentence
2010
+ * - `yesno`: expected answer is 'Yes' or 'No'
2011
+ *
2012
+ * - `section_header`: used to separate questions in the UI, no expected answer
2013
+ */
2014
+ kind: string | null;
2015
+ /**
2016
+ * If `kind` is `dropdown`,
2017
+ * `true` indicates that more than one selection is permitted
2018
+ */
2019
+ multiple_select: boolean | null;
2020
+ /**
2021
+ * - `true` indicates answering the question is not required when booking
2022
+ * - `false` indicates answering the question is required when booking
2023
+ */
2024
+ optional: boolean | null;
2025
+ /** Position of question in list in the UI */
2026
+ position: number | null;
2027
+ /** The question to be answered */
2028
+ question: string | null;
2029
+ /** UTC time at which the question was updated */
2030
+ updated_at: string | null;
2031
+ };
2032
+ relationships: 'resource';
2033
+ includes: never;
2034
+ related: {
2035
+ resource: 'resource';
2036
+ };
2037
+ where: {
2038
+ created_at: string | Date;
2039
+ kind: string;
2040
+ updated_at: string | Date;
2041
+ };
2042
+ whereOps: {
2043
+ created_at: 'gt' | 'gte' | 'lt' | 'lte';
2044
+ updated_at: 'gt' | 'gte' | 'lt' | 'lte';
2045
+ };
2046
+ order: never;
2047
+ create: {
2048
+ /**
2049
+ * If `kind` is `dropdown`, represents a string of dropdown choices
2050
+ * separated by the `|` character
2051
+ */
2052
+ choices?: string | null;
2053
+ /** Optional description of the question */
2054
+ description?: string | null;
2055
+ /**
2056
+ * Possible values:
2057
+ * - `dropdown`: predefined list of choices as an answer
2058
+ * - `paragraph`: expected answer is a paragraph
2059
+ * - `text`: expected answer is a sentence
2060
+ * - `yesno`: expected answer is 'Yes' or 'No'
2061
+ *
2062
+ * - `section_header`: used to separate questions in the UI, no expected answer
2063
+ */
2064
+ kind?: string | null;
2065
+ /**
2066
+ * If `kind` is `dropdown`,
2067
+ * `true` indicates that more than one selection is permitted
2068
+ */
2069
+ multiple_select?: boolean | null;
2070
+ /**
2071
+ * - `true` indicates answering the question is not required when booking
2072
+ * - `false` indicates answering the question is required when booking
2073
+ */
2074
+ optional?: boolean | null;
2075
+ /** Position of question in list in the UI */
2076
+ position?: number | null;
2077
+ /** The question to be answered */
2078
+ question?: string | null;
2079
+ };
2080
+ update: {
2081
+ /**
2082
+ * If `kind` is `dropdown`, represents a string of dropdown choices
2083
+ * separated by the `|` character
2084
+ */
2085
+ choices?: string | null;
2086
+ /** Optional description of the question */
2087
+ description?: string | null;
2088
+ /**
2089
+ * Possible values:
2090
+ * - `dropdown`: predefined list of choices as an answer
2091
+ * - `paragraph`: expected answer is a paragraph
2092
+ * - `text`: expected answer is a sentence
2093
+ * - `yesno`: expected answer is 'Yes' or 'No'
2094
+ *
2095
+ * - `section_header`: used to separate questions in the UI, no expected answer
2096
+ */
2097
+ kind?: string | null;
2098
+ /**
2099
+ * If `kind` is `dropdown`,
2100
+ * `true` indicates that more than one selection is permitted
2101
+ */
2102
+ multiple_select?: boolean | null;
2103
+ /**
2104
+ * - `true` indicates answering the question is not required when booking
2105
+ * - `false` indicates answering the question is required when booking
2106
+ */
2107
+ optional?: boolean | null;
2108
+ /** Position of question in list in the UI */
2109
+ position?: number | null;
2110
+ /** The question to be answered */
2111
+ question?: string | null;
2112
+ };
2113
+ delete: true;
2114
+ actions: never;
2115
+ edges: {};
2116
+ }
2117
+ /**
2118
+ * Type-level schema of {@link ResourceSuggestion}: attributes, query options, writable fields, and edges.
2119
+ *
2120
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_suggestion
2121
+ */
2122
+ export interface ResourceSuggestionSchema {
2123
+ type: 'ResourceSuggestion';
2124
+ attributes: {
2125
+ /** UTC time at which the suggestion was created */
2126
+ created_at: string | null;
2127
+ /** How many resources should be requested */
2128
+ quantity: number | null;
2129
+ /** UTC time at which the suggestion was updated */
2130
+ updated_at: string | null;
2131
+ };
2132
+ relationships: 'resource' | 'room_setup';
2133
+ includes: 'resource';
2134
+ related: {
2135
+ resource: 'resource';
2136
+ room_setup: 'room_setup';
2137
+ };
2138
+ where: {};
2139
+ whereOps: {};
2140
+ order: never;
2141
+ create: {};
2142
+ update: {};
2143
+ delete: false;
2144
+ actions: never;
2145
+ edges: {
2146
+ resource: {
2147
+ vertex: 'resource';
2148
+ many: true;
2149
+ filters: never;
2150
+ create: false;
2151
+ };
2152
+ };
2153
+ }
2154
+ /**
2155
+ * Type-level schema of {@link RoomSetup}: attributes, query options, writable fields, and edges.
2156
+ *
2157
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/room_setup
2158
+ */
2159
+ export interface RoomSetupSchema {
2160
+ type: 'RoomSetup';
2161
+ attributes: {
2162
+ /** UTC time at which the room setup was created */
2163
+ created_at: string | null;
2164
+ /** A description of the room setup */
2165
+ description: string | null;
2166
+ /**
2167
+ * An object containing `url` and `thumbnail`.
2168
+ *
2169
+ * `url` is path to where room setup is stored.
2170
+ * `thumbnail` contains `url` path to where thumbnail is stored.
2171
+ */
2172
+ diagram: string | null;
2173
+ /** Path to where thumbnail version of room setup is stored */
2174
+ diagram_thumbnail_url: string | null;
2175
+ /** Path to where room setup is stored */
2176
+ diagram_url: string | null;
2177
+ /** The name of the room setup */
2178
+ name: string | null;
2179
+ /** UTC time at which the room setup was updated */
2180
+ updated_at: string | null;
2181
+ };
2182
+ relationships: 'containing_resource' | 'resource_suggestions' | 'room_setup';
2183
+ includes: 'containing_resource' | 'resource_suggestions';
2184
+ related: {
2185
+ containing_resource: 'resource';
2186
+ resource_suggestions: 'resource_suggestion';
2187
+ room_setup: 'room_setup';
2188
+ };
2189
+ where: {
2190
+ created_at: string | Date;
2191
+ name: string;
2192
+ updated_at: string | Date;
2193
+ };
2194
+ whereOps: {
2195
+ created_at: 'gt' | 'gte' | 'lt' | 'lte';
2196
+ updated_at: 'gt' | 'gte' | 'lt' | 'lte';
2197
+ };
2198
+ order: 'created_at' | 'name' | 'updated_at';
2199
+ create: {};
2200
+ update: {};
2201
+ delete: false;
2202
+ actions: never;
2203
+ edges: {
2204
+ containing_resource: {
2205
+ vertex: 'containing_resource';
2206
+ many: true;
2207
+ filters: never;
2208
+ create: false;
2209
+ };
2210
+ resource_suggestions: {
2211
+ vertex: 'resource_suggestion';
2212
+ many: true;
2213
+ filters: never;
2214
+ create: false;
2215
+ };
2216
+ };
2217
+ }
2218
+ /**
2219
+ * Type-level schema of {@link Tag}: attributes, query options, writable fields, and edges.
2220
+ *
2221
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/tag
2222
+ */
2223
+ export interface TagSchema {
2224
+ type: 'Tag';
2225
+ attributes: {
2226
+ /** `true` indicates that this tag is used as a category on Church Center */
2227
+ church_center_category: boolean | null;
2228
+ /** Hex color code of the tag */
2229
+ color: string | null;
2230
+ /** UTC time at which the tag was created */
2231
+ created_at: string | null;
2232
+ /** The tag name */
2233
+ name: string | null;
2234
+ /**
2235
+ * If the tag belongs to a TagGroup,
2236
+ * position indicates place in list within TagGroup in the UI.
2237
+ *
2238
+ * If the tag does not belong to a TagGroup,
2239
+ * position indicates place in list under "Individual Tags" in the UI.
2240
+ */
2241
+ position: number | null;
2242
+ /** UTC time at which the tag was updated */
2243
+ updated_at: string | null;
2244
+ };
2245
+ relationships: never;
2246
+ includes: 'tag_group';
2247
+ related: {
2248
+ tag_group: 'tag_group';
2249
+ };
2250
+ where: {
2251
+ church_center_category: boolean;
2252
+ color: string;
2253
+ created_at: string | Date;
2254
+ id: string;
2255
+ name: string;
2256
+ position: number;
2257
+ updated_at: string | Date;
2258
+ };
2259
+ whereOps: {
2260
+ created_at: 'gt' | 'gte' | 'lt' | 'lte';
2261
+ updated_at: 'gt' | 'gte' | 'lt' | 'lte';
2262
+ };
2263
+ order: 'name' | 'position';
2264
+ create: {
2265
+ /** `true` indicates that this tag is used as a category on Church Center */
2266
+ church_center_category?: boolean | null;
2267
+ /** Hex color code of the tag */
2268
+ color?: string | null;
2269
+ events_ids?: string[];
2270
+ /** The tag name */
2271
+ name?: string | null;
2272
+ /**
2273
+ * If the tag belongs to a TagGroup,
2274
+ * position indicates place in list within TagGroup in the UI.
2275
+ *
2276
+ * If the tag does not belong to a TagGroup,
2277
+ * position indicates place in list under "Individual Tags" in the UI.
2278
+ */
2279
+ position?: number | null;
2280
+ tag_group_id?: string;
2281
+ };
2282
+ update: {
2283
+ /** `true` indicates that this tag is used as a category on Church Center */
2284
+ church_center_category?: boolean | null;
2285
+ /** Hex color code of the tag */
2286
+ color?: string | null;
2287
+ events_ids?: string[];
2288
+ /** The tag name */
2289
+ name?: string | null;
2290
+ /**
2291
+ * If the tag belongs to a TagGroup,
2292
+ * position indicates place in list within TagGroup in the UI.
2293
+ *
2294
+ * If the tag does not belong to a TagGroup,
2295
+ * position indicates place in list under "Individual Tags" in the UI.
2296
+ */
2297
+ position?: number | null;
2298
+ tag_group_id?: string;
2299
+ };
2300
+ delete: true;
2301
+ actions: never;
2302
+ edges: {
2303
+ event_instances: {
2304
+ vertex: 'event_instance';
2305
+ many: true;
2306
+ filters: 'canceled' | 'not_canceled';
2307
+ create: false;
2308
+ };
2309
+ events: {
2310
+ vertex: 'event';
2311
+ many: true;
2312
+ filters: never;
2313
+ create: false;
2314
+ };
2315
+ tag_group: {
2316
+ vertex: 'tag_group';
2317
+ many: true;
2318
+ filters: never;
2319
+ create: false;
2320
+ };
2321
+ };
2322
+ }
2323
+ /**
2324
+ * Type-level schema of {@link TagGroup}: attributes, query options, writable fields, and edges.
2325
+ *
2326
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/tag_group
2327
+ */
2328
+ export interface TagGroupSchema {
2329
+ type: 'TagGroup';
2330
+ attributes: {
2331
+ /** UTC time at which the tag group was created */
2332
+ created_at: string | null;
2333
+ /** The name of the tag group */
2334
+ name: string | null;
2335
+ /**
2336
+ * - `true` indicates tag from this tag group must be applied when creating an event
2337
+ */
2338
+ required: boolean | null;
2339
+ /** UTC time at which the tag group was updated */
2340
+ updated_at: string | null;
2341
+ };
2342
+ relationships: never;
2343
+ includes: 'events' | 'tags';
2344
+ related: {
2345
+ events: 'event';
2346
+ tags: 'tag';
2347
+ };
2348
+ where: {
2349
+ created_at: string | Date;
2350
+ name: string;
2351
+ updated_at: string | Date;
2352
+ };
2353
+ whereOps: {
2354
+ created_at: 'gt' | 'gte' | 'lt' | 'lte';
2355
+ updated_at: 'gt' | 'gte' | 'lt' | 'lte';
2356
+ };
2357
+ order: 'name';
2358
+ create: {
2359
+ /** The name of the tag group */
2360
+ name?: string | null;
2361
+ /**
2362
+ * - `true` indicates tag from this tag group must be applied when creating an event
2363
+ */
2364
+ required?: boolean | null;
2365
+ };
2366
+ update: {
2367
+ /** The name of the tag group */
2368
+ name?: string | null;
2369
+ /**
2370
+ * - `true` indicates tag from this tag group must be applied when creating an event
2371
+ */
2372
+ required?: boolean | null;
2373
+ };
2374
+ delete: true;
2375
+ actions: never;
2376
+ edges: {
2377
+ events: {
2378
+ vertex: 'event';
2379
+ many: true;
2380
+ filters: never;
2381
+ create: false;
2382
+ };
2383
+ tags: {
2384
+ vertex: 'tag';
2385
+ many: true;
2386
+ filters: never;
2387
+ create: false;
2388
+ };
2389
+ };
2390
+ }
2391
+ /** Type-level schema of every Planning Center Calendar resource, keyed by vertex id. */
2392
+ export type CalendarSchema = {
2393
+ attachment: AttachmentSchema;
2394
+ calendar: Calendar2Schema;
2395
+ conflict: ConflictSchema;
2396
+ containing_resource: ContainingResourceSchema;
2397
+ event: EventSchema;
2398
+ event_connection: EventConnectionSchema;
2399
+ event_instance: EventInstanceSchema;
2400
+ event_resource_answer: EventResourceAnswerSchema;
2401
+ event_resource_request: EventResourceRequestSchema;
2402
+ event_time: EventTimeSchema;
2403
+ feed: FeedSchema;
2404
+ job_status: JobStatusSchema;
2405
+ organization: OrganizationSchema;
2406
+ person: PersonSchema;
2407
+ report_template: ReportTemplateSchema;
2408
+ required_approval: RequiredApprovalSchema;
2409
+ resource: ResourceSchema;
2410
+ resource_approval_group: ResourceApprovalGroupSchema;
2411
+ resource_booking: ResourceBookingSchema;
2412
+ resource_folder: ResourceFolderSchema;
2413
+ resource_question: ResourceQuestionSchema;
2414
+ resource_suggestion: ResourceSuggestionSchema;
2415
+ room_setup: RoomSetupSchema;
2416
+ tag: TagSchema;
2417
+ tag_group: TagGroupSchema;
2418
+ };
2419
+ /** Edges available from the product root (`/calendar/v2`). */
2420
+ export type CalendarRoot = {
2421
+ attachments: {
2422
+ vertex: 'attachment';
2423
+ many: true;
2424
+ filters: never;
2425
+ create: false;
2426
+ };
2427
+ calendars: {
2428
+ vertex: 'calendar';
2429
+ many: true;
2430
+ filters: never;
2431
+ create: false;
2432
+ };
2433
+ conflicts: {
2434
+ vertex: 'conflict';
2435
+ many: true;
2436
+ filters: 'future' | 'resolved' | 'unresolved';
2437
+ create: false;
2438
+ };
2439
+ event_instances: {
2440
+ vertex: 'event_instance';
2441
+ many: true;
2442
+ filters: 'all' | 'approved' | 'approved_conflict' | 'approved_pending' | 'approved_pending_conflict' | 'approved_pending_rejected' | 'approved_pending_rejected_conflict' | 'approved_rejected' | 'approved_rejected_conflict' | 'approver' | 'approver_subscriber' | 'canceled' | 'conflict' | 'event_request_approved' | 'event_request_approved_pending' | 'event_request_approved_pending_rejected' | 'event_request_approved_rejected' | 'event_request_pending' | 'event_request_pending_rejected' | 'event_request_rejected' | 'future' | 'lost' | 'lost_due_to_blockout' | 'manager' | 'manager_approver' | 'manager_approver_subscriber' | 'manager_subscriber' | 'not_canceled' | 'not_pending_event_requests' | 'owner' | 'owner_approver' | 'owner_approver_subscriber' | 'owner_manager' | 'owner_manager_approver' | 'owner_manager_approver_subscriber' | 'owner_manager_subscriber' | 'owner_subscriber' | 'pending' | 'pending_conflict' | 'pending_rejected' | 'pending_rejected_conflict' | 'rejected' | 'rejected_conflict' | 'shared' | 'subscriber' | 'unresolved';
2443
+ create: false;
2444
+ };
2445
+ event_resource_requests: {
2446
+ vertex: 'event_resource_request';
2447
+ many: true;
2448
+ filters: never;
2449
+ create: false;
2450
+ };
2451
+ events: {
2452
+ vertex: 'event';
2453
+ many: true;
2454
+ filters: 'future';
2455
+ create: false;
2456
+ };
2457
+ feeds: {
2458
+ vertex: 'feed';
2459
+ many: true;
2460
+ filters: never;
2461
+ create: false;
2462
+ };
2463
+ job_statuses: {
2464
+ vertex: 'job_status';
2465
+ many: true;
2466
+ filters: never;
2467
+ create: false;
2468
+ };
2469
+ people: {
2470
+ vertex: 'person';
2471
+ many: true;
2472
+ filters: 'active' | 'event_owners';
2473
+ create: false;
2474
+ };
2475
+ report_templates: {
2476
+ vertex: 'report_template';
2477
+ many: true;
2478
+ filters: never;
2479
+ create: true;
2480
+ };
2481
+ resource_approval_groups: {
2482
+ vertex: 'resource_approval_group';
2483
+ many: true;
2484
+ filters: never;
2485
+ create: false;
2486
+ };
2487
+ resource_bookings: {
2488
+ vertex: 'resource_booking';
2489
+ many: true;
2490
+ filters: 'approved' | 'approved_conflict' | 'approved_pending' | 'approved_pending_conflict' | 'approved_pending_rejected' | 'approved_pending_rejected_conflict' | 'approved_rejected' | 'approved_rejected_conflict' | 'conflict' | 'future' | 'pending' | 'pending_conflict' | 'pending_rejected' | 'pending_rejected_conflict' | 'rejected' | 'rejected_conflict' | 'resources' | 'rooms';
2491
+ create: false;
2492
+ };
2493
+ resource_folders: {
2494
+ vertex: 'resource_folder';
2495
+ many: true;
2496
+ filters: 'resources' | 'rooms';
2497
+ create: true;
2498
+ };
2499
+ resource_questions: {
2500
+ vertex: 'resource_question';
2501
+ many: true;
2502
+ filters: never;
2503
+ create: false;
2504
+ };
2505
+ resources: {
2506
+ vertex: 'resource';
2507
+ many: true;
2508
+ filters: 'resources' | 'rooms';
2509
+ create: true;
2510
+ };
2511
+ room_setups: {
2512
+ vertex: 'room_setup';
2513
+ many: true;
2514
+ filters: 'shared_room_setups';
2515
+ create: false;
2516
+ };
2517
+ tag_groups: {
2518
+ vertex: 'tag_group';
2519
+ many: true;
2520
+ filters: 'required';
2521
+ create: true;
2522
+ };
2523
+ tags: {
2524
+ vertex: 'tag';
2525
+ many: true;
2526
+ filters: 'individual';
2527
+ create: true;
2528
+ };
2529
+ };
2530
+ /**
2531
+ * A file or external link attached to an event.
2532
+ *
2533
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/attachment
2534
+ */
2535
+ export type Attachment = PcoResource<AttachmentSchema>;
2536
+ /**
2537
+ * Attributes of {@link Attachment}.
2538
+ *
2539
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/attachment
2540
+ */
2541
+ export type AttachmentAttributes = AttachmentSchema['attributes'];
2542
+ /**
2543
+ * Calendars associated with an Organization.
2544
+ *
2545
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/calendar
2546
+ */
2547
+ export type Calendar2 = PcoResource<Calendar2Schema>;
2548
+ /**
2549
+ * Attributes of {@link Calendar2}.
2550
+ *
2551
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/calendar
2552
+ */
2553
+ export type Calendar2Attributes = Calendar2Schema['attributes'];
2554
+ /**
2555
+ * A conflict between two events caused by overlapping event resource
2556
+ * requests.
2557
+ *
2558
+ * If the conflict has been resolved, `resolved_at` will be present.
2559
+ *
2560
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/conflict
2561
+ */
2562
+ export type Conflict = PcoResource<ConflictSchema>;
2563
+ /**
2564
+ * Attributes of {@link Conflict}.
2565
+ *
2566
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/conflict
2567
+ */
2568
+ export type ConflictAttributes = ConflictSchema['attributes'];
2569
+ /**
2570
+ * The containing record for a RoomSetup. Can be a Resource or
2571
+ * an Organization
2572
+ *
2573
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/containing_resource
2574
+ */
2575
+ export type ContainingResource = PcoResource<ContainingResourceSchema>;
2576
+ /**
2577
+ * Attributes of {@link ContainingResource}.
2578
+ *
2579
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/containing_resource
2580
+ */
2581
+ export type ContainingResourceAttributes = ContainingResourceSchema['attributes'];
2582
+ /**
2583
+ * An event.
2584
+ *
2585
+ * May contain information such as who owns
2586
+ * the event, visibility on Church Center and a public-facing summary.
2587
+ *
2588
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event
2589
+ */
2590
+ export type Event = PcoResource<EventSchema>;
2591
+ /**
2592
+ * Attributes of {@link Event}.
2593
+ *
2594
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event
2595
+ */
2596
+ export type EventAttributes = EventSchema['attributes'];
2597
+ /**
2598
+ * A connection between a Calendar event and a record in another product
2599
+ *
2600
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_connection
2601
+ */
2602
+ export type EventConnection = PcoResource<EventConnectionSchema>;
2603
+ /**
2604
+ * Attributes of {@link EventConnection}.
2605
+ *
2606
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_connection
2607
+ */
2608
+ export type EventConnectionAttributes = EventConnectionSchema['attributes'];
2609
+ /**
2610
+ * A specific occurrence of an event.
2611
+ *
2612
+ * If the event is recurring, `recurrence` will be set and
2613
+ * `recurrence_description` will provide an overview of the recurrence pattern.
2614
+ *
2615
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_instance
2616
+ */
2617
+ export type EventInstance = PcoResource<EventInstanceSchema>;
2618
+ /**
2619
+ * Attributes of {@link EventInstance}.
2620
+ *
2621
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_instance
2622
+ */
2623
+ export type EventInstanceAttributes = EventInstanceSchema['attributes'];
2624
+ /**
2625
+ * An answer to a question in a room or resource request.
2626
+ *
2627
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_resource_answer
2628
+ */
2629
+ export type EventResourceAnswer = PcoResource<EventResourceAnswerSchema>;
2630
+ /**
2631
+ * Attributes of {@link EventResourceAnswer}.
2632
+ *
2633
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_resource_answer
2634
+ */
2635
+ export type EventResourceAnswerAttributes = EventResourceAnswerSchema['attributes'];
2636
+ /**
2637
+ * A room or resource request for a specific event.
2638
+ *
2639
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_resource_request
2640
+ */
2641
+ export type EventResourceRequest = PcoResource<EventResourceRequestSchema>;
2642
+ /**
2643
+ * Attributes of {@link EventResourceRequest}.
2644
+ *
2645
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_resource_request
2646
+ */
2647
+ export type EventResourceRequestAttributes = EventResourceRequestSchema['attributes'];
2648
+ /**
2649
+ * Start and end times for each event instance.
2650
+ *
2651
+ * In the Calendar UI, these are represented under the "Schedule" section and
2652
+ * may include "Setup" and "Teardown" times for the instance.
2653
+ *
2654
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_time
2655
+ */
2656
+ export type EventTime = PcoResource<EventTimeSchema>;
2657
+ /**
2658
+ * Attributes of {@link EventTime}.
2659
+ *
2660
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/event_time
2661
+ */
2662
+ export type EventTimeAttributes = EventTimeSchema['attributes'];
2663
+ /**
2664
+ * A feed belonging to an organization.
2665
+ *
2666
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/feed
2667
+ */
2668
+ export type Feed = PcoResource<FeedSchema>;
2669
+ /**
2670
+ * Attributes of {@link Feed}.
2671
+ *
2672
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/feed
2673
+ */
2674
+ export type FeedAttributes = FeedSchema['attributes'];
2675
+ /**
2676
+ * A JobStatus resource.
2677
+ *
2678
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/job_status
2679
+ */
2680
+ export type JobStatus = PcoResource<JobStatusSchema>;
2681
+ /**
2682
+ * Attributes of {@link JobStatus}.
2683
+ *
2684
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/job_status
2685
+ */
2686
+ export type JobStatusAttributes = JobStatusSchema['attributes'];
2687
+ /**
2688
+ * An administrative structure, usually representing a single church.
2689
+ * Contains date/time formatting and time zone preferences.
2690
+ *
2691
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/organization
2692
+ */
2693
+ export type Organization = PcoResource<OrganizationSchema>;
2694
+ /**
2695
+ * Attributes of {@link Organization}.
2696
+ *
2697
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/organization
2698
+ */
2699
+ export type OrganizationAttributes = OrganizationSchema['attributes'];
2700
+ /**
2701
+ * The people in your organization with access to Calendar.
2702
+ *
2703
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/person
2704
+ */
2705
+ export type Person = PcoResource<PersonSchema>;
2706
+ /**
2707
+ * Attributes of {@link Person}.
2708
+ *
2709
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/person
2710
+ */
2711
+ export type PersonAttributes = PersonSchema['attributes'];
2712
+ /**
2713
+ * A template for generating a report.
2714
+ *
2715
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/report_template
2716
+ */
2717
+ export type ReportTemplate = PcoResource<ReportTemplateSchema>;
2718
+ /**
2719
+ * Attributes of {@link ReportTemplate}.
2720
+ *
2721
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/report_template
2722
+ */
2723
+ export type ReportTemplateAttributes = ReportTemplateSchema['attributes'];
2724
+ /**
2725
+ * Represents the relationship between a Resource and a Resource Approval Group.
2726
+ *
2727
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/required_approval
2728
+ */
2729
+ export type RequiredApproval = PcoResource<RequiredApprovalSchema>;
2730
+ /**
2731
+ * Attributes of {@link RequiredApproval}.
2732
+ *
2733
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/required_approval
2734
+ */
2735
+ export type RequiredApprovalAttributes = RequiredApprovalSchema['attributes'];
2736
+ /**
2737
+ * A room or resource that can be requested for use as part of
2738
+ * an event.
2739
+ *
2740
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource
2741
+ */
2742
+ export type Resource = PcoResource<ResourceSchema>;
2743
+ /**
2744
+ * Attributes of {@link Resource}.
2745
+ *
2746
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource
2747
+ */
2748
+ export type ResourceAttributes = ResourceSchema['attributes'];
2749
+ /**
2750
+ * A group of people that can be attached to a room or resource
2751
+ * in order to require their approval for booking.
2752
+ *
2753
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_approval_group
2754
+ */
2755
+ export type ResourceApprovalGroup = PcoResource<ResourceApprovalGroupSchema>;
2756
+ /**
2757
+ * Attributes of {@link ResourceApprovalGroup}.
2758
+ *
2759
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_approval_group
2760
+ */
2761
+ export type ResourceApprovalGroupAttributes = ResourceApprovalGroupSchema['attributes'];
2762
+ /**
2763
+ * A specific booking of a room or resource for an event instance.
2764
+ *
2765
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_booking
2766
+ */
2767
+ export type ResourceBooking = PcoResource<ResourceBookingSchema>;
2768
+ /**
2769
+ * Attributes of {@link ResourceBooking}.
2770
+ *
2771
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_booking
2772
+ */
2773
+ export type ResourceBookingAttributes = ResourceBookingSchema['attributes'];
2774
+ /**
2775
+ * An organizational folder containing rooms or resources.
2776
+ *
2777
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_folder
2778
+ */
2779
+ export type ResourceFolder = PcoResource<ResourceFolderSchema>;
2780
+ /**
2781
+ * Attributes of {@link ResourceFolder}.
2782
+ *
2783
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_folder
2784
+ */
2785
+ export type ResourceFolderAttributes = ResourceFolderSchema['attributes'];
2786
+ /**
2787
+ * A question to answer when requesting to book a room or resource.
2788
+ *
2789
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_question
2790
+ */
2791
+ export type ResourceQuestion = PcoResource<ResourceQuestionSchema>;
2792
+ /**
2793
+ * Attributes of {@link ResourceQuestion}.
2794
+ *
2795
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_question
2796
+ */
2797
+ export type ResourceQuestionAttributes = ResourceQuestionSchema['attributes'];
2798
+ /**
2799
+ * A resource and quantity suggested by a room setup.
2800
+ *
2801
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_suggestion
2802
+ */
2803
+ export type ResourceSuggestion = PcoResource<ResourceSuggestionSchema>;
2804
+ /**
2805
+ * Attributes of {@link ResourceSuggestion}.
2806
+ *
2807
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/resource_suggestion
2808
+ */
2809
+ export type ResourceSuggestionAttributes = ResourceSuggestionSchema['attributes'];
2810
+ /**
2811
+ * A diagram and list of suggested resources useful for predefined room setups.
2812
+ *
2813
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/room_setup
2814
+ */
2815
+ export type RoomSetup = PcoResource<RoomSetupSchema>;
2816
+ /**
2817
+ * Attributes of {@link RoomSetup}.
2818
+ *
2819
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/room_setup
2820
+ */
2821
+ export type RoomSetupAttributes = RoomSetupSchema['attributes'];
2822
+ /**
2823
+ * An organizational tag that can be applied to events.
2824
+ *
2825
+ * Applied tags can be used to filter events on the calendar or
2826
+ * filter events for reports, iCal feeds, kiosk, and the widget.
2827
+ *
2828
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/tag
2829
+ */
2830
+ export type Tag = PcoResource<TagSchema>;
2831
+ /**
2832
+ * Attributes of {@link Tag}.
2833
+ *
2834
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/tag
2835
+ */
2836
+ export type TagAttributes = TagSchema['attributes'];
2837
+ /**
2838
+ * A grouping of tags for organizational purposes.
2839
+ *
2840
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/tag_group
2841
+ */
2842
+ export type TagGroup = PcoResource<TagGroupSchema>;
2843
+ /**
2844
+ * Attributes of {@link TagGroup}.
2845
+ *
2846
+ * @see https://api.planningcenteronline.com/docs/apps/calendar/versions/2026-06-22/vertices/tag_group
2847
+ */
2848
+ export type TagGroupAttributes = TagGroupSchema['attributes'];
2849
+ //# sourceMappingURL=calendar.d.ts.map