@townco/apiclient 0.0.25 → 0.0.27

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/dist/index.d.ts CHANGED
@@ -98,4 +98,137 @@ export declare const createClient: ({ shedUrl, accessToken, debug, }: {
98
98
  };
99
99
  meta: object;
100
100
  }>;
101
+ "library.pipelineStatus": import("@trpc/server").TRPCQueryProcedure<{
102
+ input: {
103
+ id: string;
104
+ };
105
+ output: {
106
+ status: any;
107
+ };
108
+ meta: object;
109
+ }>;
110
+ "library.emailDataSources": import("@trpc/server").TRPCQueryProcedure<{
111
+ input: {
112
+ collectionId: string;
113
+ };
114
+ output: {
115
+ dataSources: any[] | undefined;
116
+ };
117
+ meta: object;
118
+ }>;
119
+ "library.driveConnections": import("@trpc/server").TRPCQueryProcedure<{
120
+ input: {
121
+ collectionId: string;
122
+ };
123
+ output: {
124
+ connections: any[] | undefined;
125
+ };
126
+ meta: object;
127
+ }>;
128
+ "library.driveSyncFolders": import("@trpc/server").TRPCQueryProcedure<{
129
+ input: {
130
+ collectionId: string;
131
+ };
132
+ output: {
133
+ folders: any[] | undefined;
134
+ };
135
+ meta: object;
136
+ }>;
137
+ "library.calendarConnections": import("@trpc/server").TRPCQueryProcedure<{
138
+ input: {
139
+ collectionId: string;
140
+ };
141
+ output: {
142
+ connections: any[] | undefined;
143
+ };
144
+ meta: object;
145
+ }>;
146
+ "library.syncCalendars": import("@trpc/server").TRPCQueryProcedure<{
147
+ input: {
148
+ collectionId: string;
149
+ };
150
+ output: {
151
+ calendars: any[] | undefined;
152
+ };
153
+ meta: object;
154
+ }>;
155
+ "library.slackImportHistory": import("@trpc/server").TRPCQueryProcedure<{
156
+ input: {
157
+ collectionId: string;
158
+ };
159
+ output: {
160
+ imports: any[] | undefined;
161
+ };
162
+ meta: object;
163
+ }>;
164
+ "library.userUploads": import("@trpc/server").TRPCQueryProcedure<{
165
+ input: {
166
+ collectionId: string;
167
+ };
168
+ output: {
169
+ uploads: any[] | undefined;
170
+ };
171
+ meta: object;
172
+ }>;
173
+ "library.createOAuthSetupLink": import("@trpc/server").TRPCMutationProcedure<{
174
+ input: {
175
+ collectionId: string;
176
+ dataSourceType: "gmail" | "google_calendar" | "google_drive";
177
+ callbackUrl: string;
178
+ };
179
+ output: {
180
+ link: any;
181
+ };
182
+ meta: object;
183
+ }>;
184
+ "library.getOAuthSetupLinkStatus": import("@trpc/server").TRPCQueryProcedure<{
185
+ input: {
186
+ collectionId: string;
187
+ linkId: string;
188
+ };
189
+ output: {
190
+ status: any;
191
+ };
192
+ meta: object;
193
+ }>;
194
+ "library.disconnectGmail": import("@trpc/server").TRPCMutationProcedure<{
195
+ input: {
196
+ collectionId: string;
197
+ dataSourceId: number;
198
+ };
199
+ output: {
200
+ success: boolean;
201
+ };
202
+ meta: object;
203
+ }>;
204
+ "library.disconnectDrive": import("@trpc/server").TRPCMutationProcedure<{
205
+ input: {
206
+ collectionId: string;
207
+ dataSourceId: number;
208
+ };
209
+ output: {
210
+ success: boolean;
211
+ };
212
+ meta: object;
213
+ }>;
214
+ "library.disconnectCalendar": import("@trpc/server").TRPCMutationProcedure<{
215
+ input: {
216
+ collectionId: string;
217
+ dataSourceId: number;
218
+ };
219
+ output: {
220
+ success: boolean;
221
+ };
222
+ meta: object;
223
+ }>;
224
+ "library.deleteUserUpload": import("@trpc/server").TRPCMutationProcedure<{
225
+ input: {
226
+ collectionId: string;
227
+ uploadId: number;
228
+ };
229
+ output: {
230
+ success: boolean;
231
+ };
232
+ meta: object;
233
+ }>;
101
234
  }>>>;
package/dist/server.d.ts CHANGED
@@ -160,5 +160,138 @@ export declare const router: import("@trpc/server").TRPCBuiltRouter<{
160
160
  };
161
161
  meta: object;
162
162
  }>;
163
+ "library.pipelineStatus": import("@trpc/server").TRPCQueryProcedure<{
164
+ input: {
165
+ id: string;
166
+ };
167
+ output: {
168
+ status: import("./library-operations").PipelineStatusResponse | undefined;
169
+ };
170
+ meta: object;
171
+ }>;
172
+ "library.emailDataSources": import("@trpc/server").TRPCQueryProcedure<{
173
+ input: {
174
+ collectionId: string;
175
+ };
176
+ output: {
177
+ dataSources: import("./library-operations").EmailDataSource[] | undefined;
178
+ };
179
+ meta: object;
180
+ }>;
181
+ "library.driveConnections": import("@trpc/server").TRPCQueryProcedure<{
182
+ input: {
183
+ collectionId: string;
184
+ };
185
+ output: {
186
+ connections: import("./library-operations").DriveOAuthConnection[] | undefined;
187
+ };
188
+ meta: object;
189
+ }>;
190
+ "library.driveSyncFolders": import("@trpc/server").TRPCQueryProcedure<{
191
+ input: {
192
+ collectionId: string;
193
+ };
194
+ output: {
195
+ folders: import("./library-operations").DriveSyncFolder[] | undefined;
196
+ };
197
+ meta: object;
198
+ }>;
199
+ "library.calendarConnections": import("@trpc/server").TRPCQueryProcedure<{
200
+ input: {
201
+ collectionId: string;
202
+ };
203
+ output: {
204
+ connections: import("./library-operations").CalendarOAuthConnection[] | undefined;
205
+ };
206
+ meta: object;
207
+ }>;
208
+ "library.syncCalendars": import("@trpc/server").TRPCQueryProcedure<{
209
+ input: {
210
+ collectionId: string;
211
+ };
212
+ output: {
213
+ calendars: import("./library-operations").SyncCalendar[] | undefined;
214
+ };
215
+ meta: object;
216
+ }>;
217
+ "library.slackImportHistory": import("@trpc/server").TRPCQueryProcedure<{
218
+ input: {
219
+ collectionId: string;
220
+ };
221
+ output: {
222
+ imports: import("./library-operations").SlackImportHistoryItem[] | undefined;
223
+ };
224
+ meta: object;
225
+ }>;
226
+ "library.userUploads": import("@trpc/server").TRPCQueryProcedure<{
227
+ input: {
228
+ collectionId: string;
229
+ };
230
+ output: {
231
+ uploads: import("./library-operations").UserUpload[] | undefined;
232
+ };
233
+ meta: object;
234
+ }>;
235
+ "library.createOAuthSetupLink": import("@trpc/server").TRPCMutationProcedure<{
236
+ input: {
237
+ collectionId: string;
238
+ dataSourceType: "gmail" | "google_calendar" | "google_drive";
239
+ callbackUrl: string;
240
+ };
241
+ output: {
242
+ link: import("./library-operations").OAuthSetupLinkResponse | undefined;
243
+ };
244
+ meta: object;
245
+ }>;
246
+ "library.getOAuthSetupLinkStatus": import("@trpc/server").TRPCQueryProcedure<{
247
+ input: {
248
+ collectionId: string;
249
+ linkId: string;
250
+ };
251
+ output: {
252
+ status: import("./library-operations").OAuthSetupLinkStatusResponse | undefined;
253
+ };
254
+ meta: object;
255
+ }>;
256
+ "library.disconnectGmail": import("@trpc/server").TRPCMutationProcedure<{
257
+ input: {
258
+ collectionId: string;
259
+ dataSourceId: number;
260
+ };
261
+ output: {
262
+ success: boolean;
263
+ };
264
+ meta: object;
265
+ }>;
266
+ "library.disconnectDrive": import("@trpc/server").TRPCMutationProcedure<{
267
+ input: {
268
+ collectionId: string;
269
+ dataSourceId: number;
270
+ };
271
+ output: {
272
+ success: boolean;
273
+ };
274
+ meta: object;
275
+ }>;
276
+ "library.disconnectCalendar": import("@trpc/server").TRPCMutationProcedure<{
277
+ input: {
278
+ collectionId: string;
279
+ dataSourceId: number;
280
+ };
281
+ output: {
282
+ success: boolean;
283
+ };
284
+ meta: object;
285
+ }>;
286
+ "library.deleteUserUpload": import("@trpc/server").TRPCMutationProcedure<{
287
+ input: {
288
+ collectionId: string;
289
+ uploadId: number;
290
+ };
291
+ output: {
292
+ success: boolean;
293
+ };
294
+ meta: object;
295
+ }>;
163
296
  }>>;
164
297
  export type AppRouter = typeof router;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@townco/apiclient",
3
3
  "type": "module",
4
- "version": "0.0.25",
4
+ "version": "0.0.27",
5
5
  "description": "apiclient",
6
6
  "license": "UNLICENSED",
7
7
  "main": "./dist/index.js",