@superdurable/connector-clickup 0.1.1 → 0.1.2
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/dex-connector.json +1 -1
- package/dist/{chunk-5MZPRO45.js → chunk-PAUZSKGN.js} +47 -9
- package/dist/{connection-DYuseKLI.d.ts → connection-BB-IGLLD.d.ts} +27 -25
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -2
- package/dist/mock.d.ts +1 -1
- package/dist/mock.js +1 -1
- package/package.json +1 -1
package/dex-connector.json
CHANGED
|
@@ -1,9 +1,46 @@
|
|
|
1
1
|
// src/generated/models.ts
|
|
2
2
|
import { z } from "zod";
|
|
3
|
+
import { SecretString } from "@superdurable/connectors-sdk";
|
|
4
|
+
var goTimeJSONPattern = /^(\d{4})-(\d{2})-(\d{2})T(\d{1,2}):(\d{2}):(\d{2})(?:[.,](\d+))?(Z|([+-])(\d{2}):(\d{2}))$/;
|
|
5
|
+
function isGoTimeJSON(value) {
|
|
6
|
+
const match = goTimeJSONPattern.exec(value);
|
|
7
|
+
if (!match) return false;
|
|
8
|
+
const [, yearText, monthText, dayText, hourText, minuteText, secondText, , zone, , zoneHourText, zoneMinuteText] = match;
|
|
9
|
+
const year = Number(yearText);
|
|
10
|
+
const month = Number(monthText);
|
|
11
|
+
const day = Number(dayText);
|
|
12
|
+
const isLeap = year % 4 === 0 && (year % 100 !== 0 || year % 400 === 0);
|
|
13
|
+
const monthDays = [31, isLeap ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
14
|
+
return month >= 1 && month <= 12 && day >= 1 && day <= monthDays[month - 1] && Number(hourText) <= 23 && Number(minuteText) <= 59 && Number(secondText) <= 59 && (zone === "Z" || Number(zoneHourText) <= 24 && Number(zoneMinuteText) <= 60);
|
|
15
|
+
}
|
|
16
|
+
function canonicalGoTimeJSON(value) {
|
|
17
|
+
const match = goTimeJSONPattern.exec(value);
|
|
18
|
+
const [, year, month, day, hour, minute, second, fraction, zone, sign, zoneHour, zoneMinute] = match;
|
|
19
|
+
const clock = year + "-" + month + "-" + day + "T" + hour.padStart(2, "0") + ":" + minute + ":" + second;
|
|
20
|
+
const digits = (fraction ?? "").slice(0, 9).replace(/0+$/, "");
|
|
21
|
+
const offsetMinutes = zone === "Z" ? 0 : (Number(zoneHour) * 60 + Number(zoneMinute)) * (sign === "+" ? 1 : -1);
|
|
22
|
+
if (Math.abs(offsetMinutes) >= 1440) return value;
|
|
23
|
+
const offset = offsetMinutes === 0 ? "Z" : (offsetMinutes > 0 ? "+" : "-") + String(Math.floor(Math.abs(offsetMinutes) / 60)).padStart(2, "0") + ":" + String(Math.abs(offsetMinutes) % 60).padStart(2, "0");
|
|
24
|
+
return clock + (digits ? "." + digits : "") + offset;
|
|
25
|
+
}
|
|
26
|
+
var GoTimeJSONSchema = z.string().refine(isGoTimeJSON, "invalid Go time.Time JSON timestamp").transform(canonicalGoTimeJSON);
|
|
3
27
|
var ConfigSchema = z.object({
|
|
4
28
|
"maxResponseBytes": z.number().int().optional(),
|
|
5
29
|
"webhookMaxBodyBytes": z.number().int().optional()
|
|
6
30
|
});
|
|
31
|
+
function decodeCredentials(value) {
|
|
32
|
+
if (!value || typeof value !== "object" || Array.isArray(value)) throw new TypeError("credential fields are invalid");
|
|
33
|
+
const fields = value;
|
|
34
|
+
const allowed = /* @__PURE__ */ new Set(["api_token", "webhook_secret"]);
|
|
35
|
+
if (Object.keys(fields).some((key) => !allowed.has(key))) throw new TypeError("stored credential does not match the connector credential fields");
|
|
36
|
+
if (fields["api_token"] != null && !(typeof fields["api_token"] === "string")) throw new TypeError("credential api_token has an invalid type");
|
|
37
|
+
if (fields["webhook_secret"] != null && !(typeof fields["webhook_secret"] === "string")) throw new TypeError("credential webhook_secret has an invalid type");
|
|
38
|
+
const credentials = {};
|
|
39
|
+
if (!fields["api_token"]) throw new TypeError("credential api_token is required");
|
|
40
|
+
credentials.apiToken = new SecretString(fields["api_token"] ?? "");
|
|
41
|
+
credentials.webhookSecret = new SecretString(fields["webhook_secret"] ?? "");
|
|
42
|
+
return credentials;
|
|
43
|
+
}
|
|
7
44
|
var SearchTasksInputSchema = z.strictObject({
|
|
8
45
|
"workspaceId": z.string(),
|
|
9
46
|
"listIds": z.array(z.string()).optional(),
|
|
@@ -12,7 +49,7 @@ var SearchTasksInputSchema = z.strictObject({
|
|
|
12
49
|
"statuses": z.array(z.string()).optional(),
|
|
13
50
|
"assigneeIds": z.array(z.number().int()).optional(),
|
|
14
51
|
"tags": z.array(z.string()).optional(),
|
|
15
|
-
"updatedAfter":
|
|
52
|
+
"updatedAfter": GoTimeJSONSchema.nullable().optional(),
|
|
16
53
|
"isClosedIncluded": z.boolean().optional(),
|
|
17
54
|
"areSubtasksIncluded": z.boolean().optional(),
|
|
18
55
|
"orderBy": z.string().optional(),
|
|
@@ -41,11 +78,11 @@ var TaskSchema = z.strictObject({
|
|
|
41
78
|
"status": TaskStatusSchema,
|
|
42
79
|
"priority": z.number().int().optional(),
|
|
43
80
|
"priorityName": z.string().optional(),
|
|
44
|
-
"dueAt":
|
|
45
|
-
"startAt":
|
|
46
|
-
"createdAt":
|
|
47
|
-
"updatedAt":
|
|
48
|
-
"closedAt":
|
|
81
|
+
"dueAt": GoTimeJSONSchema.nullable().optional(),
|
|
82
|
+
"startAt": GoTimeJSONSchema.nullable().optional(),
|
|
83
|
+
"createdAt": GoTimeJSONSchema.optional(),
|
|
84
|
+
"updatedAt": GoTimeJSONSchema.optional(),
|
|
85
|
+
"closedAt": GoTimeJSONSchema.nullable().optional(),
|
|
49
86
|
"isArchived": z.boolean().optional(),
|
|
50
87
|
"creator": UserSchema.optional(),
|
|
51
88
|
"assignees": z.array(UserSchema).nullable(),
|
|
@@ -80,7 +117,7 @@ var CreateTaskInputSchema = z.strictObject({
|
|
|
80
117
|
"markdownDescription": z.string().optional(),
|
|
81
118
|
"status": z.string().optional(),
|
|
82
119
|
"priority": z.number().int().optional(),
|
|
83
|
-
"dueAt":
|
|
120
|
+
"dueAt": GoTimeJSONSchema.nullable().optional(),
|
|
84
121
|
"assigneeIds": z.array(z.number().int()).optional(),
|
|
85
122
|
"tags": z.array(z.string()).optional(),
|
|
86
123
|
"parentTaskId": z.string().optional(),
|
|
@@ -99,7 +136,7 @@ var UpdateTaskInputSchema = z.strictObject({
|
|
|
99
136
|
"markdownDescription": z.string().optional(),
|
|
100
137
|
"status": z.string().optional(),
|
|
101
138
|
"priority": z.number().int().optional(),
|
|
102
|
-
"dueAt":
|
|
139
|
+
"dueAt": GoTimeJSONSchema.nullable().optional(),
|
|
103
140
|
"addAssigneeIds": z.array(z.number().int()).optional(),
|
|
104
141
|
"removeAssigneeIds": z.array(z.number().int()).optional()
|
|
105
142
|
});
|
|
@@ -124,7 +161,7 @@ var AddCommentInputSchema = z.strictObject({
|
|
|
124
161
|
var AddCommentOutputSchema = z.strictObject({
|
|
125
162
|
"taskId": z.string(),
|
|
126
163
|
"commentId": z.string().optional(),
|
|
127
|
-
"createdAt":
|
|
164
|
+
"createdAt": GoTimeJSONSchema.nullable().optional(),
|
|
128
165
|
"wasAlreadyApplied": z.boolean().optional()
|
|
129
166
|
});
|
|
130
167
|
var FindMemberByEmailInputSchema = z.strictObject({
|
|
@@ -343,6 +380,7 @@ function newProjectConnection(project, connectionName, createClient) {
|
|
|
343
380
|
|
|
344
381
|
export {
|
|
345
382
|
ConfigSchema,
|
|
383
|
+
decodeCredentials,
|
|
346
384
|
SearchTasksInputSchema,
|
|
347
385
|
TaskStatusSchema,
|
|
348
386
|
UserSchema,
|
|
@@ -20,6 +20,8 @@ interface Credentials {
|
|
|
20
20
|
/** Secret signing secret of the ClickUp webhook that delivers task events to this connection, returned once as webhook.secret by Create Webhook (POST https://api.clickup.com/api/v2/team/{team_id}/webhook, documented at https://developer.clickup.com/reference/createwebhook). It is an opaque string of letters and digits, stored only in this credential field and never sent to ClickUp; the taskEvent Trigger checks each request's X-Signature, a hex HMAC-SHA256 of the body, with it. Leave it blank when no Flow uses the taskEvent Trigger; while it is blank, the webhook endpoint answers 503. */
|
|
21
21
|
webhookSecret?: SecretString;
|
|
22
22
|
}
|
|
23
|
+
/** Decode private credential fields for the connector. */
|
|
24
|
+
declare function decodeCredentials(value: unknown): Credentials;
|
|
23
25
|
/** Host-owned source of private connector credentials. */
|
|
24
26
|
type CredentialSource = CredentialProvider<Credentials>;
|
|
25
27
|
/** SearchTasksInput filters one Workspace's tasks. Every non-empty filter narrows the search, and the
|
|
@@ -288,7 +290,7 @@ declare const SearchTasksInputSchema: z.ZodObject<{
|
|
|
288
290
|
statuses: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
289
291
|
assigneeIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
290
292
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
291
|
-
updatedAfter: z.ZodOptional<z.ZodNullable<z.
|
|
293
|
+
updatedAfter: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
292
294
|
isClosedIncluded: z.ZodOptional<z.ZodBoolean>;
|
|
293
295
|
areSubtasksIncluded: z.ZodOptional<z.ZodBoolean>;
|
|
294
296
|
orderBy: z.ZodOptional<z.ZodString>;
|
|
@@ -324,11 +326,11 @@ declare const TaskSchema: z.ZodObject<{
|
|
|
324
326
|
}, z.core.$strict>;
|
|
325
327
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
326
328
|
priorityName: z.ZodOptional<z.ZodString>;
|
|
327
|
-
dueAt: z.ZodOptional<z.ZodNullable<z.
|
|
328
|
-
startAt: z.ZodOptional<z.ZodNullable<z.
|
|
329
|
-
createdAt: z.ZodOptional<z.
|
|
330
|
-
updatedAt: z.ZodOptional<z.
|
|
331
|
-
closedAt: z.ZodOptional<z.ZodNullable<z.
|
|
329
|
+
dueAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
330
|
+
startAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
331
|
+
createdAt: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
332
|
+
updatedAt: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
333
|
+
closedAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
332
334
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
333
335
|
creator: z.ZodOptional<z.ZodObject<{
|
|
334
336
|
id: z.ZodNumber;
|
|
@@ -367,11 +369,11 @@ declare const SearchTasksOutputSchema: z.ZodObject<{
|
|
|
367
369
|
}, z.core.$strict>;
|
|
368
370
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
369
371
|
priorityName: z.ZodOptional<z.ZodString>;
|
|
370
|
-
dueAt: z.ZodOptional<z.ZodNullable<z.
|
|
371
|
-
startAt: z.ZodOptional<z.ZodNullable<z.
|
|
372
|
-
createdAt: z.ZodOptional<z.
|
|
373
|
-
updatedAt: z.ZodOptional<z.
|
|
374
|
-
closedAt: z.ZodOptional<z.ZodNullable<z.
|
|
372
|
+
dueAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
373
|
+
startAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
374
|
+
createdAt: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
375
|
+
updatedAt: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
376
|
+
closedAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
375
377
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
376
378
|
creator: z.ZodOptional<z.ZodObject<{
|
|
377
379
|
id: z.ZodNumber;
|
|
@@ -418,7 +420,7 @@ declare const CreateTaskInputSchema: z.ZodObject<{
|
|
|
418
420
|
markdownDescription: z.ZodOptional<z.ZodString>;
|
|
419
421
|
status: z.ZodOptional<z.ZodString>;
|
|
420
422
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
421
|
-
dueAt: z.ZodOptional<z.ZodNullable<z.
|
|
423
|
+
dueAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
422
424
|
assigneeIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
423
425
|
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
424
426
|
parentTaskId: z.ZodOptional<z.ZodString>;
|
|
@@ -443,11 +445,11 @@ declare const CreateTaskOutputSchema: z.ZodObject<{
|
|
|
443
445
|
}, z.core.$strict>;
|
|
444
446
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
445
447
|
priorityName: z.ZodOptional<z.ZodString>;
|
|
446
|
-
dueAt: z.ZodOptional<z.ZodNullable<z.
|
|
447
|
-
startAt: z.ZodOptional<z.ZodNullable<z.
|
|
448
|
-
createdAt: z.ZodOptional<z.
|
|
449
|
-
updatedAt: z.ZodOptional<z.
|
|
450
|
-
closedAt: z.ZodOptional<z.ZodNullable<z.
|
|
448
|
+
dueAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
449
|
+
startAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
450
|
+
createdAt: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
451
|
+
updatedAt: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
452
|
+
closedAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
451
453
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
452
454
|
creator: z.ZodOptional<z.ZodObject<{
|
|
453
455
|
id: z.ZodNumber;
|
|
@@ -482,7 +484,7 @@ declare const UpdateTaskInputSchema: z.ZodObject<{
|
|
|
482
484
|
markdownDescription: z.ZodOptional<z.ZodString>;
|
|
483
485
|
status: z.ZodOptional<z.ZodString>;
|
|
484
486
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
485
|
-
dueAt: z.ZodOptional<z.ZodNullable<z.
|
|
487
|
+
dueAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
486
488
|
addAssigneeIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
487
489
|
removeAssigneeIds: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
|
|
488
490
|
}, z.core.$strict>;
|
|
@@ -499,11 +501,11 @@ declare const UpdateTaskOutputSchema: z.ZodObject<{
|
|
|
499
501
|
}, z.core.$strict>;
|
|
500
502
|
priority: z.ZodOptional<z.ZodNumber>;
|
|
501
503
|
priorityName: z.ZodOptional<z.ZodString>;
|
|
502
|
-
dueAt: z.ZodOptional<z.ZodNullable<z.
|
|
503
|
-
startAt: z.ZodOptional<z.ZodNullable<z.
|
|
504
|
-
createdAt: z.ZodOptional<z.
|
|
505
|
-
updatedAt: z.ZodOptional<z.
|
|
506
|
-
closedAt: z.ZodOptional<z.ZodNullable<z.
|
|
504
|
+
dueAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
505
|
+
startAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
506
|
+
createdAt: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
507
|
+
updatedAt: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
508
|
+
closedAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
507
509
|
isArchived: z.ZodOptional<z.ZodBoolean>;
|
|
508
510
|
creator: z.ZodOptional<z.ZodObject<{
|
|
509
511
|
id: z.ZodNumber;
|
|
@@ -552,7 +554,7 @@ declare const AddCommentInputSchema: z.ZodObject<{
|
|
|
552
554
|
declare const AddCommentOutputSchema: z.ZodObject<{
|
|
553
555
|
taskId: z.ZodString;
|
|
554
556
|
commentId: z.ZodOptional<z.ZodString>;
|
|
555
|
-
createdAt: z.ZodOptional<z.ZodNullable<z.
|
|
557
|
+
createdAt: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>>;
|
|
556
558
|
wasAlreadyApplied: z.ZodOptional<z.ZodBoolean>;
|
|
557
559
|
}, z.core.$strict>;
|
|
558
560
|
/** Runtime validator for FindMemberByEmailInput. */
|
|
@@ -600,4 +602,4 @@ declare function newConnection(client: Operations, reference: ConnectionRef): Co
|
|
|
600
602
|
/** Bind scripted operations to a named connection. */
|
|
601
603
|
declare function newConnectionWithOperations(operations: Operations, reference: ConnectionRef): Connection;
|
|
602
604
|
|
|
603
|
-
export { type AddCommentInput as A, TaskStatusSchema as B, Connection as C, UpdateTaskInputSchema as D, UpdateTaskOutputSchema as E, type FindMemberByEmailInput as F, type GetTaskInput as G, UpdateTaskTagsInputSchema as H, UpdateTaskTagsOutputSchema as I, type User as J, UserSchema as K,
|
|
605
|
+
export { type AddCommentInput as A, TaskStatusSchema as B, Connection as C, UpdateTaskInputSchema as D, UpdateTaskOutputSchema as E, type FindMemberByEmailInput as F, type GetTaskInput as G, UpdateTaskTagsInputSchema as H, UpdateTaskTagsOutputSchema as I, type User as J, UserSchema as K, decodeCredentials as L, type Member as M, newConnection as N, type Operations as O, newConnectionWithOperations as P, type SearchTasksInput as S, type Task as T, type UpdateTaskInput as U, type AddCommentOutput as a, type CreateTaskInput as b, type CreateTaskOutput as c, type SearchTasksOutput as d, type UpdateTaskOutput as e, type UpdateTaskTagsInput as f, type UpdateTaskTagsOutput as g, type Config as h, type Credentials as i, AddCommentInputSchema as j, AddCommentOutputSchema as k, ConfigSchema as l, CreateTaskInputSchema as m, CreateTaskOutputSchema as n, type CredentialSource as o, type CustomFieldInput as p, CustomFieldInputSchema as q, type CustomFieldValue as r, CustomFieldValueSchema as s, FindMemberByEmailInputSchema as t, GetTaskInputSchema as u, MemberSchema as v, SearchTasksInputSchema as w, SearchTasksOutputSchema as x, TaskSchema as y, type TaskStatus as z };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as AddCommentInput, a as AddCommentOutput, C as Connection, b as CreateTaskInput, c as CreateTaskOutput, F as FindMemberByEmailInput, M as Member, G as GetTaskInput, T as Task, S as SearchTasksInput, d as SearchTasksOutput, U as UpdateTaskInput, e as UpdateTaskOutput, f as UpdateTaskTagsInput, g as UpdateTaskTagsOutput, O as Operations, h as Config, i as Credentials } from './connection-
|
|
2
|
-
export { j as AddCommentInputSchema, k as AddCommentOutputSchema, l as ConfigSchema, m as CreateTaskInputSchema, n as CreateTaskOutputSchema, o as CredentialSource, p as CustomFieldInput, q as CustomFieldInputSchema, r as CustomFieldValue, s as CustomFieldValueSchema, t as FindMemberByEmailInputSchema, u as GetTaskInputSchema, v as MemberSchema, w as SearchTasksInputSchema, x as SearchTasksOutputSchema, y as TaskSchema, z as TaskStatus, B as TaskStatusSchema, D as UpdateTaskInputSchema, E as UpdateTaskOutputSchema, H as UpdateTaskTagsInputSchema, I as UpdateTaskTagsOutputSchema, J as User, K as UserSchema, L as
|
|
1
|
+
import { A as AddCommentInput, a as AddCommentOutput, C as Connection, b as CreateTaskInput, c as CreateTaskOutput, F as FindMemberByEmailInput, M as Member, G as GetTaskInput, T as Task, S as SearchTasksInput, d as SearchTasksOutput, U as UpdateTaskInput, e as UpdateTaskOutput, f as UpdateTaskTagsInput, g as UpdateTaskTagsOutput, O as Operations, h as Config, i as Credentials } from './connection-BB-IGLLD.js';
|
|
2
|
+
export { j as AddCommentInputSchema, k as AddCommentOutputSchema, l as ConfigSchema, m as CreateTaskInputSchema, n as CreateTaskOutputSchema, o as CredentialSource, p as CustomFieldInput, q as CustomFieldInputSchema, r as CustomFieldValue, s as CustomFieldValueSchema, t as FindMemberByEmailInputSchema, u as GetTaskInputSchema, v as MemberSchema, w as SearchTasksInputSchema, x as SearchTasksOutputSchema, y as TaskSchema, z as TaskStatus, B as TaskStatusSchema, D as UpdateTaskInputSchema, E as UpdateTaskOutputSchema, H as UpdateTaskTagsInputSchema, I as UpdateTaskTagsOutputSchema, J as User, K as UserSchema, L as decodeCredentials, N as newConnection, P as newConnectionWithOperations } from './connection-BB-IGLLD.js';
|
|
3
3
|
import * as _superdurable_connectors_sdk from '@superdurable/connectors-sdk';
|
|
4
4
|
import { MutationDefinition, QueryDefinition, MutationStepConfig, Mutation, MutationResult, QueryStepConfig, Query, QueryResult, MutationStep, QueryStep, Call, QueryAttempt, MutationAttempt, CredentialProvider, ReceiptDraft, Failure } from '@superdurable/connectors-sdk';
|
|
5
5
|
import { StepTarget } from '@superdurable/dex';
|
package/dist/index.js
CHANGED
|
@@ -77,10 +77,11 @@ import {
|
|
|
77
77
|
UpdateTaskTagsMetadata,
|
|
78
78
|
UpdateTaskTagsOutputSchema,
|
|
79
79
|
UserSchema,
|
|
80
|
+
decodeCredentials,
|
|
80
81
|
newConnection,
|
|
81
82
|
newConnectionWithOperations,
|
|
82
83
|
newProjectConnection
|
|
83
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-PAUZSKGN.js";
|
|
84
85
|
|
|
85
86
|
// src/generated/steps.ts
|
|
86
87
|
import { goToBranch, newMutationStep, newQueryStep } from "@superdurable/connectors-sdk";
|
|
@@ -572,7 +573,7 @@ function previousDispatch(call) {
|
|
|
572
573
|
}
|
|
573
574
|
async function clearDispatch(call) {
|
|
574
575
|
try {
|
|
575
|
-
await call.context.recordHeartbeat(
|
|
576
|
+
await call.context.recordHeartbeat(void 0);
|
|
576
577
|
} catch {
|
|
577
578
|
}
|
|
578
579
|
}
|
|
@@ -984,6 +985,7 @@ export {
|
|
|
984
985
|
UpdateTaskTagsOperation,
|
|
985
986
|
UpdateTaskTagsOutputSchema,
|
|
986
987
|
UserSchema,
|
|
988
|
+
decodeCredentials,
|
|
987
989
|
newAddCommentStep,
|
|
988
990
|
newConnection,
|
|
989
991
|
newConnectionWithOperations,
|
package/dist/mock.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MockQuery, MockMutation, Case } from '@superdurable/connectors-sdk/connectormock';
|
|
2
2
|
import { Failure } from '@superdurable/connectors-sdk';
|
|
3
|
-
import { O as Operations, C as Connection, S as SearchTasksInput, d as SearchTasksOutput, G as GetTaskInput, T as Task, b as CreateTaskInput, c as CreateTaskOutput, U as UpdateTaskInput, e as UpdateTaskOutput, f as UpdateTaskTagsInput, g as UpdateTaskTagsOutput, A as AddCommentInput, a as AddCommentOutput, F as FindMemberByEmailInput, M as Member, p as CustomFieldInput, r as CustomFieldValue, z as TaskStatus, J as User } from './connection-
|
|
3
|
+
import { O as Operations, C as Connection, S as SearchTasksInput, d as SearchTasksOutput, G as GetTaskInput, T as Task, b as CreateTaskInput, c as CreateTaskOutput, U as UpdateTaskInput, e as UpdateTaskOutput, f as UpdateTaskTagsInput, g as UpdateTaskTagsOutput, A as AddCommentInput, a as AddCommentOutput, F as FindMemberByEmailInput, M as Member, p as CustomFieldInput, r as CustomFieldValue, z as TaskStatus, J as User } from './connection-BB-IGLLD.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
6
6
|
/** Go zero value for SearchTasksInput in scripted cases. */
|
package/dist/mock.js
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
UpdateTaskTagsOutputSchema,
|
|
28
28
|
UserSchema,
|
|
29
29
|
newConnectionWithOperations
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PAUZSKGN.js";
|
|
31
31
|
|
|
32
32
|
// src/generated/mock.ts
|
|
33
33
|
import { branchCase, retryCase, uncertainCase, newMutation, newQuery } from "@superdurable/connectors-sdk/connectormock";
|