@timeback/core 0.1.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.
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Unified client for Timeback education APIs.
3
+ *
4
+ * @example
5
+ * ```typescript
6
+ * import { TimebackClient } from '@timeback/core'
7
+ *
8
+ * const timeback = new TimebackClient({
9
+ * env: 'staging',
10
+ * auth: {
11
+ * clientId: process.env.CLIENT_ID,
12
+ * clientSecret: process.env.CLIENT_SECRET,
13
+ * },
14
+ * })
15
+ *
16
+ * for await (const school of timeback.oneroster.schools.list()) {
17
+ * console.log(school.name)
18
+ * }
19
+ * ```
20
+ */
21
+ export { TimebackClient } from './client';
22
+ export { TimebackManager } from './manager';
23
+ export type { BroadcastResult, BroadcastResultMethods, BroadcastResults } from './types/index';
24
+ export { ApiError, ForbiddenError, isApiError, NotFoundError, UnauthorizedError, ValidationError, } from '@timeback/internal-client-infra';
25
+ export { whereToFilter } from '@timeback/internal-client-infra';
26
+ export type { FieldCondition, FieldOperators, FilterValue, OrCondition, WhereClause, } from '@timeback/internal-client-infra';
27
+ export type { Environment, TimebackClientConfig } from './types/index';
28
+ export type { AuthCheckResult } from '@timeback/internal-client-infra';
29
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AAMH,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AACzC,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,YAAY,EAAE,eAAe,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAM9F,OAAO,EACN,QAAQ,EACR,cAAc,EACd,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,eAAe,GACf,MAAM,iCAAiC,CAAA;AAMxC,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAE/D,YAAY,EACX,cAAc,EACd,cAAc,EACd,WAAW,EACX,WAAW,EACX,WAAW,GACX,MAAM,iCAAiC,CAAA;AAMxC,YAAY,EAAE,WAAW,EAAE,oBAAoB,EAAE,MAAM,eAAe,CAAA;AAEtE,YAAY,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAA"}