@automate.ax/integration-contracts 0.75.0 → 0.77.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.
- package/dist/airtable/api.js +1 -1
- package/dist/airtable/index.d.ts +1 -1
- package/dist/airtable/index.js +1 -1
- package/dist/airtable/schemas.d.ts +1 -1
- package/dist/airtable/schemas.js +1 -1
- package/dist/asana/api.d.ts +1 -1
- package/dist/asana/api.js +1 -1
- package/dist/asana/index.d.ts +1 -1
- package/dist/asana/index.js +1 -1
- package/dist/asana/schemas.d.ts +1 -1
- package/dist/asana/schemas.js +1 -1
- package/dist/brevo/api.d.ts +1 -1
- package/dist/brevo/api.js +1 -1
- package/dist/brevo/index.d.ts +1 -1
- package/dist/brevo/index.js +1 -1
- package/dist/brevo/schemas.d.ts +1 -1
- package/dist/brevo/schemas.js +1 -1
- package/dist/github/index.d.ts +1 -1
- package/dist/github/index.js +1 -1
- package/dist/github/schemas.d.ts +1 -1
- package/dist/github/schemas.js +1 -1
- package/dist/gmail/gmail.d.ts +1 -1
- package/dist/gmail/gmail.js +4 -3
- package/dist/gmail/index.d.ts +1 -1
- package/dist/gmail/index.js +1 -1
- package/dist/gmail/schemas.d.ts +417 -5
- package/dist/gmail/schemas.js +107 -3
- package/dist/google-calendar/event-schemas.d.ts +1 -1
- package/dist/google-calendar/event-schemas.js +1 -1
- package/dist/google-calendar/google-calendar.d.ts +1 -1
- package/dist/google-calendar/google-calendar.js +1 -1
- package/dist/google-calendar/index.d.ts +1 -1
- package/dist/google-calendar/index.js +1 -1
- package/dist/google-calendar/schemas.d.ts +1 -1
- package/dist/google-calendar/schemas.js +1 -1
- package/dist/google-forms/event-schemas.d.ts +1 -1
- package/dist/google-forms/event-schemas.js +1 -1
- package/dist/google-forms/google-forms.d.ts +1 -1
- package/dist/google-forms/google-forms.js +1 -1
- package/dist/google-forms/index.d.ts +1 -1
- package/dist/google-forms/index.js +1 -1
- package/dist/google-forms/schemas.d.ts +1 -1
- package/dist/google-forms/schemas.js +1 -1
- package/dist/google-meet/google-meet.d.ts +173 -0
- package/dist/google-meet/google-meet.js +371 -0
- package/dist/google-meet/index.d.ts +295 -0
- package/dist/google-meet/index.js +87 -0
- package/dist/google-meet/schemas.d.ts +269 -0
- package/dist/google-meet/schemas.js +197 -0
- package/dist/linear/api.d.ts +1 -1
- package/dist/linear/api.js +1 -1
- package/dist/linear/index.d.ts +1 -1
- package/dist/linear/index.js +1 -1
- package/dist/linear/schemas.d.ts +91 -1
- package/dist/linear/schemas.js +64 -1
- package/dist/outlook/graph.d.ts +1 -1
- package/dist/outlook/graph.js +1 -1
- package/dist/outlook/index.d.ts +2 -2
- package/dist/outlook/index.js +1 -1
- package/dist/outlook/schemas.d.ts +7 -7
- package/dist/outlook/schemas.js +1 -1
- package/dist/resend/index.d.ts +1 -1
- package/dist/resend/index.js +1 -1
- package/dist/resend/schemas.d.ts +1 -1
- package/dist/resend/schemas.js +1 -1
- package/dist/slack/index.d.ts +1 -1
- package/dist/slack/index.js +1 -1
- package/dist/slack/schemas.d.ts +1 -1
- package/dist/slack/schemas.js +1 -1
- package/dist/teams/graph.d.ts +1 -1
- package/dist/teams/graph.js +1 -1
- package/dist/teams/index.d.ts +1 -1
- package/dist/teams/index.js +1 -1
- package/dist/teams/schemas.d.ts +1 -1
- package/dist/teams/schemas.js +1 -1
- package/dist/trello/api.d.ts +1 -1
- package/dist/trello/api.js +1 -1
- package/dist/trello/event-schemas.d.ts +1 -1
- package/dist/trello/event-schemas.js +1 -1
- package/dist/trello/index.d.ts +1 -1
- package/dist/trello/index.js +1 -1
- package/dist/trello/schemas.d.ts +1 -1
- package/dist/trello/schemas.js +1 -1
- package/dist/triggers.d.ts +2 -1
- package/dist/triggers.js +2 -0
- package/dist/vercel/index.d.ts +1 -1
- package/dist/vercel/index.js +1 -1
- package/dist/vercel/schemas.d.ts +1 -1
- package/dist/vercel/schemas.js +1 -1
- package/dist/whatsapp/api.d.ts +1 -1
- package/dist/whatsapp/api.js +1 -1
- package/dist/whatsapp/index.d.ts +1 -1
- package/dist/whatsapp/index.js +1 -1
- package/dist/whatsapp/schemas.d.ts +1 -1
- package/dist/whatsapp/schemas.js +1 -1
- package/package.json +11 -5
- package/src/airtable/api.ts +1 -1
- package/src/airtable/index.ts +1 -1
- package/src/airtable/schemas.ts +1 -1
- package/src/asana/api.ts +1 -1
- package/src/asana/index.ts +1 -1
- package/src/asana/schemas.ts +1 -1
- package/src/brevo/api.ts +1 -1
- package/src/brevo/index.ts +1 -1
- package/src/brevo/schemas.ts +1 -1
- package/src/github/index.ts +1 -1
- package/src/github/schemas.ts +1 -1
- package/src/gmail/gmail.ts +4 -3
- package/src/gmail/index.ts +1 -1
- package/src/gmail/schemas.ts +107 -3
- package/src/google-calendar/event-schemas.ts +1 -1
- package/src/google-calendar/google-calendar.ts +1 -1
- package/src/google-calendar/index.ts +1 -1
- package/src/google-calendar/schemas.ts +1 -1
- package/src/google-forms/event-schemas.ts +1 -1
- package/src/google-forms/google-forms.ts +1 -1
- package/src/google-forms/index.ts +1 -1
- package/src/google-forms/schemas.ts +1 -1
- package/src/google-meet/google-meet.ts +445 -0
- package/src/google-meet/index.ts +117 -0
- package/src/google-meet/schemas.ts +274 -0
- package/src/linear/api.ts +1 -1
- package/src/linear/index.ts +1 -1
- package/src/linear/schemas.ts +84 -1
- package/src/outlook/graph.ts +1 -1
- package/src/outlook/index.ts +1 -1
- package/src/outlook/schemas.ts +1 -1
- package/src/resend/index.ts +1 -1
- package/src/resend/schemas.ts +1 -1
- package/src/slack/index.ts +1 -1
- package/src/slack/schemas.ts +1 -1
- package/src/teams/graph.ts +1 -1
- package/src/teams/index.ts +1 -1
- package/src/teams/schemas.ts +1 -1
- package/src/trello/api.ts +1 -1
- package/src/trello/event-schemas.ts +1 -1
- package/src/trello/index.ts +1 -1
- package/src/trello/schemas.ts +1 -1
- package/src/triggers.ts +3 -0
- package/src/vercel/index.ts +1 -1
- package/src/vercel/schemas.ts +1 -1
- package/src/whatsapp/api.ts +1 -1
- package/src/whatsapp/index.ts +1 -1
- package/src/whatsapp/schemas.ts +1 -1
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
import { GOOGLE_MEET_CONFERENCE_RECORD_SCHEMA, GOOGLE_MEET_PARTICIPANT_SESSION_SCHEMA, GOOGLE_MEET_RECORDING_SCHEMA, GOOGLE_MEET_SMART_NOTE_SCHEMA, GOOGLE_MEET_TRANSCRIPT_SCHEMA, } from "./schemas.js";
|
|
3
|
+
export * from "./google-meet.js";
|
|
4
|
+
export * from "./schemas.js";
|
|
5
|
+
/** Canonical Google Meet target selected by one subscription. */
|
|
6
|
+
export const GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA = z.object({
|
|
7
|
+
/** Stable space resource name, or omitted for all owned meeting spaces. */
|
|
8
|
+
spaceName: z.string().optional(),
|
|
9
|
+
});
|
|
10
|
+
export const GOOGLE_MEET_RECORDING_STARTED_EVENT_SCHEMA = GOOGLE_MEET_RECORDING_SCHEMA.extend({ state: z.literal("started") });
|
|
11
|
+
export const GOOGLE_MEET_RECORDING_ENDED_EVENT_SCHEMA = GOOGLE_MEET_RECORDING_SCHEMA.extend({ state: z.literal("ended") });
|
|
12
|
+
export const GOOGLE_MEET_RECORDING_FILE_GENERATED_EVENT_SCHEMA = GOOGLE_MEET_RECORDING_SCHEMA.extend({ state: z.literal("fileGenerated") });
|
|
13
|
+
export const GOOGLE_MEET_SMART_NOTE_STARTED_EVENT_SCHEMA = GOOGLE_MEET_SMART_NOTE_SCHEMA.extend({ state: z.literal("started") });
|
|
14
|
+
export const GOOGLE_MEET_SMART_NOTE_ENDED_EVENT_SCHEMA = GOOGLE_MEET_SMART_NOTE_SCHEMA.extend({ state: z.literal("ended") });
|
|
15
|
+
export const GOOGLE_MEET_SMART_NOTE_FILE_GENERATED_EVENT_SCHEMA = GOOGLE_MEET_SMART_NOTE_SCHEMA.extend({ state: z.literal("fileGenerated") });
|
|
16
|
+
export const GOOGLE_MEET_TRANSCRIPT_STARTED_EVENT_SCHEMA = GOOGLE_MEET_TRANSCRIPT_SCHEMA.extend({ state: z.literal("started") });
|
|
17
|
+
export const GOOGLE_MEET_TRANSCRIPT_ENDED_EVENT_SCHEMA = GOOGLE_MEET_TRANSCRIPT_SCHEMA.extend({ state: z.literal("ended") });
|
|
18
|
+
export const GOOGLE_MEET_TRANSCRIPT_FILE_GENERATED_EVENT_SCHEMA = GOOGLE_MEET_TRANSCRIPT_SCHEMA.extend({ state: z.literal("fileGenerated") });
|
|
19
|
+
export const googleMeetTriggerContracts = {
|
|
20
|
+
"googleMeet.conference.ended": {
|
|
21
|
+
configSchema: GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA,
|
|
22
|
+
eventSchema: GOOGLE_MEET_CONFERENCE_RECORD_SCHEMA,
|
|
23
|
+
},
|
|
24
|
+
"googleMeet.conference.started": {
|
|
25
|
+
configSchema: GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA,
|
|
26
|
+
eventSchema: GOOGLE_MEET_CONFERENCE_RECORD_SCHEMA,
|
|
27
|
+
},
|
|
28
|
+
"googleMeet.participant.joined": {
|
|
29
|
+
configSchema: GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA,
|
|
30
|
+
eventSchema: GOOGLE_MEET_PARTICIPANT_SESSION_SCHEMA,
|
|
31
|
+
},
|
|
32
|
+
"googleMeet.participant.left": {
|
|
33
|
+
configSchema: GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA,
|
|
34
|
+
eventSchema: GOOGLE_MEET_PARTICIPANT_SESSION_SCHEMA,
|
|
35
|
+
},
|
|
36
|
+
"googleMeet.recording.ended": {
|
|
37
|
+
configSchema: GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA,
|
|
38
|
+
eventSchema: GOOGLE_MEET_RECORDING_ENDED_EVENT_SCHEMA,
|
|
39
|
+
},
|
|
40
|
+
"googleMeet.recording.fileGenerated": {
|
|
41
|
+
configSchema: GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA,
|
|
42
|
+
eventSchema: GOOGLE_MEET_RECORDING_FILE_GENERATED_EVENT_SCHEMA,
|
|
43
|
+
},
|
|
44
|
+
"googleMeet.recording.started": {
|
|
45
|
+
configSchema: GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA,
|
|
46
|
+
eventSchema: GOOGLE_MEET_RECORDING_STARTED_EVENT_SCHEMA,
|
|
47
|
+
},
|
|
48
|
+
"googleMeet.smartNote.ended": {
|
|
49
|
+
configSchema: GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA,
|
|
50
|
+
eventSchema: GOOGLE_MEET_SMART_NOTE_ENDED_EVENT_SCHEMA,
|
|
51
|
+
},
|
|
52
|
+
"googleMeet.smartNote.fileGenerated": {
|
|
53
|
+
configSchema: GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA,
|
|
54
|
+
eventSchema: GOOGLE_MEET_SMART_NOTE_FILE_GENERATED_EVENT_SCHEMA,
|
|
55
|
+
},
|
|
56
|
+
"googleMeet.smartNote.started": {
|
|
57
|
+
configSchema: GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA,
|
|
58
|
+
eventSchema: GOOGLE_MEET_SMART_NOTE_STARTED_EVENT_SCHEMA,
|
|
59
|
+
},
|
|
60
|
+
"googleMeet.transcript.ended": {
|
|
61
|
+
configSchema: GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA,
|
|
62
|
+
eventSchema: GOOGLE_MEET_TRANSCRIPT_ENDED_EVENT_SCHEMA,
|
|
63
|
+
},
|
|
64
|
+
"googleMeet.transcript.fileGenerated": {
|
|
65
|
+
configSchema: GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA,
|
|
66
|
+
eventSchema: GOOGLE_MEET_TRANSCRIPT_FILE_GENERATED_EVENT_SCHEMA,
|
|
67
|
+
},
|
|
68
|
+
"googleMeet.transcript.started": {
|
|
69
|
+
configSchema: GOOGLE_MEET_TRIGGER_CONFIG_SCHEMA,
|
|
70
|
+
eventSchema: GOOGLE_MEET_TRANSCRIPT_STARTED_EVENT_SCHEMA,
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
export const GOOGLE_MEET_PROVIDER_EVENT_TYPES = {
|
|
74
|
+
"googleMeet.conference.ended": "google.workspace.meet.conference.v2.ended",
|
|
75
|
+
"googleMeet.conference.started": "google.workspace.meet.conference.v2.started",
|
|
76
|
+
"googleMeet.participant.joined": "google.workspace.meet.participant.v2.joined",
|
|
77
|
+
"googleMeet.participant.left": "google.workspace.meet.participant.v2.left",
|
|
78
|
+
"googleMeet.recording.ended": "google.workspace.meet.recording.v2.ended",
|
|
79
|
+
"googleMeet.recording.fileGenerated": "google.workspace.meet.recording.v2.fileGenerated",
|
|
80
|
+
"googleMeet.recording.started": "google.workspace.meet.recording.v2.started",
|
|
81
|
+
"googleMeet.smartNote.ended": "google.workspace.meet.smartNote.v2.ended",
|
|
82
|
+
"googleMeet.smartNote.fileGenerated": "google.workspace.meet.smartNote.v2.fileGenerated",
|
|
83
|
+
"googleMeet.smartNote.started": "google.workspace.meet.smartNote.v2.started",
|
|
84
|
+
"googleMeet.transcript.ended": "google.workspace.meet.transcript.v2.ended",
|
|
85
|
+
"googleMeet.transcript.fileGenerated": "google.workspace.meet.transcript.v2.fileGenerated",
|
|
86
|
+
"googleMeet.transcript.started": "google.workspace.meet.transcript.v2.started",
|
|
87
|
+
};
|
|
@@ -0,0 +1,269 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const GOOGLE_MEET_SPACE_REFERENCE_SCHEMA: z.ZodString;
|
|
3
|
+
export declare const GOOGLE_MEET_CONFERENCE_RECORD_REFERENCE_SCHEMA: z.ZodString;
|
|
4
|
+
export declare const GOOGLE_MEET_PARTICIPANT_NAME_SCHEMA: z.ZodString;
|
|
5
|
+
export declare const GOOGLE_MEET_PARTICIPANT_SESSION_NAME_SCHEMA: z.ZodString;
|
|
6
|
+
export declare const GOOGLE_MEET_RECORDING_NAME_SCHEMA: z.ZodString;
|
|
7
|
+
export declare const GOOGLE_MEET_TRANSCRIPT_NAME_SCHEMA: z.ZodString;
|
|
8
|
+
export declare const GOOGLE_MEET_TRANSCRIPT_ENTRY_NAME_SCHEMA: z.ZodString;
|
|
9
|
+
export declare const GOOGLE_MEET_SMART_NOTE_NAME_SCHEMA: z.ZodString;
|
|
10
|
+
export declare const GOOGLE_MEET_SPACE_CONFIG_SCHEMA: z.ZodObject<{
|
|
11
|
+
accessType: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
open: "open";
|
|
13
|
+
trusted: "trusted";
|
|
14
|
+
restricted: "restricted";
|
|
15
|
+
}>>;
|
|
16
|
+
artifacts: z.ZodOptional<z.ZodObject<{
|
|
17
|
+
recording: z.ZodOptional<z.ZodBoolean>;
|
|
18
|
+
smartNotes: z.ZodOptional<z.ZodBoolean>;
|
|
19
|
+
transcription: z.ZodOptional<z.ZodBoolean>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
attendanceReport: z.ZodOptional<z.ZodBoolean>;
|
|
22
|
+
entryPointAccess: z.ZodOptional<z.ZodEnum<{
|
|
23
|
+
all: "all";
|
|
24
|
+
creatorAppOnly: "creatorAppOnly";
|
|
25
|
+
}>>;
|
|
26
|
+
moderation: z.ZodOptional<z.ZodBoolean>;
|
|
27
|
+
moderationRestrictions: z.ZodOptional<z.ZodObject<{
|
|
28
|
+
chat: z.ZodOptional<z.ZodEnum<{
|
|
29
|
+
hostsOnly: "hostsOnly";
|
|
30
|
+
noRestriction: "noRestriction";
|
|
31
|
+
}>>;
|
|
32
|
+
defaultJoinAsViewer: z.ZodOptional<z.ZodBoolean>;
|
|
33
|
+
present: z.ZodOptional<z.ZodEnum<{
|
|
34
|
+
hostsOnly: "hostsOnly";
|
|
35
|
+
noRestriction: "noRestriction";
|
|
36
|
+
}>>;
|
|
37
|
+
reactions: z.ZodOptional<z.ZodEnum<{
|
|
38
|
+
hostsOnly: "hostsOnly";
|
|
39
|
+
noRestriction: "noRestriction";
|
|
40
|
+
}>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
42
|
+
}, z.core.$strip>;
|
|
43
|
+
export declare const GOOGLE_MEET_SPACE_SCHEMA: z.ZodObject<{
|
|
44
|
+
activeConference: z.ZodOptional<z.ZodString>;
|
|
45
|
+
config: z.ZodOptional<z.ZodObject<{
|
|
46
|
+
accessType: z.ZodOptional<z.ZodEnum<{
|
|
47
|
+
open: "open";
|
|
48
|
+
trusted: "trusted";
|
|
49
|
+
restricted: "restricted";
|
|
50
|
+
}>>;
|
|
51
|
+
artifacts: z.ZodOptional<z.ZodObject<{
|
|
52
|
+
recording: z.ZodOptional<z.ZodBoolean>;
|
|
53
|
+
smartNotes: z.ZodOptional<z.ZodBoolean>;
|
|
54
|
+
transcription: z.ZodOptional<z.ZodBoolean>;
|
|
55
|
+
}, z.core.$strip>>;
|
|
56
|
+
attendanceReport: z.ZodOptional<z.ZodBoolean>;
|
|
57
|
+
entryPointAccess: z.ZodOptional<z.ZodEnum<{
|
|
58
|
+
all: "all";
|
|
59
|
+
creatorAppOnly: "creatorAppOnly";
|
|
60
|
+
}>>;
|
|
61
|
+
moderation: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
+
moderationRestrictions: z.ZodOptional<z.ZodObject<{
|
|
63
|
+
chat: z.ZodOptional<z.ZodEnum<{
|
|
64
|
+
hostsOnly: "hostsOnly";
|
|
65
|
+
noRestriction: "noRestriction";
|
|
66
|
+
}>>;
|
|
67
|
+
defaultJoinAsViewer: z.ZodOptional<z.ZodBoolean>;
|
|
68
|
+
present: z.ZodOptional<z.ZodEnum<{
|
|
69
|
+
hostsOnly: "hostsOnly";
|
|
70
|
+
noRestriction: "noRestriction";
|
|
71
|
+
}>>;
|
|
72
|
+
reactions: z.ZodOptional<z.ZodEnum<{
|
|
73
|
+
hostsOnly: "hostsOnly";
|
|
74
|
+
noRestriction: "noRestriction";
|
|
75
|
+
}>>;
|
|
76
|
+
}, z.core.$strip>>;
|
|
77
|
+
}, z.core.$strip>>;
|
|
78
|
+
gatewaySipAccess: z.ZodArray<z.ZodObject<{
|
|
79
|
+
sipAccessCode: z.ZodOptional<z.ZodString>;
|
|
80
|
+
uri: z.ZodString;
|
|
81
|
+
}, z.core.$strip>>;
|
|
82
|
+
meetingCode: z.ZodString;
|
|
83
|
+
meetingUri: z.ZodURL;
|
|
84
|
+
name: z.ZodString;
|
|
85
|
+
phoneAccess: z.ZodArray<z.ZodObject<{
|
|
86
|
+
languageCode: z.ZodOptional<z.ZodString>;
|
|
87
|
+
phoneNumber: z.ZodString;
|
|
88
|
+
pin: z.ZodString;
|
|
89
|
+
regionCode: z.ZodOptional<z.ZodString>;
|
|
90
|
+
}, z.core.$strip>>;
|
|
91
|
+
}, z.core.$strip>;
|
|
92
|
+
export declare const GOOGLE_MEET_CONFERENCE_RECORD_SCHEMA: z.ZodObject<{
|
|
93
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
94
|
+
expireTime: z.ZodOptional<z.ZodISODateTime>;
|
|
95
|
+
name: z.ZodString;
|
|
96
|
+
space: z.ZodString;
|
|
97
|
+
startTime: z.ZodISODateTime;
|
|
98
|
+
}, z.core.$strip>;
|
|
99
|
+
export declare const GOOGLE_MEET_CONFERENCE_RECORD_PAGE_SCHEMA: z.ZodObject<{
|
|
100
|
+
conferenceRecords: z.ZodArray<z.ZodObject<{
|
|
101
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
102
|
+
expireTime: z.ZodOptional<z.ZodISODateTime>;
|
|
103
|
+
name: z.ZodString;
|
|
104
|
+
space: z.ZodString;
|
|
105
|
+
startTime: z.ZodISODateTime;
|
|
106
|
+
}, z.core.$strip>>;
|
|
107
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
108
|
+
}, z.core.$strip>;
|
|
109
|
+
export declare const GOOGLE_MEET_PARTICIPANT_SCHEMA: z.ZodObject<{
|
|
110
|
+
earliestStartTime: z.ZodOptional<z.ZodISODateTime>;
|
|
111
|
+
latestEndTime: z.ZodOptional<z.ZodISODateTime>;
|
|
112
|
+
name: z.ZodString;
|
|
113
|
+
user: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
114
|
+
displayName: z.ZodString;
|
|
115
|
+
type: z.ZodLiteral<"anonymous">;
|
|
116
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
117
|
+
displayName: z.ZodString;
|
|
118
|
+
type: z.ZodLiteral<"phone">;
|
|
119
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
120
|
+
displayName: z.ZodString;
|
|
121
|
+
type: z.ZodLiteral<"signedIn">;
|
|
122
|
+
user: z.ZodOptional<z.ZodString>;
|
|
123
|
+
}, z.core.$strip>], "type">;
|
|
124
|
+
}, z.core.$strip>;
|
|
125
|
+
export declare const GOOGLE_MEET_PARTICIPANT_PAGE_SCHEMA: z.ZodObject<{
|
|
126
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
127
|
+
participants: z.ZodArray<z.ZodObject<{
|
|
128
|
+
earliestStartTime: z.ZodOptional<z.ZodISODateTime>;
|
|
129
|
+
latestEndTime: z.ZodOptional<z.ZodISODateTime>;
|
|
130
|
+
name: z.ZodString;
|
|
131
|
+
user: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
132
|
+
displayName: z.ZodString;
|
|
133
|
+
type: z.ZodLiteral<"anonymous">;
|
|
134
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
135
|
+
displayName: z.ZodString;
|
|
136
|
+
type: z.ZodLiteral<"phone">;
|
|
137
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
138
|
+
displayName: z.ZodString;
|
|
139
|
+
type: z.ZodLiteral<"signedIn">;
|
|
140
|
+
user: z.ZodOptional<z.ZodString>;
|
|
141
|
+
}, z.core.$strip>], "type">;
|
|
142
|
+
}, z.core.$strip>>;
|
|
143
|
+
totalSize: z.ZodOptional<z.ZodNumber>;
|
|
144
|
+
}, z.core.$strip>;
|
|
145
|
+
export declare const GOOGLE_MEET_PARTICIPANT_SESSION_SCHEMA: z.ZodObject<{
|
|
146
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
147
|
+
name: z.ZodString;
|
|
148
|
+
startTime: z.ZodISODateTime;
|
|
149
|
+
}, z.core.$strip>;
|
|
150
|
+
export declare const GOOGLE_MEET_PARTICIPANT_SESSION_PAGE_SCHEMA: z.ZodObject<{
|
|
151
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
152
|
+
participantSessions: z.ZodArray<z.ZodObject<{
|
|
153
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
154
|
+
name: z.ZodString;
|
|
155
|
+
startTime: z.ZodISODateTime;
|
|
156
|
+
}, z.core.$strip>>;
|
|
157
|
+
}, z.core.$strip>;
|
|
158
|
+
export declare const GOOGLE_MEET_RECORDING_SCHEMA: z.ZodObject<{
|
|
159
|
+
driveDestination: z.ZodOptional<z.ZodObject<{
|
|
160
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
161
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
162
|
+
}, z.core.$strip>>;
|
|
163
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
164
|
+
name: z.ZodString;
|
|
165
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
166
|
+
state: z.ZodEnum<{
|
|
167
|
+
started: "started";
|
|
168
|
+
ended: "ended";
|
|
169
|
+
fileGenerated: "fileGenerated";
|
|
170
|
+
}>;
|
|
171
|
+
}, z.core.$strip>;
|
|
172
|
+
export declare const GOOGLE_MEET_RECORDING_PAGE_SCHEMA: z.ZodObject<{
|
|
173
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
174
|
+
recordings: z.ZodArray<z.ZodObject<{
|
|
175
|
+
driveDestination: z.ZodOptional<z.ZodObject<{
|
|
176
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
177
|
+
fileId: z.ZodOptional<z.ZodString>;
|
|
178
|
+
}, z.core.$strip>>;
|
|
179
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
180
|
+
name: z.ZodString;
|
|
181
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
182
|
+
state: z.ZodEnum<{
|
|
183
|
+
started: "started";
|
|
184
|
+
ended: "ended";
|
|
185
|
+
fileGenerated: "fileGenerated";
|
|
186
|
+
}>;
|
|
187
|
+
}, z.core.$strip>>;
|
|
188
|
+
}, z.core.$strip>;
|
|
189
|
+
export declare const GOOGLE_MEET_TRANSCRIPT_SCHEMA: z.ZodObject<{
|
|
190
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
191
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
192
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
193
|
+
}, z.core.$strip>>;
|
|
194
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
195
|
+
name: z.ZodString;
|
|
196
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
197
|
+
state: z.ZodEnum<{
|
|
198
|
+
started: "started";
|
|
199
|
+
ended: "ended";
|
|
200
|
+
fileGenerated: "fileGenerated";
|
|
201
|
+
}>;
|
|
202
|
+
}, z.core.$strip>;
|
|
203
|
+
export declare const GOOGLE_MEET_TRANSCRIPT_PAGE_SCHEMA: z.ZodObject<{
|
|
204
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
205
|
+
transcripts: z.ZodArray<z.ZodObject<{
|
|
206
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
207
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
208
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
209
|
+
}, z.core.$strip>>;
|
|
210
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
211
|
+
name: z.ZodString;
|
|
212
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
213
|
+
state: z.ZodEnum<{
|
|
214
|
+
started: "started";
|
|
215
|
+
ended: "ended";
|
|
216
|
+
fileGenerated: "fileGenerated";
|
|
217
|
+
}>;
|
|
218
|
+
}, z.core.$strip>>;
|
|
219
|
+
}, z.core.$strip>;
|
|
220
|
+
export declare const GOOGLE_MEET_TRANSCRIPT_ENTRY_SCHEMA: z.ZodObject<{
|
|
221
|
+
endTime: z.ZodISODateTime;
|
|
222
|
+
languageCode: z.ZodString;
|
|
223
|
+
name: z.ZodString;
|
|
224
|
+
participant: z.ZodString;
|
|
225
|
+
startTime: z.ZodISODateTime;
|
|
226
|
+
text: z.ZodString;
|
|
227
|
+
}, z.core.$strip>;
|
|
228
|
+
export declare const GOOGLE_MEET_TRANSCRIPT_ENTRY_PAGE_SCHEMA: z.ZodObject<{
|
|
229
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
230
|
+
transcriptEntries: z.ZodArray<z.ZodObject<{
|
|
231
|
+
endTime: z.ZodISODateTime;
|
|
232
|
+
languageCode: z.ZodString;
|
|
233
|
+
name: z.ZodString;
|
|
234
|
+
participant: z.ZodString;
|
|
235
|
+
startTime: z.ZodISODateTime;
|
|
236
|
+
text: z.ZodString;
|
|
237
|
+
}, z.core.$strip>>;
|
|
238
|
+
}, z.core.$strip>;
|
|
239
|
+
export declare const GOOGLE_MEET_SMART_NOTE_SCHEMA: z.ZodObject<{
|
|
240
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
241
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
242
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
243
|
+
}, z.core.$strip>>;
|
|
244
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
245
|
+
name: z.ZodString;
|
|
246
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
247
|
+
state: z.ZodEnum<{
|
|
248
|
+
started: "started";
|
|
249
|
+
ended: "ended";
|
|
250
|
+
fileGenerated: "fileGenerated";
|
|
251
|
+
}>;
|
|
252
|
+
}, z.core.$strip>;
|
|
253
|
+
export declare const GOOGLE_MEET_SMART_NOTE_PAGE_SCHEMA: z.ZodObject<{
|
|
254
|
+
nextPageToken: z.ZodOptional<z.ZodString>;
|
|
255
|
+
smartNotes: z.ZodArray<z.ZodObject<{
|
|
256
|
+
docsDestination: z.ZodOptional<z.ZodObject<{
|
|
257
|
+
documentId: z.ZodOptional<z.ZodString>;
|
|
258
|
+
exportUri: z.ZodOptional<z.ZodURL>;
|
|
259
|
+
}, z.core.$strip>>;
|
|
260
|
+
endTime: z.ZodOptional<z.ZodISODateTime>;
|
|
261
|
+
name: z.ZodString;
|
|
262
|
+
startTime: z.ZodOptional<z.ZodISODateTime>;
|
|
263
|
+
state: z.ZodEnum<{
|
|
264
|
+
started: "started";
|
|
265
|
+
ended: "ended";
|
|
266
|
+
fileGenerated: "fileGenerated";
|
|
267
|
+
}>;
|
|
268
|
+
}, z.core.$strip>>;
|
|
269
|
+
}, z.core.$strip>;
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
const RESOURCE_NAME_SCHEMA = z.string().trim().min(1);
|
|
3
|
+
const TIMESTAMP_SCHEMA = z.iso.datetime({ offset: true });
|
|
4
|
+
export const GOOGLE_MEET_SPACE_REFERENCE_SCHEMA = z.string().trim().min(1);
|
|
5
|
+
export const GOOGLE_MEET_CONFERENCE_RECORD_REFERENCE_SCHEMA = z
|
|
6
|
+
.string()
|
|
7
|
+
.trim()
|
|
8
|
+
.min(1);
|
|
9
|
+
export const GOOGLE_MEET_PARTICIPANT_NAME_SCHEMA = RESOURCE_NAME_SCHEMA.regex(/^conferenceRecords\/[^/]+\/participants\/[^/]+$/, "Expected a Google Meet participant resource name.");
|
|
10
|
+
export const GOOGLE_MEET_PARTICIPANT_SESSION_NAME_SCHEMA = RESOURCE_NAME_SCHEMA.regex(/^conferenceRecords\/[^/]+\/participants\/[^/]+\/participantSessions\/[^/]+$/, "Expected a Google Meet participant session resource name.");
|
|
11
|
+
export const GOOGLE_MEET_RECORDING_NAME_SCHEMA = RESOURCE_NAME_SCHEMA.regex(/^conferenceRecords\/[^/]+\/recordings\/[^/]+$/, "Expected a Google Meet recording resource name.");
|
|
12
|
+
export const GOOGLE_MEET_TRANSCRIPT_NAME_SCHEMA = RESOURCE_NAME_SCHEMA.regex(/^conferenceRecords\/[^/]+\/transcripts\/[^/]+$/, "Expected a Google Meet transcript resource name.");
|
|
13
|
+
export const GOOGLE_MEET_TRANSCRIPT_ENTRY_NAME_SCHEMA = RESOURCE_NAME_SCHEMA.regex(/^conferenceRecords\/[^/]+\/transcripts\/[^/]+\/entries\/[^/]+$/, "Expected a Google Meet transcript entry resource name.");
|
|
14
|
+
export const GOOGLE_MEET_SMART_NOTE_NAME_SCHEMA = RESOURCE_NAME_SCHEMA.regex(/^conferenceRecords\/[^/]+\/smartNotes\/[^/]+$/, "Expected a Google Meet smart note resource name.");
|
|
15
|
+
const RESTRICTION_SCHEMA = z.enum(["hostsOnly", "noRestriction"]);
|
|
16
|
+
export const GOOGLE_MEET_SPACE_CONFIG_SCHEMA = z.object({
|
|
17
|
+
/** Who can join without knocking. */
|
|
18
|
+
accessType: z.enum(["open", "trusted", "restricted"]).optional(),
|
|
19
|
+
/** Automatic artifact generation settings. */
|
|
20
|
+
artifacts: z
|
|
21
|
+
.object({
|
|
22
|
+
recording: z.boolean().optional(),
|
|
23
|
+
smartNotes: z.boolean().optional(),
|
|
24
|
+
transcription: z.boolean().optional(),
|
|
25
|
+
})
|
|
26
|
+
.optional(),
|
|
27
|
+
/** Whether Google generates an attendance report. */
|
|
28
|
+
attendanceReport: z.boolean().optional(),
|
|
29
|
+
/** Entry points allowed to join the space. */
|
|
30
|
+
entryPointAccess: z.enum(["all", "creatorAppOnly"]).optional(),
|
|
31
|
+
/** Whether host management is enabled. */
|
|
32
|
+
moderation: z.boolean().optional(),
|
|
33
|
+
/** Feature permissions applied while moderation is enabled. */
|
|
34
|
+
moderationRestrictions: z
|
|
35
|
+
.object({
|
|
36
|
+
chat: RESTRICTION_SCHEMA.optional(),
|
|
37
|
+
defaultJoinAsViewer: z.boolean().optional(),
|
|
38
|
+
present: RESTRICTION_SCHEMA.optional(),
|
|
39
|
+
reactions: RESTRICTION_SCHEMA.optional(),
|
|
40
|
+
})
|
|
41
|
+
.optional(),
|
|
42
|
+
});
|
|
43
|
+
export const GOOGLE_MEET_SPACE_SCHEMA = z.object({
|
|
44
|
+
/** Active conference record resource name, when a call is running. */
|
|
45
|
+
activeConference: RESOURCE_NAME_SCHEMA.optional(),
|
|
46
|
+
/** Resolved meeting-space configuration. */
|
|
47
|
+
config: GOOGLE_MEET_SPACE_CONFIG_SCHEMA.optional(),
|
|
48
|
+
/** SIP gateway entry points. */
|
|
49
|
+
gatewaySipAccess: z
|
|
50
|
+
.object({
|
|
51
|
+
sipAccessCode: z.string().optional(),
|
|
52
|
+
uri: z.string(),
|
|
53
|
+
})
|
|
54
|
+
.array(),
|
|
55
|
+
/** Typeable meeting code. */
|
|
56
|
+
meetingCode: z.string(),
|
|
57
|
+
/** Browser join URL. */
|
|
58
|
+
meetingUri: z.url(),
|
|
59
|
+
/** Stable space resource name. */
|
|
60
|
+
name: RESOURCE_NAME_SCHEMA,
|
|
61
|
+
/** Regional dial-in entry points. */
|
|
62
|
+
phoneAccess: z
|
|
63
|
+
.object({
|
|
64
|
+
languageCode: z.string().optional(),
|
|
65
|
+
phoneNumber: z.string(),
|
|
66
|
+
pin: z.string(),
|
|
67
|
+
regionCode: z.string().optional(),
|
|
68
|
+
})
|
|
69
|
+
.array(),
|
|
70
|
+
});
|
|
71
|
+
export const GOOGLE_MEET_CONFERENCE_RECORD_SCHEMA = z.object({
|
|
72
|
+
/** When the conference ended. Omitted while it is active. */
|
|
73
|
+
endTime: TIMESTAMP_SCHEMA.optional(),
|
|
74
|
+
/** When Google will delete this record. */
|
|
75
|
+
expireTime: TIMESTAMP_SCHEMA.optional(),
|
|
76
|
+
/** Stable conference-record resource name. */
|
|
77
|
+
name: RESOURCE_NAME_SCHEMA,
|
|
78
|
+
/** Space resource name where the conference occurred. */
|
|
79
|
+
space: RESOURCE_NAME_SCHEMA,
|
|
80
|
+
/** When the conference started. */
|
|
81
|
+
startTime: TIMESTAMP_SCHEMA,
|
|
82
|
+
});
|
|
83
|
+
export const GOOGLE_MEET_CONFERENCE_RECORD_PAGE_SCHEMA = z.object({
|
|
84
|
+
conferenceRecords: GOOGLE_MEET_CONFERENCE_RECORD_SCHEMA.array(),
|
|
85
|
+
nextPageToken: z.string().optional(),
|
|
86
|
+
});
|
|
87
|
+
export const GOOGLE_MEET_PARTICIPANT_SCHEMA = z.object({
|
|
88
|
+
/** First observed join time. */
|
|
89
|
+
earliestStartTime: TIMESTAMP_SCHEMA.optional(),
|
|
90
|
+
/** Last observed leave time. Omitted while the participant is active. */
|
|
91
|
+
latestEndTime: TIMESTAMP_SCHEMA.optional(),
|
|
92
|
+
/** Stable participant resource name. */
|
|
93
|
+
name: GOOGLE_MEET_PARTICIPANT_NAME_SCHEMA,
|
|
94
|
+
/** Participant identity reported by Meet. */
|
|
95
|
+
user: z.discriminatedUnion("type", [
|
|
96
|
+
z.object({ displayName: z.string(), type: z.literal("anonymous") }),
|
|
97
|
+
z.object({ displayName: z.string(), type: z.literal("phone") }),
|
|
98
|
+
z.object({
|
|
99
|
+
displayName: z.string(),
|
|
100
|
+
type: z.literal("signedIn"),
|
|
101
|
+
user: z.string().optional(),
|
|
102
|
+
}),
|
|
103
|
+
]),
|
|
104
|
+
});
|
|
105
|
+
export const GOOGLE_MEET_PARTICIPANT_PAGE_SCHEMA = z.object({
|
|
106
|
+
nextPageToken: z.string().optional(),
|
|
107
|
+
participants: GOOGLE_MEET_PARTICIPANT_SCHEMA.array(),
|
|
108
|
+
totalSize: z.number().int().nonnegative().optional(),
|
|
109
|
+
});
|
|
110
|
+
export const GOOGLE_MEET_PARTICIPANT_SESSION_SCHEMA = z.object({
|
|
111
|
+
/** When the session ended. Omitted while it is active. */
|
|
112
|
+
endTime: TIMESTAMP_SCHEMA.optional(),
|
|
113
|
+
/** Stable participant-session resource name. */
|
|
114
|
+
name: GOOGLE_MEET_PARTICIPANT_SESSION_NAME_SCHEMA,
|
|
115
|
+
/** When the session started. */
|
|
116
|
+
startTime: TIMESTAMP_SCHEMA,
|
|
117
|
+
});
|
|
118
|
+
export const GOOGLE_MEET_PARTICIPANT_SESSION_PAGE_SCHEMA = z.object({
|
|
119
|
+
nextPageToken: z.string().optional(),
|
|
120
|
+
participantSessions: GOOGLE_MEET_PARTICIPANT_SESSION_SCHEMA.array(),
|
|
121
|
+
});
|
|
122
|
+
const ARTIFACT_STATE_SCHEMA = z.enum(["started", "ended", "fileGenerated"]);
|
|
123
|
+
const DOCS_DESTINATION_SCHEMA = z.object({
|
|
124
|
+
documentId: z.string().optional(),
|
|
125
|
+
exportUri: z.url().optional(),
|
|
126
|
+
});
|
|
127
|
+
export const GOOGLE_MEET_RECORDING_SCHEMA = z.object({
|
|
128
|
+
/** Google Drive destination after file generation completes. */
|
|
129
|
+
driveDestination: z
|
|
130
|
+
.object({
|
|
131
|
+
exportUri: z.url().optional(),
|
|
132
|
+
fileId: z.string().optional(),
|
|
133
|
+
})
|
|
134
|
+
.optional(),
|
|
135
|
+
/** When recording stopped. */
|
|
136
|
+
endTime: TIMESTAMP_SCHEMA.optional(),
|
|
137
|
+
/** Stable recording resource name. */
|
|
138
|
+
name: GOOGLE_MEET_RECORDING_NAME_SCHEMA,
|
|
139
|
+
/** When recording started. */
|
|
140
|
+
startTime: TIMESTAMP_SCHEMA.optional(),
|
|
141
|
+
/** Recording generation state. */
|
|
142
|
+
state: ARTIFACT_STATE_SCHEMA,
|
|
143
|
+
});
|
|
144
|
+
export const GOOGLE_MEET_RECORDING_PAGE_SCHEMA = z.object({
|
|
145
|
+
nextPageToken: z.string().optional(),
|
|
146
|
+
recordings: GOOGLE_MEET_RECORDING_SCHEMA.array(),
|
|
147
|
+
});
|
|
148
|
+
export const GOOGLE_MEET_TRANSCRIPT_SCHEMA = z.object({
|
|
149
|
+
/** Google Docs destination after file generation completes. */
|
|
150
|
+
docsDestination: DOCS_DESTINATION_SCHEMA.optional(),
|
|
151
|
+
/** When transcription stopped. */
|
|
152
|
+
endTime: TIMESTAMP_SCHEMA.optional(),
|
|
153
|
+
/** Stable transcript resource name. */
|
|
154
|
+
name: GOOGLE_MEET_TRANSCRIPT_NAME_SCHEMA,
|
|
155
|
+
/** When transcription started. */
|
|
156
|
+
startTime: TIMESTAMP_SCHEMA.optional(),
|
|
157
|
+
/** Transcript generation state. */
|
|
158
|
+
state: ARTIFACT_STATE_SCHEMA,
|
|
159
|
+
});
|
|
160
|
+
export const GOOGLE_MEET_TRANSCRIPT_PAGE_SCHEMA = z.object({
|
|
161
|
+
nextPageToken: z.string().optional(),
|
|
162
|
+
transcripts: GOOGLE_MEET_TRANSCRIPT_SCHEMA.array(),
|
|
163
|
+
});
|
|
164
|
+
export const GOOGLE_MEET_TRANSCRIPT_ENTRY_SCHEMA = z.object({
|
|
165
|
+
/** When this spoken segment ended. */
|
|
166
|
+
endTime: TIMESTAMP_SCHEMA,
|
|
167
|
+
/** BCP 47 language code detected for the segment. */
|
|
168
|
+
languageCode: z.string(),
|
|
169
|
+
/** Stable transcript-entry resource name. */
|
|
170
|
+
name: GOOGLE_MEET_TRANSCRIPT_ENTRY_NAME_SCHEMA,
|
|
171
|
+
/** Participant resource name for the speaker. */
|
|
172
|
+
participant: GOOGLE_MEET_PARTICIPANT_NAME_SCHEMA,
|
|
173
|
+
/** When this spoken segment started. */
|
|
174
|
+
startTime: TIMESTAMP_SCHEMA,
|
|
175
|
+
/** Transcribed speech. */
|
|
176
|
+
text: z.string(),
|
|
177
|
+
});
|
|
178
|
+
export const GOOGLE_MEET_TRANSCRIPT_ENTRY_PAGE_SCHEMA = z.object({
|
|
179
|
+
nextPageToken: z.string().optional(),
|
|
180
|
+
transcriptEntries: GOOGLE_MEET_TRANSCRIPT_ENTRY_SCHEMA.array(),
|
|
181
|
+
});
|
|
182
|
+
export const GOOGLE_MEET_SMART_NOTE_SCHEMA = z.object({
|
|
183
|
+
/** Google Docs destination after file generation completes. */
|
|
184
|
+
docsDestination: DOCS_DESTINATION_SCHEMA.optional(),
|
|
185
|
+
/** When smart-note capture stopped. */
|
|
186
|
+
endTime: TIMESTAMP_SCHEMA.optional(),
|
|
187
|
+
/** Stable smart-note resource name. */
|
|
188
|
+
name: GOOGLE_MEET_SMART_NOTE_NAME_SCHEMA,
|
|
189
|
+
/** When smart-note capture started. */
|
|
190
|
+
startTime: TIMESTAMP_SCHEMA.optional(),
|
|
191
|
+
/** Smart-note generation state. */
|
|
192
|
+
state: ARTIFACT_STATE_SCHEMA,
|
|
193
|
+
});
|
|
194
|
+
export const GOOGLE_MEET_SMART_NOTE_PAGE_SCHEMA = z.object({
|
|
195
|
+
nextPageToken: z.string().optional(),
|
|
196
|
+
smartNotes: GOOGLE_MEET_SMART_NOTE_SCHEMA.array(),
|
|
197
|
+
});
|
package/dist/linear/api.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { JsonObject } from "type-fest";
|
|
2
|
-
import
|
|
2
|
+
import * as z from "zod";
|
|
3
3
|
/** Options for one authenticated Linear GraphQL operation. */
|
|
4
4
|
export interface LinearGraphqlOptions<TSchema extends z.ZodType> {
|
|
5
5
|
/** Schema that validates and types the operation's `data` payload. */
|
package/dist/linear/api.js
CHANGED
package/dist/linear/index.d.ts
CHANGED
package/dist/linear/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as z from "zod";
|
|
2
2
|
import { LINEAR_COMMENT_CREATED_EVENT_SCHEMA, LINEAR_COMMENT_EVENT_SCHEMA, LINEAR_COMMENT_REMOVED_EVENT_SCHEMA, LINEAR_COMMENT_UPDATED_EVENT_SCHEMA, LINEAR_ISSUE_CREATED_EVENT_SCHEMA, LINEAR_ISSUE_EVENT_SCHEMA, LINEAR_ISSUE_REMOVED_EVENT_SCHEMA, LINEAR_ISSUE_UPDATED_EVENT_SCHEMA, LINEAR_PROJECT_CREATED_EVENT_SCHEMA, LINEAR_PROJECT_EVENT_SCHEMA, LINEAR_PROJECT_REMOVED_EVENT_SCHEMA, LINEAR_PROJECT_UPDATED_EVENT_SCHEMA, } from "./schemas.js";
|
|
3
3
|
export * from "./api.js";
|
|
4
4
|
export * from "./schemas.js";
|