@mackenly/planningcenterkit 0.4.41 → 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,936 @@
1
+ import type { PcoResource } from '../core/jsonapi.js';
2
+ /** Runtime metadata for Registrations: paths and capabilities only. */
3
+ export declare const registrationsGraph: {
4
+ readonly product: 'registrations';
5
+ readonly slug: 'registrations';
6
+ readonly basePath: '/registrations/v2';
7
+ readonly version: '2025-05-01';
8
+ readonly rootVertex: 'organization';
9
+ readonly root: {
10
+ readonly attendees: {
11
+ readonly vertex: 'attendee';
12
+ readonly many: true;
13
+ readonly canCreate: false;
14
+ };
15
+ readonly campuses: {
16
+ readonly vertex: 'campus';
17
+ readonly many: true;
18
+ readonly canCreate: false;
19
+ };
20
+ readonly categories: {
21
+ readonly vertex: 'category';
22
+ readonly many: true;
23
+ readonly canCreate: false;
24
+ };
25
+ readonly people: {
26
+ readonly vertex: 'person';
27
+ readonly many: true;
28
+ readonly canCreate: false;
29
+ };
30
+ readonly registrations: {
31
+ readonly vertex: 'registration';
32
+ readonly many: true;
33
+ readonly canCreate: false;
34
+ };
35
+ readonly signups: {
36
+ readonly vertex: 'signup';
37
+ readonly many: true;
38
+ readonly canCreate: false;
39
+ };
40
+ };
41
+ readonly vertices: {
42
+ readonly attendee: {
43
+ readonly type: 'Attendee';
44
+ readonly edges: {
45
+ readonly emergency_contact: {
46
+ readonly vertex: 'emergency_contact';
47
+ readonly many: true;
48
+ readonly canCreate: false;
49
+ };
50
+ readonly person: {
51
+ readonly vertex: 'person';
52
+ readonly many: true;
53
+ readonly canCreate: false;
54
+ };
55
+ readonly registration: {
56
+ readonly vertex: 'registration';
57
+ readonly many: true;
58
+ readonly canCreate: false;
59
+ };
60
+ readonly selection_type: {
61
+ readonly vertex: 'selection_type';
62
+ readonly many: true;
63
+ readonly canCreate: false;
64
+ };
65
+ };
66
+ readonly actions: readonly [];
67
+ readonly canUpdate: false;
68
+ readonly canDelete: false;
69
+ readonly canonicalPath: '/registrations/v2/attendees';
70
+ };
71
+ readonly campus: {
72
+ readonly type: 'Campus';
73
+ readonly edges: {};
74
+ readonly actions: readonly [];
75
+ readonly canUpdate: false;
76
+ readonly canDelete: false;
77
+ readonly canonicalPath: '/registrations/v2/campuses';
78
+ };
79
+ readonly category: {
80
+ readonly type: 'Category';
81
+ readonly edges: {};
82
+ readonly actions: readonly [];
83
+ readonly canUpdate: false;
84
+ readonly canDelete: false;
85
+ readonly canonicalPath: '/registrations/v2/categories';
86
+ };
87
+ readonly emergency_contact: {
88
+ readonly type: 'EmergencyContact';
89
+ readonly edges: {};
90
+ readonly actions: readonly [];
91
+ readonly canUpdate: false;
92
+ readonly canDelete: false;
93
+ };
94
+ readonly organization: {
95
+ readonly type: 'Organization';
96
+ readonly edges: {};
97
+ readonly actions: readonly [];
98
+ readonly canUpdate: false;
99
+ readonly canDelete: false;
100
+ };
101
+ readonly person: {
102
+ readonly type: 'Person';
103
+ readonly edges: {};
104
+ readonly actions: readonly [];
105
+ readonly canUpdate: false;
106
+ readonly canDelete: false;
107
+ readonly canonicalPath: '/registrations/v2/people';
108
+ };
109
+ readonly registration: {
110
+ readonly type: 'Registration';
111
+ readonly edges: {
112
+ readonly created_by: {
113
+ readonly vertex: 'person';
114
+ readonly many: true;
115
+ readonly canCreate: false;
116
+ };
117
+ readonly registrant_contact: {
118
+ readonly vertex: 'person';
119
+ readonly many: true;
120
+ readonly canCreate: false;
121
+ };
122
+ };
123
+ readonly actions: readonly [];
124
+ readonly canUpdate: false;
125
+ readonly canDelete: false;
126
+ readonly canonicalPath: '/registrations/v2/registrations';
127
+ };
128
+ readonly selection_type: {
129
+ readonly type: 'SelectionType';
130
+ readonly edges: {};
131
+ readonly actions: readonly [];
132
+ readonly canUpdate: false;
133
+ readonly canDelete: false;
134
+ };
135
+ readonly signup: {
136
+ readonly type: 'Signup';
137
+ readonly edges: {
138
+ readonly attendees: {
139
+ readonly vertex: 'attendee';
140
+ readonly many: true;
141
+ readonly canCreate: false;
142
+ };
143
+ readonly campuses: {
144
+ readonly vertex: 'campus';
145
+ readonly many: true;
146
+ readonly canCreate: false;
147
+ };
148
+ readonly categories: {
149
+ readonly vertex: 'category';
150
+ readonly many: true;
151
+ readonly canCreate: false;
152
+ };
153
+ readonly next_signup_time: {
154
+ readonly vertex: 'signup_time';
155
+ readonly many: true;
156
+ readonly canCreate: false;
157
+ };
158
+ readonly registrations: {
159
+ readonly vertex: 'registration';
160
+ readonly many: true;
161
+ readonly canCreate: false;
162
+ };
163
+ readonly selection_types: {
164
+ readonly vertex: 'selection_type';
165
+ readonly many: true;
166
+ readonly canCreate: false;
167
+ };
168
+ readonly signup_location: {
169
+ readonly vertex: 'signup_location';
170
+ readonly many: true;
171
+ readonly canCreate: false;
172
+ };
173
+ readonly signup_times: {
174
+ readonly vertex: 'signup_time';
175
+ readonly many: true;
176
+ readonly canCreate: false;
177
+ };
178
+ };
179
+ readonly actions: readonly [];
180
+ readonly canUpdate: false;
181
+ readonly canDelete: false;
182
+ readonly canonicalPath: '/registrations/v2/signups';
183
+ };
184
+ readonly signup_location: {
185
+ readonly type: 'SignupLocation';
186
+ readonly edges: {};
187
+ readonly actions: readonly [];
188
+ readonly canUpdate: false;
189
+ readonly canDelete: false;
190
+ };
191
+ readonly signup_time: {
192
+ readonly type: 'SignupTime';
193
+ readonly edges: {};
194
+ readonly actions: readonly [];
195
+ readonly canUpdate: false;
196
+ readonly canDelete: false;
197
+ };
198
+ };
199
+ };
200
+ /**
201
+ * Type-level schema of {@link Attendee}: attributes, query options, writable fields, and edges.
202
+ *
203
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/attendee
204
+ */
205
+ export interface AttendeeSchema {
206
+ type: 'Attendee';
207
+ attributes: {
208
+ /** Whether or not the attendee is active. */
209
+ active: boolean | null;
210
+ /** Whether or not the attendee is canceled. */
211
+ canceled: boolean | null;
212
+ /**
213
+ * Whether or not attendee has completed all necessary items (personal information, questions, forms, add ons).
214
+ *
215
+ *
216
+ * Only available when requested with the `?fields` param
217
+ */
218
+ complete: boolean | null;
219
+ created_at: string | null;
220
+ /**
221
+ * The attendee's name. Derived from the associated person record.
222
+ *
223
+ *
224
+ * Only available when requested with the `?fields` param
225
+ */
226
+ name: string | null;
227
+ updated_at: string | null;
228
+ /** Whether or not the attendee is waitlisted. */
229
+ waitlisted: boolean | null;
230
+ /** UTC time at which the attendee was waitlisted. */
231
+ waitlisted_at: string | null;
232
+ };
233
+ relationships: never;
234
+ includes: 'emergency_contact' | 'person' | 'registration' | 'selection_type';
235
+ related: {
236
+ emergency_contact: 'emergency_contact';
237
+ person: 'person';
238
+ registration: 'registration';
239
+ selection_type: 'selection_type';
240
+ };
241
+ where: {};
242
+ whereOps: {};
243
+ order: 'created_at';
244
+ create: {};
245
+ update: {};
246
+ delete: false;
247
+ actions: never;
248
+ edges: {
249
+ emergency_contact: {
250
+ vertex: 'emergency_contact';
251
+ many: true;
252
+ filters: never;
253
+ create: false;
254
+ };
255
+ person: {
256
+ vertex: 'person';
257
+ many: true;
258
+ filters: never;
259
+ create: false;
260
+ };
261
+ registration: {
262
+ vertex: 'registration';
263
+ many: true;
264
+ filters: never;
265
+ create: false;
266
+ };
267
+ selection_type: {
268
+ vertex: 'selection_type';
269
+ many: true;
270
+ filters: never;
271
+ create: false;
272
+ };
273
+ };
274
+ }
275
+ /**
276
+ * Type-level schema of {@link Campus}: attributes, query options, writable fields, and edges.
277
+ *
278
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/campus
279
+ */
280
+ export interface CampusSchema {
281
+ type: 'Campus';
282
+ attributes: {
283
+ /** City where the campus is located. */
284
+ city: string | null;
285
+ /** Country where the campus is located. */
286
+ country: string | null;
287
+ created_at: string | null;
288
+ full_formatted_address: string | null;
289
+ /** Name of the campus. */
290
+ name: string | null;
291
+ /** State or province where the campus is located. */
292
+ state: string | null;
293
+ /** Street address of the campus. */
294
+ street: string | null;
295
+ updated_at: string | null;
296
+ /** Zip code of the campus. */
297
+ zip: string | null;
298
+ };
299
+ relationships: never;
300
+ includes: never;
301
+ related: {};
302
+ where: {};
303
+ whereOps: {};
304
+ order: never;
305
+ create: {};
306
+ update: {};
307
+ delete: false;
308
+ actions: never;
309
+ edges: {};
310
+ }
311
+ /**
312
+ * Type-level schema of {@link Category}: attributes, query options, writable fields, and edges.
313
+ *
314
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/category
315
+ */
316
+ export interface CategorySchema {
317
+ type: 'Category';
318
+ attributes: {
319
+ created_at: string | null;
320
+ /** Name of the category. */
321
+ name: string | null;
322
+ updated_at: string | null;
323
+ };
324
+ relationships: never;
325
+ includes: never;
326
+ related: {};
327
+ where: {};
328
+ whereOps: {};
329
+ order: never;
330
+ create: {};
331
+ update: {};
332
+ delete: false;
333
+ actions: never;
334
+ edges: {};
335
+ }
336
+ /**
337
+ * Type-level schema of {@link EmergencyContact}: attributes, query options, writable fields, and edges.
338
+ *
339
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/emergency_contact
340
+ */
341
+ export interface EmergencyContactSchema {
342
+ type: 'EmergencyContact';
343
+ attributes: {
344
+ name: string | null;
345
+ /** Phone number of the emergency contact person. */
346
+ phone_number: string | null;
347
+ };
348
+ relationships: never;
349
+ includes: never;
350
+ related: {};
351
+ where: {};
352
+ whereOps: {};
353
+ order: never;
354
+ create: {};
355
+ update: {};
356
+ delete: false;
357
+ actions: never;
358
+ edges: {};
359
+ }
360
+ /**
361
+ * Type-level schema of {@link Organization}: attributes, query options, writable fields, and edges.
362
+ *
363
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/organization
364
+ */
365
+ export interface OrganizationSchema {
366
+ type: 'Organization';
367
+ attributes: {
368
+ created_at: string | null;
369
+ /** Name of the Organization. */
370
+ name: string | null;
371
+ updated_at: string | null;
372
+ };
373
+ relationships: never;
374
+ includes: never;
375
+ related: {};
376
+ where: {};
377
+ whereOps: {};
378
+ order: never;
379
+ create: {};
380
+ update: {};
381
+ delete: false;
382
+ actions: never;
383
+ edges: {};
384
+ }
385
+ /**
386
+ * Type-level schema of {@link Person}: attributes, query options, writable fields, and edges.
387
+ *
388
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/person
389
+ */
390
+ export interface PersonSchema {
391
+ type: 'Person';
392
+ attributes: {
393
+ can_search: boolean | null;
394
+ first_name: string | null;
395
+ last_name: string | null;
396
+ name: string | null;
397
+ };
398
+ relationships: never;
399
+ includes: never;
400
+ related: {};
401
+ where: {};
402
+ whereOps: {};
403
+ order: never;
404
+ create: {};
405
+ update: {};
406
+ delete: false;
407
+ actions: never;
408
+ edges: {};
409
+ }
410
+ /**
411
+ * Type-level schema of {@link Registration}: attributes, query options, writable fields, and edges.
412
+ *
413
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/registration
414
+ */
415
+ export interface RegistrationSchema {
416
+ type: 'Registration';
417
+ attributes: {
418
+ created_at: string | null;
419
+ /**
420
+ * The registration's total cost after discounts, formatted with the signup's
421
+ * currency symbol (for example `"$120.00"`). `null` for a free registration.
422
+ * Accounts for discounts and every attendee on the registration.
423
+ */
424
+ total_cost: string | null;
425
+ /**
426
+ * The registration's total cost after discounts, in cents. `0` for a free
427
+ * registration. Accounts for discounts and every attendee on the registration.
428
+ */
429
+ total_cost_cents: number | null;
430
+ /**
431
+ * The registration's outstanding balance, formatted with the signup's currency
432
+ * symbol (for example `"$120.00"`). Accounts for discounts and every attendee
433
+ * on the registration.
434
+ */
435
+ total_due: string | null;
436
+ /**
437
+ * The registration's outstanding balance in cents. Accounts for discounts and
438
+ * every attendee on the registration.
439
+ */
440
+ total_due_cents: number | null;
441
+ /**
442
+ * The total amount paid toward the registration, formatted with the signup's
443
+ * currency symbol (for example `"$120.00"`).
444
+ */
445
+ total_paid: string | null;
446
+ /** The total amount paid toward the registration, in cents. */
447
+ total_paid_cents: number | null;
448
+ updated_at: string | null;
449
+ };
450
+ relationships: never;
451
+ includes: 'created_by' | 'registrant_contact';
452
+ related: {
453
+ created_by: 'person';
454
+ registrant_contact: 'person';
455
+ };
456
+ where: {};
457
+ whereOps: {};
458
+ order: 'created_at' | 'updated_at';
459
+ create: {};
460
+ update: {};
461
+ delete: false;
462
+ actions: never;
463
+ edges: {
464
+ created_by: {
465
+ vertex: 'person';
466
+ many: true;
467
+ filters: never;
468
+ create: false;
469
+ };
470
+ registrant_contact: {
471
+ vertex: 'person';
472
+ many: true;
473
+ filters: never;
474
+ create: false;
475
+ };
476
+ };
477
+ }
478
+ /**
479
+ * Type-level schema of {@link SelectionType}: attributes, query options, writable fields, and edges.
480
+ *
481
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/selection_type
482
+ */
483
+ export interface SelectionTypeSchema {
484
+ type: 'SelectionType';
485
+ attributes: {
486
+ /**
487
+ * Whether the selection type has reached its maximum capacity.
488
+ *
489
+ *
490
+ * Only available when requested with the `?fields` param
491
+ */
492
+ at_maximum_capacity: boolean | null;
493
+ /**
494
+ * Remaining spots for this selection type (`maximum_capacity` minus active
495
+ * registrations). `null` when there is no capacity limit.
496
+ *
497
+ *
498
+ * Only available when requested with the `?fields` param
499
+ */
500
+ available_capacity: number | null;
501
+ created_at: string | null;
502
+ /**
503
+ * Maximum number of attendees this selection type can hold. `null` when there
504
+ * is no capacity limit.
505
+ */
506
+ maximum_capacity: number | null;
507
+ /** Name of the selection type. */
508
+ name: string | null;
509
+ /** Price of selection type in cents. */
510
+ price_cents: number | null;
511
+ /**
512
+ * Signup currency code, example `"USD"`.
513
+ *
514
+ *
515
+ * Only available when requested with the `?fields` param
516
+ */
517
+ price_currency: string | null;
518
+ /**
519
+ * Signup currency symbol, example `"$"`.
520
+ *
521
+ *
522
+ * Only available when requested with the `?fields` param
523
+ */
524
+ price_currency_symbol: string | null;
525
+ /**
526
+ * Price of selection type with currency formatting (symbol not included).
527
+ *
528
+ *
529
+ * Only available when requested with the `?fields` param
530
+ */
531
+ price_formatted: string | null;
532
+ /**
533
+ * Whether the selection type is available on Church Center right now. A selection
534
+ * type scheduled to open later, or one that has closed, is `false`.
535
+ */
536
+ publicly_available: boolean | null;
537
+ updated_at: string | null;
538
+ /** Whether the selection type offers a waitlist once it is full. */
539
+ waitlist: boolean | null;
540
+ };
541
+ relationships: never;
542
+ includes: never;
543
+ related: {};
544
+ where: {};
545
+ whereOps: {};
546
+ order: never;
547
+ create: {};
548
+ update: {};
549
+ delete: false;
550
+ actions: never;
551
+ edges: {};
552
+ }
553
+ /**
554
+ * Type-level schema of {@link Signup}: attributes, query options, writable fields, and edges.
555
+ *
556
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/signup
557
+ */
558
+ export interface SignupSchema {
559
+ type: 'Signup';
560
+ attributes: {
561
+ /** Whether the signup is archived or not. */
562
+ archived: boolean | null;
563
+ /**
564
+ * Whether the signup has reached its signup-level maximum capacity.
565
+ *
566
+ *
567
+ * Only available when requested with the `?fields` param
568
+ */
569
+ at_maximum_capacity: boolean | null;
570
+ /** UTC time at which regsitration closes. */
571
+ close_at: string | null;
572
+ /**
573
+ * Whether the signup is currently closed to new registrations. A signup is
574
+ * closed when it is archived, has no `open_at`, has an `open_at` in the
575
+ * future, or has a `close_at` in the past.
576
+ */
577
+ closed: boolean | null;
578
+ created_at: string | null;
579
+ /** Decription of the signup. */
580
+ description: string | null;
581
+ /** URL for the image used for the signup. */
582
+ logo_url: string | null;
583
+ /**
584
+ * Maximum number of attendees this signup can hold across all selection types.
585
+ * `null` when there is no signup-level capacity limit.
586
+ */
587
+ maximum_capacity: number | null;
588
+ /** Name of the signup. */
589
+ name: string | null;
590
+ /** URL to allow people to register for signup. */
591
+ new_registration_url: string | null;
592
+ /**
593
+ * Whether the signup is currently open to new registrations. Inverse of
594
+ * `closed`.
595
+ */
596
+ open: boolean | null;
597
+ /** UTC time at which regsitration opens. */
598
+ open_at: string | null;
599
+ updated_at: string | null;
600
+ };
601
+ relationships: never;
602
+ includes: 'campuses' | 'categories' | 'next_signup_time' | 'selection_types' | 'signup_location' | 'signup_times';
603
+ related: {
604
+ campuses: 'campus';
605
+ categories: 'category';
606
+ next_signup_time: 'signup_time';
607
+ selection_types: 'selection_type';
608
+ signup_location: 'signup_location';
609
+ signup_times: 'signup_time';
610
+ };
611
+ where: {
612
+ id: string;
613
+ name: string;
614
+ };
615
+ whereOps: {};
616
+ order: 'created_at' | 'updated_at';
617
+ create: {};
618
+ update: {};
619
+ delete: false;
620
+ actions: never;
621
+ edges: {
622
+ attendees: {
623
+ vertex: 'attendee';
624
+ many: true;
625
+ filters: 'active' | 'canceled' | 'waitlist';
626
+ create: false;
627
+ };
628
+ campuses: {
629
+ vertex: 'campus';
630
+ many: true;
631
+ filters: never;
632
+ create: false;
633
+ };
634
+ categories: {
635
+ vertex: 'category';
636
+ many: true;
637
+ filters: never;
638
+ create: false;
639
+ };
640
+ next_signup_time: {
641
+ vertex: 'signup_time';
642
+ many: true;
643
+ filters: never;
644
+ create: false;
645
+ };
646
+ registrations: {
647
+ vertex: 'registration';
648
+ many: true;
649
+ filters: never;
650
+ create: false;
651
+ };
652
+ selection_types: {
653
+ vertex: 'selection_type';
654
+ many: true;
655
+ filters: 'publicly_available';
656
+ create: false;
657
+ };
658
+ signup_location: {
659
+ vertex: 'signup_location';
660
+ many: true;
661
+ filters: never;
662
+ create: false;
663
+ };
664
+ signup_times: {
665
+ vertex: 'signup_time';
666
+ many: true;
667
+ filters: 'future' | 'past';
668
+ create: false;
669
+ };
670
+ };
671
+ }
672
+ /**
673
+ * Type-level schema of {@link SignupLocation}: attributes, query options, writable fields, and edges.
674
+ *
675
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/signup_location
676
+ */
677
+ export interface SignupLocationSchema {
678
+ type: 'SignupLocation';
679
+ attributes: {
680
+ /**
681
+ * The address data of the signup location, which includes details like street, city, state, and postal code.
682
+ *
683
+ *
684
+ * Only available when requested with the `?fields` param
685
+ */
686
+ address_data: Record<string, unknown> | null;
687
+ created_at: string | null;
688
+ /**
689
+ * The formatted address of the signup location, which may not include subpremise details.
690
+ */
691
+ formatted_address: string | null;
692
+ /**
693
+ * The fully formatted address of the signup location, including subpremise details.
694
+ */
695
+ full_formatted_address: string | null;
696
+ /** The latitude of the signup location. */
697
+ latitude: string | null;
698
+ /** The type of location, such as `address`, `coords`, or `online`. */
699
+ location_type: string | null;
700
+ /** The longitude of the signup location. */
701
+ longitude: string | null;
702
+ /** The name of the signup location. */
703
+ name: string | null;
704
+ /** The subpremise of the signup location, such as an building or room number. */
705
+ subpremise: string | null;
706
+ updated_at: string | null;
707
+ /** The URL for the signup location, if applicable (e.g., for online events). */
708
+ url: string | null;
709
+ };
710
+ relationships: never;
711
+ includes: never;
712
+ related: {};
713
+ where: {};
714
+ whereOps: {};
715
+ order: never;
716
+ create: {};
717
+ update: {};
718
+ delete: false;
719
+ actions: never;
720
+ edges: {};
721
+ }
722
+ /**
723
+ * Type-level schema of {@link SignupTime}: attributes, query options, writable fields, and edges.
724
+ *
725
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/signup_time
726
+ */
727
+ export interface SignupTimeSchema {
728
+ type: 'SignupTime';
729
+ attributes: {
730
+ /** Whether or not the signup time is all day. */
731
+ all_day: boolean | null;
732
+ created_at: string | null;
733
+ /** End date and time of signup time. */
734
+ ends_at: string | null;
735
+ /** Start date and time of signup time. */
736
+ starts_at: string | null;
737
+ updated_at: string | null;
738
+ };
739
+ relationships: never;
740
+ includes: never;
741
+ related: {};
742
+ where: {};
743
+ whereOps: {};
744
+ order: never;
745
+ create: {};
746
+ update: {};
747
+ delete: false;
748
+ actions: never;
749
+ edges: {};
750
+ }
751
+ /** Type-level schema of every Registrations resource, keyed by vertex id. */
752
+ export type RegistrationsSchema = {
753
+ attendee: AttendeeSchema;
754
+ campus: CampusSchema;
755
+ category: CategorySchema;
756
+ emergency_contact: EmergencyContactSchema;
757
+ organization: OrganizationSchema;
758
+ person: PersonSchema;
759
+ registration: RegistrationSchema;
760
+ selection_type: SelectionTypeSchema;
761
+ signup: SignupSchema;
762
+ signup_location: SignupLocationSchema;
763
+ signup_time: SignupTimeSchema;
764
+ };
765
+ /** Edges available from the product root (`/registrations/v2`). */
766
+ export type RegistrationsRoot = {
767
+ attendees: {
768
+ vertex: 'attendee';
769
+ many: true;
770
+ filters: never;
771
+ create: false;
772
+ };
773
+ campuses: {
774
+ vertex: 'campus';
775
+ many: true;
776
+ filters: never;
777
+ create: false;
778
+ };
779
+ categories: {
780
+ vertex: 'category';
781
+ many: true;
782
+ filters: never;
783
+ create: false;
784
+ };
785
+ people: {
786
+ vertex: 'person';
787
+ many: true;
788
+ filters: never;
789
+ create: false;
790
+ };
791
+ registrations: {
792
+ vertex: 'registration';
793
+ many: true;
794
+ filters: never;
795
+ create: false;
796
+ };
797
+ signups: {
798
+ vertex: 'signup';
799
+ many: true;
800
+ filters: 'archived' | 'unarchived';
801
+ create: false;
802
+ };
803
+ };
804
+ /**
805
+ * An `Attendee` is a person registered for a signup.
806
+ *
807
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/attendee
808
+ */
809
+ export type Attendee = PcoResource<AttendeeSchema>;
810
+ /**
811
+ * Attributes of {@link Attendee}.
812
+ *
813
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/attendee
814
+ */
815
+ export type AttendeeAttributes = AttendeeSchema['attributes'];
816
+ /**
817
+ * A `Campus` is a location belonging to an Organization.
818
+ *
819
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/campus
820
+ */
821
+ export type Campus = PcoResource<CampusSchema>;
822
+ /**
823
+ * Attributes of {@link Campus}.
824
+ *
825
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/campus
826
+ */
827
+ export type CampusAttributes = CampusSchema['attributes'];
828
+ /**
829
+ * A `Category` is a label used to group together and find signups more easily.
830
+ *
831
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/category
832
+ */
833
+ export type Category = PcoResource<CategorySchema>;
834
+ /**
835
+ * Attributes of {@link Category}.
836
+ *
837
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/category
838
+ */
839
+ export type CategoryAttributes = CategorySchema['attributes'];
840
+ /**
841
+ * `Emergency_Contact` is the person assigned as the emergency contact for an attendee.
842
+ *
843
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/emergency_contact
844
+ */
845
+ export type EmergencyContact = PcoResource<EmergencyContactSchema>;
846
+ /**
847
+ * Attributes of {@link EmergencyContact}.
848
+ *
849
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/emergency_contact
850
+ */
851
+ export type EmergencyContactAttributes = EmergencyContactSchema['attributes'];
852
+ /**
853
+ * The root level `Organization` record which serves as a link to `Signup`s.
854
+ *
855
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/organization
856
+ */
857
+ export type Organization = PcoResource<OrganizationSchema>;
858
+ /**
859
+ * Attributes of {@link Organization}.
860
+ *
861
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/organization
862
+ */
863
+ export type OrganizationAttributes = OrganizationSchema['attributes'];
864
+ /**
865
+ * A Person resource.
866
+ *
867
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/person
868
+ */
869
+ export type Person = PcoResource<PersonSchema>;
870
+ /**
871
+ * Attributes of {@link Person}.
872
+ *
873
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/person
874
+ */
875
+ export type PersonAttributes = PersonSchema['attributes'];
876
+ /**
877
+ * A Registration resource.
878
+ *
879
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/registration
880
+ */
881
+ export type Registration = PcoResource<RegistrationSchema>;
882
+ /**
883
+ * Attributes of {@link Registration}.
884
+ *
885
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/registration
886
+ */
887
+ export type RegistrationAttributes = RegistrationSchema['attributes'];
888
+ /**
889
+ * `Selection_Types` are used to present the options people register for in a signup.
890
+ *
891
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/selection_type
892
+ */
893
+ export type SelectionType = PcoResource<SelectionTypeSchema>;
894
+ /**
895
+ * Attributes of {@link SelectionType}.
896
+ *
897
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/selection_type
898
+ */
899
+ export type SelectionTypeAttributes = SelectionTypeSchema['attributes'];
900
+ /**
901
+ * A `Signup` is an organization signup that people can register for.
902
+ *
903
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/signup
904
+ */
905
+ export type Signup = PcoResource<SignupSchema>;
906
+ /**
907
+ * Attributes of {@link Signup}.
908
+ *
909
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/signup
910
+ */
911
+ export type SignupAttributes = SignupSchema['attributes'];
912
+ /**
913
+ * `Signup_location` is the location of a signup.
914
+ *
915
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/signup_location
916
+ */
917
+ export type SignupLocation = PcoResource<SignupLocationSchema>;
918
+ /**
919
+ * Attributes of {@link SignupLocation}.
920
+ *
921
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/signup_location
922
+ */
923
+ export type SignupLocationAttributes = SignupLocationSchema['attributes'];
924
+ /**
925
+ * `Signup_time`s are associated with a signup, which can have multiple signup times.
926
+ *
927
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/signup_time
928
+ */
929
+ export type SignupTime = PcoResource<SignupTimeSchema>;
930
+ /**
931
+ * Attributes of {@link SignupTime}.
932
+ *
933
+ * @see https://api.planningcenteronline.com/docs/apps/registrations/versions/2025-05-01/vertices/signup_time
934
+ */
935
+ export type SignupTimeAttributes = SignupTimeSchema['attributes'];
936
+ //# sourceMappingURL=registrations.d.ts.map