@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/define.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
|
|
|
4
4
|
botTenantId?: string | undefined;
|
|
5
5
|
botApiUrl?: string | undefined;
|
|
6
6
|
}, {
|
|
7
|
-
baseUrl:
|
|
7
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
8
8
|
request: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
9
9
|
method?: string;
|
|
10
10
|
body?: unknown;
|
|
@@ -43,7 +43,7 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
|
|
|
43
43
|
botTenantId?: string | undefined;
|
|
44
44
|
botApiUrl?: string | undefined;
|
|
45
45
|
}, {
|
|
46
|
-
baseUrl:
|
|
46
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
47
47
|
request: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
48
48
|
method?: string;
|
|
49
49
|
body?: unknown;
|
|
@@ -86,44 +86,49 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
|
|
|
86
86
|
} & {
|
|
87
87
|
type: "app";
|
|
88
88
|
event: string;
|
|
89
|
-
run(args:
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
89
|
+
run(args: {
|
|
90
|
+
input: import("zod").infer<TInput>;
|
|
91
|
+
options: {
|
|
92
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
93
|
+
botUsername: string;
|
|
94
|
+
botTenantId?: string | undefined;
|
|
95
|
+
botApiUrl?: string | undefined;
|
|
96
|
+
};
|
|
97
|
+
client: {
|
|
98
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
99
|
+
request: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
100
|
+
method?: string;
|
|
101
|
+
body?: unknown;
|
|
102
|
+
headers?: Record<string, string>;
|
|
103
|
+
query?: Record<string, string | number>;
|
|
104
|
+
signal?: AbortSignal;
|
|
105
|
+
}) => Promise<T>;
|
|
106
|
+
text(path: string, options?: {
|
|
107
|
+
method?: string;
|
|
108
|
+
body?: unknown;
|
|
109
|
+
headers?: Record<string, string>;
|
|
110
|
+
query?: Record<string, string | number>;
|
|
111
|
+
signal?: AbortSignal;
|
|
112
|
+
}): Promise<string>;
|
|
113
|
+
list: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
114
|
+
method?: string;
|
|
115
|
+
body?: unknown;
|
|
116
|
+
headers?: Record<string, string>;
|
|
117
|
+
query?: Record<string, string | number>;
|
|
118
|
+
signal?: AbortSignal;
|
|
119
|
+
}) => Promise<T[]>;
|
|
120
|
+
page: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
121
|
+
method?: string;
|
|
122
|
+
body?: unknown;
|
|
123
|
+
headers?: Record<string, string>;
|
|
124
|
+
query?: Record<string, string | number>;
|
|
125
|
+
signal?: AbortSignal;
|
|
126
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
127
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
128
|
+
authorize(target: URL, headers: Headers): void;
|
|
129
|
+
};
|
|
130
|
+
req: import("frogbot").FrogBotRequest;
|
|
131
|
+
}): Promise<import("frogbot").TriggerEvent<TOutput extends import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod").infer<TOutput> : import("frogbot").PieceJSON>[]>;
|
|
127
132
|
} & {
|
|
128
133
|
slug: TSlug;
|
|
129
134
|
} : never) => {
|
|
@@ -136,48 +141,53 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
|
|
|
136
141
|
} & {
|
|
137
142
|
type: "app";
|
|
138
143
|
event: string;
|
|
139
|
-
run(args:
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
144
|
+
run(args: {
|
|
145
|
+
input: import("zod").infer<TInput>;
|
|
146
|
+
options: {
|
|
147
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
148
|
+
botUsername: string;
|
|
149
|
+
botTenantId?: string | undefined;
|
|
150
|
+
botApiUrl?: string | undefined;
|
|
151
|
+
};
|
|
152
|
+
client: {
|
|
153
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
154
|
+
request: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
155
|
+
method?: string;
|
|
156
|
+
body?: unknown;
|
|
157
|
+
headers?: Record<string, string>;
|
|
158
|
+
query?: Record<string, string | number>;
|
|
159
|
+
signal?: AbortSignal;
|
|
160
|
+
}) => Promise<T>;
|
|
161
|
+
text(path: string, options?: {
|
|
162
|
+
method?: string;
|
|
163
|
+
body?: unknown;
|
|
164
|
+
headers?: Record<string, string>;
|
|
165
|
+
query?: Record<string, string | number>;
|
|
166
|
+
signal?: AbortSignal;
|
|
167
|
+
}): Promise<string>;
|
|
168
|
+
list: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
169
|
+
method?: string;
|
|
170
|
+
body?: unknown;
|
|
171
|
+
headers?: Record<string, string>;
|
|
172
|
+
query?: Record<string, string | number>;
|
|
173
|
+
signal?: AbortSignal;
|
|
174
|
+
}) => Promise<T[]>;
|
|
175
|
+
page: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
176
|
+
method?: string;
|
|
177
|
+
body?: unknown;
|
|
178
|
+
headers?: Record<string, string>;
|
|
179
|
+
query?: Record<string, string | number>;
|
|
180
|
+
signal?: AbortSignal;
|
|
181
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
182
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
183
|
+
authorize(target: URL, headers: Headers): void;
|
|
184
|
+
};
|
|
185
|
+
req: import("frogbot").FrogBotRequest;
|
|
186
|
+
}): Promise<import("frogbot").TriggerEvent<TOutput extends import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod").infer<TOutput> : import("frogbot").PieceJSON>[]>;
|
|
177
187
|
} & {
|
|
178
188
|
slug: TSlug;
|
|
179
189
|
}, defineCustomApiCall: (config: import("frogbot/pieces").CustomApiCallConfig<{
|
|
180
|
-
baseUrl:
|
|
190
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
181
191
|
request: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
182
192
|
method?: string;
|
|
183
193
|
body?: unknown;
|
|
@@ -214,7 +224,7 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
|
|
|
214
224
|
botTenantId?: string | undefined;
|
|
215
225
|
botApiUrl?: string | undefined;
|
|
216
226
|
}, {
|
|
217
|
-
baseUrl:
|
|
227
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
218
228
|
request: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
219
229
|
method?: string;
|
|
220
230
|
body?: unknown;
|
|
@@ -255,44 +265,49 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
|
|
|
255
265
|
} & {
|
|
256
266
|
type: "polling";
|
|
257
267
|
schedule?: string;
|
|
258
|
-
run(args:
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
268
|
+
run(args: {
|
|
269
|
+
input: import("zod").infer<TInput>;
|
|
270
|
+
options: {
|
|
271
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
272
|
+
botUsername: string;
|
|
273
|
+
botTenantId?: string | undefined;
|
|
274
|
+
botApiUrl?: string | undefined;
|
|
275
|
+
};
|
|
276
|
+
client: {
|
|
277
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
278
|
+
request: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
279
|
+
method?: string;
|
|
280
|
+
body?: unknown;
|
|
281
|
+
headers?: Record<string, string>;
|
|
282
|
+
query?: Record<string, string | number>;
|
|
283
|
+
signal?: AbortSignal;
|
|
284
|
+
}) => Promise<T>;
|
|
285
|
+
text(path: string, options?: {
|
|
286
|
+
method?: string;
|
|
287
|
+
body?: unknown;
|
|
288
|
+
headers?: Record<string, string>;
|
|
289
|
+
query?: Record<string, string | number>;
|
|
290
|
+
signal?: AbortSignal;
|
|
291
|
+
}): Promise<string>;
|
|
292
|
+
list: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
293
|
+
method?: string;
|
|
294
|
+
body?: unknown;
|
|
295
|
+
headers?: Record<string, string>;
|
|
296
|
+
query?: Record<string, string | number>;
|
|
297
|
+
signal?: AbortSignal;
|
|
298
|
+
}) => Promise<T[]>;
|
|
299
|
+
page: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
300
|
+
method?: string;
|
|
301
|
+
body?: unknown;
|
|
302
|
+
headers?: Record<string, string>;
|
|
303
|
+
query?: Record<string, string | number>;
|
|
304
|
+
signal?: AbortSignal;
|
|
305
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
306
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
307
|
+
authorize(target: URL, headers: Headers): void;
|
|
308
|
+
};
|
|
309
|
+
req: import("frogbot").FrogBotRequest;
|
|
310
|
+
} & {
|
|
296
311
|
cursor?: import("frogbot").PieceJSON | undefined;
|
|
297
312
|
}): Promise<{
|
|
298
313
|
events: (TOutput extends import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod").infer<TOutput> : import("frogbot").PieceJSON)[];
|
|
@@ -310,44 +325,49 @@ export declare const defineAction: <const TSlug extends string, TInput extends i
|
|
|
310
325
|
} & {
|
|
311
326
|
type: "polling";
|
|
312
327
|
schedule?: string;
|
|
313
|
-
run(args:
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
328
|
+
run(args: {
|
|
329
|
+
input: import("zod").infer<TInput>;
|
|
330
|
+
options: {
|
|
331
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
332
|
+
botUsername: string;
|
|
333
|
+
botTenantId?: string | undefined;
|
|
334
|
+
botApiUrl?: string | undefined;
|
|
335
|
+
};
|
|
336
|
+
client: {
|
|
337
|
+
baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
|
|
338
|
+
request: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
339
|
+
method?: string;
|
|
340
|
+
body?: unknown;
|
|
341
|
+
headers?: Record<string, string>;
|
|
342
|
+
query?: Record<string, string | number>;
|
|
343
|
+
signal?: AbortSignal;
|
|
344
|
+
}) => Promise<T>;
|
|
345
|
+
text(path: string, options?: {
|
|
346
|
+
method?: string;
|
|
347
|
+
body?: unknown;
|
|
348
|
+
headers?: Record<string, string>;
|
|
349
|
+
query?: Record<string, string | number>;
|
|
350
|
+
signal?: AbortSignal;
|
|
351
|
+
}): Promise<string>;
|
|
352
|
+
list: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
353
|
+
method?: string;
|
|
354
|
+
body?: unknown;
|
|
355
|
+
headers?: Record<string, string>;
|
|
356
|
+
query?: Record<string, string | number>;
|
|
357
|
+
signal?: AbortSignal;
|
|
358
|
+
}) => Promise<T[]>;
|
|
359
|
+
page: <T>(path: string, schema: import("zod").ZodType<T>, options?: {
|
|
360
|
+
method?: string;
|
|
361
|
+
body?: unknown;
|
|
362
|
+
headers?: Record<string, string>;
|
|
363
|
+
query?: Record<string, string | number>;
|
|
364
|
+
signal?: AbortSignal;
|
|
365
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
366
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
367
|
+
authorize(target: URL, headers: Headers): void;
|
|
368
|
+
};
|
|
369
|
+
req: import("frogbot").FrogBotRequest;
|
|
370
|
+
} & {
|
|
351
371
|
cursor?: import("frogbot").PieceJSON | undefined;
|
|
352
372
|
}): Promise<{
|
|
353
373
|
events: (TOutput extends import("zod").ZodType<unknown, unknown, import("zod/v4/core").$ZodTypeInternals<unknown, unknown>> ? import("zod").infer<TOutput> : import("frogbot").PieceJSON)[];
|
package/dist/define.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"define.d.ts","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAKA,eAAO,MAAQ,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,gBAAgB
|
|
1
|
+
{"version":3,"file":"define.d.ts","sourceRoot":"","sources":["../src/define.ts"],"names":[],"mappings":"AAKA,eAAO,MAAQ,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAE,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAE,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACrB,CAAC"}
|