@rachelallyson/planning-center-check-ins-ts 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/CHANGELOG.md +19 -0
- package/LICENSE +22 -0
- package/README.md +102 -0
- package/dist/client.d.ts +95 -0
- package/dist/client.js +167 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js +38 -0
- package/dist/modules/attendance-types.d.ts +27 -0
- package/dist/modules/attendance-types.js +44 -0
- package/dist/modules/check-in-groups.d.ts +27 -0
- package/dist/modules/check-in-groups.js +44 -0
- package/dist/modules/check-in-times.d.ts +27 -0
- package/dist/modules/check-in-times.js +44 -0
- package/dist/modules/check-ins.d.ts +88 -0
- package/dist/modules/check-ins.js +157 -0
- package/dist/modules/event-periods.d.ts +57 -0
- package/dist/modules/event-periods.js +75 -0
- package/dist/modules/event-times.d.ts +51 -0
- package/dist/modules/event-times.js +69 -0
- package/dist/modules/events.d.ts +93 -0
- package/dist/modules/events.js +101 -0
- package/dist/modules/headcounts.d.ts +27 -0
- package/dist/modules/headcounts.js +44 -0
- package/dist/modules/integration-links.d.ts +27 -0
- package/dist/modules/integration-links.js +44 -0
- package/dist/modules/labels.d.ts +51 -0
- package/dist/modules/labels.js +108 -0
- package/dist/modules/locations.d.ts +51 -0
- package/dist/modules/locations.js +63 -0
- package/dist/modules/options.d.ts +27 -0
- package/dist/modules/options.js +44 -0
- package/dist/modules/organization.d.ts +13 -0
- package/dist/modules/organization.js +19 -0
- package/dist/modules/passes.d.ts +27 -0
- package/dist/modules/passes.js +44 -0
- package/dist/modules/person-events.d.ts +27 -0
- package/dist/modules/person-events.js +44 -0
- package/dist/modules/pre-checks.d.ts +27 -0
- package/dist/modules/pre-checks.js +44 -0
- package/dist/modules/roster-list-persons.d.ts +27 -0
- package/dist/modules/roster-list-persons.js +44 -0
- package/dist/modules/stations.d.ts +27 -0
- package/dist/modules/stations.js +44 -0
- package/dist/modules/themes.d.ts +27 -0
- package/dist/modules/themes.js +44 -0
- package/dist/types/check-ins.d.ts +325 -0
- package/dist/types/check-ins.js +6 -0
- package/dist/types/client.d.ts +12 -0
- package/dist/types/client.js +5 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +18 -0
- package/package.json +75 -0
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Planning Center Check-Ins API Types
|
|
3
|
+
* Based on JSON:API 1.0 specification
|
|
4
|
+
*/
|
|
5
|
+
import { Attributes, Paginated, Relationship, ResourceObject, Response } from '@rachelallyson/planning-center-base-ts';
|
|
6
|
+
export interface EventAttributes extends Attributes {
|
|
7
|
+
name?: string;
|
|
8
|
+
frequency?: string;
|
|
9
|
+
enable_services_integration?: boolean;
|
|
10
|
+
location_times_enabled?: boolean;
|
|
11
|
+
pre_select_enabled?: boolean;
|
|
12
|
+
integration_key?: string;
|
|
13
|
+
app_source?: string;
|
|
14
|
+
created_at?: string;
|
|
15
|
+
updated_at?: string;
|
|
16
|
+
archived_at?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface EventRelationships {
|
|
19
|
+
attendance_types?: Relationship;
|
|
20
|
+
check_ins?: Relationship;
|
|
21
|
+
current_event_times?: Relationship;
|
|
22
|
+
event_labels?: Relationship;
|
|
23
|
+
event_periods?: Relationship;
|
|
24
|
+
integration_links?: Relationship;
|
|
25
|
+
locations?: Relationship;
|
|
26
|
+
person_events?: Relationship;
|
|
27
|
+
}
|
|
28
|
+
export interface EventResource extends ResourceObject<'Event', EventAttributes, EventRelationships> {
|
|
29
|
+
}
|
|
30
|
+
export type EventsList = Paginated<EventResource>;
|
|
31
|
+
export type EventSingle = Response<EventResource>;
|
|
32
|
+
export interface CheckInAttributes extends Attributes {
|
|
33
|
+
first_name?: string;
|
|
34
|
+
last_name?: string;
|
|
35
|
+
medical_notes?: string;
|
|
36
|
+
number?: number;
|
|
37
|
+
security_code?: string;
|
|
38
|
+
created_at?: string;
|
|
39
|
+
updated_at?: string;
|
|
40
|
+
checked_out_at?: string;
|
|
41
|
+
confirmed_at?: string;
|
|
42
|
+
emergency_contact_name?: string;
|
|
43
|
+
emergency_contact_phone_number?: string;
|
|
44
|
+
one_time_guest?: boolean;
|
|
45
|
+
kind?: string;
|
|
46
|
+
}
|
|
47
|
+
export interface CheckInRelationships {
|
|
48
|
+
check_in_group?: Relationship;
|
|
49
|
+
check_in_times?: Relationship;
|
|
50
|
+
checked_in_at?: Relationship;
|
|
51
|
+
checked_in_by?: Relationship;
|
|
52
|
+
checked_out_by?: Relationship;
|
|
53
|
+
event?: Relationship;
|
|
54
|
+
event_period?: Relationship;
|
|
55
|
+
event_times?: Relationship;
|
|
56
|
+
locations?: Relationship;
|
|
57
|
+
options?: Relationship;
|
|
58
|
+
person?: Relationship;
|
|
59
|
+
}
|
|
60
|
+
export interface CheckInResource extends ResourceObject<'CheckIn', CheckInAttributes, CheckInRelationships> {
|
|
61
|
+
}
|
|
62
|
+
export type CheckInsList = Paginated<CheckInResource>;
|
|
63
|
+
export type CheckInSingle = Response<CheckInResource>;
|
|
64
|
+
export interface LocationAttributes extends Attributes {
|
|
65
|
+
name?: string;
|
|
66
|
+
created_at?: string;
|
|
67
|
+
updated_at?: string;
|
|
68
|
+
}
|
|
69
|
+
export interface LocationRelationships {
|
|
70
|
+
event?: Relationship;
|
|
71
|
+
location_event_periods?: Relationship;
|
|
72
|
+
location_event_times?: Relationship;
|
|
73
|
+
location_labels?: Relationship;
|
|
74
|
+
}
|
|
75
|
+
export interface LocationResource extends ResourceObject<'Location', LocationAttributes, LocationRelationships> {
|
|
76
|
+
}
|
|
77
|
+
export type LocationsList = Paginated<LocationResource>;
|
|
78
|
+
export type LocationSingle = Response<LocationResource>;
|
|
79
|
+
export interface EventPeriodAttributes extends Attributes {
|
|
80
|
+
starts_at?: string;
|
|
81
|
+
ends_at?: string;
|
|
82
|
+
created_at?: string;
|
|
83
|
+
updated_at?: string;
|
|
84
|
+
}
|
|
85
|
+
export interface EventPeriodRelationships {
|
|
86
|
+
event?: Relationship;
|
|
87
|
+
event_times?: Relationship;
|
|
88
|
+
check_ins?: Relationship;
|
|
89
|
+
location_event_periods?: Relationship;
|
|
90
|
+
}
|
|
91
|
+
export interface EventPeriodResource extends ResourceObject<'EventPeriod', EventPeriodAttributes, EventPeriodRelationships> {
|
|
92
|
+
}
|
|
93
|
+
export type EventPeriodsList = Paginated<EventPeriodResource>;
|
|
94
|
+
export type EventPeriodSingle = Response<EventPeriodResource>;
|
|
95
|
+
export interface EventTimeAttributes extends Attributes {
|
|
96
|
+
starts_at?: string;
|
|
97
|
+
ends_at?: string;
|
|
98
|
+
created_at?: string;
|
|
99
|
+
updated_at?: string;
|
|
100
|
+
}
|
|
101
|
+
export interface EventTimeRelationships {
|
|
102
|
+
event?: Relationship;
|
|
103
|
+
event_period?: Relationship;
|
|
104
|
+
location_event_times?: Relationship;
|
|
105
|
+
check_ins?: Relationship;
|
|
106
|
+
}
|
|
107
|
+
export interface EventTimeResource extends ResourceObject<'EventTime', EventTimeAttributes, EventTimeRelationships> {
|
|
108
|
+
}
|
|
109
|
+
export type EventTimesList = Paginated<EventTimeResource>;
|
|
110
|
+
export type EventTimeSingle = Response<EventTimeResource>;
|
|
111
|
+
export interface StationAttributes extends Attributes {
|
|
112
|
+
name?: string;
|
|
113
|
+
created_at?: string;
|
|
114
|
+
updated_at?: string;
|
|
115
|
+
}
|
|
116
|
+
export interface StationRelationships {
|
|
117
|
+
check_ins?: Relationship;
|
|
118
|
+
}
|
|
119
|
+
export interface StationResource extends ResourceObject<'Station', StationAttributes, StationRelationships> {
|
|
120
|
+
}
|
|
121
|
+
export type StationsList = Paginated<StationResource>;
|
|
122
|
+
export type StationSingle = Response<StationResource>;
|
|
123
|
+
export interface LabelAttributes extends Attributes {
|
|
124
|
+
name?: string;
|
|
125
|
+
created_at?: string;
|
|
126
|
+
updated_at?: string;
|
|
127
|
+
}
|
|
128
|
+
export interface LabelRelationships {
|
|
129
|
+
event_labels?: Relationship;
|
|
130
|
+
location_labels?: Relationship;
|
|
131
|
+
}
|
|
132
|
+
export interface LabelResource extends ResourceObject<'Label', LabelAttributes, LabelRelationships> {
|
|
133
|
+
}
|
|
134
|
+
export type LabelsList = Paginated<LabelResource>;
|
|
135
|
+
export type LabelSingle = Response<LabelResource>;
|
|
136
|
+
export interface EventLabelAttributes extends Attributes {
|
|
137
|
+
created_at?: string;
|
|
138
|
+
updated_at?: string;
|
|
139
|
+
}
|
|
140
|
+
export interface EventLabelRelationships {
|
|
141
|
+
event?: Relationship;
|
|
142
|
+
label?: Relationship;
|
|
143
|
+
}
|
|
144
|
+
export interface EventLabelResource extends ResourceObject<'EventLabel', EventLabelAttributes, EventLabelRelationships> {
|
|
145
|
+
}
|
|
146
|
+
export type EventLabelsList = Paginated<EventLabelResource>;
|
|
147
|
+
export type EventLabelSingle = Response<EventLabelResource>;
|
|
148
|
+
export interface LocationLabelAttributes extends Attributes {
|
|
149
|
+
created_at?: string;
|
|
150
|
+
updated_at?: string;
|
|
151
|
+
}
|
|
152
|
+
export interface LocationLabelRelationships {
|
|
153
|
+
location?: Relationship;
|
|
154
|
+
label?: Relationship;
|
|
155
|
+
}
|
|
156
|
+
export interface LocationLabelResource extends ResourceObject<'LocationLabel', LocationLabelAttributes, LocationLabelRelationships> {
|
|
157
|
+
}
|
|
158
|
+
export type LocationLabelsList = Paginated<LocationLabelResource>;
|
|
159
|
+
export type LocationLabelSingle = Response<LocationLabelResource>;
|
|
160
|
+
export interface OptionAttributes extends Attributes {
|
|
161
|
+
name?: string;
|
|
162
|
+
created_at?: string;
|
|
163
|
+
updated_at?: string;
|
|
164
|
+
}
|
|
165
|
+
export interface OptionRelationships {
|
|
166
|
+
check_ins?: Relationship;
|
|
167
|
+
}
|
|
168
|
+
export interface OptionResource extends ResourceObject<'Option', OptionAttributes, OptionRelationships> {
|
|
169
|
+
}
|
|
170
|
+
export type OptionsList = Paginated<OptionResource>;
|
|
171
|
+
export type OptionSingle = Response<OptionResource>;
|
|
172
|
+
export interface CheckInGroupAttributes extends Attributes {
|
|
173
|
+
name?: string;
|
|
174
|
+
created_at?: string;
|
|
175
|
+
updated_at?: string;
|
|
176
|
+
}
|
|
177
|
+
export interface CheckInGroupRelationships {
|
|
178
|
+
check_ins?: Relationship;
|
|
179
|
+
}
|
|
180
|
+
export interface CheckInGroupResource extends ResourceObject<'CheckInGroup', CheckInGroupAttributes, CheckInGroupRelationships> {
|
|
181
|
+
}
|
|
182
|
+
export type CheckInGroupsList = Paginated<CheckInGroupResource>;
|
|
183
|
+
export type CheckInGroupSingle = Response<CheckInGroupResource>;
|
|
184
|
+
export interface CheckInTimeAttributes extends Attributes {
|
|
185
|
+
created_at?: string;
|
|
186
|
+
updated_at?: string;
|
|
187
|
+
}
|
|
188
|
+
export interface CheckInTimeRelationships {
|
|
189
|
+
check_in?: Relationship;
|
|
190
|
+
event_time?: Relationship;
|
|
191
|
+
}
|
|
192
|
+
export interface CheckInTimeResource extends ResourceObject<'CheckInTime', CheckInTimeAttributes, CheckInTimeRelationships> {
|
|
193
|
+
}
|
|
194
|
+
export type CheckInTimesList = Paginated<CheckInTimeResource>;
|
|
195
|
+
export type CheckInTimeSingle = Response<CheckInTimeResource>;
|
|
196
|
+
export interface PersonEventAttributes extends Attributes {
|
|
197
|
+
created_at?: string;
|
|
198
|
+
updated_at?: string;
|
|
199
|
+
}
|
|
200
|
+
export interface PersonEventRelationships {
|
|
201
|
+
event?: Relationship;
|
|
202
|
+
person?: Relationship;
|
|
203
|
+
}
|
|
204
|
+
export interface PersonEventResource extends ResourceObject<'PersonEvent', PersonEventAttributes, PersonEventRelationships> {
|
|
205
|
+
}
|
|
206
|
+
export type PersonEventsList = Paginated<PersonEventResource>;
|
|
207
|
+
export type PersonEventSingle = Response<PersonEventResource>;
|
|
208
|
+
export interface PreCheckAttributes extends Attributes {
|
|
209
|
+
created_at?: string;
|
|
210
|
+
updated_at?: string;
|
|
211
|
+
}
|
|
212
|
+
export interface PreCheckRelationships {
|
|
213
|
+
event?: Relationship;
|
|
214
|
+
person?: Relationship;
|
|
215
|
+
}
|
|
216
|
+
export interface PreCheckResource extends ResourceObject<'PreCheck', PreCheckAttributes, PreCheckRelationships> {
|
|
217
|
+
}
|
|
218
|
+
export type PreChecksList = Paginated<PreCheckResource>;
|
|
219
|
+
export type PreCheckSingle = Response<PreCheckResource>;
|
|
220
|
+
export interface PassAttributes extends Attributes {
|
|
221
|
+
name?: string;
|
|
222
|
+
created_at?: string;
|
|
223
|
+
updated_at?: string;
|
|
224
|
+
}
|
|
225
|
+
export interface PassRelationships {
|
|
226
|
+
}
|
|
227
|
+
export interface PassResource extends ResourceObject<'Pass', PassAttributes, PassRelationships> {
|
|
228
|
+
}
|
|
229
|
+
export type PassesList = Paginated<PassResource>;
|
|
230
|
+
export type PassSingle = Response<PassResource>;
|
|
231
|
+
export interface HeadcountAttributes extends Attributes {
|
|
232
|
+
count?: number;
|
|
233
|
+
created_at?: string;
|
|
234
|
+
updated_at?: string;
|
|
235
|
+
}
|
|
236
|
+
export interface HeadcountRelationships {
|
|
237
|
+
}
|
|
238
|
+
export interface HeadcountResource extends ResourceObject<'Headcount', HeadcountAttributes, HeadcountRelationships> {
|
|
239
|
+
}
|
|
240
|
+
export type HeadcountsList = Paginated<HeadcountResource>;
|
|
241
|
+
export type HeadcountSingle = Response<HeadcountResource>;
|
|
242
|
+
export interface AttendanceTypeAttributes extends Attributes {
|
|
243
|
+
name?: string;
|
|
244
|
+
created_at?: string;
|
|
245
|
+
updated_at?: string;
|
|
246
|
+
}
|
|
247
|
+
export interface AttendanceTypeRelationships {
|
|
248
|
+
event?: Relationship;
|
|
249
|
+
}
|
|
250
|
+
export interface AttendanceTypeResource extends ResourceObject<'AttendanceType', AttendanceTypeAttributes, AttendanceTypeRelationships> {
|
|
251
|
+
}
|
|
252
|
+
export type AttendanceTypesList = Paginated<AttendanceTypeResource>;
|
|
253
|
+
export type AttendanceTypeSingle = Response<AttendanceTypeResource>;
|
|
254
|
+
export interface RosterListPersonAttributes extends Attributes {
|
|
255
|
+
created_at?: string;
|
|
256
|
+
updated_at?: string;
|
|
257
|
+
}
|
|
258
|
+
export interface RosterListPersonRelationships {
|
|
259
|
+
person?: Relationship;
|
|
260
|
+
}
|
|
261
|
+
export interface RosterListPersonResource extends ResourceObject<'RosterListPerson', RosterListPersonAttributes, RosterListPersonRelationships> {
|
|
262
|
+
}
|
|
263
|
+
export type RosterListPersonsList = Paginated<RosterListPersonResource>;
|
|
264
|
+
export type RosterListPersonSingle = Response<RosterListPersonResource>;
|
|
265
|
+
export interface OrganizationAttributes extends Attributes {
|
|
266
|
+
name?: string;
|
|
267
|
+
time_zone?: string;
|
|
268
|
+
created_at?: string;
|
|
269
|
+
updated_at?: string;
|
|
270
|
+
}
|
|
271
|
+
export interface OrganizationRelationships {
|
|
272
|
+
}
|
|
273
|
+
export interface OrganizationResource extends ResourceObject<'Organization', OrganizationAttributes, OrganizationRelationships> {
|
|
274
|
+
}
|
|
275
|
+
export type OrganizationsList = Paginated<OrganizationResource>;
|
|
276
|
+
export type OrganizationSingle = Response<OrganizationResource>;
|
|
277
|
+
export interface IntegrationLinkAttributes extends Attributes {
|
|
278
|
+
integration_type?: string;
|
|
279
|
+
external_id?: string;
|
|
280
|
+
created_at?: string;
|
|
281
|
+
updated_at?: string;
|
|
282
|
+
}
|
|
283
|
+
export interface IntegrationLinkRelationships {
|
|
284
|
+
event?: Relationship;
|
|
285
|
+
}
|
|
286
|
+
export interface IntegrationLinkResource extends ResourceObject<'IntegrationLink', IntegrationLinkAttributes, IntegrationLinkRelationships> {
|
|
287
|
+
}
|
|
288
|
+
export type IntegrationLinksList = Paginated<IntegrationLinkResource>;
|
|
289
|
+
export type IntegrationLinkSingle = Response<IntegrationLinkResource>;
|
|
290
|
+
export interface ThemeAttributes extends Attributes {
|
|
291
|
+
name?: string;
|
|
292
|
+
created_at?: string;
|
|
293
|
+
updated_at?: string;
|
|
294
|
+
}
|
|
295
|
+
export interface ThemeRelationships {
|
|
296
|
+
}
|
|
297
|
+
export interface ThemeResource extends ResourceObject<'Theme', ThemeAttributes, ThemeRelationships> {
|
|
298
|
+
}
|
|
299
|
+
export type ThemesList = Paginated<ThemeResource>;
|
|
300
|
+
export type ThemeSingle = Response<ThemeResource>;
|
|
301
|
+
export interface LocationEventPeriodAttributes extends Attributes {
|
|
302
|
+
created_at?: string;
|
|
303
|
+
updated_at?: string;
|
|
304
|
+
}
|
|
305
|
+
export interface LocationEventPeriodRelationships {
|
|
306
|
+
location?: Relationship;
|
|
307
|
+
event_period?: Relationship;
|
|
308
|
+
check_ins?: Relationship;
|
|
309
|
+
}
|
|
310
|
+
export interface LocationEventPeriodResource extends ResourceObject<'LocationEventPeriod', LocationEventPeriodAttributes, LocationEventPeriodRelationships> {
|
|
311
|
+
}
|
|
312
|
+
export type LocationEventPeriodsList = Paginated<LocationEventPeriodResource>;
|
|
313
|
+
export type LocationEventPeriodSingle = Response<LocationEventPeriodResource>;
|
|
314
|
+
export interface LocationEventTimeAttributes extends Attributes {
|
|
315
|
+
created_at?: string;
|
|
316
|
+
updated_at?: string;
|
|
317
|
+
}
|
|
318
|
+
export interface LocationEventTimeRelationships {
|
|
319
|
+
location?: Relationship;
|
|
320
|
+
event_time?: Relationship;
|
|
321
|
+
}
|
|
322
|
+
export interface LocationEventTimeResource extends ResourceObject<'LocationEventTime', LocationEventTimeAttributes, LocationEventTimeRelationships> {
|
|
323
|
+
}
|
|
324
|
+
export type LocationEventTimesList = Paginated<LocationEventTimeResource>;
|
|
325
|
+
export type LocationEventTimeSingle = Response<LocationEventTimeResource>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Check-Ins Client Configuration Types
|
|
3
|
+
*/
|
|
4
|
+
import type { PcoClientConfig } from '@rachelallyson/planning-center-base-ts';
|
|
5
|
+
/**
|
|
6
|
+
* Configuration for the Check-Ins API client
|
|
7
|
+
* Extends the base client config with check-ins specific defaults
|
|
8
|
+
*/
|
|
9
|
+
export interface PcoCheckInsClientConfig extends Omit<PcoClientConfig, 'baseURL'> {
|
|
10
|
+
/** Base URL override (defaults to https://api.planningcenteronline.com) */
|
|
11
|
+
baseUrl?: string;
|
|
12
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export type { JsonValue, Meta, LinkObject, Link, Links, PaginationLinks, TopLevelLinks, TopLevelJsonApi, ResourceIdentifier, Relationship, ToOne, ToMany, Attributes, ResourceObject, JsonApiBase, ErrorObject, ErrorDocument, DataDocumentSingle, DataDocumentMany, JsonApiDocument, Paginated, Response, } from '@rachelallyson/planning-center-base-ts';
|
|
2
|
+
export * from './check-ins';
|
|
3
|
+
export type { EventAttributes, EventRelationships, EventResource, EventsList, EventSingle, CheckInAttributes, CheckInRelationships, CheckInResource, CheckInsList, CheckInSingle, LocationAttributes, LocationRelationships, LocationResource, LocationsList, LocationSingle, EventPeriodAttributes, EventPeriodRelationships, EventPeriodResource, EventPeriodsList, EventPeriodSingle, EventTimeAttributes, EventTimeRelationships, EventTimeResource, EventTimesList, EventTimeSingle, StationAttributes, StationRelationships, StationResource, StationsList, StationSingle, LabelAttributes, LabelRelationships, LabelResource, LabelsList, LabelSingle, EventLabelAttributes, EventLabelRelationships, EventLabelResource, EventLabelsList, EventLabelSingle, LocationLabelAttributes, LocationLabelRelationships, LocationLabelResource, LocationLabelsList, LocationLabelSingle, OptionAttributes, OptionRelationships, OptionResource, OptionsList, OptionSingle, CheckInGroupAttributes, CheckInGroupRelationships, CheckInGroupResource, CheckInGroupsList, CheckInGroupSingle, CheckInTimeAttributes, CheckInTimeRelationships, CheckInTimeResource, CheckInTimesList, CheckInTimeSingle, PersonEventAttributes, PersonEventRelationships, PersonEventResource, PersonEventsList, PersonEventSingle, PreCheckAttributes, PreCheckRelationships, PreCheckResource, PreChecksList, PreCheckSingle, PassAttributes, PassRelationships, PassResource, PassesList, PassSingle, HeadcountAttributes, HeadcountRelationships, HeadcountResource, HeadcountsList, HeadcountSingle, AttendanceTypeAttributes, AttendanceTypeRelationships, AttendanceTypeResource, AttendanceTypesList, AttendanceTypeSingle, RosterListPersonAttributes, RosterListPersonRelationships, RosterListPersonResource, RosterListPersonsList, RosterListPersonSingle, OrganizationAttributes, OrganizationRelationships, OrganizationResource, OrganizationsList, OrganizationSingle, IntegrationLinkAttributes, IntegrationLinkRelationships, IntegrationLinkResource, IntegrationLinksList, IntegrationLinkSingle, ThemeAttributes, ThemeRelationships, ThemeResource, ThemesList, ThemeSingle, LocationEventPeriodAttributes, LocationEventPeriodRelationships, LocationEventPeriodResource, LocationEventPeriodsList, LocationEventPeriodSingle, LocationEventTimeAttributes, LocationEventTimeRelationships, LocationEventTimeResource, LocationEventTimesList, LocationEventTimeSingle, } from './check-ins';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
// Export all Check-Ins-specific types
|
|
18
|
+
__exportStar(require("./check-ins"), exports);
|
package/package.json
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@rachelallyson/planning-center-check-ins-ts",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "A strictly typed TypeScript client for Planning Center Online Check-Ins API with batch operations and enhanced developer experience",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "tsc",
|
|
9
|
+
"dev": "tsc --watch",
|
|
10
|
+
"clean": "rm -rf dist",
|
|
11
|
+
"prebuild": "npm run clean",
|
|
12
|
+
"test": "jest --testPathIgnorePatterns=integration.test.ts",
|
|
13
|
+
"test:watch": "jest --watch --testPathIgnorePatterns=integration.test.ts",
|
|
14
|
+
"test:coverage": "jest --coverage --testPathIgnorePatterns=integration.test.ts",
|
|
15
|
+
"test:ci": "jest --ci --coverage --watchAll=false --testPathIgnorePatterns=integration.test.ts",
|
|
16
|
+
"test:integration": "dotenv -e .env.test -- jest --testPathPatterns=integration/.*.integration.test.ts --setupFilesAfterEnv='<rootDir>/tests/integration-setup.ts' --testTimeout=60000",
|
|
17
|
+
"docs": "typedoc",
|
|
18
|
+
"docs:watch": "typedoc --watch",
|
|
19
|
+
"prepublishOnly": "npm run build"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"planning-center",
|
|
23
|
+
"planning-center-online",
|
|
24
|
+
"pco",
|
|
25
|
+
"api",
|
|
26
|
+
"typescript",
|
|
27
|
+
"json-api",
|
|
28
|
+
"check-ins",
|
|
29
|
+
"checkins",
|
|
30
|
+
"church",
|
|
31
|
+
"attendance",
|
|
32
|
+
"client",
|
|
33
|
+
"sdk",
|
|
34
|
+
"rate-limiting",
|
|
35
|
+
"error-handling",
|
|
36
|
+
"batch-operations",
|
|
37
|
+
"fluent-api",
|
|
38
|
+
"event-system"
|
|
39
|
+
],
|
|
40
|
+
"author": "Rachel Allyson",
|
|
41
|
+
"license": "MIT",
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@types/jest": "^30.0.0",
|
|
44
|
+
"dotenv": "^16.6.1",
|
|
45
|
+
"jest": "^30.2.0",
|
|
46
|
+
"ts-jest": "^29.4.4",
|
|
47
|
+
"tslib": "^2.8.1",
|
|
48
|
+
"typedoc": "^0.28.14",
|
|
49
|
+
"typedoc-plugin-markdown": "^4.9.0",
|
|
50
|
+
"typescript": "^5.9.3"
|
|
51
|
+
},
|
|
52
|
+
"files": [
|
|
53
|
+
"dist",
|
|
54
|
+
"README.md",
|
|
55
|
+
"LICENSE",
|
|
56
|
+
"CHANGELOG.md"
|
|
57
|
+
],
|
|
58
|
+
"repository": {
|
|
59
|
+
"type": "git",
|
|
60
|
+
"url": "https://github.com/rachelallyson/planning-center-monorepo.git"
|
|
61
|
+
},
|
|
62
|
+
"bugs": {
|
|
63
|
+
"url": "https://github.com/rachelallyson/planning-center-monorepo/issues"
|
|
64
|
+
},
|
|
65
|
+
"homepage": "https://github.com/rachelallyson/planning-center-monorepo#readme",
|
|
66
|
+
"engines": {
|
|
67
|
+
"node": ">=16.0.0"
|
|
68
|
+
},
|
|
69
|
+
"publishConfig": {
|
|
70
|
+
"access": "public"
|
|
71
|
+
},
|
|
72
|
+
"dependencies": {
|
|
73
|
+
"@rachelallyson/planning-center-base-ts": "^1.0.0"
|
|
74
|
+
}
|
|
75
|
+
}
|