terse-types 0.0.37 → 0.0.39
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/ApiRouteBuilder.d.ts +6 -1
- package/dist/ApiRoutes.json +6 -1
- package/dist/AttioRecordFlatten.d.ts +19 -0
- package/dist/AttioRecordFlatten.js +71 -0
- package/dist/FrontendRoutes.json +0 -5
- package/dist/FrontendRoutesBuilder.d.ts +0 -5
- package/dist/InvalidationKeys.d.ts +1 -0
- package/dist/InvalidationKeys.js +1 -0
- package/dist/ModelEvents.d.ts +0 -18
- package/dist/ModelEvents.js +0 -7
- package/dist/Triggers.d.ts +313 -313
- package/dist/Triggers.js +27 -26
- package/dist/json-schema/terse-types.schema.json +15994 -0
- package/dist/types.d.ts +572 -1573
- package/dist/types.js +34 -11
- package/package.json +10 -1
- package/dist/ACL.d.ts +0 -375
- package/dist/ACL.js +0 -105
- package/dist/ACLPolicy.d.ts +0 -17
- package/dist/ACLPolicy.js +0 -18
- package/dist/getConfigACLRules.d.ts +0 -10
- package/dist/getConfigACLRules.js +0 -0
package/dist/Triggers.js
CHANGED
|
@@ -178,37 +178,38 @@ export const LinearWebhookAssigneeSchema = z.object({
|
|
|
178
178
|
id: z.string(),
|
|
179
179
|
name: z.string()
|
|
180
180
|
});
|
|
181
|
-
export const LinearWebhookDataSchema = z
|
|
181
|
+
export const LinearWebhookDataSchema = z
|
|
182
|
+
.object({
|
|
182
183
|
id: z.string(),
|
|
183
|
-
createdAt: z.string(),
|
|
184
|
-
updatedAt: z.string(),
|
|
185
|
-
number: z.number(),
|
|
186
|
-
title: z.string(),
|
|
187
|
-
priority: z.number(),
|
|
188
|
-
sortOrder: z.number(),
|
|
189
|
-
prioritySortOrder: z.number(),
|
|
190
|
-
slaType: z.string(),
|
|
191
|
-
addedToTeamAt: z.string(),
|
|
192
|
-
trashed: z.boolean(),
|
|
193
|
-
labelIds: z.array(z.string()),
|
|
194
|
-
teamId: z.string(),
|
|
195
|
-
previousIdentifiers: z.array(z.string()),
|
|
196
|
-
stateId: z.string(),
|
|
197
|
-
reactionData: z.array(z.any()),
|
|
198
|
-
priorityLabel: z.string(),
|
|
199
|
-
botActor: z.string().optional(),
|
|
200
|
-
identifier: z.string(),
|
|
201
|
-
url: z.string(),
|
|
202
|
-
subscriberIds: z.array(z.string()),
|
|
203
|
-
state: LinearWebhookStateSchema,
|
|
204
|
-
team: LinearWebhookTeamSchema,
|
|
205
|
-
labels: z.array(z.any()),
|
|
184
|
+
createdAt: z.string().optional(),
|
|
185
|
+
updatedAt: z.string().optional(),
|
|
186
|
+
number: z.number().optional(),
|
|
187
|
+
title: z.string().optional(),
|
|
188
|
+
priority: z.number().optional(),
|
|
189
|
+
sortOrder: z.number().optional(),
|
|
190
|
+
prioritySortOrder: z.number().optional(),
|
|
191
|
+
slaType: z.string().optional(),
|
|
192
|
+
addedToTeamAt: z.string().optional(),
|
|
193
|
+
trashed: z.boolean().nullable().optional(),
|
|
194
|
+
labelIds: z.array(z.string()).optional(),
|
|
195
|
+
teamId: z.string().optional(),
|
|
196
|
+
previousIdentifiers: z.array(z.string()).optional(),
|
|
197
|
+
stateId: z.string().optional(),
|
|
198
|
+
reactionData: z.array(z.any()).optional(),
|
|
199
|
+
priorityLabel: z.string().optional(),
|
|
200
|
+
botActor: z.string().nullable().optional(),
|
|
201
|
+
identifier: z.string().optional(),
|
|
202
|
+
url: z.string().optional(),
|
|
203
|
+
subscriberIds: z.array(z.string()).optional(),
|
|
204
|
+
state: LinearWebhookStateSchema.optional(),
|
|
205
|
+
team: LinearWebhookTeamSchema.optional(),
|
|
206
|
+
labels: z.array(z.any()).optional(),
|
|
206
207
|
description: z.string().optional(),
|
|
207
208
|
descriptionData: z.string().optional(),
|
|
208
209
|
assignee: LinearWebhookAssigneeSchema.optional(),
|
|
209
|
-
/** Present on many issue webhooks; used for trigger scoping */
|
|
210
210
|
projectId: z.string().optional()
|
|
211
|
-
})
|
|
211
|
+
})
|
|
212
|
+
.passthrough();
|
|
212
213
|
export const LinearWebhookCommentDataSchema = z
|
|
213
214
|
.object({
|
|
214
215
|
id: z.string(),
|