terse-types 0.0.70 → 0.0.72

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/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import * as z from "zod";
2
2
  import type { RunHistoryAction } from "./RunHistoryTypes.js";
3
3
  import { SlackChannelType, slackChannelTypeSchema } from "./SlackTypes.js";
4
- import { attioAttributeSchema, attioObjectSchema, attioObjectWithAttributesSchema, attioRecordIdentifierSchema, attioRecordSchema, attioUpsertErrorSchema, linearProjectSummarySchema, linearTeamSchema, slackUserResponseSchema } from "./Tools.js";
4
+ import { attioAttributeHistoryEntrySchema, attioAttributeSchema, attioCallRecordingSchema, attioCommentSchema, attioFileSchema, attioListEntrySchema, attioListSchema, attioMeetingSchema, attioNoteSchema, attioObjectSchema, attioObjectWithAttributesSchema, attioRecordIdentifierSchema, attioRecordSchema, attioSearchMatchSchema, attioSelectOptionEntitySchema, attioStatusSchema, attioTaskSchema, attioThreadSchema, attioTranscriptSchema, attioWorkspaceMemberSchema, linearProjectSummarySchema, linearTeamSchema, slackUserResponseSchema } from "./Tools.js";
5
5
  export declare const roleSchema: z.ZodEnum<{
6
6
  user: "user";
7
7
  admin: "admin";
@@ -83,6 +83,21 @@ export type AttioAttribute = z.infer<typeof attioAttributeSchema>;
83
83
  export type AttioObjectWithAttributes = z.infer<typeof attioObjectWithAttributesSchema>;
84
84
  export type AttioRecordIdentifier = z.infer<typeof attioRecordIdentifierSchema>;
85
85
  export type AttioRecord = z.infer<typeof attioRecordSchema>;
86
+ export type AttioSearchMatch = z.infer<typeof attioSearchMatchSchema>;
87
+ export type AttioAttributeHistoryEntry = z.infer<typeof attioAttributeHistoryEntrySchema>;
88
+ export type AttioWorkspaceMember = z.infer<typeof attioWorkspaceMemberSchema>;
89
+ export type AttioTask = z.infer<typeof attioTaskSchema>;
90
+ export type AttioNote = z.infer<typeof attioNoteSchema>;
91
+ export type AttioComment = z.infer<typeof attioCommentSchema>;
92
+ export type AttioThread = z.infer<typeof attioThreadSchema>;
93
+ export type AttioList = z.infer<typeof attioListSchema>;
94
+ export type AttioListEntry = z.infer<typeof attioListEntrySchema>;
95
+ export type AttioMeeting = z.infer<typeof attioMeetingSchema>;
96
+ export type AttioStatus = z.infer<typeof attioStatusSchema>;
97
+ export type AttioSelectOptionEntity = z.infer<typeof attioSelectOptionEntitySchema>;
98
+ export type AttioCallRecording = z.infer<typeof attioCallRecordingSchema>;
99
+ export type AttioTranscript = z.infer<typeof attioTranscriptSchema>;
100
+ export type AttioFile = z.infer<typeof attioFileSchema>;
86
101
  export declare const linearWorkspaceSchema: z.ZodObject<{
87
102
  id: z.ZodString;
88
103
  name: z.ZodString;
@@ -8497,6 +8512,11 @@ export declare const sdkInputRequestTargetSchema: z.ZodDiscriminatedUnion<[z.Zod
8497
8512
  channelId: z.ZodString;
8498
8513
  }, z.core.$strip>], "provider">;
8499
8514
  export type SdkInputRequestTarget = z.infer<typeof sdkInputRequestTargetSchema>;
8515
+ export declare const sdkInputResponseTransportSchema: z.ZodDefault<z.ZodEnum<{
8516
+ suspend: "suspend";
8517
+ poll: "poll";
8518
+ }>>;
8519
+ export type SdkInputResponseTransport = z.infer<typeof sdkInputResponseTransportSchema>;
8500
8520
  export declare const sdkInputRequestRegisterBodySchema: z.ZodObject<{
8501
8521
  token: z.ZodString;
8502
8522
  runId: z.ZodString;
@@ -8512,6 +8532,10 @@ export declare const sdkInputRequestRegisterBodySchema: z.ZodObject<{
8512
8532
  provider: z.ZodLiteral<"slack">;
8513
8533
  channelId: z.ZodString;
8514
8534
  }, z.core.$strip>], "provider">;
8535
+ transport: z.ZodDefault<z.ZodEnum<{
8536
+ suspend: "suspend";
8537
+ poll: "poll";
8538
+ }>>;
8515
8539
  }, z.core.$strip>;
8516
8540
  export type SdkInputRequestRegisterBody = z.infer<typeof sdkInputRequestRegisterBodySchema>;
8517
8541
  export declare const sdkInputRequestDeliverySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -9027,7 +9051,6 @@ export declare const sdkJobServerCheckResponseSchema: z.ZodObject<{
9027
9051
  httpStatus: z.ZodOptional<z.ZodNumber>;
9028
9052
  }, z.core.$strip>;
9029
9053
  export type SdkJobServerCheckResponse = z.infer<typeof sdkJobServerCheckResponseSchema>;
9030
- export type AttioUpsertError = z.infer<typeof attioUpsertErrorSchema>;
9031
9054
  export declare const agentIdParamsSchema: z.ZodObject<{
9032
9055
  agentId: z.ZodString;
9033
9056
  }, z.core.$strip>;
package/dist/types.js CHANGED
@@ -532,13 +532,15 @@ export const sdkInputRequestTargetSchema = z.discriminatedUnion("provider", [
532
532
  channelId: z.string().min(1)
533
533
  })
534
534
  ]);
535
+ export const sdkInputResponseTransportSchema = z.enum(["suspend", "poll"]).default("suspend");
535
536
  export const sdkInputRequestRegisterBodySchema = z.object({
536
537
  token: z.string().min(1),
537
538
  runId: z.string().min(1),
538
539
  prompt: z.string().min(1),
539
540
  details: z.record(z.string(), z.string()).optional(),
540
541
  options: z.array(sdkInputRequestOptionSchema).min(1),
541
- via: sdkInputRequestTargetSchema
542
+ via: sdkInputRequestTargetSchema,
543
+ transport: sdkInputResponseTransportSchema
542
544
  });
543
545
  // One member per input provider; adding a provider extends this union and the target union above.
544
546
  export const sdkInputRequestDeliverySchema = z.discriminatedUnion("provider", [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "terse-types",
3
- "version": "0.0.70",
3
+ "version": "0.0.72",
4
4
  "type": "module",
5
5
  "description": "Shared Terse TypeScript types, enums, constants, and helpers.",
6
6
  "main": "./dist/index.js",