@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.
- package/README.md +472 -31
- package/dist/cjs/client.d.ts +145 -0
- package/dist/cjs/client.d.ts.map +1 -0
- package/dist/cjs/client.js +176 -0
- package/dist/cjs/client.js.map +1 -0
- package/dist/cjs/core/auth.d.ts +105 -0
- package/dist/cjs/core/auth.d.ts.map +1 -0
- package/dist/cjs/core/auth.js +219 -0
- package/dist/cjs/core/auth.js.map +1 -0
- package/dist/cjs/core/errors.d.ts +145 -0
- package/dist/cjs/core/errors.d.ts.map +1 -0
- package/dist/cjs/core/errors.js +202 -0
- package/dist/cjs/core/errors.js.map +1 -0
- package/dist/cjs/core/graph.d.ts +110 -0
- package/dist/cjs/core/graph.d.ts.map +1 -0
- package/dist/cjs/core/graph.js +14 -0
- package/dist/cjs/core/graph.js.map +1 -0
- package/dist/cjs/core/http.d.ts +147 -0
- package/dist/cjs/core/http.d.ts.map +1 -0
- package/dist/cjs/core/http.js +478 -0
- package/dist/cjs/core/http.js.map +1 -0
- package/dist/cjs/core/jsonapi.d.ts +65 -0
- package/dist/cjs/core/jsonapi.d.ts.map +1 -0
- package/dist/{types.js → cjs/core/jsonapi.js} +1 -2
- package/dist/cjs/core/jsonapi.js.map +1 -0
- package/dist/cjs/core/oauth.d.ts +202 -0
- package/dist/cjs/core/oauth.d.ts.map +1 -0
- package/dist/cjs/core/oauth.js +290 -0
- package/dist/cjs/core/oauth.js.map +1 -0
- package/dist/cjs/core/product.d.ts +78 -0
- package/dist/cjs/core/product.d.ts.map +1 -0
- package/dist/cjs/core/product.js +57 -0
- package/dist/cjs/core/product.js.map +1 -0
- package/dist/cjs/core/query.d.ts +489 -0
- package/dist/cjs/core/query.d.ts.map +1 -0
- package/dist/cjs/core/query.js +435 -0
- package/dist/cjs/core/query.js.map +1 -0
- package/dist/cjs/core/transport.d.ts +57 -0
- package/dist/cjs/core/transport.d.ts.map +1 -0
- package/dist/cjs/core/transport.js +7 -0
- package/dist/cjs/core/transport.js.map +1 -0
- package/dist/cjs/entries/api.d.ts +26 -0
- package/dist/cjs/entries/api.d.ts.map +1 -0
- package/dist/cjs/entries/api.js +40 -0
- package/dist/cjs/entries/api.js.map +1 -0
- package/dist/cjs/entries/calendar.d.ts +26 -0
- package/dist/cjs/entries/calendar.d.ts.map +1 -0
- package/dist/cjs/entries/calendar.js +40 -0
- package/dist/cjs/entries/calendar.js.map +1 -0
- package/dist/cjs/entries/check-ins.d.ts +26 -0
- package/dist/cjs/entries/check-ins.d.ts.map +1 -0
- package/dist/cjs/entries/check-ins.js +40 -0
- package/dist/cjs/entries/check-ins.js.map +1 -0
- package/dist/cjs/entries/current.d.ts +26 -0
- package/dist/cjs/entries/current.d.ts.map +1 -0
- package/dist/cjs/entries/current.js +40 -0
- package/dist/cjs/entries/current.js.map +1 -0
- package/dist/cjs/entries/giving.d.ts +26 -0
- package/dist/cjs/entries/giving.d.ts.map +1 -0
- package/dist/cjs/entries/giving.js +40 -0
- package/dist/cjs/entries/giving.js.map +1 -0
- package/dist/cjs/entries/groups.d.ts +26 -0
- package/dist/cjs/entries/groups.d.ts.map +1 -0
- package/dist/cjs/entries/groups.js +40 -0
- package/dist/cjs/entries/groups.js.map +1 -0
- package/dist/cjs/entries/oauth.d.ts +8 -0
- package/dist/cjs/entries/oauth.d.ts.map +1 -0
- package/dist/cjs/entries/oauth.js +27 -0
- package/dist/cjs/entries/oauth.js.map +1 -0
- package/dist/cjs/entries/people.d.ts +26 -0
- package/dist/cjs/entries/people.d.ts.map +1 -0
- package/dist/cjs/entries/people.js +40 -0
- package/dist/cjs/entries/people.js.map +1 -0
- package/dist/cjs/entries/publishing.d.ts +26 -0
- package/dist/cjs/entries/publishing.d.ts.map +1 -0
- package/dist/cjs/entries/publishing.js +40 -0
- package/dist/cjs/entries/publishing.js.map +1 -0
- package/dist/cjs/entries/registrations.d.ts +26 -0
- package/dist/cjs/entries/registrations.d.ts.map +1 -0
- package/dist/cjs/entries/registrations.js +40 -0
- package/dist/cjs/entries/registrations.js.map +1 -0
- package/dist/cjs/entries/services.d.ts +26 -0
- package/dist/cjs/entries/services.d.ts.map +1 -0
- package/dist/cjs/entries/services.js +40 -0
- package/dist/cjs/entries/services.js.map +1 -0
- package/dist/cjs/entries/webhooks-api.d.ts +26 -0
- package/dist/cjs/entries/webhooks-api.d.ts.map +1 -0
- package/dist/cjs/entries/webhooks-api.js +40 -0
- package/dist/cjs/entries/webhooks-api.js.map +1 -0
- package/dist/cjs/entries/webhooks.d.ts +6 -0
- package/dist/cjs/entries/webhooks.d.ts.map +1 -0
- package/dist/cjs/entries/webhooks.js +22 -0
- package/dist/cjs/entries/webhooks.js.map +1 -0
- package/dist/cjs/generated/api.d.ts +426 -0
- package/dist/cjs/generated/api.d.ts.map +1 -0
- package/dist/cjs/generated/api.js +77 -0
- package/dist/cjs/generated/api.js.map +1 -0
- package/dist/cjs/generated/calendar.d.ts +2849 -0
- package/dist/cjs/generated/calendar.d.ts.map +1 -0
- package/dist/cjs/generated/calendar.js +299 -0
- package/dist/cjs/generated/calendar.js.map +1 -0
- package/dist/cjs/generated/check-ins.d.ts +2383 -0
- package/dist/cjs/generated/check-ins.d.ts.map +1 -0
- package/dist/cjs/generated/check-ins.js +298 -0
- package/dist/cjs/generated/check-ins.js.map +1 -0
- package/dist/cjs/generated/current.d.ts +135 -0
- package/dist/cjs/generated/current.d.ts.map +1 -0
- package/dist/cjs/generated/current.js +34 -0
- package/dist/cjs/generated/current.js.map +1 -0
- package/dist/cjs/generated/giving.d.ts +2309 -0
- package/dist/cjs/generated/giving.d.ts.map +1 -0
- package/dist/cjs/generated/giving.js +228 -0
- package/dist/cjs/generated/giving.js.map +1 -0
- package/dist/cjs/generated/groups.d.ts +1789 -0
- package/dist/cjs/generated/groups.d.ts.map +1 -0
- package/dist/cjs/generated/groups.js +200 -0
- package/dist/cjs/generated/groups.js.map +1 -0
- package/dist/cjs/generated/index.d.ts +5067 -0
- package/dist/cjs/generated/index.d.ts.map +1 -0
- package/dist/cjs/generated/index.js +73 -0
- package/dist/cjs/generated/index.js.map +1 -0
- package/dist/cjs/generated/people.d.ts +6001 -0
- package/dist/cjs/generated/people.d.ts.map +1 -0
- package/dist/cjs/generated/people.js +694 -0
- package/dist/cjs/generated/people.js.map +1 -0
- package/dist/cjs/generated/publishing.d.ts +1468 -0
- package/dist/cjs/generated/publishing.d.ts.map +1 -0
- package/dist/cjs/generated/publishing.js +180 -0
- package/dist/cjs/generated/publishing.js.map +1 -0
- package/dist/cjs/generated/registrations.d.ts +936 -0
- package/dist/cjs/generated/registrations.d.ts.map +1 -0
- package/dist/cjs/generated/registrations.js +122 -0
- package/dist/cjs/generated/registrations.js.map +1 -0
- package/dist/cjs/generated/services.d.ts +6301 -0
- package/dist/cjs/generated/services.d.ts.map +1 -0
- package/dist/cjs/generated/services.js +634 -0
- package/dist/cjs/generated/services.js.map +1 -0
- package/dist/cjs/generated/webhooks.d.ts +325 -0
- package/dist/cjs/generated/webhooks.d.ts.map +1 -0
- package/dist/cjs/generated/webhooks.js +58 -0
- package/dist/cjs/generated/webhooks.js.map +1 -0
- package/dist/cjs/index.d.ts +29 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +51 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/webhooks/errors.d.ts +51 -0
- package/dist/cjs/webhooks/errors.d.ts.map +1 -0
- package/dist/cjs/webhooks/errors.js +56 -0
- package/dist/cjs/webhooks/errors.js.map +1 -0
- package/dist/cjs/webhooks/events.d.ts +144 -0
- package/dist/cjs/webhooks/events.d.ts.map +1 -0
- package/dist/cjs/webhooks/events.js +160 -0
- package/dist/cjs/webhooks/events.js.map +1 -0
- package/dist/cjs/webhooks/handle.d.ts +103 -0
- package/dist/cjs/webhooks/handle.d.ts.map +1 -0
- package/dist/cjs/webhooks/handle.js +140 -0
- package/dist/cjs/webhooks/handle.js.map +1 -0
- package/dist/cjs/webhooks/index.d.ts +33 -0
- package/dist/cjs/webhooks/index.d.ts.map +1 -0
- package/dist/cjs/webhooks/index.js +46 -0
- package/dist/cjs/webhooks/index.js.map +1 -0
- package/dist/cjs/webhooks/signature.d.ts +84 -0
- package/dist/cjs/webhooks/signature.d.ts.map +1 -0
- package/dist/cjs/webhooks/signature.js +126 -0
- package/dist/cjs/webhooks/signature.js.map +1 -0
- package/dist/esm/client.d.ts +145 -0
- package/dist/esm/client.d.ts.map +1 -0
- package/dist/esm/client.js +172 -0
- package/dist/esm/client.js.map +1 -0
- package/dist/esm/core/auth.d.ts +105 -0
- package/dist/esm/core/auth.d.ts.map +1 -0
- package/dist/esm/core/auth.js +215 -0
- package/dist/esm/core/auth.js.map +1 -0
- package/dist/esm/core/errors.d.ts +145 -0
- package/dist/esm/core/errors.d.ts.map +1 -0
- package/dist/esm/core/errors.js +185 -0
- package/dist/esm/core/errors.js.map +1 -0
- package/dist/esm/core/graph.d.ts +110 -0
- package/dist/esm/core/graph.d.ts.map +1 -0
- package/dist/esm/core/graph.js +13 -0
- package/dist/esm/core/graph.js.map +1 -0
- package/dist/esm/core/http.d.ts +147 -0
- package/dist/esm/core/http.d.ts.map +1 -0
- package/dist/esm/core/http.js +473 -0
- package/dist/esm/core/http.js.map +1 -0
- package/dist/esm/core/jsonapi.d.ts +65 -0
- package/dist/esm/core/jsonapi.d.ts.map +1 -0
- package/dist/esm/core/jsonapi.js +2 -0
- package/dist/esm/core/jsonapi.js.map +1 -0
- package/dist/esm/core/oauth.d.ts +202 -0
- package/dist/esm/core/oauth.d.ts.map +1 -0
- package/dist/esm/core/oauth.js +280 -0
- package/dist/esm/core/oauth.js.map +1 -0
- package/dist/esm/core/product.d.ts +78 -0
- package/dist/esm/core/product.d.ts.map +1 -0
- package/dist/esm/core/product.js +54 -0
- package/dist/esm/core/product.js.map +1 -0
- package/dist/esm/core/query.d.ts +489 -0
- package/dist/esm/core/query.d.ts.map +1 -0
- package/dist/esm/core/query.js +431 -0
- package/dist/esm/core/query.js.map +1 -0
- package/dist/esm/core/transport.d.ts +57 -0
- package/dist/esm/core/transport.d.ts.map +1 -0
- package/dist/esm/core/transport.js +6 -0
- package/dist/esm/core/transport.js.map +1 -0
- package/dist/esm/entries/api.d.ts +26 -0
- package/dist/esm/entries/api.d.ts.map +1 -0
- package/dist/esm/entries/api.js +23 -0
- package/dist/esm/entries/api.js.map +1 -0
- package/dist/esm/entries/calendar.d.ts +26 -0
- package/dist/esm/entries/calendar.d.ts.map +1 -0
- package/dist/esm/entries/calendar.js +23 -0
- package/dist/esm/entries/calendar.js.map +1 -0
- package/dist/esm/entries/check-ins.d.ts +26 -0
- package/dist/esm/entries/check-ins.d.ts.map +1 -0
- package/dist/esm/entries/check-ins.js +23 -0
- package/dist/esm/entries/check-ins.js.map +1 -0
- package/dist/esm/entries/current.d.ts +26 -0
- package/dist/esm/entries/current.d.ts.map +1 -0
- package/dist/esm/entries/current.js +23 -0
- package/dist/esm/entries/current.js.map +1 -0
- package/dist/esm/entries/giving.d.ts +26 -0
- package/dist/esm/entries/giving.d.ts.map +1 -0
- package/dist/esm/entries/giving.js +23 -0
- package/dist/esm/entries/giving.js.map +1 -0
- package/dist/esm/entries/groups.d.ts +26 -0
- package/dist/esm/entries/groups.d.ts.map +1 -0
- package/dist/esm/entries/groups.js +23 -0
- package/dist/esm/entries/groups.js.map +1 -0
- package/dist/esm/entries/oauth.d.ts +8 -0
- package/dist/esm/entries/oauth.d.ts.map +1 -0
- package/dist/esm/entries/oauth.js +7 -0
- package/dist/esm/entries/oauth.js.map +1 -0
- package/dist/esm/entries/people.d.ts +26 -0
- package/dist/esm/entries/people.d.ts.map +1 -0
- package/dist/esm/entries/people.js +23 -0
- package/dist/esm/entries/people.js.map +1 -0
- package/dist/esm/entries/publishing.d.ts +26 -0
- package/dist/esm/entries/publishing.d.ts.map +1 -0
- package/dist/esm/entries/publishing.js +23 -0
- package/dist/esm/entries/publishing.js.map +1 -0
- package/dist/esm/entries/registrations.d.ts +26 -0
- package/dist/esm/entries/registrations.d.ts.map +1 -0
- package/dist/esm/entries/registrations.js +23 -0
- package/dist/esm/entries/registrations.js.map +1 -0
- package/dist/esm/entries/services.d.ts +26 -0
- package/dist/esm/entries/services.d.ts.map +1 -0
- package/dist/esm/entries/services.js +23 -0
- package/dist/esm/entries/services.js.map +1 -0
- package/dist/esm/entries/webhooks-api.d.ts +26 -0
- package/dist/esm/entries/webhooks-api.d.ts.map +1 -0
- package/dist/esm/entries/webhooks-api.js +23 -0
- package/dist/esm/entries/webhooks-api.js.map +1 -0
- package/dist/esm/entries/webhooks.d.ts +6 -0
- package/dist/esm/entries/webhooks.d.ts.map +1 -0
- package/dist/esm/entries/webhooks.js +6 -0
- package/dist/esm/entries/webhooks.js.map +1 -0
- package/dist/esm/generated/api.d.ts +426 -0
- package/dist/esm/generated/api.d.ts.map +1 -0
- package/dist/esm/generated/api.js +74 -0
- package/dist/esm/generated/api.js.map +1 -0
- package/dist/esm/generated/calendar.d.ts +2849 -0
- package/dist/esm/generated/calendar.d.ts.map +1 -0
- package/dist/esm/generated/calendar.js +296 -0
- package/dist/esm/generated/calendar.js.map +1 -0
- package/dist/esm/generated/check-ins.d.ts +2383 -0
- package/dist/esm/generated/check-ins.d.ts.map +1 -0
- package/dist/esm/generated/check-ins.js +295 -0
- package/dist/esm/generated/check-ins.js.map +1 -0
- package/dist/esm/generated/current.d.ts +135 -0
- package/dist/esm/generated/current.d.ts.map +1 -0
- package/dist/esm/generated/current.js +31 -0
- package/dist/esm/generated/current.js.map +1 -0
- package/dist/esm/generated/giving.d.ts +2309 -0
- package/dist/esm/generated/giving.d.ts.map +1 -0
- package/dist/esm/generated/giving.js +225 -0
- package/dist/esm/generated/giving.js.map +1 -0
- package/dist/esm/generated/groups.d.ts +1789 -0
- package/dist/esm/generated/groups.d.ts.map +1 -0
- package/dist/esm/generated/groups.js +197 -0
- package/dist/esm/generated/groups.js.map +1 -0
- package/dist/esm/generated/index.d.ts +5067 -0
- package/dist/esm/generated/index.d.ts.map +1 -0
- package/dist/esm/generated/index.js +37 -0
- package/dist/esm/generated/index.js.map +1 -0
- package/dist/esm/generated/people.d.ts +6001 -0
- package/dist/esm/generated/people.d.ts.map +1 -0
- package/dist/esm/generated/people.js +691 -0
- package/dist/esm/generated/people.js.map +1 -0
- package/dist/esm/generated/publishing.d.ts +1468 -0
- package/dist/esm/generated/publishing.d.ts.map +1 -0
- package/dist/esm/generated/publishing.js +177 -0
- package/dist/esm/generated/publishing.js.map +1 -0
- package/dist/esm/generated/registrations.d.ts +936 -0
- package/dist/esm/generated/registrations.d.ts.map +1 -0
- package/dist/esm/generated/registrations.js +119 -0
- package/dist/esm/generated/registrations.js.map +1 -0
- package/dist/esm/generated/services.d.ts +6301 -0
- package/dist/esm/generated/services.d.ts.map +1 -0
- package/dist/esm/generated/services.js +631 -0
- package/dist/esm/generated/services.js.map +1 -0
- package/dist/esm/generated/webhooks.d.ts +325 -0
- package/dist/esm/generated/webhooks.d.ts.map +1 -0
- package/dist/esm/generated/webhooks.js +55 -0
- package/dist/esm/generated/webhooks.js.map +1 -0
- package/dist/esm/index.d.ts +29 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +26 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/webhooks/errors.d.ts +51 -0
- package/dist/esm/webhooks/errors.d.ts.map +1 -0
- package/dist/esm/webhooks/errors.js +51 -0
- package/dist/esm/webhooks/errors.js.map +1 -0
- package/dist/esm/webhooks/events.d.ts +144 -0
- package/dist/esm/webhooks/events.d.ts.map +1 -0
- package/dist/esm/webhooks/events.js +155 -0
- package/dist/esm/webhooks/events.js.map +1 -0
- package/dist/esm/webhooks/handle.d.ts +103 -0
- package/dist/esm/webhooks/handle.d.ts.map +1 -0
- package/dist/esm/webhooks/handle.js +137 -0
- package/dist/esm/webhooks/handle.js.map +1 -0
- package/dist/esm/webhooks/index.d.ts +33 -0
- package/dist/esm/webhooks/index.d.ts.map +1 -0
- package/dist/esm/webhooks/index.js +33 -0
- package/dist/esm/webhooks/index.js.map +1 -0
- package/dist/esm/webhooks/signature.d.ts +84 -0
- package/dist/esm/webhooks/signature.d.ts.map +1 -0
- package/dist/esm/webhooks/signature.js +120 -0
- package/dist/esm/webhooks/signature.js.map +1 -0
- package/llms.txt +119 -0
- package/package.json +79 -14
- package/src/client.ts +169 -282
- package/src/core/auth.ts +317 -0
- package/src/core/errors.ts +219 -0
- package/src/core/graph.ts +137 -0
- package/src/core/http.ts +594 -0
- package/src/core/jsonapi.ts +64 -0
- package/src/core/oauth.ts +403 -0
- package/src/core/product.ts +137 -0
- package/src/core/query.ts +1011 -0
- package/src/core/transport.ts +62 -0
- package/src/entries/api.ts +28 -0
- package/src/entries/calendar.ts +28 -0
- package/src/entries/check-ins.ts +28 -0
- package/src/entries/current.ts +28 -0
- package/src/entries/giving.ts +28 -0
- package/src/entries/groups.ts +28 -0
- package/src/entries/oauth.ts +7 -0
- package/src/entries/people.ts +28 -0
- package/src/entries/publishing.ts +28 -0
- package/src/entries/registrations.ts +28 -0
- package/src/entries/services.ts +28 -0
- package/src/entries/webhooks-api.ts +28 -0
- package/src/entries/webhooks.ts +5 -0
- package/src/generated/api.ts +401 -0
- package/src/generated/calendar.ts +2380 -0
- package/src/generated/check-ins.ts +1783 -0
- package/src/generated/current.ts +136 -0
- package/src/generated/giving.ts +1956 -0
- package/src/generated/groups.ts +1474 -0
- package/src/generated/index.ts +59 -0
- package/src/generated/people.ts +5103 -0
- package/src/generated/publishing.ts +1321 -0
- package/src/generated/registrations.ts +799 -0
- package/src/generated/services.ts +5427 -0
- package/src/generated/webhooks.ts +314 -0
- package/src/index.ts +74 -4
- package/src/webhooks/errors.ts +52 -0
- package/src/webhooks/events.ts +272 -0
- package/src/webhooks/handle.ts +163 -0
- package/src/webhooks/index.ts +54 -0
- package/src/webhooks/signature.ts +140 -0
- package/.gitattributes +0 -2
- package/.github/FUNDING.yml +0 -3
- package/.github/dependabot.yml +0 -21
- package/.github/workflows/ci-publish.yml +0 -84
- package/SECURITY.md +0 -13
- package/TODO.md +0 -6
- package/dist/client.d.ts +0 -216
- package/dist/client.js +0 -265
- package/dist/client.js.map +0 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.js +0 -6
- package/dist/index.js.map +0 -1
- package/dist/modules/calendar.d.ts +0 -5
- package/dist/modules/calendar.js +0 -11
- package/dist/modules/calendar.js.map +0 -1
- package/dist/modules/checkins.d.ts +0 -0
- package/dist/modules/checkins.js +0 -2
- package/dist/modules/checkins.js.map +0 -1
- package/dist/modules/giving.d.ts +0 -0
- package/dist/modules/giving.js +0 -2
- package/dist/modules/giving.js.map +0 -1
- package/dist/modules/groups.d.ts +0 -4
- package/dist/modules/groups.js +0 -22
- package/dist/modules/groups.js.map +0 -1
- package/dist/modules/people.d.ts +0 -66
- package/dist/modules/people.js +0 -40
- package/dist/modules/people.js.map +0 -1
- package/dist/modules/publishing.d.ts +0 -0
- package/dist/modules/publishing.js +0 -2
- package/dist/modules/publishing.js.map +0 -1
- package/dist/modules/services.d.ts +0 -0
- package/dist/modules/services.js +0 -2
- package/dist/modules/services.js.map +0 -1
- package/dist/modules/webhooks.d.ts +0 -0
- package/dist/modules/webhooks.js +0 -2
- package/dist/modules/webhooks.js.map +0 -1
- package/dist/types.d.ts +0 -6
- package/dist/types.js.map +0 -1
- package/src/index.test.ts +0 -7
- package/src/modules/calendar.ts +0 -11
- package/src/modules/checkins.ts +0 -0
- package/src/modules/giving.ts +0 -0
- package/src/modules/groups.ts +0 -7
- package/src/modules/people.ts +0 -92
- package/src/modules/publishing.ts +0 -0
- package/src/modules/services.ts +0 -0
- package/src/modules/webhooks.ts +0 -0
- package/src/types.ts +0 -8
- package/tsconfig.json +0 -111
|
@@ -0,0 +1,1789 @@
|
|
|
1
|
+
import type { PcoResource } from '../core/jsonapi.js';
|
|
2
|
+
/** Runtime metadata for Planning Center Groups: paths and capabilities only. */
|
|
3
|
+
export declare const groupsGraph: {
|
|
4
|
+
readonly product: 'groups';
|
|
5
|
+
readonly slug: 'groups';
|
|
6
|
+
readonly basePath: '/groups/v2';
|
|
7
|
+
readonly version: '2026-11-10';
|
|
8
|
+
readonly rootVertex: 'organization';
|
|
9
|
+
readonly root: {
|
|
10
|
+
readonly campuses: {
|
|
11
|
+
readonly vertex: 'campus';
|
|
12
|
+
readonly many: true;
|
|
13
|
+
readonly canCreate: false;
|
|
14
|
+
};
|
|
15
|
+
readonly event_notes: {
|
|
16
|
+
readonly vertex: 'event_note';
|
|
17
|
+
readonly many: true;
|
|
18
|
+
readonly canCreate: false;
|
|
19
|
+
};
|
|
20
|
+
readonly events: {
|
|
21
|
+
readonly vertex: 'event';
|
|
22
|
+
readonly many: true;
|
|
23
|
+
readonly canCreate: false;
|
|
24
|
+
};
|
|
25
|
+
readonly group_applications: {
|
|
26
|
+
readonly vertex: 'group_application';
|
|
27
|
+
readonly many: true;
|
|
28
|
+
readonly canCreate: false;
|
|
29
|
+
};
|
|
30
|
+
readonly group_types: {
|
|
31
|
+
readonly vertex: 'group_type';
|
|
32
|
+
readonly many: true;
|
|
33
|
+
readonly canCreate: false;
|
|
34
|
+
};
|
|
35
|
+
readonly groups: {
|
|
36
|
+
readonly vertex: 'group';
|
|
37
|
+
readonly many: true;
|
|
38
|
+
readonly canCreate: false;
|
|
39
|
+
};
|
|
40
|
+
readonly memberships: {
|
|
41
|
+
readonly vertex: 'membership';
|
|
42
|
+
readonly many: true;
|
|
43
|
+
readonly canCreate: false;
|
|
44
|
+
};
|
|
45
|
+
readonly people: {
|
|
46
|
+
readonly vertex: 'person';
|
|
47
|
+
readonly many: true;
|
|
48
|
+
readonly canCreate: false;
|
|
49
|
+
};
|
|
50
|
+
readonly tag_groups: {
|
|
51
|
+
readonly vertex: 'tag_group';
|
|
52
|
+
readonly many: true;
|
|
53
|
+
readonly canCreate: false;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
readonly vertices: {
|
|
57
|
+
readonly attendance: {
|
|
58
|
+
readonly type: 'Attendance';
|
|
59
|
+
readonly edges: {
|
|
60
|
+
readonly person: {
|
|
61
|
+
readonly vertex: 'person';
|
|
62
|
+
readonly many: true;
|
|
63
|
+
readonly canCreate: false;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
readonly actions: readonly [];
|
|
67
|
+
readonly canUpdate: false;
|
|
68
|
+
readonly canDelete: false;
|
|
69
|
+
};
|
|
70
|
+
readonly campus: {
|
|
71
|
+
readonly type: 'Campus';
|
|
72
|
+
readonly edges: {
|
|
73
|
+
readonly groups: {
|
|
74
|
+
readonly vertex: 'group';
|
|
75
|
+
readonly many: true;
|
|
76
|
+
readonly canCreate: false;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
readonly actions: readonly [];
|
|
80
|
+
readonly canUpdate: false;
|
|
81
|
+
readonly canDelete: false;
|
|
82
|
+
readonly canonicalPath: '/groups/v2/campuses';
|
|
83
|
+
};
|
|
84
|
+
readonly enrollment: {
|
|
85
|
+
readonly type: 'Enrollment';
|
|
86
|
+
readonly edges: {};
|
|
87
|
+
readonly actions: readonly [];
|
|
88
|
+
readonly canUpdate: false;
|
|
89
|
+
readonly canDelete: false;
|
|
90
|
+
};
|
|
91
|
+
readonly event: {
|
|
92
|
+
readonly type: 'Event';
|
|
93
|
+
readonly edges: {
|
|
94
|
+
readonly attendances: {
|
|
95
|
+
readonly vertex: 'attendance';
|
|
96
|
+
readonly many: true;
|
|
97
|
+
readonly canCreate: false;
|
|
98
|
+
};
|
|
99
|
+
readonly group: {
|
|
100
|
+
readonly vertex: 'group';
|
|
101
|
+
readonly many: true;
|
|
102
|
+
readonly canCreate: false;
|
|
103
|
+
};
|
|
104
|
+
readonly location: {
|
|
105
|
+
readonly vertex: 'location';
|
|
106
|
+
readonly many: true;
|
|
107
|
+
readonly canCreate: false;
|
|
108
|
+
};
|
|
109
|
+
readonly notes: {
|
|
110
|
+
readonly vertex: 'event_note';
|
|
111
|
+
readonly many: true;
|
|
112
|
+
readonly canCreate: false;
|
|
113
|
+
};
|
|
114
|
+
readonly rsvps: {
|
|
115
|
+
readonly vertex: 'rsvp';
|
|
116
|
+
readonly many: true;
|
|
117
|
+
readonly canCreate: false;
|
|
118
|
+
};
|
|
119
|
+
};
|
|
120
|
+
readonly actions: readonly [];
|
|
121
|
+
readonly canUpdate: false;
|
|
122
|
+
readonly canDelete: false;
|
|
123
|
+
readonly canonicalPath: '/groups/v2/events';
|
|
124
|
+
};
|
|
125
|
+
readonly event_note: {
|
|
126
|
+
readonly type: 'EventNote';
|
|
127
|
+
readonly edges: {
|
|
128
|
+
readonly owner: {
|
|
129
|
+
readonly vertex: 'owner';
|
|
130
|
+
readonly many: true;
|
|
131
|
+
readonly canCreate: false;
|
|
132
|
+
};
|
|
133
|
+
};
|
|
134
|
+
readonly actions: readonly [];
|
|
135
|
+
readonly canUpdate: false;
|
|
136
|
+
readonly canDelete: false;
|
|
137
|
+
readonly canonicalPath: '/groups/v2/event_notes';
|
|
138
|
+
};
|
|
139
|
+
readonly group: {
|
|
140
|
+
readonly type: 'Group';
|
|
141
|
+
readonly edges: {
|
|
142
|
+
readonly applications: {
|
|
143
|
+
readonly vertex: 'group_application';
|
|
144
|
+
readonly many: true;
|
|
145
|
+
readonly canCreate: false;
|
|
146
|
+
};
|
|
147
|
+
readonly campuses: {
|
|
148
|
+
readonly vertex: 'campus';
|
|
149
|
+
readonly many: true;
|
|
150
|
+
readonly canCreate: false;
|
|
151
|
+
};
|
|
152
|
+
readonly enrollment: {
|
|
153
|
+
readonly vertex: 'enrollment';
|
|
154
|
+
readonly many: false;
|
|
155
|
+
readonly canCreate: false;
|
|
156
|
+
};
|
|
157
|
+
readonly events: {
|
|
158
|
+
readonly vertex: 'event';
|
|
159
|
+
readonly many: true;
|
|
160
|
+
readonly canCreate: false;
|
|
161
|
+
};
|
|
162
|
+
readonly group_type: {
|
|
163
|
+
readonly vertex: 'group_type';
|
|
164
|
+
readonly many: true;
|
|
165
|
+
readonly canCreate: false;
|
|
166
|
+
};
|
|
167
|
+
readonly location: {
|
|
168
|
+
readonly vertex: 'location';
|
|
169
|
+
readonly many: true;
|
|
170
|
+
readonly canCreate: false;
|
|
171
|
+
};
|
|
172
|
+
readonly memberships: {
|
|
173
|
+
readonly vertex: 'membership';
|
|
174
|
+
readonly many: true;
|
|
175
|
+
readonly canCreate: true;
|
|
176
|
+
};
|
|
177
|
+
readonly my_membership: {
|
|
178
|
+
readonly vertex: 'membership';
|
|
179
|
+
readonly many: true;
|
|
180
|
+
readonly canCreate: false;
|
|
181
|
+
};
|
|
182
|
+
readonly people: {
|
|
183
|
+
readonly vertex: 'person';
|
|
184
|
+
readonly many: true;
|
|
185
|
+
readonly canCreate: false;
|
|
186
|
+
};
|
|
187
|
+
readonly resources: {
|
|
188
|
+
readonly vertex: 'resource';
|
|
189
|
+
readonly many: true;
|
|
190
|
+
readonly canCreate: false;
|
|
191
|
+
};
|
|
192
|
+
readonly tags: {
|
|
193
|
+
readonly vertex: 'tag';
|
|
194
|
+
readonly many: true;
|
|
195
|
+
readonly canCreate: false;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
198
|
+
readonly actions: readonly ["assign_campuses", "disable_chat", "duplicate", "enable_chat"];
|
|
199
|
+
readonly canUpdate: true;
|
|
200
|
+
readonly canDelete: false;
|
|
201
|
+
readonly canonicalPath: '/groups/v2/groups';
|
|
202
|
+
};
|
|
203
|
+
readonly group_application: {
|
|
204
|
+
readonly type: 'GroupApplication';
|
|
205
|
+
readonly edges: {
|
|
206
|
+
readonly group: {
|
|
207
|
+
readonly vertex: 'group';
|
|
208
|
+
readonly many: true;
|
|
209
|
+
readonly canCreate: false;
|
|
210
|
+
};
|
|
211
|
+
readonly person: {
|
|
212
|
+
readonly vertex: 'person';
|
|
213
|
+
readonly many: true;
|
|
214
|
+
readonly canCreate: false;
|
|
215
|
+
};
|
|
216
|
+
};
|
|
217
|
+
readonly actions: readonly ["approve", "reject"];
|
|
218
|
+
readonly canUpdate: false;
|
|
219
|
+
readonly canDelete: false;
|
|
220
|
+
readonly canonicalPath: '/groups/v2/group_applications';
|
|
221
|
+
};
|
|
222
|
+
readonly group_type: {
|
|
223
|
+
readonly type: 'GroupType';
|
|
224
|
+
readonly edges: {
|
|
225
|
+
readonly events: {
|
|
226
|
+
readonly vertex: 'event';
|
|
227
|
+
readonly many: true;
|
|
228
|
+
readonly canCreate: false;
|
|
229
|
+
};
|
|
230
|
+
readonly groups: {
|
|
231
|
+
readonly vertex: 'group';
|
|
232
|
+
readonly many: true;
|
|
233
|
+
readonly canCreate: false;
|
|
234
|
+
};
|
|
235
|
+
readonly resources: {
|
|
236
|
+
readonly vertex: 'resource';
|
|
237
|
+
readonly many: true;
|
|
238
|
+
readonly canCreate: false;
|
|
239
|
+
};
|
|
240
|
+
};
|
|
241
|
+
readonly actions: readonly [];
|
|
242
|
+
readonly canUpdate: false;
|
|
243
|
+
readonly canDelete: false;
|
|
244
|
+
readonly canonicalPath: '/groups/v2/group_types';
|
|
245
|
+
};
|
|
246
|
+
readonly location: {
|
|
247
|
+
readonly type: 'Location';
|
|
248
|
+
readonly edges: {
|
|
249
|
+
readonly group: {
|
|
250
|
+
readonly vertex: 'group';
|
|
251
|
+
readonly many: true;
|
|
252
|
+
readonly canCreate: false;
|
|
253
|
+
};
|
|
254
|
+
};
|
|
255
|
+
readonly actions: readonly [];
|
|
256
|
+
readonly canUpdate: false;
|
|
257
|
+
readonly canDelete: false;
|
|
258
|
+
};
|
|
259
|
+
readonly membership: {
|
|
260
|
+
readonly type: 'Membership';
|
|
261
|
+
readonly edges: {
|
|
262
|
+
readonly group: {
|
|
263
|
+
readonly vertex: 'group';
|
|
264
|
+
readonly many: true;
|
|
265
|
+
readonly canCreate: false;
|
|
266
|
+
};
|
|
267
|
+
readonly person: {
|
|
268
|
+
readonly vertex: 'person';
|
|
269
|
+
readonly many: true;
|
|
270
|
+
readonly canCreate: false;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
readonly actions: readonly [];
|
|
274
|
+
readonly canUpdate: true;
|
|
275
|
+
readonly canDelete: true;
|
|
276
|
+
readonly canonicalPath: '/groups/v2/memberships';
|
|
277
|
+
};
|
|
278
|
+
readonly organization: {
|
|
279
|
+
readonly type: 'Organization';
|
|
280
|
+
readonly edges: {};
|
|
281
|
+
readonly actions: readonly [];
|
|
282
|
+
readonly canUpdate: false;
|
|
283
|
+
readonly canDelete: false;
|
|
284
|
+
};
|
|
285
|
+
readonly owner: {
|
|
286
|
+
readonly type: 'Owner';
|
|
287
|
+
readonly edges: {};
|
|
288
|
+
readonly actions: readonly [];
|
|
289
|
+
readonly canUpdate: false;
|
|
290
|
+
readonly canDelete: false;
|
|
291
|
+
};
|
|
292
|
+
readonly person: {
|
|
293
|
+
readonly type: 'Person';
|
|
294
|
+
readonly edges: {
|
|
295
|
+
readonly events: {
|
|
296
|
+
readonly vertex: 'event';
|
|
297
|
+
readonly many: true;
|
|
298
|
+
readonly canCreate: false;
|
|
299
|
+
};
|
|
300
|
+
readonly groups: {
|
|
301
|
+
readonly vertex: 'group';
|
|
302
|
+
readonly many: true;
|
|
303
|
+
readonly canCreate: false;
|
|
304
|
+
};
|
|
305
|
+
readonly memberships: {
|
|
306
|
+
readonly vertex: 'membership';
|
|
307
|
+
readonly many: true;
|
|
308
|
+
readonly canCreate: false;
|
|
309
|
+
};
|
|
310
|
+
};
|
|
311
|
+
readonly actions: readonly [];
|
|
312
|
+
readonly canUpdate: false;
|
|
313
|
+
readonly canDelete: false;
|
|
314
|
+
readonly canonicalPath: '/groups/v2/people';
|
|
315
|
+
};
|
|
316
|
+
readonly resource: {
|
|
317
|
+
readonly type: 'Resource';
|
|
318
|
+
readonly edges: {
|
|
319
|
+
readonly download: {
|
|
320
|
+
readonly vertex: 'resource';
|
|
321
|
+
readonly many: true;
|
|
322
|
+
readonly canCreate: false;
|
|
323
|
+
};
|
|
324
|
+
readonly visit: {
|
|
325
|
+
readonly vertex: 'resource';
|
|
326
|
+
readonly many: true;
|
|
327
|
+
readonly canCreate: false;
|
|
328
|
+
};
|
|
329
|
+
};
|
|
330
|
+
readonly actions: readonly [];
|
|
331
|
+
readonly canUpdate: false;
|
|
332
|
+
readonly canDelete: false;
|
|
333
|
+
};
|
|
334
|
+
readonly rsvp: {
|
|
335
|
+
readonly type: 'RSVP';
|
|
336
|
+
readonly edges: {};
|
|
337
|
+
readonly actions: readonly [];
|
|
338
|
+
readonly canUpdate: false;
|
|
339
|
+
readonly canDelete: false;
|
|
340
|
+
};
|
|
341
|
+
readonly tag: {
|
|
342
|
+
readonly type: 'Tag';
|
|
343
|
+
readonly edges: {
|
|
344
|
+
readonly groups: {
|
|
345
|
+
readonly vertex: 'group';
|
|
346
|
+
readonly many: true;
|
|
347
|
+
readonly canCreate: false;
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
readonly actions: readonly [];
|
|
351
|
+
readonly canUpdate: false;
|
|
352
|
+
readonly canDelete: false;
|
|
353
|
+
};
|
|
354
|
+
readonly tag_group: {
|
|
355
|
+
readonly type: 'TagGroup';
|
|
356
|
+
readonly edges: {
|
|
357
|
+
readonly tags: {
|
|
358
|
+
readonly vertex: 'tag';
|
|
359
|
+
readonly many: true;
|
|
360
|
+
readonly canCreate: false;
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
readonly actions: readonly [];
|
|
364
|
+
readonly canUpdate: false;
|
|
365
|
+
readonly canDelete: false;
|
|
366
|
+
readonly canonicalPath: '/groups/v2/tag_groups';
|
|
367
|
+
};
|
|
368
|
+
};
|
|
369
|
+
};
|
|
370
|
+
/**
|
|
371
|
+
* Type-level schema of {@link Attendance}: attributes, query options, writable fields, and edges.
|
|
372
|
+
*
|
|
373
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/attendance
|
|
374
|
+
*/
|
|
375
|
+
export interface AttendanceSchema {
|
|
376
|
+
type: 'Attendance';
|
|
377
|
+
attributes: {
|
|
378
|
+
/** Whether or not the person attended the event. */
|
|
379
|
+
attended: boolean | null;
|
|
380
|
+
/**
|
|
381
|
+
* The role of the person at the time of event.
|
|
382
|
+
*
|
|
383
|
+
*
|
|
384
|
+
* Possible values: `member`, `leader`, `visitor`, or `applicant`
|
|
385
|
+
*/
|
|
386
|
+
role: string | null;
|
|
387
|
+
};
|
|
388
|
+
relationships: 'event' | 'person';
|
|
389
|
+
includes: 'person';
|
|
390
|
+
related: {
|
|
391
|
+
event: 'event';
|
|
392
|
+
person: 'person';
|
|
393
|
+
};
|
|
394
|
+
where: {
|
|
395
|
+
role: string;
|
|
396
|
+
};
|
|
397
|
+
whereOps: {};
|
|
398
|
+
order: 'first_name' | 'last_name' | 'role';
|
|
399
|
+
create: {};
|
|
400
|
+
update: {};
|
|
401
|
+
delete: false;
|
|
402
|
+
actions: never;
|
|
403
|
+
edges: {
|
|
404
|
+
/** person belonging to this attendance */
|
|
405
|
+
person: {
|
|
406
|
+
vertex: 'person';
|
|
407
|
+
many: true;
|
|
408
|
+
filters: never;
|
|
409
|
+
create: false;
|
|
410
|
+
};
|
|
411
|
+
};
|
|
412
|
+
}
|
|
413
|
+
/**
|
|
414
|
+
* Type-level schema of {@link Campus}: attributes, query options, writable fields, and edges.
|
|
415
|
+
*
|
|
416
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/campus
|
|
417
|
+
*/
|
|
418
|
+
export interface CampusSchema {
|
|
419
|
+
type: 'Campus';
|
|
420
|
+
attributes: {
|
|
421
|
+
/** The name of the campus */
|
|
422
|
+
name: string | null;
|
|
423
|
+
};
|
|
424
|
+
relationships: never;
|
|
425
|
+
includes: never;
|
|
426
|
+
related: {};
|
|
427
|
+
where: {
|
|
428
|
+
id: string;
|
|
429
|
+
name: string;
|
|
430
|
+
};
|
|
431
|
+
whereOps: {};
|
|
432
|
+
order: 'name';
|
|
433
|
+
create: {};
|
|
434
|
+
update: {};
|
|
435
|
+
delete: false;
|
|
436
|
+
actions: never;
|
|
437
|
+
edges: {
|
|
438
|
+
/** groups which have applied this campus */
|
|
439
|
+
groups: {
|
|
440
|
+
vertex: 'group';
|
|
441
|
+
many: true;
|
|
442
|
+
filters: never;
|
|
443
|
+
create: false;
|
|
444
|
+
};
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
/**
|
|
448
|
+
* Type-level schema of {@link Enrollment}: attributes, query options, writable fields, and edges.
|
|
449
|
+
*
|
|
450
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/enrollment
|
|
451
|
+
*/
|
|
452
|
+
export interface EnrollmentSchema {
|
|
453
|
+
type: 'Enrollment';
|
|
454
|
+
attributes: {
|
|
455
|
+
/** Whether or not enrollment has been closed automatically due to set limits */
|
|
456
|
+
auto_closed: boolean | null;
|
|
457
|
+
/** Brief description as to which limit automatically closed enrollment */
|
|
458
|
+
auto_closed_reason: string | null;
|
|
459
|
+
/**
|
|
460
|
+
* Custom message displayed on Church Center when enrollment is closed. When blank, a default message is shown.
|
|
461
|
+
*/
|
|
462
|
+
closed_message: string | null;
|
|
463
|
+
/** Date when enrollment should automatically close */
|
|
464
|
+
date_limit: string | null;
|
|
465
|
+
/** Whether or not the `date_limit` has been reached */
|
|
466
|
+
date_limit_reached: boolean | null;
|
|
467
|
+
/** Total number of members allowed before enrollment should automatically close */
|
|
468
|
+
member_limit: number | null;
|
|
469
|
+
/** Number of members that, once exceeded, sends an alert to administrators. */
|
|
470
|
+
member_limit_alert: number | null;
|
|
471
|
+
/** Whether or not pending membership requests count toward the `member_limit`. */
|
|
472
|
+
member_limit_include_pending: boolean | null;
|
|
473
|
+
/** Whether or not the `member_limit` has been reached */
|
|
474
|
+
member_limit_reached: boolean | null;
|
|
475
|
+
/**
|
|
476
|
+
* Current enrollment status. Possible values:
|
|
477
|
+
*
|
|
478
|
+
* * `open` - strategy is not `closed` and no limits have been reached
|
|
479
|
+
* * `closed` - strategy is `closed` _or_ limits have been reached
|
|
480
|
+
* * `full` - member limit has been reached
|
|
481
|
+
* * `private` - group is unlisted
|
|
482
|
+
*/
|
|
483
|
+
status: string | null;
|
|
484
|
+
/**
|
|
485
|
+
* Sign up strategy. Possible values: `request_to_join`, `open_signup`, or `closed`
|
|
486
|
+
*/
|
|
487
|
+
strategy: string | null;
|
|
488
|
+
};
|
|
489
|
+
relationships: 'group';
|
|
490
|
+
includes: never;
|
|
491
|
+
related: {
|
|
492
|
+
group: 'group';
|
|
493
|
+
};
|
|
494
|
+
where: {};
|
|
495
|
+
whereOps: {};
|
|
496
|
+
order: never;
|
|
497
|
+
create: {};
|
|
498
|
+
update: {};
|
|
499
|
+
delete: false;
|
|
500
|
+
actions: never;
|
|
501
|
+
edges: {};
|
|
502
|
+
}
|
|
503
|
+
/**
|
|
504
|
+
* Type-level schema of {@link Event}: attributes, query options, writable fields, and edges.
|
|
505
|
+
*
|
|
506
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/event
|
|
507
|
+
*/
|
|
508
|
+
export interface EventSchema {
|
|
509
|
+
type: 'Event';
|
|
510
|
+
attributes: {
|
|
511
|
+
/** The date and time leaders were last asked to take attendance for this event. */
|
|
512
|
+
attendance_last_requested_at: string | null;
|
|
513
|
+
/**
|
|
514
|
+
* This is a group setting that applies to all the events in the group.
|
|
515
|
+
* If selected, an email will be sent to the primary email address of the group leader
|
|
516
|
+
* 60 minutes before the event start time, asking them to report attendance.
|
|
517
|
+
*/
|
|
518
|
+
attendance_requests_enabled: boolean | null;
|
|
519
|
+
/**
|
|
520
|
+
* If `true`, we send an event remind some specified time before the event starts
|
|
521
|
+
* to all members in the group.
|
|
522
|
+
*/
|
|
523
|
+
automated_reminder_enabled: boolean | null;
|
|
524
|
+
/** Whether or not the event has been canceled. */
|
|
525
|
+
canceled: boolean | null;
|
|
526
|
+
/** The date and time the event was canceled. */
|
|
527
|
+
canceled_at: string | null;
|
|
528
|
+
/** A longform description of the event. Can contain HTML markup. */
|
|
529
|
+
description: string | null;
|
|
530
|
+
/** The date and time the event ends. */
|
|
531
|
+
ends_at: string | null;
|
|
532
|
+
/** The image for the event. */
|
|
533
|
+
image: Record<string, unknown> | null;
|
|
534
|
+
/** Either "physical" or "virtual". */
|
|
535
|
+
location_type_preference: string | null;
|
|
536
|
+
/** `true` if the event spans multiple days. Otherwise `false`. */
|
|
537
|
+
multi_day: boolean | null;
|
|
538
|
+
/** The name/title of the event. */
|
|
539
|
+
name: string | null;
|
|
540
|
+
/** `true` if reminders have been sent for this event. Otherwise `false`. */
|
|
541
|
+
reminders_sent: boolean | null;
|
|
542
|
+
/** The date and time reminders were sent for this event. */
|
|
543
|
+
reminders_sent_at: string | null;
|
|
544
|
+
/** `true` if the event is a repeating event. Otherwise `false`. */
|
|
545
|
+
repeating: boolean | null;
|
|
546
|
+
/**
|
|
547
|
+
* `true` if people who RSVP can bring guests. Always `false` when RSVPs are disabled.
|
|
548
|
+
*/
|
|
549
|
+
rsvp_guests_enabled: boolean | null;
|
|
550
|
+
/** `true` if people can RSVP to this event. Always `false` for canceled events. */
|
|
551
|
+
rsvps_enabled: boolean | null;
|
|
552
|
+
/** The date and time the event starts. */
|
|
553
|
+
starts_at: string | null;
|
|
554
|
+
/**
|
|
555
|
+
* The URL for the virtual location. Typically we don't show this URL unless
|
|
556
|
+
* unless the location_type_preference is "virtual".
|
|
557
|
+
*/
|
|
558
|
+
virtual_location_url: string | null;
|
|
559
|
+
/**
|
|
560
|
+
* The number of visitors who attended the event. These are people who are not
|
|
561
|
+
* members of the group.
|
|
562
|
+
*/
|
|
563
|
+
visitors_count: number | null;
|
|
564
|
+
};
|
|
565
|
+
relationships: 'attendance_submitter' | 'group' | 'location' | 'repeating_event';
|
|
566
|
+
includes: 'group' | 'location';
|
|
567
|
+
related: {
|
|
568
|
+
attendance_submitter: 'person';
|
|
569
|
+
group: 'group';
|
|
570
|
+
location: 'location';
|
|
571
|
+
};
|
|
572
|
+
where: {
|
|
573
|
+
ends_at: string | Date;
|
|
574
|
+
name: string;
|
|
575
|
+
starts_at: string | Date;
|
|
576
|
+
};
|
|
577
|
+
whereOps: {
|
|
578
|
+
ends_at: 'gt' | 'gte' | 'lt' | 'lte';
|
|
579
|
+
starts_at: 'gt' | 'gte' | 'lt' | 'lte';
|
|
580
|
+
};
|
|
581
|
+
order: 'ends_at' | 'name' | 'starts_at';
|
|
582
|
+
create: {};
|
|
583
|
+
update: {};
|
|
584
|
+
delete: false;
|
|
585
|
+
actions: never;
|
|
586
|
+
edges: {
|
|
587
|
+
/** attendances recorded for this event */
|
|
588
|
+
attendances: {
|
|
589
|
+
vertex: 'attendance';
|
|
590
|
+
many: true;
|
|
591
|
+
filters: 'attended';
|
|
592
|
+
create: false;
|
|
593
|
+
};
|
|
594
|
+
/** group which the event belongs to */
|
|
595
|
+
group: {
|
|
596
|
+
vertex: 'group';
|
|
597
|
+
many: true;
|
|
598
|
+
filters: never;
|
|
599
|
+
create: false;
|
|
600
|
+
};
|
|
601
|
+
/** physical location of the event */
|
|
602
|
+
location: {
|
|
603
|
+
vertex: 'location';
|
|
604
|
+
many: true;
|
|
605
|
+
filters: never;
|
|
606
|
+
create: false;
|
|
607
|
+
};
|
|
608
|
+
/** notes added to the event */
|
|
609
|
+
notes: {
|
|
610
|
+
vertex: 'event_note';
|
|
611
|
+
many: true;
|
|
612
|
+
filters: never;
|
|
613
|
+
create: false;
|
|
614
|
+
};
|
|
615
|
+
/** RSVP responses for the event */
|
|
616
|
+
rsvps: {
|
|
617
|
+
vertex: 'rsvp';
|
|
618
|
+
many: true;
|
|
619
|
+
filters: never;
|
|
620
|
+
create: false;
|
|
621
|
+
};
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
/**
|
|
625
|
+
* Type-level schema of {@link EventNote}: attributes, query options, writable fields, and edges.
|
|
626
|
+
*
|
|
627
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/event_note
|
|
628
|
+
*/
|
|
629
|
+
export interface EventNoteSchema {
|
|
630
|
+
type: 'EventNote';
|
|
631
|
+
attributes: {
|
|
632
|
+
/** The body text of the note. */
|
|
633
|
+
body: string | null;
|
|
634
|
+
};
|
|
635
|
+
relationships: 'annotatable' | 'owner';
|
|
636
|
+
includes: 'owner';
|
|
637
|
+
related: {
|
|
638
|
+
owner: 'owner';
|
|
639
|
+
};
|
|
640
|
+
where: {};
|
|
641
|
+
whereOps: {};
|
|
642
|
+
order: never;
|
|
643
|
+
create: {};
|
|
644
|
+
update: {};
|
|
645
|
+
delete: false;
|
|
646
|
+
actions: never;
|
|
647
|
+
edges: {
|
|
648
|
+
/** person who created the note */
|
|
649
|
+
owner: {
|
|
650
|
+
vertex: 'owner';
|
|
651
|
+
many: true;
|
|
652
|
+
filters: never;
|
|
653
|
+
create: false;
|
|
654
|
+
};
|
|
655
|
+
};
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* Type-level schema of {@link Group}: attributes, query options, writable fields, and edges.
|
|
659
|
+
*
|
|
660
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/group
|
|
661
|
+
*/
|
|
662
|
+
export interface GroupSchema {
|
|
663
|
+
type: 'Group';
|
|
664
|
+
attributes: {
|
|
665
|
+
/** The date and time the group was archived. */
|
|
666
|
+
archived_at: string | null;
|
|
667
|
+
/**
|
|
668
|
+
* A boolean representing the current user's authorization to start a new conversation in the group.
|
|
669
|
+
*
|
|
670
|
+
*
|
|
671
|
+
* Only available when requested with the `?fields` param
|
|
672
|
+
*/
|
|
673
|
+
can_create_conversation: boolean | null;
|
|
674
|
+
/**
|
|
675
|
+
* A code representing why the current user can or cannot start a new conversation in the group.
|
|
676
|
+
* Possible values: `chat_disabled`, `group_archived`, `non_member`, `leaders_only`.
|
|
677
|
+
* Nil when the user is permitted to create a conversation.
|
|
678
|
+
*
|
|
679
|
+
*
|
|
680
|
+
* Only available when requested with the `?fields` param
|
|
681
|
+
*/
|
|
682
|
+
can_create_conversation_reason_code: string | null;
|
|
683
|
+
/** A boolean representing whether or not the group has Chat enabled. */
|
|
684
|
+
chat_enabled: boolean | null;
|
|
685
|
+
/**
|
|
686
|
+
* If a contact_email is provided, we will display a contact button on the public page
|
|
687
|
+
* where potential members can ask questions before joining the group.
|
|
688
|
+
*/
|
|
689
|
+
contact_email: string | null;
|
|
690
|
+
/** The date and time the group was created. */
|
|
691
|
+
created_at: string | null;
|
|
692
|
+
/** Whether or not new events for this group send automated reminders by default. */
|
|
693
|
+
default_event_automated_reminders_enabled: boolean | null;
|
|
694
|
+
/** Whether or not new events for this group allow RSVP guest counts by default. */
|
|
695
|
+
default_event_rsvp_guests_enabled: boolean | null;
|
|
696
|
+
/** Whether or not new events for this group have RSVPs enabled by default. */
|
|
697
|
+
default_event_rsvps_enabled: boolean | null;
|
|
698
|
+
/** A longform description of the group. Can contain HTML markup. */
|
|
699
|
+
description: string | null;
|
|
700
|
+
/** The plain text version of the group description. */
|
|
701
|
+
description_as_plain_text: string | null;
|
|
702
|
+
/**
|
|
703
|
+
* A boolean representing whether or not direct messages are enabled for the group.
|
|
704
|
+
*/
|
|
705
|
+
direct_messages_enabled: boolean | null;
|
|
706
|
+
/** Whether or not events are visible to the public on Church Center */
|
|
707
|
+
events_listed: boolean | null;
|
|
708
|
+
/**
|
|
709
|
+
* The visibility of events for the group.
|
|
710
|
+
*
|
|
711
|
+
*
|
|
712
|
+
* Possible values: `public` or `members`
|
|
713
|
+
*/
|
|
714
|
+
events_visibility: string | null;
|
|
715
|
+
/**
|
|
716
|
+
* A hash of header image URLs. The keys are `thumbnail`, `medium`, and `original`.
|
|
717
|
+
*/
|
|
718
|
+
header_image: Record<string, unknown> | null;
|
|
719
|
+
/**
|
|
720
|
+
* Whether or not the first names of group leaders are displayed on the group's public Church Center page.
|
|
721
|
+
*/
|
|
722
|
+
leader_name_visible_on_public_page: boolean | null;
|
|
723
|
+
/**
|
|
724
|
+
* Whether or not group leaders have access to the entire
|
|
725
|
+
* church database on the admin side of Groups. (Not recommended)
|
|
726
|
+
*/
|
|
727
|
+
leaders_can_search_people_database: boolean | null;
|
|
728
|
+
/**
|
|
729
|
+
* The location type preference for the group.
|
|
730
|
+
*
|
|
731
|
+
*
|
|
732
|
+
* Possible values: `physical` or `virtual`
|
|
733
|
+
*/
|
|
734
|
+
location_type_preference: string | null;
|
|
735
|
+
/** Whether or not group members can see other members' info */
|
|
736
|
+
members_are_confidential: boolean | null;
|
|
737
|
+
/**
|
|
738
|
+
* Whether or not members, not just leaders, can start new conversations in the group's Chat.
|
|
739
|
+
*/
|
|
740
|
+
members_can_create_conversations: boolean | null;
|
|
741
|
+
/**
|
|
742
|
+
* The number of members in the group, includes leaders.
|
|
743
|
+
* Does not include membership requests.
|
|
744
|
+
*/
|
|
745
|
+
memberships_count: number | null;
|
|
746
|
+
/** The name/title of the group. */
|
|
747
|
+
name: string | null;
|
|
748
|
+
/** The public URL for the group on Church Center. */
|
|
749
|
+
public_church_center_web_url: string | null;
|
|
750
|
+
/**
|
|
751
|
+
* Whether or not the group's meeting schedule is displayed on its public Church Center page.
|
|
752
|
+
*/
|
|
753
|
+
publicly_display_meeting_schedule: boolean | null;
|
|
754
|
+
/**
|
|
755
|
+
* Whether or not group leaders and attendance takers are emailed shortly before each event starts asking them to take attendance.
|
|
756
|
+
*/
|
|
757
|
+
request_event_attendance_from_leaders: boolean | null;
|
|
758
|
+
/**
|
|
759
|
+
* A text summary of the group's typical meeting schedule.
|
|
760
|
+
* Can be a string like "Sundays at 9:30am" or "Every other Tuesday at 7pm".
|
|
761
|
+
*/
|
|
762
|
+
schedule: string | null;
|
|
763
|
+
/**
|
|
764
|
+
* The IDs of the tags associated with the group.
|
|
765
|
+
*
|
|
766
|
+
*
|
|
767
|
+
* Only available when requested with the `?fields` param
|
|
768
|
+
*/
|
|
769
|
+
tag_ids: number | null;
|
|
770
|
+
/**
|
|
771
|
+
* The URL for the group's virtual location. A zoom link, for example.
|
|
772
|
+
* This could be set even if `location_type_preference` is `physical`.
|
|
773
|
+
* This is useful if you want to display a zoom link even if the group is meeting in person.
|
|
774
|
+
*/
|
|
775
|
+
virtual_location_url: string | null;
|
|
776
|
+
/**
|
|
777
|
+
* If and how the group is visible on Church Center:
|
|
778
|
+
*
|
|
779
|
+
* - "private": Not visible to anyone, aside from members of the group.
|
|
780
|
+
* - "link_only": Visible by sharing a direct link to the group, as well as by the group's members.
|
|
781
|
+
* - "public": Visible in the public group directory.
|
|
782
|
+
*
|
|
783
|
+
* When ordering, values sort as "public", "link_only", then "private".
|
|
784
|
+
*
|
|
785
|
+
*
|
|
786
|
+
* Possible values: `private`, `link_only`, or `public`
|
|
787
|
+
*/
|
|
788
|
+
visibility: string | null;
|
|
789
|
+
/**
|
|
790
|
+
* DEPRECATED: This is a private attribute used by Home widgets that we plan to remove soon.
|
|
791
|
+
*
|
|
792
|
+
*
|
|
793
|
+
* Only available when requested with the `?fields` param
|
|
794
|
+
*/
|
|
795
|
+
widget_status: Record<string, unknown> | null;
|
|
796
|
+
};
|
|
797
|
+
relationships: 'attendance_reply_to_person' | 'group_type' | 'location';
|
|
798
|
+
includes: 'enrollment' | 'group_type' | 'location';
|
|
799
|
+
related: {
|
|
800
|
+
attendance_reply_to_person: 'person';
|
|
801
|
+
enrollment: 'enrollment';
|
|
802
|
+
group_type: 'group_type';
|
|
803
|
+
location: 'location';
|
|
804
|
+
};
|
|
805
|
+
where: {
|
|
806
|
+
archive_status: string;
|
|
807
|
+
name: string;
|
|
808
|
+
visibility: string;
|
|
809
|
+
};
|
|
810
|
+
whereOps: {};
|
|
811
|
+
order: 'chat_enabled' | 'contact_email' | 'created_at' | 'enrollment_limit' | 'members_are_confidential' | 'memberships_count' | 'name' | 'visibility';
|
|
812
|
+
create: {};
|
|
813
|
+
update: {
|
|
814
|
+
group_type_id?: string;
|
|
815
|
+
/** The name/title of the group. */
|
|
816
|
+
name?: string | null;
|
|
817
|
+
public_enrollment?: unknown;
|
|
818
|
+
/**
|
|
819
|
+
* Whether or not the group's meeting schedule is displayed on its public Church Center page.
|
|
820
|
+
*/
|
|
821
|
+
publicly_display_meeting_schedule?: boolean | null;
|
|
822
|
+
/**
|
|
823
|
+
* A text summary of the group's typical meeting schedule.
|
|
824
|
+
* Can be a string like "Sundays at 9:30am" or "Every other Tuesday at 7pm".
|
|
825
|
+
*/
|
|
826
|
+
schedule?: string | null;
|
|
827
|
+
/**
|
|
828
|
+
* The IDs of the tags associated with the group.
|
|
829
|
+
*
|
|
830
|
+
*
|
|
831
|
+
* Only available when requested with the `?fields` param
|
|
832
|
+
*/
|
|
833
|
+
tag_ids?: number | null;
|
|
834
|
+
/**
|
|
835
|
+
* If and how the group is visible on Church Center:
|
|
836
|
+
*
|
|
837
|
+
* - "private": Not visible to anyone, aside from members of the group.
|
|
838
|
+
* - "link_only": Visible by sharing a direct link to the group, as well as by the group's members.
|
|
839
|
+
* - "public": Visible in the public group directory.
|
|
840
|
+
*
|
|
841
|
+
* When ordering, values sort as "public", "link_only", then "private".
|
|
842
|
+
*
|
|
843
|
+
*
|
|
844
|
+
* Possible values: `private`, `link_only`, or `public`
|
|
845
|
+
*/
|
|
846
|
+
visibility?: string | null;
|
|
847
|
+
};
|
|
848
|
+
delete: false;
|
|
849
|
+
actions: 'assign_campuses' | 'disable_chat' | 'duplicate' | 'enable_chat';
|
|
850
|
+
edges: {
|
|
851
|
+
/** requests to join this group */
|
|
852
|
+
applications: {
|
|
853
|
+
vertex: 'group_application';
|
|
854
|
+
many: true;
|
|
855
|
+
filters: never;
|
|
856
|
+
create: false;
|
|
857
|
+
};
|
|
858
|
+
/** campuses assigned this group */
|
|
859
|
+
campuses: {
|
|
860
|
+
vertex: 'campus';
|
|
861
|
+
many: true;
|
|
862
|
+
filters: never;
|
|
863
|
+
create: false;
|
|
864
|
+
};
|
|
865
|
+
/** enrollment details for this group */
|
|
866
|
+
enrollment: {
|
|
867
|
+
vertex: 'enrollment';
|
|
868
|
+
many: false;
|
|
869
|
+
filters: never;
|
|
870
|
+
create: false;
|
|
871
|
+
};
|
|
872
|
+
/** events for this group */
|
|
873
|
+
events: {
|
|
874
|
+
vertex: 'event';
|
|
875
|
+
many: true;
|
|
876
|
+
filters: 'canceled' | 'not_canceled';
|
|
877
|
+
create: false;
|
|
878
|
+
};
|
|
879
|
+
/** group type of this group */
|
|
880
|
+
group_type: {
|
|
881
|
+
vertex: 'group_type';
|
|
882
|
+
many: true;
|
|
883
|
+
filters: never;
|
|
884
|
+
create: false;
|
|
885
|
+
};
|
|
886
|
+
/** default physical location for this group's events */
|
|
887
|
+
location: {
|
|
888
|
+
vertex: 'location';
|
|
889
|
+
many: true;
|
|
890
|
+
filters: never;
|
|
891
|
+
create: false;
|
|
892
|
+
};
|
|
893
|
+
/** memberships belonging to this group */
|
|
894
|
+
memberships: {
|
|
895
|
+
vertex: 'membership';
|
|
896
|
+
many: true;
|
|
897
|
+
filters: never;
|
|
898
|
+
create: true;
|
|
899
|
+
};
|
|
900
|
+
/** the current person's membership for this group */
|
|
901
|
+
my_membership: {
|
|
902
|
+
vertex: 'membership';
|
|
903
|
+
many: true;
|
|
904
|
+
filters: never;
|
|
905
|
+
create: false;
|
|
906
|
+
};
|
|
907
|
+
/** people who have memberships for this group */
|
|
908
|
+
people: {
|
|
909
|
+
vertex: 'person';
|
|
910
|
+
many: true;
|
|
911
|
+
filters: never;
|
|
912
|
+
create: false;
|
|
913
|
+
};
|
|
914
|
+
/** file and link resources shared with this group */
|
|
915
|
+
resources: {
|
|
916
|
+
vertex: 'resource';
|
|
917
|
+
many: true;
|
|
918
|
+
filters: 'leaders';
|
|
919
|
+
create: false;
|
|
920
|
+
};
|
|
921
|
+
/** tags assigned to this group */
|
|
922
|
+
tags: {
|
|
923
|
+
vertex: 'tag';
|
|
924
|
+
many: true;
|
|
925
|
+
filters: never;
|
|
926
|
+
create: false;
|
|
927
|
+
};
|
|
928
|
+
};
|
|
929
|
+
}
|
|
930
|
+
/**
|
|
931
|
+
* Type-level schema of {@link GroupApplication}: attributes, query options, writable fields, and edges.
|
|
932
|
+
*
|
|
933
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/group_application
|
|
934
|
+
*/
|
|
935
|
+
export interface GroupApplicationSchema {
|
|
936
|
+
type: 'GroupApplication';
|
|
937
|
+
attributes: {
|
|
938
|
+
/** Timestamp when this person applied. */
|
|
939
|
+
applied_at: string | null;
|
|
940
|
+
/** An optional personal message from the applicant. */
|
|
941
|
+
message: string | null;
|
|
942
|
+
/**
|
|
943
|
+
* The approval status of the application.
|
|
944
|
+
*
|
|
945
|
+
* Possible values: `pending`, `approved`, or `rejected`
|
|
946
|
+
*/
|
|
947
|
+
status: string | null;
|
|
948
|
+
};
|
|
949
|
+
relationships: 'group' | 'person';
|
|
950
|
+
includes: 'group' | 'person';
|
|
951
|
+
related: {
|
|
952
|
+
group: 'group';
|
|
953
|
+
person: 'person';
|
|
954
|
+
};
|
|
955
|
+
where: {
|
|
956
|
+
applied_at: string | Date;
|
|
957
|
+
status: string;
|
|
958
|
+
};
|
|
959
|
+
whereOps: {
|
|
960
|
+
applied_at: 'gt' | 'gte' | 'lt' | 'lte';
|
|
961
|
+
};
|
|
962
|
+
order: 'applied_at' | 'status';
|
|
963
|
+
create: {};
|
|
964
|
+
update: {};
|
|
965
|
+
delete: false;
|
|
966
|
+
actions: 'approve' | 'reject';
|
|
967
|
+
edges: {
|
|
968
|
+
/** group being applied to */
|
|
969
|
+
group: {
|
|
970
|
+
vertex: 'group';
|
|
971
|
+
many: true;
|
|
972
|
+
filters: never;
|
|
973
|
+
create: false;
|
|
974
|
+
};
|
|
975
|
+
/** person who applied */
|
|
976
|
+
person: {
|
|
977
|
+
vertex: 'person';
|
|
978
|
+
many: true;
|
|
979
|
+
filters: never;
|
|
980
|
+
create: false;
|
|
981
|
+
};
|
|
982
|
+
};
|
|
983
|
+
}
|
|
984
|
+
/**
|
|
985
|
+
* Type-level schema of {@link GroupType}: attributes, query options, writable fields, and edges.
|
|
986
|
+
*
|
|
987
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/group_type
|
|
988
|
+
*/
|
|
989
|
+
export interface GroupTypeSchema {
|
|
990
|
+
type: 'GroupType';
|
|
991
|
+
attributes: {
|
|
992
|
+
/**
|
|
993
|
+
* `true` if closed and full groups are shown by default on the group type's Church Center page. Otherwise `false`.
|
|
994
|
+
*/
|
|
995
|
+
church_center_closed_and_full_groups_visible: boolean | null;
|
|
996
|
+
/**
|
|
997
|
+
* `true` if the map view is visible on the public groups list page. Otherwise `false`.
|
|
998
|
+
*/
|
|
999
|
+
church_center_map_visible: boolean | null;
|
|
1000
|
+
/** `true` if the group type contains any published groups. Otherwise `false`. */
|
|
1001
|
+
church_center_visible: boolean | null;
|
|
1002
|
+
/**
|
|
1003
|
+
* Hex color value. Color themes are a visual tool for administrators on the admin side of Groups.
|
|
1004
|
+
* Ex: "#4fd2e3"
|
|
1005
|
+
*/
|
|
1006
|
+
color: string | null;
|
|
1007
|
+
/** A JSON object of default settings for groups of this type. */
|
|
1008
|
+
default_group_settings: string | null;
|
|
1009
|
+
/** A description of the group type */
|
|
1010
|
+
description: string | null;
|
|
1011
|
+
/**
|
|
1012
|
+
* `true` if group leaders can enable or disable Chat for their groups. Otherwise `false`.
|
|
1013
|
+
*/
|
|
1014
|
+
leaders_can_enable_chat: boolean | null;
|
|
1015
|
+
/** The name of the group type */
|
|
1016
|
+
name: string | null;
|
|
1017
|
+
/** The position of the group type in relation to other group types. */
|
|
1018
|
+
position: number | null;
|
|
1019
|
+
/** The public URL for the group on Church Center. */
|
|
1020
|
+
public_church_center_web_url: string | null;
|
|
1021
|
+
};
|
|
1022
|
+
relationships: never;
|
|
1023
|
+
includes: never;
|
|
1024
|
+
related: {};
|
|
1025
|
+
where: {
|
|
1026
|
+
id: string;
|
|
1027
|
+
};
|
|
1028
|
+
whereOps: {};
|
|
1029
|
+
order: 'name' | 'position';
|
|
1030
|
+
create: {};
|
|
1031
|
+
update: {};
|
|
1032
|
+
delete: false;
|
|
1033
|
+
actions: never;
|
|
1034
|
+
edges: {
|
|
1035
|
+
/** events of groups with this group type */
|
|
1036
|
+
events: {
|
|
1037
|
+
vertex: 'event';
|
|
1038
|
+
many: true;
|
|
1039
|
+
filters: 'canceled' | 'not_canceled' | 'upcoming';
|
|
1040
|
+
create: false;
|
|
1041
|
+
};
|
|
1042
|
+
/** groups belonging to this group type */
|
|
1043
|
+
groups: {
|
|
1044
|
+
vertex: 'group';
|
|
1045
|
+
many: true;
|
|
1046
|
+
filters: never;
|
|
1047
|
+
create: false;
|
|
1048
|
+
};
|
|
1049
|
+
/** file or link resources shared with all groups in this group type */
|
|
1050
|
+
resources: {
|
|
1051
|
+
vertex: 'resource';
|
|
1052
|
+
many: true;
|
|
1053
|
+
filters: 'leaders';
|
|
1054
|
+
create: false;
|
|
1055
|
+
};
|
|
1056
|
+
};
|
|
1057
|
+
}
|
|
1058
|
+
/**
|
|
1059
|
+
* Type-level schema of {@link Location}: attributes, query options, writable fields, and edges.
|
|
1060
|
+
*
|
|
1061
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/location
|
|
1062
|
+
*/
|
|
1063
|
+
export interface LocationSchema {
|
|
1064
|
+
type: 'Location';
|
|
1065
|
+
attributes: {
|
|
1066
|
+
/**
|
|
1067
|
+
* This preference controls how the location is displayed to non-members for public groups and events.
|
|
1068
|
+
*
|
|
1069
|
+
*
|
|
1070
|
+
* Possible values: `hidden`, `approximate`, or `exact`
|
|
1071
|
+
*/
|
|
1072
|
+
display_preference: string | null;
|
|
1073
|
+
/**
|
|
1074
|
+
* Ex: "1313 Disneyland Dr
|
|
1075
|
+
* Anaheim, CA 92802" (may be approximate or `null`)
|
|
1076
|
+
* Approximate address would be "Anaheim, CA 92802".
|
|
1077
|
+
* We obscure Canadian zip codes.
|
|
1078
|
+
*/
|
|
1079
|
+
full_formatted_address: string | null;
|
|
1080
|
+
/** Ex: `33.815396` (may be approximate or `null`) */
|
|
1081
|
+
latitude: number | null;
|
|
1082
|
+
/** Ex: `-117.926399` (may be approximate or `null`) */
|
|
1083
|
+
longitude: number | null;
|
|
1084
|
+
/** Ex: "Disneyland" */
|
|
1085
|
+
name: string | null;
|
|
1086
|
+
/**
|
|
1087
|
+
* The number of miles in a location's approximate address.
|
|
1088
|
+
* Will be `0` if the strategy is exact, and will be `null` if the strategy is hidden.
|
|
1089
|
+
*/
|
|
1090
|
+
radius: string | null;
|
|
1091
|
+
/**
|
|
1092
|
+
* The display preference strategy used for the current request, based on user permissions.
|
|
1093
|
+
* Either `hidden`, `approximate`, or `exact`.
|
|
1094
|
+
*/
|
|
1095
|
+
strategy: string | null;
|
|
1096
|
+
};
|
|
1097
|
+
relationships: 'group';
|
|
1098
|
+
includes: 'group';
|
|
1099
|
+
related: {
|
|
1100
|
+
group: 'group';
|
|
1101
|
+
};
|
|
1102
|
+
where: {};
|
|
1103
|
+
whereOps: {};
|
|
1104
|
+
order: never;
|
|
1105
|
+
create: {};
|
|
1106
|
+
update: {};
|
|
1107
|
+
delete: false;
|
|
1108
|
+
actions: never;
|
|
1109
|
+
edges: {
|
|
1110
|
+
/** group that manages this location */
|
|
1111
|
+
group: {
|
|
1112
|
+
vertex: 'group';
|
|
1113
|
+
many: true;
|
|
1114
|
+
filters: never;
|
|
1115
|
+
create: false;
|
|
1116
|
+
};
|
|
1117
|
+
};
|
|
1118
|
+
}
|
|
1119
|
+
/**
|
|
1120
|
+
* Type-level schema of {@link Membership}: attributes, query options, writable fields, and edges.
|
|
1121
|
+
*
|
|
1122
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/membership
|
|
1123
|
+
*/
|
|
1124
|
+
export interface MembershipSchema {
|
|
1125
|
+
type: 'Membership';
|
|
1126
|
+
attributes: {
|
|
1127
|
+
/** The date and time the person joined the group. */
|
|
1128
|
+
joined_at: string | null;
|
|
1129
|
+
/**
|
|
1130
|
+
* The role of the person in the group.
|
|
1131
|
+
* Possible values: `member` or `leader`
|
|
1132
|
+
*/
|
|
1133
|
+
role: string | null;
|
|
1134
|
+
};
|
|
1135
|
+
relationships: 'group' | 'person';
|
|
1136
|
+
includes: 'group' | 'person';
|
|
1137
|
+
related: {
|
|
1138
|
+
group: 'group';
|
|
1139
|
+
person: 'person';
|
|
1140
|
+
};
|
|
1141
|
+
where: {
|
|
1142
|
+
role: string;
|
|
1143
|
+
};
|
|
1144
|
+
whereOps: {};
|
|
1145
|
+
order: 'first_name' | 'joined_at' | 'last_name' | 'role';
|
|
1146
|
+
create: {
|
|
1147
|
+
/** The date and time the person joined the group. */
|
|
1148
|
+
joined_at?: string | null;
|
|
1149
|
+
person_id?: string;
|
|
1150
|
+
/**
|
|
1151
|
+
* The role of the person in the group.
|
|
1152
|
+
* Possible values: `member` or `leader`
|
|
1153
|
+
*/
|
|
1154
|
+
role?: string | null;
|
|
1155
|
+
};
|
|
1156
|
+
update: {
|
|
1157
|
+
/** The date and time the person joined the group. */
|
|
1158
|
+
joined_at?: string | null;
|
|
1159
|
+
/**
|
|
1160
|
+
* The role of the person in the group.
|
|
1161
|
+
* Possible values: `member` or `leader`
|
|
1162
|
+
*/
|
|
1163
|
+
role?: string | null;
|
|
1164
|
+
};
|
|
1165
|
+
delete: true;
|
|
1166
|
+
actions: never;
|
|
1167
|
+
edges: {
|
|
1168
|
+
/** group for this membership */
|
|
1169
|
+
group: {
|
|
1170
|
+
vertex: 'group';
|
|
1171
|
+
many: true;
|
|
1172
|
+
filters: never;
|
|
1173
|
+
create: false;
|
|
1174
|
+
};
|
|
1175
|
+
person: {
|
|
1176
|
+
vertex: 'person';
|
|
1177
|
+
many: true;
|
|
1178
|
+
filters: never;
|
|
1179
|
+
create: false;
|
|
1180
|
+
};
|
|
1181
|
+
};
|
|
1182
|
+
}
|
|
1183
|
+
/**
|
|
1184
|
+
* Type-level schema of {@link Organization}: attributes, query options, writable fields, and edges.
|
|
1185
|
+
*
|
|
1186
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/organization
|
|
1187
|
+
*/
|
|
1188
|
+
export interface OrganizationSchema {
|
|
1189
|
+
type: 'Organization';
|
|
1190
|
+
attributes: {
|
|
1191
|
+
/** The name of the organization. */
|
|
1192
|
+
name: string | null;
|
|
1193
|
+
/** The time zone of the organization. */
|
|
1194
|
+
time_zone: string | null;
|
|
1195
|
+
};
|
|
1196
|
+
relationships: never;
|
|
1197
|
+
includes: never;
|
|
1198
|
+
related: {};
|
|
1199
|
+
where: {};
|
|
1200
|
+
whereOps: {};
|
|
1201
|
+
order: never;
|
|
1202
|
+
create: {};
|
|
1203
|
+
update: {};
|
|
1204
|
+
delete: false;
|
|
1205
|
+
actions: never;
|
|
1206
|
+
edges: {};
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
* Type-level schema of {@link Owner}: attributes, query options, writable fields, and edges.
|
|
1210
|
+
*
|
|
1211
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/owner
|
|
1212
|
+
*/
|
|
1213
|
+
export interface OwnerSchema {
|
|
1214
|
+
type: 'Owner';
|
|
1215
|
+
attributes: {
|
|
1216
|
+
/** The URL of the person's avatar. */
|
|
1217
|
+
avatar_url: string | null;
|
|
1218
|
+
/** The person's first name. */
|
|
1219
|
+
first_name: string | null;
|
|
1220
|
+
/** The person's last name. */
|
|
1221
|
+
last_name: string | null;
|
|
1222
|
+
};
|
|
1223
|
+
relationships: never;
|
|
1224
|
+
includes: never;
|
|
1225
|
+
related: {};
|
|
1226
|
+
where: {};
|
|
1227
|
+
whereOps: {};
|
|
1228
|
+
order: never;
|
|
1229
|
+
create: {};
|
|
1230
|
+
update: {};
|
|
1231
|
+
delete: false;
|
|
1232
|
+
actions: never;
|
|
1233
|
+
edges: {};
|
|
1234
|
+
}
|
|
1235
|
+
/**
|
|
1236
|
+
* Type-level schema of {@link Person}: attributes, query options, writable fields, and edges.
|
|
1237
|
+
*
|
|
1238
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/person
|
|
1239
|
+
*/
|
|
1240
|
+
export interface PersonSchema {
|
|
1241
|
+
type: 'Person';
|
|
1242
|
+
attributes: {
|
|
1243
|
+
/** Returns all the addresses associated with this person. */
|
|
1244
|
+
addresses: unknown[] | null;
|
|
1245
|
+
/** The URL of the person's avatar. */
|
|
1246
|
+
avatar_url: string | null;
|
|
1247
|
+
/**
|
|
1248
|
+
* Whether or not the person is under 13 years old.
|
|
1249
|
+
* This is false if a birthdate is not set.
|
|
1250
|
+
*
|
|
1251
|
+
*
|
|
1252
|
+
* Only available when requested with the `?fields` param
|
|
1253
|
+
*/
|
|
1254
|
+
child: boolean | null;
|
|
1255
|
+
/** Date and time this person was first created in Planning Center */
|
|
1256
|
+
created_at: string | null;
|
|
1257
|
+
/**
|
|
1258
|
+
* Returns all the email addresses associated with this person.
|
|
1259
|
+
*
|
|
1260
|
+
* ```json
|
|
1261
|
+
* [{
|
|
1262
|
+
* "address": "sam@example.com",
|
|
1263
|
+
* "location": "Home",
|
|
1264
|
+
* "primary": true
|
|
1265
|
+
* }]
|
|
1266
|
+
* ```
|
|
1267
|
+
*/
|
|
1268
|
+
email_addresses: unknown[] | null;
|
|
1269
|
+
/** The person's first name. */
|
|
1270
|
+
first_name: string | null;
|
|
1271
|
+
/** The person's gender (e.g. `Male`, `Female`). */
|
|
1272
|
+
gender: string | null;
|
|
1273
|
+
/** The person's last name. */
|
|
1274
|
+
last_name: string | null;
|
|
1275
|
+
/**
|
|
1276
|
+
* Can be `administrator`, `group_type_manager`, `leader`, `member`, or `no access`.
|
|
1277
|
+
*/
|
|
1278
|
+
permissions: string | null;
|
|
1279
|
+
/**
|
|
1280
|
+
* Returns all the phone numbers associated with this person.
|
|
1281
|
+
*
|
|
1282
|
+
* ```json
|
|
1283
|
+
* [{
|
|
1284
|
+
* "number": "(800) 123-4567",
|
|
1285
|
+
* "carrier": null,
|
|
1286
|
+
* "location": "Mobile",
|
|
1287
|
+
* "primary": true
|
|
1288
|
+
* }]
|
|
1289
|
+
* ```
|
|
1290
|
+
*/
|
|
1291
|
+
phone_numbers: unknown[] | null;
|
|
1292
|
+
};
|
|
1293
|
+
relationships: never;
|
|
1294
|
+
includes: never;
|
|
1295
|
+
related: {};
|
|
1296
|
+
where: {
|
|
1297
|
+
first_name: string;
|
|
1298
|
+
last_name: string;
|
|
1299
|
+
};
|
|
1300
|
+
whereOps: {};
|
|
1301
|
+
order: 'first_name' | 'last_name';
|
|
1302
|
+
create: {};
|
|
1303
|
+
update: {};
|
|
1304
|
+
delete: false;
|
|
1305
|
+
actions: never;
|
|
1306
|
+
edges: {
|
|
1307
|
+
/** events of groups which this person is a member */
|
|
1308
|
+
events: {
|
|
1309
|
+
vertex: 'event';
|
|
1310
|
+
many: true;
|
|
1311
|
+
filters: 'canceled' | 'not_canceled';
|
|
1312
|
+
create: false;
|
|
1313
|
+
};
|
|
1314
|
+
/** groups of which this person is a member */
|
|
1315
|
+
groups: {
|
|
1316
|
+
vertex: 'group';
|
|
1317
|
+
many: true;
|
|
1318
|
+
filters: never;
|
|
1319
|
+
create: false;
|
|
1320
|
+
};
|
|
1321
|
+
/** memberships for this person */
|
|
1322
|
+
memberships: {
|
|
1323
|
+
vertex: 'membership';
|
|
1324
|
+
many: true;
|
|
1325
|
+
filters: never;
|
|
1326
|
+
create: false;
|
|
1327
|
+
};
|
|
1328
|
+
};
|
|
1329
|
+
}
|
|
1330
|
+
/**
|
|
1331
|
+
* Type-level schema of {@link Resource}: attributes, query options, writable fields, and edges.
|
|
1332
|
+
*
|
|
1333
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/resource
|
|
1334
|
+
*/
|
|
1335
|
+
export interface ResourceSchema {
|
|
1336
|
+
type: 'Resource';
|
|
1337
|
+
attributes: {
|
|
1338
|
+
/** The description of the resource written by the person who created it. */
|
|
1339
|
+
description: string | null;
|
|
1340
|
+
/** The date and time the resource was last updated. */
|
|
1341
|
+
last_updated: string | null;
|
|
1342
|
+
/** The name/title of the resource. */
|
|
1343
|
+
name: string | null;
|
|
1344
|
+
/** Either `FileResource` or `LinkResource` */
|
|
1345
|
+
type: string | null;
|
|
1346
|
+
/** Possible values: `leaders` or `members` */
|
|
1347
|
+
visibility: string | null;
|
|
1348
|
+
};
|
|
1349
|
+
relationships: 'created_by';
|
|
1350
|
+
includes: never;
|
|
1351
|
+
related: {
|
|
1352
|
+
created_by: 'person';
|
|
1353
|
+
};
|
|
1354
|
+
where: {};
|
|
1355
|
+
whereOps: {};
|
|
1356
|
+
order: 'last_updated' | 'name' | 'pinned';
|
|
1357
|
+
create: {};
|
|
1358
|
+
update: {};
|
|
1359
|
+
delete: false;
|
|
1360
|
+
actions: never;
|
|
1361
|
+
edges: {
|
|
1362
|
+
/** link to download this file resource */
|
|
1363
|
+
download: {
|
|
1364
|
+
vertex: 'resource';
|
|
1365
|
+
many: true;
|
|
1366
|
+
filters: never;
|
|
1367
|
+
create: false;
|
|
1368
|
+
};
|
|
1369
|
+
/** link to visit this link resource */
|
|
1370
|
+
visit: {
|
|
1371
|
+
vertex: 'resource';
|
|
1372
|
+
many: true;
|
|
1373
|
+
filters: never;
|
|
1374
|
+
create: false;
|
|
1375
|
+
};
|
|
1376
|
+
};
|
|
1377
|
+
}
|
|
1378
|
+
/**
|
|
1379
|
+
* Type-level schema of {@link RSVP}: attributes, query options, writable fields, and edges.
|
|
1380
|
+
*
|
|
1381
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/rsvp
|
|
1382
|
+
*/
|
|
1383
|
+
export interface RSVPSchema {
|
|
1384
|
+
type: 'RSVP';
|
|
1385
|
+
attributes: {
|
|
1386
|
+
/**
|
|
1387
|
+
* The number of guests the person is bringing. Always `0` unless the response is `yes` or `maybe`.
|
|
1388
|
+
*/
|
|
1389
|
+
guest_count: number | null;
|
|
1390
|
+
/** Possible values: `awaiting_response`, `yes`, `no`, `maybe`, or `not_sent` */
|
|
1391
|
+
response: string | null;
|
|
1392
|
+
};
|
|
1393
|
+
relationships: 'event' | 'group' | 'person';
|
|
1394
|
+
includes: never;
|
|
1395
|
+
related: {
|
|
1396
|
+
event: 'event';
|
|
1397
|
+
group: 'group';
|
|
1398
|
+
person: 'person';
|
|
1399
|
+
};
|
|
1400
|
+
where: {
|
|
1401
|
+
response: string;
|
|
1402
|
+
};
|
|
1403
|
+
whereOps: {};
|
|
1404
|
+
order: 'response';
|
|
1405
|
+
create: {};
|
|
1406
|
+
update: {};
|
|
1407
|
+
delete: false;
|
|
1408
|
+
actions: never;
|
|
1409
|
+
edges: {};
|
|
1410
|
+
}
|
|
1411
|
+
/**
|
|
1412
|
+
* Type-level schema of {@link Tag}: attributes, query options, writable fields, and edges.
|
|
1413
|
+
*
|
|
1414
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/tag
|
|
1415
|
+
*/
|
|
1416
|
+
export interface TagSchema {
|
|
1417
|
+
type: 'Tag';
|
|
1418
|
+
attributes: {
|
|
1419
|
+
/** The name of the tag */
|
|
1420
|
+
name: string | null;
|
|
1421
|
+
/** The position of the tag in relation to other tags */
|
|
1422
|
+
position: number | null;
|
|
1423
|
+
};
|
|
1424
|
+
relationships: 'tag_group';
|
|
1425
|
+
includes: never;
|
|
1426
|
+
related: {
|
|
1427
|
+
tag_group: 'tag_group';
|
|
1428
|
+
};
|
|
1429
|
+
where: {
|
|
1430
|
+
id: string;
|
|
1431
|
+
name: string;
|
|
1432
|
+
};
|
|
1433
|
+
whereOps: {};
|
|
1434
|
+
order: 'name' | 'position';
|
|
1435
|
+
create: {};
|
|
1436
|
+
update: {};
|
|
1437
|
+
delete: false;
|
|
1438
|
+
actions: never;
|
|
1439
|
+
edges: {
|
|
1440
|
+
/** groups which have applied this tag */
|
|
1441
|
+
groups: {
|
|
1442
|
+
vertex: 'group';
|
|
1443
|
+
many: true;
|
|
1444
|
+
filters: never;
|
|
1445
|
+
create: false;
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
}
|
|
1449
|
+
/**
|
|
1450
|
+
* Type-level schema of {@link TagGroup}: attributes, query options, writable fields, and edges.
|
|
1451
|
+
*
|
|
1452
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/tag_group
|
|
1453
|
+
*/
|
|
1454
|
+
export interface TagGroupSchema {
|
|
1455
|
+
type: 'TagGroup';
|
|
1456
|
+
attributes: {
|
|
1457
|
+
/** Whether or not this tag group is visible to the public on Church Center */
|
|
1458
|
+
display_publicly: boolean | null;
|
|
1459
|
+
/** Whether or not a group can belong to many tags within this tag group */
|
|
1460
|
+
multiple_options_enabled: boolean | null;
|
|
1461
|
+
/** The name of the tag group */
|
|
1462
|
+
name: string | null;
|
|
1463
|
+
/** The position of the tag group in relation to other tag groups */
|
|
1464
|
+
position: number | null;
|
|
1465
|
+
};
|
|
1466
|
+
relationships: never;
|
|
1467
|
+
includes: never;
|
|
1468
|
+
related: {};
|
|
1469
|
+
where: {
|
|
1470
|
+
name: string;
|
|
1471
|
+
};
|
|
1472
|
+
whereOps: {};
|
|
1473
|
+
order: 'name' | 'position';
|
|
1474
|
+
create: {};
|
|
1475
|
+
update: {};
|
|
1476
|
+
delete: false;
|
|
1477
|
+
actions: never;
|
|
1478
|
+
edges: {
|
|
1479
|
+
/** tags belonging to this tag group */
|
|
1480
|
+
tags: {
|
|
1481
|
+
vertex: 'tag';
|
|
1482
|
+
many: true;
|
|
1483
|
+
filters: never;
|
|
1484
|
+
create: false;
|
|
1485
|
+
};
|
|
1486
|
+
};
|
|
1487
|
+
}
|
|
1488
|
+
/** Type-level schema of every Planning Center Groups resource, keyed by vertex id. */
|
|
1489
|
+
export type GroupsSchema = {
|
|
1490
|
+
attendance: AttendanceSchema;
|
|
1491
|
+
campus: CampusSchema;
|
|
1492
|
+
enrollment: EnrollmentSchema;
|
|
1493
|
+
event: EventSchema;
|
|
1494
|
+
event_note: EventNoteSchema;
|
|
1495
|
+
group: GroupSchema;
|
|
1496
|
+
group_application: GroupApplicationSchema;
|
|
1497
|
+
group_type: GroupTypeSchema;
|
|
1498
|
+
location: LocationSchema;
|
|
1499
|
+
membership: MembershipSchema;
|
|
1500
|
+
organization: OrganizationSchema;
|
|
1501
|
+
owner: OwnerSchema;
|
|
1502
|
+
person: PersonSchema;
|
|
1503
|
+
resource: ResourceSchema;
|
|
1504
|
+
rsvp: RSVPSchema;
|
|
1505
|
+
tag: TagSchema;
|
|
1506
|
+
tag_group: TagGroupSchema;
|
|
1507
|
+
};
|
|
1508
|
+
/** Edges available from the product root (`/groups/v2`). */
|
|
1509
|
+
export type GroupsRoot = {
|
|
1510
|
+
/** campuses for this organization */
|
|
1511
|
+
campuses: {
|
|
1512
|
+
vertex: 'campus';
|
|
1513
|
+
many: true;
|
|
1514
|
+
filters: never;
|
|
1515
|
+
create: false;
|
|
1516
|
+
};
|
|
1517
|
+
/** event notes for all groups in this organization */
|
|
1518
|
+
event_notes: {
|
|
1519
|
+
vertex: 'event_note';
|
|
1520
|
+
many: true;
|
|
1521
|
+
filters: never;
|
|
1522
|
+
create: false;
|
|
1523
|
+
};
|
|
1524
|
+
/** events for all groups in this organization */
|
|
1525
|
+
events: {
|
|
1526
|
+
vertex: 'event';
|
|
1527
|
+
many: true;
|
|
1528
|
+
filters: 'campus' | 'canceled' | 'group' | 'group_type' | 'my_groups' | 'not_canceled' | 'upcoming';
|
|
1529
|
+
create: false;
|
|
1530
|
+
};
|
|
1531
|
+
/** requests to join groups for this organization */
|
|
1532
|
+
group_applications: {
|
|
1533
|
+
vertex: 'group_application';
|
|
1534
|
+
many: true;
|
|
1535
|
+
filters: never;
|
|
1536
|
+
create: false;
|
|
1537
|
+
};
|
|
1538
|
+
/** group types for this organization */
|
|
1539
|
+
group_types: {
|
|
1540
|
+
vertex: 'group_type';
|
|
1541
|
+
many: true;
|
|
1542
|
+
filters: 'church_center_visible' | 'not_church_center_visible';
|
|
1543
|
+
create: false;
|
|
1544
|
+
};
|
|
1545
|
+
/** groups for this organization */
|
|
1546
|
+
groups: {
|
|
1547
|
+
vertex: 'group';
|
|
1548
|
+
many: true;
|
|
1549
|
+
filters: 'campus' | 'enrollment' | 'group' | 'group_type' | 'meeting_schedule' | 'my_groups' | 'people_database_searchable' | 'tag';
|
|
1550
|
+
create: false;
|
|
1551
|
+
};
|
|
1552
|
+
/** memberships for all groups in this organization */
|
|
1553
|
+
memberships: {
|
|
1554
|
+
vertex: 'membership';
|
|
1555
|
+
many: true;
|
|
1556
|
+
filters: 'group' | 'leader' | 'person';
|
|
1557
|
+
create: false;
|
|
1558
|
+
};
|
|
1559
|
+
/** people for this organization */
|
|
1560
|
+
people: {
|
|
1561
|
+
vertex: 'person';
|
|
1562
|
+
many: true;
|
|
1563
|
+
filters: never;
|
|
1564
|
+
create: false;
|
|
1565
|
+
};
|
|
1566
|
+
/** tag groups in this organization */
|
|
1567
|
+
tag_groups: {
|
|
1568
|
+
vertex: 'tag_group';
|
|
1569
|
+
many: true;
|
|
1570
|
+
filters: 'public';
|
|
1571
|
+
create: false;
|
|
1572
|
+
};
|
|
1573
|
+
};
|
|
1574
|
+
/**
|
|
1575
|
+
* Individual event attendance for a person.
|
|
1576
|
+
*
|
|
1577
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/attendance
|
|
1578
|
+
*/
|
|
1579
|
+
export type Attendance = PcoResource<AttendanceSchema>;
|
|
1580
|
+
/**
|
|
1581
|
+
* Attributes of {@link Attendance}.
|
|
1582
|
+
*
|
|
1583
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/attendance
|
|
1584
|
+
*/
|
|
1585
|
+
export type AttendanceAttributes = AttendanceSchema['attributes'];
|
|
1586
|
+
/**
|
|
1587
|
+
* A campus as defined in Planning Center Accounts
|
|
1588
|
+
*
|
|
1589
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/campus
|
|
1590
|
+
*/
|
|
1591
|
+
export type Campus = PcoResource<CampusSchema>;
|
|
1592
|
+
/**
|
|
1593
|
+
* Attributes of {@link Campus}.
|
|
1594
|
+
*
|
|
1595
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/campus
|
|
1596
|
+
*/
|
|
1597
|
+
export type CampusAttributes = CampusSchema['attributes'];
|
|
1598
|
+
/**
|
|
1599
|
+
* Details on how and when members can join a `Group`.
|
|
1600
|
+
*
|
|
1601
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/enrollment
|
|
1602
|
+
*/
|
|
1603
|
+
export type Enrollment = PcoResource<EnrollmentSchema>;
|
|
1604
|
+
/**
|
|
1605
|
+
* Attributes of {@link Enrollment}.
|
|
1606
|
+
*
|
|
1607
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/enrollment
|
|
1608
|
+
*/
|
|
1609
|
+
export type EnrollmentAttributes = EnrollmentSchema['attributes'];
|
|
1610
|
+
/**
|
|
1611
|
+
* An event is a meeting of a group. It has a start and end time, and can be
|
|
1612
|
+
* either physical or virtual.
|
|
1613
|
+
*
|
|
1614
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/event
|
|
1615
|
+
*/
|
|
1616
|
+
export type Event = PcoResource<EventSchema>;
|
|
1617
|
+
/**
|
|
1618
|
+
* Attributes of {@link Event}.
|
|
1619
|
+
*
|
|
1620
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/event
|
|
1621
|
+
*/
|
|
1622
|
+
export type EventAttributes = EventSchema['attributes'];
|
|
1623
|
+
/**
|
|
1624
|
+
* Notes that group leaders can write for an event, generally related to attendance.
|
|
1625
|
+
*
|
|
1626
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/event_note
|
|
1627
|
+
*/
|
|
1628
|
+
export type EventNote = PcoResource<EventNoteSchema>;
|
|
1629
|
+
/**
|
|
1630
|
+
* Attributes of {@link EventNote}.
|
|
1631
|
+
*
|
|
1632
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/event_note
|
|
1633
|
+
*/
|
|
1634
|
+
export type EventNoteAttributes = EventNoteSchema['attributes'];
|
|
1635
|
+
/**
|
|
1636
|
+
* A group of people that meet together regularly.
|
|
1637
|
+
*
|
|
1638
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/group
|
|
1639
|
+
*/
|
|
1640
|
+
export type Group = PcoResource<GroupSchema>;
|
|
1641
|
+
/**
|
|
1642
|
+
* Attributes of {@link Group}.
|
|
1643
|
+
*
|
|
1644
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/group
|
|
1645
|
+
*/
|
|
1646
|
+
export type GroupAttributes = GroupSchema['attributes'];
|
|
1647
|
+
/**
|
|
1648
|
+
* A group application is a request to join a group which can be approved or rejected.
|
|
1649
|
+
*
|
|
1650
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/group_application
|
|
1651
|
+
*/
|
|
1652
|
+
export type GroupApplication = PcoResource<GroupApplicationSchema>;
|
|
1653
|
+
/**
|
|
1654
|
+
* Attributes of {@link GroupApplication}.
|
|
1655
|
+
*
|
|
1656
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/group_application
|
|
1657
|
+
*/
|
|
1658
|
+
export type GroupApplicationAttributes = GroupApplicationSchema['attributes'];
|
|
1659
|
+
/**
|
|
1660
|
+
* A group type is a category of groups.
|
|
1661
|
+
* For example, a church might have group types for "Small Groups" and "Classes".
|
|
1662
|
+
*
|
|
1663
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/group_type
|
|
1664
|
+
*/
|
|
1665
|
+
export type GroupType = PcoResource<GroupTypeSchema>;
|
|
1666
|
+
/**
|
|
1667
|
+
* Attributes of {@link GroupType}.
|
|
1668
|
+
*
|
|
1669
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/group_type
|
|
1670
|
+
*/
|
|
1671
|
+
export type GroupTypeAttributes = GroupTypeSchema['attributes'];
|
|
1672
|
+
/**
|
|
1673
|
+
* A physical event location
|
|
1674
|
+
*
|
|
1675
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/location
|
|
1676
|
+
*/
|
|
1677
|
+
export type Location = PcoResource<LocationSchema>;
|
|
1678
|
+
/**
|
|
1679
|
+
* Attributes of {@link Location}.
|
|
1680
|
+
*
|
|
1681
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/location
|
|
1682
|
+
*/
|
|
1683
|
+
export type LocationAttributes = LocationSchema['attributes'];
|
|
1684
|
+
/**
|
|
1685
|
+
* The state of a `Person` belonging to a `Group`.
|
|
1686
|
+
*
|
|
1687
|
+
* A `Person` can only have one active `Membership` to a `Group` at a time.
|
|
1688
|
+
*
|
|
1689
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/membership
|
|
1690
|
+
*/
|
|
1691
|
+
export type Membership = PcoResource<MembershipSchema>;
|
|
1692
|
+
/**
|
|
1693
|
+
* Attributes of {@link Membership}.
|
|
1694
|
+
*
|
|
1695
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/membership
|
|
1696
|
+
*/
|
|
1697
|
+
export type MembershipAttributes = MembershipSchema['attributes'];
|
|
1698
|
+
/**
|
|
1699
|
+
* The organization represents a single church. Every other resource is scoped to this record.
|
|
1700
|
+
*
|
|
1701
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/organization
|
|
1702
|
+
*/
|
|
1703
|
+
export type Organization = PcoResource<OrganizationSchema>;
|
|
1704
|
+
/**
|
|
1705
|
+
* Attributes of {@link Organization}.
|
|
1706
|
+
*
|
|
1707
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/organization
|
|
1708
|
+
*/
|
|
1709
|
+
export type OrganizationAttributes = OrganizationSchema['attributes'];
|
|
1710
|
+
/**
|
|
1711
|
+
* The owner/creator of an event note.
|
|
1712
|
+
*
|
|
1713
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/owner
|
|
1714
|
+
*/
|
|
1715
|
+
export type Owner = PcoResource<OwnerSchema>;
|
|
1716
|
+
/**
|
|
1717
|
+
* Attributes of {@link Owner}.
|
|
1718
|
+
*
|
|
1719
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/owner
|
|
1720
|
+
*/
|
|
1721
|
+
export type OwnerAttributes = OwnerSchema['attributes'];
|
|
1722
|
+
/**
|
|
1723
|
+
* A person is a user of Planning Center.
|
|
1724
|
+
* They can be a member of a group, a leader of a group, or an administrator.
|
|
1725
|
+
*
|
|
1726
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/person
|
|
1727
|
+
*/
|
|
1728
|
+
export type Person = PcoResource<PersonSchema>;
|
|
1729
|
+
/**
|
|
1730
|
+
* Attributes of {@link Person}.
|
|
1731
|
+
*
|
|
1732
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/person
|
|
1733
|
+
*/
|
|
1734
|
+
export type PersonAttributes = PersonSchema['attributes'];
|
|
1735
|
+
/**
|
|
1736
|
+
* A file or link resource that can be shared with a group.
|
|
1737
|
+
*
|
|
1738
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/resource
|
|
1739
|
+
*/
|
|
1740
|
+
export type Resource = PcoResource<ResourceSchema>;
|
|
1741
|
+
/**
|
|
1742
|
+
* Attributes of {@link Resource}.
|
|
1743
|
+
*
|
|
1744
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/resource
|
|
1745
|
+
*/
|
|
1746
|
+
export type ResourceAttributes = ResourceSchema['attributes'];
|
|
1747
|
+
/**
|
|
1748
|
+
* A person's RSVP response for a group event.
|
|
1749
|
+
* RSVPs can be submitted at any point leading up to the event.
|
|
1750
|
+
* When an event reminder is sent, `awaiting_response` RSVPs are generated for
|
|
1751
|
+
* any remaining members, or `not_sent` if they're missing an email address.
|
|
1752
|
+
*
|
|
1753
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/rsvp
|
|
1754
|
+
*/
|
|
1755
|
+
export type RSVP = PcoResource<RSVPSchema>;
|
|
1756
|
+
/**
|
|
1757
|
+
* Attributes of {@link RSVP}.
|
|
1758
|
+
*
|
|
1759
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/rsvp
|
|
1760
|
+
*/
|
|
1761
|
+
export type RSVPAttributes = RSVPSchema['attributes'];
|
|
1762
|
+
/**
|
|
1763
|
+
* Tags are used to filter groups.
|
|
1764
|
+
* They can be organized into tag_groups.
|
|
1765
|
+
*
|
|
1766
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/tag
|
|
1767
|
+
*/
|
|
1768
|
+
export type Tag = PcoResource<TagSchema>;
|
|
1769
|
+
/**
|
|
1770
|
+
* Attributes of {@link Tag}.
|
|
1771
|
+
*
|
|
1772
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/tag
|
|
1773
|
+
*/
|
|
1774
|
+
export type TagAttributes = TagSchema['attributes'];
|
|
1775
|
+
/**
|
|
1776
|
+
* A way to group related tags.
|
|
1777
|
+
* For example you could have a "Life Stage" tag group
|
|
1778
|
+
* with tags like "Child", "Teen", "Adult", etc.
|
|
1779
|
+
*
|
|
1780
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/tag_group
|
|
1781
|
+
*/
|
|
1782
|
+
export type TagGroup = PcoResource<TagGroupSchema>;
|
|
1783
|
+
/**
|
|
1784
|
+
* Attributes of {@link TagGroup}.
|
|
1785
|
+
*
|
|
1786
|
+
* @see https://api.planningcenteronline.com/docs/apps/groups/versions/2026-11-10/vertices/tag_group
|
|
1787
|
+
*/
|
|
1788
|
+
export type TagGroupAttributes = TagGroupSchema['attributes'];
|
|
1789
|
+
//# sourceMappingURL=groups.d.ts.map
|