@frogbotai/piece-microsoft-teams 0.39.0 → 0.41.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/actions.d.ts +30 -30
- package/dist/client.d.ts +1 -1
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +3 -4
- package/dist/client.js.map +1 -1
- package/dist/config.d.ts +5 -22
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +2 -22
- package/dist/config.js.map +1 -1
- package/dist/define.d.ts +176 -156
- package/dist/define.d.ts.map +1 -1
- package/dist/index.d.ts +1093 -1046
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -25
- package/dist/index.js.map +1 -1
- package/dist/triggers.d.ts +960 -850
- package/dist/triggers.d.ts.map +1 -1
- package/dist/triggers.js +28 -28
- package/dist/triggers.js.map +1 -1
- package/package.json +5 -4
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
import { type MicrosoftEnvironment } from '@frogbotai/piece-microsoft';
|
|
1
2
|
import { z } from 'zod';
|
|
2
3
|
import { FrogBotTeamsAdapter } from './adapter.js';
|
|
3
4
|
import { createMicrosoftTeamsClient } from './client.js';
|
|
4
|
-
import {
|
|
5
|
+
import { microsoftTeamsScopes } from './config.js';
|
|
5
6
|
export declare const microsoftTeamsActions: string[];
|
|
6
7
|
export declare const microsoftTeamsTriggers: string[];
|
|
7
8
|
export { microsoftTeamsScopes };
|
|
8
|
-
export declare function defineMicrosoftTeams(environment?:
|
|
9
|
+
export declare function defineMicrosoftTeams(environment?: MicrosoftEnvironment): import("frogbot").PieceFactory<{
|
|
9
10
|
readonly slug: "microsoft-teams";
|
|
10
11
|
readonly label: "Microsoft Teams";
|
|
11
12
|
readonly admin: {
|
|
@@ -30,15 +31,8 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
30
31
|
}, z.core.$strip>;
|
|
31
32
|
readonly client: typeof createMicrosoftTeamsClient;
|
|
32
33
|
readonly oauth: {
|
|
33
|
-
authorizationUrl: string;
|
|
34
|
-
tokenUrl: string;
|
|
35
34
|
scopes: {
|
|
36
35
|
catalog: {
|
|
37
|
-
readonly openid: "openid";
|
|
38
|
-
readonly email: "email";
|
|
39
|
-
readonly profile: "profile";
|
|
40
|
-
readonly offline_access: "offline_access";
|
|
41
|
-
readonly 'User.Read': "User.Read";
|
|
42
36
|
readonly 'Channel.Create': "Channel.Create";
|
|
43
37
|
readonly 'Channel.ReadBasic.All': "Channel.ReadBasic.All";
|
|
44
38
|
readonly 'ChannelMessage.Send': "ChannelMessage.Send";
|
|
@@ -72,12 +66,14 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
72
66
|
readonly 'Presence.Read': "Presence.Read";
|
|
73
67
|
readonly 'OnlineMeetings.Read': "OnlineMeetings.Read";
|
|
74
68
|
readonly 'OnlineMeetings.ReadWrite': "OnlineMeetings.ReadWrite";
|
|
69
|
+
readonly openid: "openid";
|
|
70
|
+
readonly email: "email";
|
|
71
|
+
readonly profile: "profile";
|
|
72
|
+
readonly offline_access: "offline_access";
|
|
73
|
+
readonly 'User.Read': "User.Read";
|
|
75
74
|
};
|
|
76
75
|
defaults: string[];
|
|
77
|
-
required:
|
|
78
|
-
};
|
|
79
|
-
params: {
|
|
80
|
-
prompt: string;
|
|
76
|
+
required: ("offline_access" | "User.Read")[];
|
|
81
77
|
};
|
|
82
78
|
toAuth: ({ tokens }: {
|
|
83
79
|
tokens: import("frogbot").OAuthTokens;
|
|
@@ -86,41 +82,14 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
86
82
|
cloud: string;
|
|
87
83
|
tenantId: string;
|
|
88
84
|
};
|
|
89
|
-
|
|
85
|
+
authorizationUrl: string;
|
|
86
|
+
tokenUrl: string;
|
|
87
|
+
params: {
|
|
88
|
+
prompt: string;
|
|
89
|
+
};
|
|
90
|
+
account({ tokens, req }: {
|
|
90
91
|
tokens: import("frogbot").OAuthTokens;
|
|
91
|
-
client:
|
|
92
|
-
baseUrl: string;
|
|
93
|
-
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
94
|
-
method?: string;
|
|
95
|
-
body?: unknown;
|
|
96
|
-
headers?: Record<string, string>;
|
|
97
|
-
query?: Record<string, string | number>;
|
|
98
|
-
signal?: AbortSignal;
|
|
99
|
-
}) => Promise<T>;
|
|
100
|
-
text(path: string, options?: {
|
|
101
|
-
method?: string;
|
|
102
|
-
body?: unknown;
|
|
103
|
-
headers?: Record<string, string>;
|
|
104
|
-
query?: Record<string, string | number>;
|
|
105
|
-
signal?: AbortSignal;
|
|
106
|
-
}): Promise<string>;
|
|
107
|
-
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
108
|
-
method?: string;
|
|
109
|
-
body?: unknown;
|
|
110
|
-
headers?: Record<string, string>;
|
|
111
|
-
query?: Record<string, string | number>;
|
|
112
|
-
signal?: AbortSignal;
|
|
113
|
-
}) => Promise<T[]>;
|
|
114
|
-
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
115
|
-
method?: string;
|
|
116
|
-
body?: unknown;
|
|
117
|
-
headers?: Record<string, string>;
|
|
118
|
-
query?: Record<string, string | number>;
|
|
119
|
-
signal?: AbortSignal;
|
|
120
|
-
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
121
|
-
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
122
|
-
authorize(target: URL, headers: Headers): void;
|
|
123
|
-
};
|
|
92
|
+
client: unknown;
|
|
124
93
|
req: import("frogbot").FrogBotRequest;
|
|
125
94
|
}): Promise<{
|
|
126
95
|
id: string;
|
|
@@ -154,7 +123,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
154
123
|
identity({ author, req }: {
|
|
155
124
|
author: import("chat").Author;
|
|
156
125
|
client: {
|
|
157
|
-
baseUrl:
|
|
126
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
158
127
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
159
128
|
method?: string;
|
|
160
129
|
body?: unknown;
|
|
@@ -189,7 +158,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
189
158
|
req: import("frogbot").FrogBotRequest;
|
|
190
159
|
}): Promise<(Record<string, unknown> & import("frogbot").TypeWithID) | null>;
|
|
191
160
|
questions: import("frogbot/pieces").PieceChannelQuestions<{
|
|
192
|
-
baseUrl:
|
|
161
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
193
162
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
194
163
|
method?: string;
|
|
195
164
|
body?: unknown;
|
|
@@ -239,7 +208,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
239
208
|
botTenantId?: string | undefined;
|
|
240
209
|
botApiUrl?: string | undefined;
|
|
241
210
|
}, {
|
|
242
|
-
baseUrl:
|
|
211
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
243
212
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
244
213
|
method?: string;
|
|
245
214
|
body?: unknown;
|
|
@@ -297,7 +266,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
297
266
|
botTenantId?: string | undefined;
|
|
298
267
|
botApiUrl?: string | undefined;
|
|
299
268
|
}, {
|
|
300
|
-
baseUrl:
|
|
269
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
301
270
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
302
271
|
method?: string;
|
|
303
272
|
body?: unknown;
|
|
@@ -361,7 +330,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
361
330
|
botTenantId?: string | undefined;
|
|
362
331
|
botApiUrl?: string | undefined;
|
|
363
332
|
}, {
|
|
364
|
-
baseUrl:
|
|
333
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
365
334
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
366
335
|
method?: string;
|
|
367
336
|
body?: unknown;
|
|
@@ -427,7 +396,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
427
396
|
botTenantId?: string | undefined;
|
|
428
397
|
botApiUrl?: string | undefined;
|
|
429
398
|
}, {
|
|
430
|
-
baseUrl:
|
|
399
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
431
400
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
432
401
|
method?: string;
|
|
433
402
|
body?: unknown;
|
|
@@ -495,7 +464,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
495
464
|
botTenantId?: string | undefined;
|
|
496
465
|
botApiUrl?: string | undefined;
|
|
497
466
|
}, {
|
|
498
|
-
baseUrl:
|
|
467
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
499
468
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
500
469
|
method?: string;
|
|
501
470
|
body?: unknown;
|
|
@@ -582,7 +551,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
582
551
|
botTenantId?: string | undefined;
|
|
583
552
|
botApiUrl?: string | undefined;
|
|
584
553
|
}, {
|
|
585
|
-
baseUrl:
|
|
554
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
586
555
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
587
556
|
method?: string;
|
|
588
557
|
body?: unknown;
|
|
@@ -661,7 +630,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
661
630
|
botTenantId?: string | undefined;
|
|
662
631
|
botApiUrl?: string | undefined;
|
|
663
632
|
}, {
|
|
664
|
-
baseUrl:
|
|
633
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
665
634
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
666
635
|
method?: string;
|
|
667
636
|
body?: unknown;
|
|
@@ -718,7 +687,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
718
687
|
botTenantId?: string | undefined;
|
|
719
688
|
botApiUrl?: string | undefined;
|
|
720
689
|
}, {
|
|
721
|
-
baseUrl:
|
|
690
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
722
691
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
723
692
|
method?: string;
|
|
724
693
|
body?: unknown;
|
|
@@ -775,7 +744,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
775
744
|
botTenantId?: string | undefined;
|
|
776
745
|
botApiUrl?: string | undefined;
|
|
777
746
|
}, {
|
|
778
|
-
baseUrl:
|
|
747
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
779
748
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
780
749
|
method?: string;
|
|
781
750
|
body?: unknown;
|
|
@@ -838,7 +807,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
838
807
|
botTenantId?: string | undefined;
|
|
839
808
|
botApiUrl?: string | undefined;
|
|
840
809
|
}, {
|
|
841
|
-
baseUrl:
|
|
810
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
842
811
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
843
812
|
method?: string;
|
|
844
813
|
body?: unknown;
|
|
@@ -884,8 +853,8 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
884
853
|
slug: "findChannel";
|
|
885
854
|
}) | (import("frogbot").PieceActionDefinition<z.ZodObject<{
|
|
886
855
|
searchBy: z.ZodDefault<z.ZodEnum<{
|
|
887
|
-
name: "name";
|
|
888
856
|
email: "email";
|
|
857
|
+
name: "name";
|
|
889
858
|
}>>;
|
|
890
859
|
searchValue: z.ZodString;
|
|
891
860
|
teamId: z.ZodString;
|
|
@@ -903,7 +872,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
903
872
|
botTenantId?: string | undefined;
|
|
904
873
|
botApiUrl?: string | undefined;
|
|
905
874
|
}, {
|
|
906
|
-
baseUrl:
|
|
875
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
907
876
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
908
877
|
method?: string;
|
|
909
878
|
body?: unknown;
|
|
@@ -969,7 +938,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
969
938
|
botTenantId?: string | undefined;
|
|
970
939
|
botApiUrl?: string | undefined;
|
|
971
940
|
}, {
|
|
972
|
-
baseUrl:
|
|
941
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
973
942
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
974
943
|
method?: string;
|
|
975
944
|
body?: unknown;
|
|
@@ -1033,7 +1002,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
1033
1002
|
botTenantId?: string | undefined;
|
|
1034
1003
|
botApiUrl?: string | undefined;
|
|
1035
1004
|
}, {
|
|
1036
|
-
baseUrl:
|
|
1005
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
1037
1006
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1038
1007
|
method?: string;
|
|
1039
1008
|
body?: unknown;
|
|
@@ -1080,7 +1049,7 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
1080
1049
|
botTenantId?: string | undefined;
|
|
1081
1050
|
botApiUrl?: string | undefined;
|
|
1082
1051
|
}, {
|
|
1083
|
-
baseUrl:
|
|
1052
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
1084
1053
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1085
1054
|
method?: string;
|
|
1086
1055
|
body?: unknown;
|
|
@@ -1139,46 +1108,51 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
1139
1108
|
} & {
|
|
1140
1109
|
type: "polling";
|
|
1141
1110
|
schedule?: string;
|
|
1142
|
-
run(args:
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1111
|
+
run(args: {
|
|
1112
|
+
input: {
|
|
1113
|
+
teamId: string;
|
|
1114
|
+
};
|
|
1115
|
+
options: {
|
|
1116
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
1117
|
+
botUsername: string;
|
|
1118
|
+
botTenantId?: string | undefined;
|
|
1119
|
+
botApiUrl?: string | undefined;
|
|
1120
|
+
};
|
|
1121
|
+
client: {
|
|
1122
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
1123
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1124
|
+
method?: string;
|
|
1125
|
+
body?: unknown;
|
|
1126
|
+
headers?: Record<string, string>;
|
|
1127
|
+
query?: Record<string, string | number>;
|
|
1128
|
+
signal?: AbortSignal;
|
|
1129
|
+
}) => Promise<T>;
|
|
1130
|
+
text(path: string, options?: {
|
|
1131
|
+
method?: string;
|
|
1132
|
+
body?: unknown;
|
|
1133
|
+
headers?: Record<string, string>;
|
|
1134
|
+
query?: Record<string, string | number>;
|
|
1135
|
+
signal?: AbortSignal;
|
|
1136
|
+
}): Promise<string>;
|
|
1137
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1138
|
+
method?: string;
|
|
1139
|
+
body?: unknown;
|
|
1140
|
+
headers?: Record<string, string>;
|
|
1141
|
+
query?: Record<string, string | number>;
|
|
1142
|
+
signal?: AbortSignal;
|
|
1143
|
+
}) => Promise<T[]>;
|
|
1144
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1145
|
+
method?: string;
|
|
1146
|
+
body?: unknown;
|
|
1147
|
+
headers?: Record<string, string>;
|
|
1148
|
+
query?: Record<string, string | number>;
|
|
1149
|
+
signal?: AbortSignal;
|
|
1150
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1151
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1152
|
+
authorize(target: URL, headers: Headers): void;
|
|
1153
|
+
};
|
|
1154
|
+
req: import("frogbot").FrogBotRequest;
|
|
1155
|
+
} & {
|
|
1182
1156
|
cursor?: import("frogbot").PieceJSON | undefined;
|
|
1183
1157
|
}): Promise<{
|
|
1184
1158
|
events: {
|
|
@@ -1227,47 +1201,52 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
1227
1201
|
} & {
|
|
1228
1202
|
type: "polling";
|
|
1229
1203
|
schedule?: string;
|
|
1230
|
-
run(args:
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1204
|
+
run(args: {
|
|
1205
|
+
input: {
|
|
1206
|
+
teamId: string;
|
|
1207
|
+
channelId: string;
|
|
1208
|
+
};
|
|
1209
|
+
options: {
|
|
1210
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
1211
|
+
botUsername: string;
|
|
1212
|
+
botTenantId?: string | undefined;
|
|
1213
|
+
botApiUrl?: string | undefined;
|
|
1214
|
+
};
|
|
1215
|
+
client: {
|
|
1216
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
1217
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1218
|
+
method?: string;
|
|
1219
|
+
body?: unknown;
|
|
1220
|
+
headers?: Record<string, string>;
|
|
1221
|
+
query?: Record<string, string | number>;
|
|
1222
|
+
signal?: AbortSignal;
|
|
1223
|
+
}) => Promise<T>;
|
|
1224
|
+
text(path: string, options?: {
|
|
1225
|
+
method?: string;
|
|
1226
|
+
body?: unknown;
|
|
1227
|
+
headers?: Record<string, string>;
|
|
1228
|
+
query?: Record<string, string | number>;
|
|
1229
|
+
signal?: AbortSignal;
|
|
1230
|
+
}): Promise<string>;
|
|
1231
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1232
|
+
method?: string;
|
|
1233
|
+
body?: unknown;
|
|
1234
|
+
headers?: Record<string, string>;
|
|
1235
|
+
query?: Record<string, string | number>;
|
|
1236
|
+
signal?: AbortSignal;
|
|
1237
|
+
}) => Promise<T[]>;
|
|
1238
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1239
|
+
method?: string;
|
|
1240
|
+
body?: unknown;
|
|
1241
|
+
headers?: Record<string, string>;
|
|
1242
|
+
query?: Record<string, string | number>;
|
|
1243
|
+
signal?: AbortSignal;
|
|
1244
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1245
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1246
|
+
authorize(target: URL, headers: Headers): void;
|
|
1247
|
+
};
|
|
1248
|
+
req: import("frogbot").FrogBotRequest;
|
|
1249
|
+
} & {
|
|
1271
1250
|
cursor?: import("frogbot").PieceJSON | undefined;
|
|
1272
1251
|
}): Promise<{
|
|
1273
1252
|
events: {
|
|
@@ -1327,76 +1306,81 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
1327
1306
|
} & {
|
|
1328
1307
|
type: "polling";
|
|
1329
1308
|
schedule?: string;
|
|
1330
|
-
run(args:
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1392
|
-
|
|
1393
|
-
|
|
1394
|
-
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1309
|
+
run(args: {
|
|
1310
|
+
input: Record<string, never>;
|
|
1311
|
+
options: {
|
|
1312
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
1313
|
+
botUsername: string;
|
|
1314
|
+
botTenantId?: string | undefined;
|
|
1315
|
+
botApiUrl?: string | undefined;
|
|
1316
|
+
};
|
|
1317
|
+
client: {
|
|
1318
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
1319
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1320
|
+
method?: string;
|
|
1321
|
+
body?: unknown;
|
|
1322
|
+
headers?: Record<string, string>;
|
|
1323
|
+
query?: Record<string, string | number>;
|
|
1324
|
+
signal?: AbortSignal;
|
|
1325
|
+
}) => Promise<T>;
|
|
1326
|
+
text(path: string, options?: {
|
|
1327
|
+
method?: string;
|
|
1328
|
+
body?: unknown;
|
|
1329
|
+
headers?: Record<string, string>;
|
|
1330
|
+
query?: Record<string, string | number>;
|
|
1331
|
+
signal?: AbortSignal;
|
|
1332
|
+
}): Promise<string>;
|
|
1333
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1334
|
+
method?: string;
|
|
1335
|
+
body?: unknown;
|
|
1336
|
+
headers?: Record<string, string>;
|
|
1337
|
+
query?: Record<string, string | number>;
|
|
1338
|
+
signal?: AbortSignal;
|
|
1339
|
+
}) => Promise<T[]>;
|
|
1340
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1341
|
+
method?: string;
|
|
1342
|
+
body?: unknown;
|
|
1343
|
+
headers?: Record<string, string>;
|
|
1344
|
+
query?: Record<string, string | number>;
|
|
1345
|
+
signal?: AbortSignal;
|
|
1346
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1347
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1348
|
+
authorize(target: URL, headers: Headers): void;
|
|
1349
|
+
};
|
|
1350
|
+
req: import("frogbot").FrogBotRequest;
|
|
1351
|
+
} & {
|
|
1352
|
+
cursor?: import("frogbot").PieceJSON | undefined;
|
|
1353
|
+
}): Promise<{
|
|
1354
|
+
events: {
|
|
1355
|
+
[x: string]: unknown;
|
|
1356
|
+
id: string;
|
|
1357
|
+
topic?: string | null | undefined;
|
|
1358
|
+
chatType?: "oneOnOne" | "group" | "meeting" | "unknownFutureValue" | null | undefined;
|
|
1359
|
+
createdDateTime?: string | null | undefined;
|
|
1360
|
+
lastUpdatedDateTime?: string | null | undefined;
|
|
1361
|
+
members?: {
|
|
1362
|
+
[x: string]: unknown;
|
|
1363
|
+
id: string;
|
|
1364
|
+
displayName?: string | null | undefined;
|
|
1365
|
+
email?: string | null | undefined;
|
|
1366
|
+
userId?: string | null | undefined;
|
|
1367
|
+
}[] | undefined;
|
|
1368
|
+
}[];
|
|
1369
|
+
cursor?: import("frogbot").PieceJSON | undefined;
|
|
1370
|
+
}>;
|
|
1371
|
+
} & {
|
|
1372
|
+
slug: "chatCreated";
|
|
1373
|
+
}) | ({
|
|
1374
|
+
slug: string;
|
|
1375
|
+
label?: string;
|
|
1376
|
+
description: string;
|
|
1377
|
+
input: z.ZodObject<{
|
|
1378
|
+
chatId: z.ZodString;
|
|
1379
|
+
}, z.core.$strip>;
|
|
1380
|
+
output?: z.ZodObject<{
|
|
1381
|
+
id: z.ZodString;
|
|
1382
|
+
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1383
|
+
lastModifiedDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1400
1384
|
chatId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1401
1385
|
body: z.ZodObject<{
|
|
1402
1386
|
content: z.ZodString;
|
|
@@ -1418,46 +1402,51 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
1418
1402
|
} & {
|
|
1419
1403
|
type: "polling";
|
|
1420
1404
|
schedule?: string;
|
|
1421
|
-
run(args:
|
|
1422
|
-
|
|
1423
|
-
|
|
1424
|
-
|
|
1425
|
-
|
|
1426
|
-
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
|
|
1459
|
-
|
|
1460
|
-
|
|
1405
|
+
run(args: {
|
|
1406
|
+
input: {
|
|
1407
|
+
chatId: string;
|
|
1408
|
+
};
|
|
1409
|
+
options: {
|
|
1410
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
1411
|
+
botUsername: string;
|
|
1412
|
+
botTenantId?: string | undefined;
|
|
1413
|
+
botApiUrl?: string | undefined;
|
|
1414
|
+
};
|
|
1415
|
+
client: {
|
|
1416
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
1417
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1418
|
+
method?: string;
|
|
1419
|
+
body?: unknown;
|
|
1420
|
+
headers?: Record<string, string>;
|
|
1421
|
+
query?: Record<string, string | number>;
|
|
1422
|
+
signal?: AbortSignal;
|
|
1423
|
+
}) => Promise<T>;
|
|
1424
|
+
text(path: string, options?: {
|
|
1425
|
+
method?: string;
|
|
1426
|
+
body?: unknown;
|
|
1427
|
+
headers?: Record<string, string>;
|
|
1428
|
+
query?: Record<string, string | number>;
|
|
1429
|
+
signal?: AbortSignal;
|
|
1430
|
+
}): Promise<string>;
|
|
1431
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1432
|
+
method?: string;
|
|
1433
|
+
body?: unknown;
|
|
1434
|
+
headers?: Record<string, string>;
|
|
1435
|
+
query?: Record<string, string | number>;
|
|
1436
|
+
signal?: AbortSignal;
|
|
1437
|
+
}) => Promise<T[]>;
|
|
1438
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1439
|
+
method?: string;
|
|
1440
|
+
body?: unknown;
|
|
1441
|
+
headers?: Record<string, string>;
|
|
1442
|
+
query?: Record<string, string | number>;
|
|
1443
|
+
signal?: AbortSignal;
|
|
1444
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1445
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1446
|
+
authorize(target: URL, headers: Headers): void;
|
|
1447
|
+
};
|
|
1448
|
+
req: import("frogbot").FrogBotRequest;
|
|
1449
|
+
} & {
|
|
1461
1450
|
cursor?: import("frogbot").PieceJSON | undefined;
|
|
1462
1451
|
}): Promise<{
|
|
1463
1452
|
events: {
|
|
@@ -1486,44 +1475,49 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
1486
1475
|
} & {
|
|
1487
1476
|
type: "app";
|
|
1488
1477
|
event: string;
|
|
1489
|
-
run(args:
|
|
1490
|
-
|
|
1491
|
-
|
|
1492
|
-
|
|
1493
|
-
|
|
1494
|
-
|
|
1495
|
-
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
|
|
1499
|
-
|
|
1500
|
-
|
|
1501
|
-
|
|
1502
|
-
|
|
1503
|
-
|
|
1504
|
-
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
|
|
1508
|
-
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1478
|
+
run(args: {
|
|
1479
|
+
input: Record<string, never>;
|
|
1480
|
+
options: {
|
|
1481
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
1482
|
+
botUsername: string;
|
|
1483
|
+
botTenantId?: string | undefined;
|
|
1484
|
+
botApiUrl?: string | undefined;
|
|
1485
|
+
};
|
|
1486
|
+
client: {
|
|
1487
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
1488
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1489
|
+
method?: string;
|
|
1490
|
+
body?: unknown;
|
|
1491
|
+
headers?: Record<string, string>;
|
|
1492
|
+
query?: Record<string, string | number>;
|
|
1493
|
+
signal?: AbortSignal;
|
|
1494
|
+
}) => Promise<T>;
|
|
1495
|
+
text(path: string, options?: {
|
|
1496
|
+
method?: string;
|
|
1497
|
+
body?: unknown;
|
|
1498
|
+
headers?: Record<string, string>;
|
|
1499
|
+
query?: Record<string, string | number>;
|
|
1500
|
+
signal?: AbortSignal;
|
|
1501
|
+
}): Promise<string>;
|
|
1502
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1503
|
+
method?: string;
|
|
1504
|
+
body?: unknown;
|
|
1505
|
+
headers?: Record<string, string>;
|
|
1506
|
+
query?: Record<string, string | number>;
|
|
1507
|
+
signal?: AbortSignal;
|
|
1508
|
+
}) => Promise<T[]>;
|
|
1509
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1510
|
+
method?: string;
|
|
1511
|
+
body?: unknown;
|
|
1512
|
+
headers?: Record<string, string>;
|
|
1513
|
+
query?: Record<string, string | number>;
|
|
1514
|
+
signal?: AbortSignal;
|
|
1515
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1516
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1517
|
+
authorize(target: URL, headers: Headers): void;
|
|
1518
|
+
};
|
|
1519
|
+
req: import("frogbot").FrogBotRequest;
|
|
1520
|
+
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
1527
1521
|
} & {
|
|
1528
1522
|
slug: "messageReceived";
|
|
1529
1523
|
}) | ({
|
|
@@ -1536,94 +1530,104 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
1536
1530
|
} & {
|
|
1537
1531
|
type: "app";
|
|
1538
1532
|
event: string;
|
|
1539
|
-
run(args:
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
|
-
|
|
1570
|
-
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1581
|
-
|
|
1582
|
-
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1533
|
+
run(args: {
|
|
1534
|
+
input: Record<string, never>;
|
|
1535
|
+
options: {
|
|
1536
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
1537
|
+
botUsername: string;
|
|
1538
|
+
botTenantId?: string | undefined;
|
|
1539
|
+
botApiUrl?: string | undefined;
|
|
1540
|
+
};
|
|
1541
|
+
client: {
|
|
1542
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
1543
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1544
|
+
method?: string;
|
|
1545
|
+
body?: unknown;
|
|
1546
|
+
headers?: Record<string, string>;
|
|
1547
|
+
query?: Record<string, string | number>;
|
|
1548
|
+
signal?: AbortSignal;
|
|
1549
|
+
}) => Promise<T>;
|
|
1550
|
+
text(path: string, options?: {
|
|
1551
|
+
method?: string;
|
|
1552
|
+
body?: unknown;
|
|
1553
|
+
headers?: Record<string, string>;
|
|
1554
|
+
query?: Record<string, string | number>;
|
|
1555
|
+
signal?: AbortSignal;
|
|
1556
|
+
}): Promise<string>;
|
|
1557
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1558
|
+
method?: string;
|
|
1559
|
+
body?: unknown;
|
|
1560
|
+
headers?: Record<string, string>;
|
|
1561
|
+
query?: Record<string, string | number>;
|
|
1562
|
+
signal?: AbortSignal;
|
|
1563
|
+
}) => Promise<T[]>;
|
|
1564
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1565
|
+
method?: string;
|
|
1566
|
+
body?: unknown;
|
|
1567
|
+
headers?: Record<string, string>;
|
|
1568
|
+
query?: Record<string, string | number>;
|
|
1569
|
+
signal?: AbortSignal;
|
|
1570
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1571
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1572
|
+
authorize(target: URL, headers: Headers): void;
|
|
1573
|
+
};
|
|
1574
|
+
req: import("frogbot").FrogBotRequest;
|
|
1575
|
+
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
1576
|
+
} & {
|
|
1577
|
+
slug: "messageReactionReceived";
|
|
1578
|
+
}) | ({
|
|
1579
|
+
slug: string;
|
|
1580
|
+
label?: string;
|
|
1581
|
+
description: string;
|
|
1582
|
+
input: z.ZodObject<{}, z.core.$strip>;
|
|
1583
|
+
output?: z.ZodRecord<z.ZodString, z.ZodUnknown> | undefined;
|
|
1584
|
+
sample?: Record<string, unknown> | undefined;
|
|
1585
|
+
} & {
|
|
1586
|
+
type: "app";
|
|
1587
|
+
event: string;
|
|
1588
|
+
run(args: {
|
|
1589
|
+
input: Record<string, never>;
|
|
1590
|
+
options: {
|
|
1591
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
1592
|
+
botUsername: string;
|
|
1593
|
+
botTenantId?: string | undefined;
|
|
1594
|
+
botApiUrl?: string | undefined;
|
|
1595
|
+
};
|
|
1596
|
+
client: {
|
|
1597
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
1598
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1599
|
+
method?: string;
|
|
1600
|
+
body?: unknown;
|
|
1601
|
+
headers?: Record<string, string>;
|
|
1602
|
+
query?: Record<string, string | number>;
|
|
1603
|
+
signal?: AbortSignal;
|
|
1604
|
+
}) => Promise<T>;
|
|
1605
|
+
text(path: string, options?: {
|
|
1606
|
+
method?: string;
|
|
1607
|
+
body?: unknown;
|
|
1608
|
+
headers?: Record<string, string>;
|
|
1609
|
+
query?: Record<string, string | number>;
|
|
1610
|
+
signal?: AbortSignal;
|
|
1611
|
+
}): Promise<string>;
|
|
1612
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1613
|
+
method?: string;
|
|
1614
|
+
body?: unknown;
|
|
1615
|
+
headers?: Record<string, string>;
|
|
1616
|
+
query?: Record<string, string | number>;
|
|
1617
|
+
signal?: AbortSignal;
|
|
1618
|
+
}) => Promise<T[]>;
|
|
1619
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1620
|
+
method?: string;
|
|
1621
|
+
body?: unknown;
|
|
1622
|
+
headers?: Record<string, string>;
|
|
1623
|
+
query?: Record<string, string | number>;
|
|
1624
|
+
signal?: AbortSignal;
|
|
1625
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1626
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1627
|
+
authorize(target: URL, headers: Headers): void;
|
|
1628
|
+
};
|
|
1629
|
+
req: import("frogbot").FrogBotRequest;
|
|
1630
|
+
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
1627
1631
|
} & {
|
|
1628
1632
|
slug: "cardActionReceived";
|
|
1629
1633
|
}) | ({
|
|
@@ -1636,44 +1640,49 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
1636
1640
|
} & {
|
|
1637
1641
|
type: "app";
|
|
1638
1642
|
event: string;
|
|
1639
|
-
run(args:
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
|
|
1643
|
-
|
|
1644
|
-
|
|
1645
|
-
|
|
1646
|
-
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
|
-
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|
|
1661
|
-
|
|
1662
|
-
|
|
1663
|
-
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1667
|
-
|
|
1668
|
-
|
|
1669
|
-
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1643
|
+
run(args: {
|
|
1644
|
+
input: Record<string, never>;
|
|
1645
|
+
options: {
|
|
1646
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
1647
|
+
botUsername: string;
|
|
1648
|
+
botTenantId?: string | undefined;
|
|
1649
|
+
botApiUrl?: string | undefined;
|
|
1650
|
+
};
|
|
1651
|
+
client: {
|
|
1652
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
1653
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1654
|
+
method?: string;
|
|
1655
|
+
body?: unknown;
|
|
1656
|
+
headers?: Record<string, string>;
|
|
1657
|
+
query?: Record<string, string | number>;
|
|
1658
|
+
signal?: AbortSignal;
|
|
1659
|
+
}) => Promise<T>;
|
|
1660
|
+
text(path: string, options?: {
|
|
1661
|
+
method?: string;
|
|
1662
|
+
body?: unknown;
|
|
1663
|
+
headers?: Record<string, string>;
|
|
1664
|
+
query?: Record<string, string | number>;
|
|
1665
|
+
signal?: AbortSignal;
|
|
1666
|
+
}): Promise<string>;
|
|
1667
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1668
|
+
method?: string;
|
|
1669
|
+
body?: unknown;
|
|
1670
|
+
headers?: Record<string, string>;
|
|
1671
|
+
query?: Record<string, string | number>;
|
|
1672
|
+
signal?: AbortSignal;
|
|
1673
|
+
}) => Promise<T[]>;
|
|
1674
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1675
|
+
method?: string;
|
|
1676
|
+
body?: unknown;
|
|
1677
|
+
headers?: Record<string, string>;
|
|
1678
|
+
query?: Record<string, string | number>;
|
|
1679
|
+
signal?: AbortSignal;
|
|
1680
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1681
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1682
|
+
authorize(target: URL, headers: Headers): void;
|
|
1683
|
+
};
|
|
1684
|
+
req: import("frogbot").FrogBotRequest;
|
|
1685
|
+
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
1677
1686
|
} & {
|
|
1678
1687
|
slug: "conversationUpdated";
|
|
1679
1688
|
}) | ({
|
|
@@ -1686,44 +1695,49 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
1686
1695
|
} & {
|
|
1687
1696
|
type: "app";
|
|
1688
1697
|
event: string;
|
|
1689
|
-
run(args:
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
|
|
1702
|
-
|
|
1703
|
-
|
|
1704
|
-
|
|
1705
|
-
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
1710
|
-
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
|
|
1716
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
1719
|
-
|
|
1720
|
-
|
|
1721
|
-
|
|
1722
|
-
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1698
|
+
run(args: {
|
|
1699
|
+
input: Record<string, never>;
|
|
1700
|
+
options: {
|
|
1701
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
1702
|
+
botUsername: string;
|
|
1703
|
+
botTenantId?: string | undefined;
|
|
1704
|
+
botApiUrl?: string | undefined;
|
|
1705
|
+
};
|
|
1706
|
+
client: {
|
|
1707
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
1708
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1709
|
+
method?: string;
|
|
1710
|
+
body?: unknown;
|
|
1711
|
+
headers?: Record<string, string>;
|
|
1712
|
+
query?: Record<string, string | number>;
|
|
1713
|
+
signal?: AbortSignal;
|
|
1714
|
+
}) => Promise<T>;
|
|
1715
|
+
text(path: string, options?: {
|
|
1716
|
+
method?: string;
|
|
1717
|
+
body?: unknown;
|
|
1718
|
+
headers?: Record<string, string>;
|
|
1719
|
+
query?: Record<string, string | number>;
|
|
1720
|
+
signal?: AbortSignal;
|
|
1721
|
+
}): Promise<string>;
|
|
1722
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1723
|
+
method?: string;
|
|
1724
|
+
body?: unknown;
|
|
1725
|
+
headers?: Record<string, string>;
|
|
1726
|
+
query?: Record<string, string | number>;
|
|
1727
|
+
signal?: AbortSignal;
|
|
1728
|
+
}) => Promise<T[]>;
|
|
1729
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1730
|
+
method?: string;
|
|
1731
|
+
body?: unknown;
|
|
1732
|
+
headers?: Record<string, string>;
|
|
1733
|
+
query?: Record<string, string | number>;
|
|
1734
|
+
signal?: AbortSignal;
|
|
1735
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1736
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1737
|
+
authorize(target: URL, headers: Headers): void;
|
|
1738
|
+
};
|
|
1739
|
+
req: import("frogbot").FrogBotRequest;
|
|
1740
|
+
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
1727
1741
|
} & {
|
|
1728
1742
|
slug: "installationUpdated";
|
|
1729
1743
|
}) | ({
|
|
@@ -1736,44 +1750,49 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
1736
1750
|
} & {
|
|
1737
1751
|
type: "app";
|
|
1738
1752
|
event: string;
|
|
1739
|
-
run(args:
|
|
1740
|
-
|
|
1741
|
-
|
|
1742
|
-
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1753
|
+
run(args: {
|
|
1754
|
+
input: Record<string, never>;
|
|
1755
|
+
options: {
|
|
1756
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
1757
|
+
botUsername: string;
|
|
1758
|
+
botTenantId?: string | undefined;
|
|
1759
|
+
botApiUrl?: string | undefined;
|
|
1760
|
+
};
|
|
1761
|
+
client: {
|
|
1762
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
1763
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1764
|
+
method?: string;
|
|
1765
|
+
body?: unknown;
|
|
1766
|
+
headers?: Record<string, string>;
|
|
1767
|
+
query?: Record<string, string | number>;
|
|
1768
|
+
signal?: AbortSignal;
|
|
1769
|
+
}) => Promise<T>;
|
|
1770
|
+
text(path: string, options?: {
|
|
1771
|
+
method?: string;
|
|
1772
|
+
body?: unknown;
|
|
1773
|
+
headers?: Record<string, string>;
|
|
1774
|
+
query?: Record<string, string | number>;
|
|
1775
|
+
signal?: AbortSignal;
|
|
1776
|
+
}): Promise<string>;
|
|
1777
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1778
|
+
method?: string;
|
|
1779
|
+
body?: unknown;
|
|
1780
|
+
headers?: Record<string, string>;
|
|
1781
|
+
query?: Record<string, string | number>;
|
|
1782
|
+
signal?: AbortSignal;
|
|
1783
|
+
}) => Promise<T[]>;
|
|
1784
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1785
|
+
method?: string;
|
|
1786
|
+
body?: unknown;
|
|
1787
|
+
headers?: Record<string, string>;
|
|
1788
|
+
query?: Record<string, string | number>;
|
|
1789
|
+
signal?: AbortSignal;
|
|
1790
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1791
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1792
|
+
authorize(target: URL, headers: Headers): void;
|
|
1793
|
+
};
|
|
1794
|
+
req: import("frogbot").FrogBotRequest;
|
|
1795
|
+
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
1777
1796
|
} & {
|
|
1778
1797
|
slug: "dialogOpened";
|
|
1779
1798
|
}) | ({
|
|
@@ -1786,44 +1805,49 @@ export declare function defineMicrosoftTeams(environment?: z.input<typeof micros
|
|
|
1786
1805
|
} & {
|
|
1787
1806
|
type: "app";
|
|
1788
1807
|
event: string;
|
|
1789
|
-
run(args:
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
|
|
1802
|
-
|
|
1803
|
-
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1808
|
+
run(args: {
|
|
1809
|
+
input: Record<string, never>;
|
|
1810
|
+
options: {
|
|
1811
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
1812
|
+
botUsername: string;
|
|
1813
|
+
botTenantId?: string | undefined;
|
|
1814
|
+
botApiUrl?: string | undefined;
|
|
1815
|
+
};
|
|
1816
|
+
client: {
|
|
1817
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
1818
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1819
|
+
method?: string;
|
|
1820
|
+
body?: unknown;
|
|
1821
|
+
headers?: Record<string, string>;
|
|
1822
|
+
query?: Record<string, string | number>;
|
|
1823
|
+
signal?: AbortSignal;
|
|
1824
|
+
}) => Promise<T>;
|
|
1825
|
+
text(path: string, options?: {
|
|
1826
|
+
method?: string;
|
|
1827
|
+
body?: unknown;
|
|
1828
|
+
headers?: Record<string, string>;
|
|
1829
|
+
query?: Record<string, string | number>;
|
|
1830
|
+
signal?: AbortSignal;
|
|
1831
|
+
}): Promise<string>;
|
|
1832
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1833
|
+
method?: string;
|
|
1834
|
+
body?: unknown;
|
|
1835
|
+
headers?: Record<string, string>;
|
|
1836
|
+
query?: Record<string, string | number>;
|
|
1837
|
+
signal?: AbortSignal;
|
|
1838
|
+
}) => Promise<T[]>;
|
|
1839
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1840
|
+
method?: string;
|
|
1841
|
+
body?: unknown;
|
|
1842
|
+
headers?: Record<string, string>;
|
|
1843
|
+
query?: Record<string, string | number>;
|
|
1844
|
+
signal?: AbortSignal;
|
|
1845
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1846
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1847
|
+
authorize(target: URL, headers: Headers): void;
|
|
1848
|
+
};
|
|
1849
|
+
req: import("frogbot").FrogBotRequest;
|
|
1850
|
+
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
1827
1851
|
} & {
|
|
1828
1852
|
slug: "dialogSubmitted";
|
|
1829
1853
|
}))[];
|
|
@@ -1853,15 +1877,8 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
1853
1877
|
}, z.core.$strip>;
|
|
1854
1878
|
readonly client: typeof createMicrosoftTeamsClient;
|
|
1855
1879
|
readonly oauth: {
|
|
1856
|
-
authorizationUrl: string;
|
|
1857
|
-
tokenUrl: string;
|
|
1858
1880
|
scopes: {
|
|
1859
1881
|
catalog: {
|
|
1860
|
-
readonly openid: "openid";
|
|
1861
|
-
readonly email: "email";
|
|
1862
|
-
readonly profile: "profile";
|
|
1863
|
-
readonly offline_access: "offline_access";
|
|
1864
|
-
readonly 'User.Read': "User.Read";
|
|
1865
1882
|
readonly 'Channel.Create': "Channel.Create";
|
|
1866
1883
|
readonly 'Channel.ReadBasic.All': "Channel.ReadBasic.All";
|
|
1867
1884
|
readonly 'ChannelMessage.Send': "ChannelMessage.Send";
|
|
@@ -1895,12 +1912,14 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
1895
1912
|
readonly 'Presence.Read': "Presence.Read";
|
|
1896
1913
|
readonly 'OnlineMeetings.Read': "OnlineMeetings.Read";
|
|
1897
1914
|
readonly 'OnlineMeetings.ReadWrite': "OnlineMeetings.ReadWrite";
|
|
1915
|
+
readonly openid: "openid";
|
|
1916
|
+
readonly email: "email";
|
|
1917
|
+
readonly profile: "profile";
|
|
1918
|
+
readonly offline_access: "offline_access";
|
|
1919
|
+
readonly 'User.Read': "User.Read";
|
|
1898
1920
|
};
|
|
1899
1921
|
defaults: string[];
|
|
1900
|
-
required:
|
|
1901
|
-
};
|
|
1902
|
-
params: {
|
|
1903
|
-
prompt: string;
|
|
1922
|
+
required: ("offline_access" | "User.Read")[];
|
|
1904
1923
|
};
|
|
1905
1924
|
toAuth: ({ tokens }: {
|
|
1906
1925
|
tokens: import("frogbot").OAuthTokens;
|
|
@@ -1909,41 +1928,14 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
1909
1928
|
cloud: string;
|
|
1910
1929
|
tenantId: string;
|
|
1911
1930
|
};
|
|
1912
|
-
|
|
1931
|
+
authorizationUrl: string;
|
|
1932
|
+
tokenUrl: string;
|
|
1933
|
+
params: {
|
|
1934
|
+
prompt: string;
|
|
1935
|
+
};
|
|
1936
|
+
account({ tokens, req }: {
|
|
1913
1937
|
tokens: import("frogbot").OAuthTokens;
|
|
1914
|
-
client:
|
|
1915
|
-
baseUrl: string;
|
|
1916
|
-
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1917
|
-
method?: string;
|
|
1918
|
-
body?: unknown;
|
|
1919
|
-
headers?: Record<string, string>;
|
|
1920
|
-
query?: Record<string, string | number>;
|
|
1921
|
-
signal?: AbortSignal;
|
|
1922
|
-
}) => Promise<T>;
|
|
1923
|
-
text(path: string, options?: {
|
|
1924
|
-
method?: string;
|
|
1925
|
-
body?: unknown;
|
|
1926
|
-
headers?: Record<string, string>;
|
|
1927
|
-
query?: Record<string, string | number>;
|
|
1928
|
-
signal?: AbortSignal;
|
|
1929
|
-
}): Promise<string>;
|
|
1930
|
-
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1931
|
-
method?: string;
|
|
1932
|
-
body?: unknown;
|
|
1933
|
-
headers?: Record<string, string>;
|
|
1934
|
-
query?: Record<string, string | number>;
|
|
1935
|
-
signal?: AbortSignal;
|
|
1936
|
-
}) => Promise<T[]>;
|
|
1937
|
-
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1938
|
-
method?: string;
|
|
1939
|
-
body?: unknown;
|
|
1940
|
-
headers?: Record<string, string>;
|
|
1941
|
-
query?: Record<string, string | number>;
|
|
1942
|
-
signal?: AbortSignal;
|
|
1943
|
-
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1944
|
-
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1945
|
-
authorize(target: URL, headers: Headers): void;
|
|
1946
|
-
};
|
|
1938
|
+
client: unknown;
|
|
1947
1939
|
req: import("frogbot").FrogBotRequest;
|
|
1948
1940
|
}): Promise<{
|
|
1949
1941
|
id: string;
|
|
@@ -1977,7 +1969,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
1977
1969
|
identity({ author, req }: {
|
|
1978
1970
|
author: import("chat").Author;
|
|
1979
1971
|
client: {
|
|
1980
|
-
baseUrl:
|
|
1972
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
1981
1973
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1982
1974
|
method?: string;
|
|
1983
1975
|
body?: unknown;
|
|
@@ -2012,7 +2004,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2012
2004
|
req: import("frogbot").FrogBotRequest;
|
|
2013
2005
|
}): Promise<(Record<string, unknown> & import("frogbot").TypeWithID) | null>;
|
|
2014
2006
|
questions: import("frogbot/pieces").PieceChannelQuestions<{
|
|
2015
|
-
baseUrl:
|
|
2007
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2016
2008
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2017
2009
|
method?: string;
|
|
2018
2010
|
body?: unknown;
|
|
@@ -2062,7 +2054,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2062
2054
|
botTenantId?: string | undefined;
|
|
2063
2055
|
botApiUrl?: string | undefined;
|
|
2064
2056
|
}, {
|
|
2065
|
-
baseUrl:
|
|
2057
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2066
2058
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2067
2059
|
method?: string;
|
|
2068
2060
|
body?: unknown;
|
|
@@ -2120,7 +2112,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2120
2112
|
botTenantId?: string | undefined;
|
|
2121
2113
|
botApiUrl?: string | undefined;
|
|
2122
2114
|
}, {
|
|
2123
|
-
baseUrl:
|
|
2115
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2124
2116
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2125
2117
|
method?: string;
|
|
2126
2118
|
body?: unknown;
|
|
@@ -2184,7 +2176,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2184
2176
|
botTenantId?: string | undefined;
|
|
2185
2177
|
botApiUrl?: string | undefined;
|
|
2186
2178
|
}, {
|
|
2187
|
-
baseUrl:
|
|
2179
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2188
2180
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2189
2181
|
method?: string;
|
|
2190
2182
|
body?: unknown;
|
|
@@ -2250,7 +2242,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2250
2242
|
botTenantId?: string | undefined;
|
|
2251
2243
|
botApiUrl?: string | undefined;
|
|
2252
2244
|
}, {
|
|
2253
|
-
baseUrl:
|
|
2245
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2254
2246
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2255
2247
|
method?: string;
|
|
2256
2248
|
body?: unknown;
|
|
@@ -2318,7 +2310,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2318
2310
|
botTenantId?: string | undefined;
|
|
2319
2311
|
botApiUrl?: string | undefined;
|
|
2320
2312
|
}, {
|
|
2321
|
-
baseUrl:
|
|
2313
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2322
2314
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2323
2315
|
method?: string;
|
|
2324
2316
|
body?: unknown;
|
|
@@ -2405,7 +2397,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2405
2397
|
botTenantId?: string | undefined;
|
|
2406
2398
|
botApiUrl?: string | undefined;
|
|
2407
2399
|
}, {
|
|
2408
|
-
baseUrl:
|
|
2400
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2409
2401
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2410
2402
|
method?: string;
|
|
2411
2403
|
body?: unknown;
|
|
@@ -2484,7 +2476,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2484
2476
|
botTenantId?: string | undefined;
|
|
2485
2477
|
botApiUrl?: string | undefined;
|
|
2486
2478
|
}, {
|
|
2487
|
-
baseUrl:
|
|
2479
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2488
2480
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2489
2481
|
method?: string;
|
|
2490
2482
|
body?: unknown;
|
|
@@ -2541,7 +2533,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2541
2533
|
botTenantId?: string | undefined;
|
|
2542
2534
|
botApiUrl?: string | undefined;
|
|
2543
2535
|
}, {
|
|
2544
|
-
baseUrl:
|
|
2536
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2545
2537
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2546
2538
|
method?: string;
|
|
2547
2539
|
body?: unknown;
|
|
@@ -2598,7 +2590,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2598
2590
|
botTenantId?: string | undefined;
|
|
2599
2591
|
botApiUrl?: string | undefined;
|
|
2600
2592
|
}, {
|
|
2601
|
-
baseUrl:
|
|
2593
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2602
2594
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2603
2595
|
method?: string;
|
|
2604
2596
|
body?: unknown;
|
|
@@ -2661,7 +2653,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2661
2653
|
botTenantId?: string | undefined;
|
|
2662
2654
|
botApiUrl?: string | undefined;
|
|
2663
2655
|
}, {
|
|
2664
|
-
baseUrl:
|
|
2656
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2665
2657
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2666
2658
|
method?: string;
|
|
2667
2659
|
body?: unknown;
|
|
@@ -2707,8 +2699,8 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2707
2699
|
slug: "findChannel";
|
|
2708
2700
|
}) | (import("frogbot").PieceActionDefinition<z.ZodObject<{
|
|
2709
2701
|
searchBy: z.ZodDefault<z.ZodEnum<{
|
|
2710
|
-
name: "name";
|
|
2711
2702
|
email: "email";
|
|
2703
|
+
name: "name";
|
|
2712
2704
|
}>>;
|
|
2713
2705
|
searchValue: z.ZodString;
|
|
2714
2706
|
teamId: z.ZodString;
|
|
@@ -2726,7 +2718,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2726
2718
|
botTenantId?: string | undefined;
|
|
2727
2719
|
botApiUrl?: string | undefined;
|
|
2728
2720
|
}, {
|
|
2729
|
-
baseUrl:
|
|
2721
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2730
2722
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2731
2723
|
method?: string;
|
|
2732
2724
|
body?: unknown;
|
|
@@ -2792,7 +2784,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2792
2784
|
botTenantId?: string | undefined;
|
|
2793
2785
|
botApiUrl?: string | undefined;
|
|
2794
2786
|
}, {
|
|
2795
|
-
baseUrl:
|
|
2787
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2796
2788
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2797
2789
|
method?: string;
|
|
2798
2790
|
body?: unknown;
|
|
@@ -2856,7 +2848,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2856
2848
|
botTenantId?: string | undefined;
|
|
2857
2849
|
botApiUrl?: string | undefined;
|
|
2858
2850
|
}, {
|
|
2859
|
-
baseUrl:
|
|
2851
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2860
2852
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2861
2853
|
method?: string;
|
|
2862
2854
|
body?: unknown;
|
|
@@ -2903,7 +2895,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2903
2895
|
botTenantId?: string | undefined;
|
|
2904
2896
|
botApiUrl?: string | undefined;
|
|
2905
2897
|
}, {
|
|
2906
|
-
baseUrl:
|
|
2898
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2907
2899
|
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2908
2900
|
method?: string;
|
|
2909
2901
|
body?: unknown;
|
|
@@ -2946,62 +2938,67 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
2946
2938
|
id: z.ZodString;
|
|
2947
2939
|
displayName: z.ZodString;
|
|
2948
2940
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2949
|
-
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2950
|
-
membershipType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2951
|
-
isArchived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2952
|
-
}, z.core.$loose> | undefined;
|
|
2953
|
-
sample?: {
|
|
2954
|
-
[x: string]: unknown;
|
|
2955
|
-
id: string;
|
|
2956
|
-
displayName: string;
|
|
2957
|
-
description?: string | null | undefined;
|
|
2958
|
-
createdDateTime?: string | null | undefined;
|
|
2959
|
-
membershipType?: string | null | undefined;
|
|
2960
|
-
isArchived?: boolean | null | undefined;
|
|
2961
|
-
} | undefined;
|
|
2962
|
-
} & {
|
|
2963
|
-
type: "polling";
|
|
2964
|
-
schedule?: string;
|
|
2965
|
-
run(args:
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
|
|
2969
|
-
|
|
2970
|
-
|
|
2971
|
-
|
|
2972
|
-
|
|
2973
|
-
|
|
2974
|
-
|
|
2975
|
-
|
|
2976
|
-
|
|
2977
|
-
|
|
2978
|
-
|
|
2979
|
-
|
|
2980
|
-
|
|
2981
|
-
|
|
2982
|
-
|
|
2983
|
-
|
|
2984
|
-
|
|
2985
|
-
|
|
2986
|
-
|
|
2987
|
-
|
|
2988
|
-
|
|
2989
|
-
|
|
2990
|
-
|
|
2991
|
-
|
|
2992
|
-
|
|
2993
|
-
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
2997
|
-
|
|
2998
|
-
|
|
2999
|
-
|
|
3000
|
-
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3004
|
-
|
|
2941
|
+
createdDateTime: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2942
|
+
membershipType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2943
|
+
isArchived: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2944
|
+
}, z.core.$loose> | undefined;
|
|
2945
|
+
sample?: {
|
|
2946
|
+
[x: string]: unknown;
|
|
2947
|
+
id: string;
|
|
2948
|
+
displayName: string;
|
|
2949
|
+
description?: string | null | undefined;
|
|
2950
|
+
createdDateTime?: string | null | undefined;
|
|
2951
|
+
membershipType?: string | null | undefined;
|
|
2952
|
+
isArchived?: boolean | null | undefined;
|
|
2953
|
+
} | undefined;
|
|
2954
|
+
} & {
|
|
2955
|
+
type: "polling";
|
|
2956
|
+
schedule?: string;
|
|
2957
|
+
run(args: {
|
|
2958
|
+
input: {
|
|
2959
|
+
teamId: string;
|
|
2960
|
+
};
|
|
2961
|
+
options: {
|
|
2962
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
2963
|
+
botUsername: string;
|
|
2964
|
+
botTenantId?: string | undefined;
|
|
2965
|
+
botApiUrl?: string | undefined;
|
|
2966
|
+
};
|
|
2967
|
+
client: {
|
|
2968
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
2969
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2970
|
+
method?: string;
|
|
2971
|
+
body?: unknown;
|
|
2972
|
+
headers?: Record<string, string>;
|
|
2973
|
+
query?: Record<string, string | number>;
|
|
2974
|
+
signal?: AbortSignal;
|
|
2975
|
+
}) => Promise<T>;
|
|
2976
|
+
text(path: string, options?: {
|
|
2977
|
+
method?: string;
|
|
2978
|
+
body?: unknown;
|
|
2979
|
+
headers?: Record<string, string>;
|
|
2980
|
+
query?: Record<string, string | number>;
|
|
2981
|
+
signal?: AbortSignal;
|
|
2982
|
+
}): Promise<string>;
|
|
2983
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2984
|
+
method?: string;
|
|
2985
|
+
body?: unknown;
|
|
2986
|
+
headers?: Record<string, string>;
|
|
2987
|
+
query?: Record<string, string | number>;
|
|
2988
|
+
signal?: AbortSignal;
|
|
2989
|
+
}) => Promise<T[]>;
|
|
2990
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2991
|
+
method?: string;
|
|
2992
|
+
body?: unknown;
|
|
2993
|
+
headers?: Record<string, string>;
|
|
2994
|
+
query?: Record<string, string | number>;
|
|
2995
|
+
signal?: AbortSignal;
|
|
2996
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
2997
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
2998
|
+
authorize(target: URL, headers: Headers): void;
|
|
2999
|
+
};
|
|
3000
|
+
req: import("frogbot").FrogBotRequest;
|
|
3001
|
+
} & {
|
|
3005
3002
|
cursor?: import("frogbot").PieceJSON | undefined;
|
|
3006
3003
|
}): Promise<{
|
|
3007
3004
|
events: {
|
|
@@ -3050,47 +3047,52 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
3050
3047
|
} & {
|
|
3051
3048
|
type: "polling";
|
|
3052
3049
|
schedule?: string;
|
|
3053
|
-
run(args:
|
|
3054
|
-
|
|
3055
|
-
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3059
|
-
|
|
3060
|
-
|
|
3061
|
-
|
|
3062
|
-
|
|
3063
|
-
|
|
3064
|
-
|
|
3065
|
-
|
|
3066
|
-
|
|
3067
|
-
|
|
3068
|
-
|
|
3069
|
-
|
|
3070
|
-
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3079
|
-
|
|
3080
|
-
|
|
3081
|
-
|
|
3082
|
-
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3089
|
-
|
|
3090
|
-
|
|
3091
|
-
|
|
3092
|
-
|
|
3093
|
-
|
|
3050
|
+
run(args: {
|
|
3051
|
+
input: {
|
|
3052
|
+
teamId: string;
|
|
3053
|
+
channelId: string;
|
|
3054
|
+
};
|
|
3055
|
+
options: {
|
|
3056
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
3057
|
+
botUsername: string;
|
|
3058
|
+
botTenantId?: string | undefined;
|
|
3059
|
+
botApiUrl?: string | undefined;
|
|
3060
|
+
};
|
|
3061
|
+
client: {
|
|
3062
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
3063
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3064
|
+
method?: string;
|
|
3065
|
+
body?: unknown;
|
|
3066
|
+
headers?: Record<string, string>;
|
|
3067
|
+
query?: Record<string, string | number>;
|
|
3068
|
+
signal?: AbortSignal;
|
|
3069
|
+
}) => Promise<T>;
|
|
3070
|
+
text(path: string, options?: {
|
|
3071
|
+
method?: string;
|
|
3072
|
+
body?: unknown;
|
|
3073
|
+
headers?: Record<string, string>;
|
|
3074
|
+
query?: Record<string, string | number>;
|
|
3075
|
+
signal?: AbortSignal;
|
|
3076
|
+
}): Promise<string>;
|
|
3077
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3078
|
+
method?: string;
|
|
3079
|
+
body?: unknown;
|
|
3080
|
+
headers?: Record<string, string>;
|
|
3081
|
+
query?: Record<string, string | number>;
|
|
3082
|
+
signal?: AbortSignal;
|
|
3083
|
+
}) => Promise<T[]>;
|
|
3084
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3085
|
+
method?: string;
|
|
3086
|
+
body?: unknown;
|
|
3087
|
+
headers?: Record<string, string>;
|
|
3088
|
+
query?: Record<string, string | number>;
|
|
3089
|
+
signal?: AbortSignal;
|
|
3090
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
3091
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
3092
|
+
authorize(target: URL, headers: Headers): void;
|
|
3093
|
+
};
|
|
3094
|
+
req: import("frogbot").FrogBotRequest;
|
|
3095
|
+
} & {
|
|
3094
3096
|
cursor?: import("frogbot").PieceJSON | undefined;
|
|
3095
3097
|
}): Promise<{
|
|
3096
3098
|
events: {
|
|
@@ -3150,44 +3152,49 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
3150
3152
|
} & {
|
|
3151
3153
|
type: "polling";
|
|
3152
3154
|
schedule?: string;
|
|
3153
|
-
run(args:
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3159
|
-
|
|
3160
|
-
|
|
3161
|
-
|
|
3162
|
-
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3166
|
-
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3190
|
-
|
|
3155
|
+
run(args: {
|
|
3156
|
+
input: Record<string, never>;
|
|
3157
|
+
options: {
|
|
3158
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
3159
|
+
botUsername: string;
|
|
3160
|
+
botTenantId?: string | undefined;
|
|
3161
|
+
botApiUrl?: string | undefined;
|
|
3162
|
+
};
|
|
3163
|
+
client: {
|
|
3164
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
3165
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3166
|
+
method?: string;
|
|
3167
|
+
body?: unknown;
|
|
3168
|
+
headers?: Record<string, string>;
|
|
3169
|
+
query?: Record<string, string | number>;
|
|
3170
|
+
signal?: AbortSignal;
|
|
3171
|
+
}) => Promise<T>;
|
|
3172
|
+
text(path: string, options?: {
|
|
3173
|
+
method?: string;
|
|
3174
|
+
body?: unknown;
|
|
3175
|
+
headers?: Record<string, string>;
|
|
3176
|
+
query?: Record<string, string | number>;
|
|
3177
|
+
signal?: AbortSignal;
|
|
3178
|
+
}): Promise<string>;
|
|
3179
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3180
|
+
method?: string;
|
|
3181
|
+
body?: unknown;
|
|
3182
|
+
headers?: Record<string, string>;
|
|
3183
|
+
query?: Record<string, string | number>;
|
|
3184
|
+
signal?: AbortSignal;
|
|
3185
|
+
}) => Promise<T[]>;
|
|
3186
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3187
|
+
method?: string;
|
|
3188
|
+
body?: unknown;
|
|
3189
|
+
headers?: Record<string, string>;
|
|
3190
|
+
query?: Record<string, string | number>;
|
|
3191
|
+
signal?: AbortSignal;
|
|
3192
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
3193
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
3194
|
+
authorize(target: URL, headers: Headers): void;
|
|
3195
|
+
};
|
|
3196
|
+
req: import("frogbot").FrogBotRequest;
|
|
3197
|
+
} & {
|
|
3191
3198
|
cursor?: import("frogbot").PieceJSON | undefined;
|
|
3192
3199
|
}): Promise<{
|
|
3193
3200
|
events: {
|
|
@@ -3241,46 +3248,51 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
3241
3248
|
} & {
|
|
3242
3249
|
type: "polling";
|
|
3243
3250
|
schedule?: string;
|
|
3244
|
-
run(args:
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3255
|
-
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3251
|
+
run(args: {
|
|
3252
|
+
input: {
|
|
3253
|
+
chatId: string;
|
|
3254
|
+
};
|
|
3255
|
+
options: {
|
|
3256
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
3257
|
+
botUsername: string;
|
|
3258
|
+
botTenantId?: string | undefined;
|
|
3259
|
+
botApiUrl?: string | undefined;
|
|
3260
|
+
};
|
|
3261
|
+
client: {
|
|
3262
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
3263
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3264
|
+
method?: string;
|
|
3265
|
+
body?: unknown;
|
|
3266
|
+
headers?: Record<string, string>;
|
|
3267
|
+
query?: Record<string, string | number>;
|
|
3268
|
+
signal?: AbortSignal;
|
|
3269
|
+
}) => Promise<T>;
|
|
3270
|
+
text(path: string, options?: {
|
|
3271
|
+
method?: string;
|
|
3272
|
+
body?: unknown;
|
|
3273
|
+
headers?: Record<string, string>;
|
|
3274
|
+
query?: Record<string, string | number>;
|
|
3275
|
+
signal?: AbortSignal;
|
|
3276
|
+
}): Promise<string>;
|
|
3277
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3278
|
+
method?: string;
|
|
3279
|
+
body?: unknown;
|
|
3280
|
+
headers?: Record<string, string>;
|
|
3281
|
+
query?: Record<string, string | number>;
|
|
3282
|
+
signal?: AbortSignal;
|
|
3283
|
+
}) => Promise<T[]>;
|
|
3284
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3285
|
+
method?: string;
|
|
3286
|
+
body?: unknown;
|
|
3287
|
+
headers?: Record<string, string>;
|
|
3288
|
+
query?: Record<string, string | number>;
|
|
3289
|
+
signal?: AbortSignal;
|
|
3290
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
3291
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
3292
|
+
authorize(target: URL, headers: Headers): void;
|
|
3293
|
+
};
|
|
3294
|
+
req: import("frogbot").FrogBotRequest;
|
|
3295
|
+
} & {
|
|
3284
3296
|
cursor?: import("frogbot").PieceJSON | undefined;
|
|
3285
3297
|
}): Promise<{
|
|
3286
3298
|
events: {
|
|
@@ -3309,44 +3321,49 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
3309
3321
|
} & {
|
|
3310
3322
|
type: "app";
|
|
3311
3323
|
event: string;
|
|
3312
|
-
run(args:
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3327
|
-
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3332
|
-
|
|
3333
|
-
|
|
3334
|
-
|
|
3335
|
-
|
|
3336
|
-
|
|
3337
|
-
|
|
3338
|
-
|
|
3339
|
-
|
|
3340
|
-
|
|
3341
|
-
|
|
3342
|
-
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3349
|
-
|
|
3324
|
+
run(args: {
|
|
3325
|
+
input: Record<string, never>;
|
|
3326
|
+
options: {
|
|
3327
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
3328
|
+
botUsername: string;
|
|
3329
|
+
botTenantId?: string | undefined;
|
|
3330
|
+
botApiUrl?: string | undefined;
|
|
3331
|
+
};
|
|
3332
|
+
client: {
|
|
3333
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
3334
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3335
|
+
method?: string;
|
|
3336
|
+
body?: unknown;
|
|
3337
|
+
headers?: Record<string, string>;
|
|
3338
|
+
query?: Record<string, string | number>;
|
|
3339
|
+
signal?: AbortSignal;
|
|
3340
|
+
}) => Promise<T>;
|
|
3341
|
+
text(path: string, options?: {
|
|
3342
|
+
method?: string;
|
|
3343
|
+
body?: unknown;
|
|
3344
|
+
headers?: Record<string, string>;
|
|
3345
|
+
query?: Record<string, string | number>;
|
|
3346
|
+
signal?: AbortSignal;
|
|
3347
|
+
}): Promise<string>;
|
|
3348
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3349
|
+
method?: string;
|
|
3350
|
+
body?: unknown;
|
|
3351
|
+
headers?: Record<string, string>;
|
|
3352
|
+
query?: Record<string, string | number>;
|
|
3353
|
+
signal?: AbortSignal;
|
|
3354
|
+
}) => Promise<T[]>;
|
|
3355
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3356
|
+
method?: string;
|
|
3357
|
+
body?: unknown;
|
|
3358
|
+
headers?: Record<string, string>;
|
|
3359
|
+
query?: Record<string, string | number>;
|
|
3360
|
+
signal?: AbortSignal;
|
|
3361
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
3362
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
3363
|
+
authorize(target: URL, headers: Headers): void;
|
|
3364
|
+
};
|
|
3365
|
+
req: import("frogbot").FrogBotRequest;
|
|
3366
|
+
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
3350
3367
|
} & {
|
|
3351
3368
|
slug: "messageReceived";
|
|
3352
3369
|
}) | ({
|
|
@@ -3359,44 +3376,49 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
3359
3376
|
} & {
|
|
3360
3377
|
type: "app";
|
|
3361
3378
|
event: string;
|
|
3362
|
-
run(args:
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3379
|
+
run(args: {
|
|
3380
|
+
input: Record<string, never>;
|
|
3381
|
+
options: {
|
|
3382
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
3383
|
+
botUsername: string;
|
|
3384
|
+
botTenantId?: string | undefined;
|
|
3385
|
+
botApiUrl?: string | undefined;
|
|
3386
|
+
};
|
|
3387
|
+
client: {
|
|
3388
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
3389
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3390
|
+
method?: string;
|
|
3391
|
+
body?: unknown;
|
|
3392
|
+
headers?: Record<string, string>;
|
|
3393
|
+
query?: Record<string, string | number>;
|
|
3394
|
+
signal?: AbortSignal;
|
|
3395
|
+
}) => Promise<T>;
|
|
3396
|
+
text(path: string, options?: {
|
|
3397
|
+
method?: string;
|
|
3398
|
+
body?: unknown;
|
|
3399
|
+
headers?: Record<string, string>;
|
|
3400
|
+
query?: Record<string, string | number>;
|
|
3401
|
+
signal?: AbortSignal;
|
|
3402
|
+
}): Promise<string>;
|
|
3403
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3404
|
+
method?: string;
|
|
3405
|
+
body?: unknown;
|
|
3406
|
+
headers?: Record<string, string>;
|
|
3407
|
+
query?: Record<string, string | number>;
|
|
3408
|
+
signal?: AbortSignal;
|
|
3409
|
+
}) => Promise<T[]>;
|
|
3410
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3411
|
+
method?: string;
|
|
3412
|
+
body?: unknown;
|
|
3413
|
+
headers?: Record<string, string>;
|
|
3414
|
+
query?: Record<string, string | number>;
|
|
3415
|
+
signal?: AbortSignal;
|
|
3416
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
3417
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
3418
|
+
authorize(target: URL, headers: Headers): void;
|
|
3419
|
+
};
|
|
3420
|
+
req: import("frogbot").FrogBotRequest;
|
|
3421
|
+
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
3400
3422
|
} & {
|
|
3401
3423
|
slug: "messageReactionReceived";
|
|
3402
3424
|
}) | ({
|
|
@@ -3409,94 +3431,104 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
3409
3431
|
} & {
|
|
3410
3432
|
type: "app";
|
|
3411
3433
|
event: string;
|
|
3412
|
-
run(args:
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3434
|
+
run(args: {
|
|
3435
|
+
input: Record<string, never>;
|
|
3436
|
+
options: {
|
|
3437
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
3438
|
+
botUsername: string;
|
|
3439
|
+
botTenantId?: string | undefined;
|
|
3440
|
+
botApiUrl?: string | undefined;
|
|
3441
|
+
};
|
|
3442
|
+
client: {
|
|
3443
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
3444
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3445
|
+
method?: string;
|
|
3446
|
+
body?: unknown;
|
|
3447
|
+
headers?: Record<string, string>;
|
|
3448
|
+
query?: Record<string, string | number>;
|
|
3449
|
+
signal?: AbortSignal;
|
|
3450
|
+
}) => Promise<T>;
|
|
3451
|
+
text(path: string, options?: {
|
|
3452
|
+
method?: string;
|
|
3453
|
+
body?: unknown;
|
|
3454
|
+
headers?: Record<string, string>;
|
|
3455
|
+
query?: Record<string, string | number>;
|
|
3456
|
+
signal?: AbortSignal;
|
|
3457
|
+
}): Promise<string>;
|
|
3458
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3459
|
+
method?: string;
|
|
3460
|
+
body?: unknown;
|
|
3461
|
+
headers?: Record<string, string>;
|
|
3462
|
+
query?: Record<string, string | number>;
|
|
3463
|
+
signal?: AbortSignal;
|
|
3464
|
+
}) => Promise<T[]>;
|
|
3465
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3466
|
+
method?: string;
|
|
3467
|
+
body?: unknown;
|
|
3468
|
+
headers?: Record<string, string>;
|
|
3469
|
+
query?: Record<string, string | number>;
|
|
3470
|
+
signal?: AbortSignal;
|
|
3471
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
3472
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
3473
|
+
authorize(target: URL, headers: Headers): void;
|
|
3474
|
+
};
|
|
3475
|
+
req: import("frogbot").FrogBotRequest;
|
|
3476
|
+
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
3450
3477
|
} & {
|
|
3451
3478
|
slug: "cardActionReceived";
|
|
3452
|
-
}) | ({
|
|
3453
|
-
slug: string;
|
|
3454
|
-
label?: string;
|
|
3455
|
-
description: string;
|
|
3456
|
-
input: z.ZodObject<{}, z.core.$strip>;
|
|
3457
|
-
output?: z.ZodRecord<z.ZodString, z.ZodUnknown> | undefined;
|
|
3458
|
-
sample?: Record<string, unknown> | undefined;
|
|
3459
|
-
} & {
|
|
3460
|
-
type: "app";
|
|
3461
|
-
event: string;
|
|
3462
|
-
run(args:
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3479
|
+
}) | ({
|
|
3480
|
+
slug: string;
|
|
3481
|
+
label?: string;
|
|
3482
|
+
description: string;
|
|
3483
|
+
input: z.ZodObject<{}, z.core.$strip>;
|
|
3484
|
+
output?: z.ZodRecord<z.ZodString, z.ZodUnknown> | undefined;
|
|
3485
|
+
sample?: Record<string, unknown> | undefined;
|
|
3486
|
+
} & {
|
|
3487
|
+
type: "app";
|
|
3488
|
+
event: string;
|
|
3489
|
+
run(args: {
|
|
3490
|
+
input: Record<string, never>;
|
|
3491
|
+
options: {
|
|
3492
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
3493
|
+
botUsername: string;
|
|
3494
|
+
botTenantId?: string | undefined;
|
|
3495
|
+
botApiUrl?: string | undefined;
|
|
3496
|
+
};
|
|
3497
|
+
client: {
|
|
3498
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
3499
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3500
|
+
method?: string;
|
|
3501
|
+
body?: unknown;
|
|
3502
|
+
headers?: Record<string, string>;
|
|
3503
|
+
query?: Record<string, string | number>;
|
|
3504
|
+
signal?: AbortSignal;
|
|
3505
|
+
}) => Promise<T>;
|
|
3506
|
+
text(path: string, options?: {
|
|
3507
|
+
method?: string;
|
|
3508
|
+
body?: unknown;
|
|
3509
|
+
headers?: Record<string, string>;
|
|
3510
|
+
query?: Record<string, string | number>;
|
|
3511
|
+
signal?: AbortSignal;
|
|
3512
|
+
}): Promise<string>;
|
|
3513
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3514
|
+
method?: string;
|
|
3515
|
+
body?: unknown;
|
|
3516
|
+
headers?: Record<string, string>;
|
|
3517
|
+
query?: Record<string, string | number>;
|
|
3518
|
+
signal?: AbortSignal;
|
|
3519
|
+
}) => Promise<T[]>;
|
|
3520
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3521
|
+
method?: string;
|
|
3522
|
+
body?: unknown;
|
|
3523
|
+
headers?: Record<string, string>;
|
|
3524
|
+
query?: Record<string, string | number>;
|
|
3525
|
+
signal?: AbortSignal;
|
|
3526
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
3527
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
3528
|
+
authorize(target: URL, headers: Headers): void;
|
|
3529
|
+
};
|
|
3530
|
+
req: import("frogbot").FrogBotRequest;
|
|
3531
|
+
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
3500
3532
|
} & {
|
|
3501
3533
|
slug: "conversationUpdated";
|
|
3502
3534
|
}) | ({
|
|
@@ -3509,44 +3541,49 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
3509
3541
|
} & {
|
|
3510
3542
|
type: "app";
|
|
3511
3543
|
event: string;
|
|
3512
|
-
run(args:
|
|
3513
|
-
|
|
3514
|
-
|
|
3515
|
-
|
|
3516
|
-
|
|
3517
|
-
|
|
3518
|
-
|
|
3519
|
-
|
|
3520
|
-
|
|
3521
|
-
|
|
3522
|
-
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3544
|
+
run(args: {
|
|
3545
|
+
input: Record<string, never>;
|
|
3546
|
+
options: {
|
|
3547
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
3548
|
+
botUsername: string;
|
|
3549
|
+
botTenantId?: string | undefined;
|
|
3550
|
+
botApiUrl?: string | undefined;
|
|
3551
|
+
};
|
|
3552
|
+
client: {
|
|
3553
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
3554
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3555
|
+
method?: string;
|
|
3556
|
+
body?: unknown;
|
|
3557
|
+
headers?: Record<string, string>;
|
|
3558
|
+
query?: Record<string, string | number>;
|
|
3559
|
+
signal?: AbortSignal;
|
|
3560
|
+
}) => Promise<T>;
|
|
3561
|
+
text(path: string, options?: {
|
|
3562
|
+
method?: string;
|
|
3563
|
+
body?: unknown;
|
|
3564
|
+
headers?: Record<string, string>;
|
|
3565
|
+
query?: Record<string, string | number>;
|
|
3566
|
+
signal?: AbortSignal;
|
|
3567
|
+
}): Promise<string>;
|
|
3568
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3569
|
+
method?: string;
|
|
3570
|
+
body?: unknown;
|
|
3571
|
+
headers?: Record<string, string>;
|
|
3572
|
+
query?: Record<string, string | number>;
|
|
3573
|
+
signal?: AbortSignal;
|
|
3574
|
+
}) => Promise<T[]>;
|
|
3575
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3576
|
+
method?: string;
|
|
3577
|
+
body?: unknown;
|
|
3578
|
+
headers?: Record<string, string>;
|
|
3579
|
+
query?: Record<string, string | number>;
|
|
3580
|
+
signal?: AbortSignal;
|
|
3581
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
3582
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
3583
|
+
authorize(target: URL, headers: Headers): void;
|
|
3584
|
+
};
|
|
3585
|
+
req: import("frogbot").FrogBotRequest;
|
|
3586
|
+
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
3550
3587
|
} & {
|
|
3551
3588
|
slug: "installationUpdated";
|
|
3552
3589
|
}) | ({
|
|
@@ -3559,44 +3596,49 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
3559
3596
|
} & {
|
|
3560
3597
|
type: "app";
|
|
3561
3598
|
event: string;
|
|
3562
|
-
run(args:
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3599
|
+
run(args: {
|
|
3600
|
+
input: Record<string, never>;
|
|
3601
|
+
options: {
|
|
3602
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
3603
|
+
botUsername: string;
|
|
3604
|
+
botTenantId?: string | undefined;
|
|
3605
|
+
botApiUrl?: string | undefined;
|
|
3606
|
+
};
|
|
3607
|
+
client: {
|
|
3608
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
3609
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3610
|
+
method?: string;
|
|
3611
|
+
body?: unknown;
|
|
3612
|
+
headers?: Record<string, string>;
|
|
3613
|
+
query?: Record<string, string | number>;
|
|
3614
|
+
signal?: AbortSignal;
|
|
3615
|
+
}) => Promise<T>;
|
|
3616
|
+
text(path: string, options?: {
|
|
3617
|
+
method?: string;
|
|
3618
|
+
body?: unknown;
|
|
3619
|
+
headers?: Record<string, string>;
|
|
3620
|
+
query?: Record<string, string | number>;
|
|
3621
|
+
signal?: AbortSignal;
|
|
3622
|
+
}): Promise<string>;
|
|
3623
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3624
|
+
method?: string;
|
|
3625
|
+
body?: unknown;
|
|
3626
|
+
headers?: Record<string, string>;
|
|
3627
|
+
query?: Record<string, string | number>;
|
|
3628
|
+
signal?: AbortSignal;
|
|
3629
|
+
}) => Promise<T[]>;
|
|
3630
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3631
|
+
method?: string;
|
|
3632
|
+
body?: unknown;
|
|
3633
|
+
headers?: Record<string, string>;
|
|
3634
|
+
query?: Record<string, string | number>;
|
|
3635
|
+
signal?: AbortSignal;
|
|
3636
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
3637
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
3638
|
+
authorize(target: URL, headers: Headers): void;
|
|
3639
|
+
};
|
|
3640
|
+
req: import("frogbot").FrogBotRequest;
|
|
3641
|
+
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
3600
3642
|
} & {
|
|
3601
3643
|
slug: "dialogOpened";
|
|
3602
3644
|
}) | ({
|
|
@@ -3609,44 +3651,49 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
|
|
|
3609
3651
|
} & {
|
|
3610
3652
|
type: "app";
|
|
3611
3653
|
event: string;
|
|
3612
|
-
run(args:
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
|
|
3633
|
-
|
|
3634
|
-
|
|
3635
|
-
|
|
3636
|
-
|
|
3637
|
-
|
|
3638
|
-
|
|
3639
|
-
|
|
3640
|
-
|
|
3641
|
-
|
|
3642
|
-
|
|
3643
|
-
|
|
3644
|
-
|
|
3645
|
-
|
|
3646
|
-
|
|
3647
|
-
|
|
3648
|
-
|
|
3649
|
-
|
|
3654
|
+
run(args: {
|
|
3655
|
+
input: Record<string, never>;
|
|
3656
|
+
options: {
|
|
3657
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
3658
|
+
botUsername: string;
|
|
3659
|
+
botTenantId?: string | undefined;
|
|
3660
|
+
botApiUrl?: string | undefined;
|
|
3661
|
+
};
|
|
3662
|
+
client: {
|
|
3663
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
3664
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3665
|
+
method?: string;
|
|
3666
|
+
body?: unknown;
|
|
3667
|
+
headers?: Record<string, string>;
|
|
3668
|
+
query?: Record<string, string | number>;
|
|
3669
|
+
signal?: AbortSignal;
|
|
3670
|
+
}) => Promise<T>;
|
|
3671
|
+
text(path: string, options?: {
|
|
3672
|
+
method?: string;
|
|
3673
|
+
body?: unknown;
|
|
3674
|
+
headers?: Record<string, string>;
|
|
3675
|
+
query?: Record<string, string | number>;
|
|
3676
|
+
signal?: AbortSignal;
|
|
3677
|
+
}): Promise<string>;
|
|
3678
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3679
|
+
method?: string;
|
|
3680
|
+
body?: unknown;
|
|
3681
|
+
headers?: Record<string, string>;
|
|
3682
|
+
query?: Record<string, string | number>;
|
|
3683
|
+
signal?: AbortSignal;
|
|
3684
|
+
}) => Promise<T[]>;
|
|
3685
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
3686
|
+
method?: string;
|
|
3687
|
+
body?: unknown;
|
|
3688
|
+
headers?: Record<string, string>;
|
|
3689
|
+
query?: Record<string, string | number>;
|
|
3690
|
+
signal?: AbortSignal;
|
|
3691
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
3692
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
3693
|
+
authorize(target: URL, headers: Headers): void;
|
|
3694
|
+
};
|
|
3695
|
+
req: import("frogbot").FrogBotRequest;
|
|
3696
|
+
}): Promise<import("frogbot").TriggerEvent<Record<string, unknown>>[]>;
|
|
3650
3697
|
} & {
|
|
3651
3698
|
slug: "dialogSubmitted";
|
|
3652
3699
|
}))[];
|