@frogbotai/piece-microsoft-teams 0.31.0 → 0.32.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/README.md +9 -1
- package/dist/actions.d.ts +64 -354
- package/dist/actions.d.ts.map +1 -1
- package/dist/actions.js +6 -38
- package/dist/actions.js.map +1 -1
- package/dist/client.d.ts +1 -4
- package/dist/client.d.ts.map +1 -1
- package/dist/client.js +8 -9
- package/dist/client.js.map +1 -1
- package/dist/config.d.ts +40 -1
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +40 -18
- package/dist/config.js.map +1 -1
- package/dist/define.d.ts +76 -61
- package/dist/define.d.ts.map +1 -1
- package/dist/define.js +1 -1
- package/dist/define.js.map +1 -1
- package/dist/index.d.ts +294 -750
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +23 -1
- package/dist/index.js.map +1 -1
- package/dist/triggers.d.ts +58 -256
- package/dist/triggers.d.ts.map +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -44,6 +44,14 @@ The separate Graph OAuth app registration uses the scopes below for user actions
|
|
|
44
44
|
|
|
45
45
|
When an agent with the `question` tool runs in Teams, each question call appears as one Adaptive Card with the choices, an optional text box, and **Submit** and **Dismiss** buttons. The card is replaced in place with the answer and who gave it, and the agent continues in the same conversation. The person who submits is matched to a FrogBot user by the email from the conversation's member list and must pass the agent's `access` check; others get a private notice. No Microsoft Graph permission is required. See the Microsoft Teams page in the FrogBot docs for the manifest, limits, and troubleshooting.
|
|
46
46
|
|
|
47
|
+
## OAuth scopes
|
|
48
|
+
|
|
49
|
+
Change the requested scopes with the factory's `scopes` option: `createMicrosoftTeams({ oauth, scopes: ({ defaultScopes }) => [...defaultScopes, 'Chat.Create'] })` adds one, and an array replaces the defaults. `microsoftTeamsScopes` maps each name to the provider's scope string.
|
|
50
|
+
|
|
51
|
+
- Always requested: `offline_access`, `User.Read`.
|
|
52
|
+
- Defaults: `openid`, `email`, `profile`, `Channel.Create`, `Channel.ReadBasic.All`, `ChannelMessage.Send`, `Team.ReadBasic.All`, `Chat.ReadWrite`, `ChannelMessage.Read.All`, `TeamMember.Read.All`, `User.ReadBasic.All`, `Presence.Read.All`, `OnlineMeetingTranscript.Read.All`, `OnlineMeetingRecording.Read.All`.
|
|
53
|
+
- Also available: `User.Read.All`, `Team.Create`, `TeamSettings.Read.All`, `TeamSettings.ReadWrite.All`, `Channel.Delete.All`, `ChannelSettings.Read.All`, `ChannelSettings.ReadWrite.All`, `ChannelMember.Read.All`, `ChannelMember.ReadWrite.All`, `ChannelMessage.ReadWrite`, `ChannelMessage.Edit`, `Chat.Create`, `Chat.Read`, `Chat.ReadBasic`, `ChatMessage.Send`, `ChatMessage.Read`, `ChatMember.Read`, `ChatMember.ReadWrite`, `TeamMember.ReadWrite.All`, `Presence.Read`, `OnlineMeetings.Read`, `OnlineMeetings.ReadWrite`.
|
|
54
|
+
|
|
47
55
|
## Actions
|
|
48
56
|
|
|
49
57
|
| Upstream action slug | Previous wrapper export | Native action | Notes |
|
|
@@ -63,7 +71,7 @@ When an agent with the `question` tool runs in Teams, each question call appears
|
|
|
63
71
|
| `microsoft_teams_get_meeting_recording` | `microsoftTeamsGetMeetingRecording` | `getMeetingRecording` | Lists or returns metadata; upstream does not download recording bytes |
|
|
64
72
|
| `request_approval_in_channel` | `requestApprovalInChannel` | Omitted | Activepieces-specific waitpoint action calls `run.pause` and resumes from an approval URL; durable waits belong to the FrogBot workflow host |
|
|
65
73
|
| `request_approval_direct_message` | `requestApprovalDirectMessage` | Omitted | Activepieces-specific waitpoint action calls `run.pause` and resumes from an approval URL; durable waits belong to the FrogBot workflow host |
|
|
66
|
-
| `custom_api_call` | `customApiCall` | `customApiCall` |
|
|
74
|
+
| `custom_api_call` | `customApiCall` | `customApiCall` | Paths are relative to Microsoft Graph v1.0 in the configured cloud; redirects are not followed |
|
|
67
75
|
|
|
68
76
|
## Triggers
|
|
69
77
|
|
package/dist/actions.d.ts
CHANGED
|
@@ -46,16 +46,7 @@ export declare const createChannel: import("frogbot").PieceActionDefinition<z.Zo
|
|
|
46
46
|
signal?: AbortSignal;
|
|
47
47
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
48
48
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
49
|
-
|
|
50
|
-
method?: string;
|
|
51
|
-
body?: unknown;
|
|
52
|
-
headers?: Record<string, string>;
|
|
53
|
-
query?: Record<string, string | number>;
|
|
54
|
-
signal?: AbortSignal;
|
|
55
|
-
}): Promise<{
|
|
56
|
-
status: number;
|
|
57
|
-
body: T;
|
|
58
|
-
}>;
|
|
49
|
+
authorize(target: URL, headers: Headers): void;
|
|
59
50
|
}, {
|
|
60
51
|
[x: string]: unknown;
|
|
61
52
|
id: string;
|
|
@@ -114,16 +105,7 @@ export declare const createPrivateChannel: import("frogbot").PieceActionDefiniti
|
|
|
114
105
|
signal?: AbortSignal;
|
|
115
106
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
116
107
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
117
|
-
|
|
118
|
-
method?: string;
|
|
119
|
-
body?: unknown;
|
|
120
|
-
headers?: Record<string, string>;
|
|
121
|
-
query?: Record<string, string | number>;
|
|
122
|
-
signal?: AbortSignal;
|
|
123
|
-
}): Promise<{
|
|
124
|
-
status: number;
|
|
125
|
-
body: T;
|
|
126
|
-
}>;
|
|
108
|
+
authorize(target: URL, headers: Headers): void;
|
|
127
109
|
}, {
|
|
128
110
|
[x: string]: unknown;
|
|
129
111
|
id: string;
|
|
@@ -188,16 +170,7 @@ export declare const sendChannelMessage: import("frogbot").PieceActionDefinition
|
|
|
188
170
|
signal?: AbortSignal;
|
|
189
171
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
190
172
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
191
|
-
|
|
192
|
-
method?: string;
|
|
193
|
-
body?: unknown;
|
|
194
|
-
headers?: Record<string, string>;
|
|
195
|
-
query?: Record<string, string | number>;
|
|
196
|
-
signal?: AbortSignal;
|
|
197
|
-
}): Promise<{
|
|
198
|
-
status: number;
|
|
199
|
-
body: T;
|
|
200
|
-
}>;
|
|
173
|
+
authorize(target: URL, headers: Headers): void;
|
|
201
174
|
}, {
|
|
202
175
|
[x: string]: unknown;
|
|
203
176
|
id: string;
|
|
@@ -264,16 +237,7 @@ export declare const sendChatMessage: import("frogbot").PieceActionDefinition<z.
|
|
|
264
237
|
signal?: AbortSignal;
|
|
265
238
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
266
239
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
267
|
-
|
|
268
|
-
method?: string;
|
|
269
|
-
body?: unknown;
|
|
270
|
-
headers?: Record<string, string>;
|
|
271
|
-
query?: Record<string, string | number>;
|
|
272
|
-
signal?: AbortSignal;
|
|
273
|
-
}): Promise<{
|
|
274
|
-
status: number;
|
|
275
|
-
body: T;
|
|
276
|
-
}>;
|
|
240
|
+
authorize(target: URL, headers: Headers): void;
|
|
277
241
|
}, {
|
|
278
242
|
[x: string]: unknown;
|
|
279
243
|
id: string;
|
|
@@ -342,16 +306,7 @@ export declare const replyToChannelMessage: import("frogbot").PieceActionDefinit
|
|
|
342
306
|
signal?: AbortSignal;
|
|
343
307
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
344
308
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
345
|
-
|
|
346
|
-
method?: string;
|
|
347
|
-
body?: unknown;
|
|
348
|
-
headers?: Record<string, string>;
|
|
349
|
-
query?: Record<string, string | number>;
|
|
350
|
-
signal?: AbortSignal;
|
|
351
|
-
}): Promise<{
|
|
352
|
-
status: number;
|
|
353
|
-
body: T;
|
|
354
|
-
}>;
|
|
309
|
+
authorize(target: URL, headers: Headers): void;
|
|
355
310
|
}, {
|
|
356
311
|
[x: string]: unknown;
|
|
357
312
|
id: string;
|
|
@@ -439,16 +394,7 @@ export declare const createChatAndSendMessage: import("frogbot").PieceActionDefi
|
|
|
439
394
|
signal?: AbortSignal;
|
|
440
395
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
441
396
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
442
|
-
|
|
443
|
-
method?: string;
|
|
444
|
-
body?: unknown;
|
|
445
|
-
headers?: Record<string, string>;
|
|
446
|
-
query?: Record<string, string | number>;
|
|
447
|
-
signal?: AbortSignal;
|
|
448
|
-
}): Promise<{
|
|
449
|
-
status: number;
|
|
450
|
-
body: T;
|
|
451
|
-
}>;
|
|
397
|
+
authorize(target: URL, headers: Headers): void;
|
|
452
398
|
}, {
|
|
453
399
|
chat: {
|
|
454
400
|
[x: string]: unknown;
|
|
@@ -528,16 +474,7 @@ export declare const getChatMessage: import("frogbot").PieceActionDefinition<z.Z
|
|
|
528
474
|
signal?: AbortSignal;
|
|
529
475
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
530
476
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
531
|
-
|
|
532
|
-
method?: string;
|
|
533
|
-
body?: unknown;
|
|
534
|
-
headers?: Record<string, string>;
|
|
535
|
-
query?: Record<string, string | number>;
|
|
536
|
-
signal?: AbortSignal;
|
|
537
|
-
}): Promise<{
|
|
538
|
-
status: number;
|
|
539
|
-
body: T;
|
|
540
|
-
}>;
|
|
477
|
+
authorize(target: URL, headers: Headers): void;
|
|
541
478
|
}, {
|
|
542
479
|
[x: string]: unknown;
|
|
543
480
|
id: string;
|
|
@@ -595,16 +532,7 @@ export declare const deleteChatMessage: import("frogbot").PieceActionDefinition<
|
|
|
595
532
|
signal?: AbortSignal;
|
|
596
533
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
597
534
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
598
|
-
|
|
599
|
-
method?: string;
|
|
600
|
-
body?: unknown;
|
|
601
|
-
headers?: Record<string, string>;
|
|
602
|
-
query?: Record<string, string | number>;
|
|
603
|
-
signal?: AbortSignal;
|
|
604
|
-
}): Promise<{
|
|
605
|
-
status: number;
|
|
606
|
-
body: T;
|
|
607
|
-
}>;
|
|
535
|
+
authorize(target: URL, headers: Headers): void;
|
|
608
536
|
}, {
|
|
609
537
|
success: true;
|
|
610
538
|
messageId: string;
|
|
@@ -662,16 +590,7 @@ export declare const getChannelMessage: import("frogbot").PieceActionDefinition<
|
|
|
662
590
|
signal?: AbortSignal;
|
|
663
591
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
664
592
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
665
|
-
|
|
666
|
-
method?: string;
|
|
667
|
-
body?: unknown;
|
|
668
|
-
headers?: Record<string, string>;
|
|
669
|
-
query?: Record<string, string | number>;
|
|
670
|
-
signal?: AbortSignal;
|
|
671
|
-
}): Promise<{
|
|
672
|
-
status: number;
|
|
673
|
-
body: T;
|
|
674
|
-
}>;
|
|
593
|
+
authorize(target: URL, headers: Headers): void;
|
|
675
594
|
}, {
|
|
676
595
|
[x: string]: unknown;
|
|
677
596
|
id: string;
|
|
@@ -735,16 +654,7 @@ export declare const findChannel: import("frogbot").PieceActionDefinition<z.ZodO
|
|
|
735
654
|
signal?: AbortSignal;
|
|
736
655
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
737
656
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
738
|
-
|
|
739
|
-
method?: string;
|
|
740
|
-
body?: unknown;
|
|
741
|
-
headers?: Record<string, string>;
|
|
742
|
-
query?: Record<string, string | number>;
|
|
743
|
-
signal?: AbortSignal;
|
|
744
|
-
}): Promise<{
|
|
745
|
-
status: number;
|
|
746
|
-
body: T;
|
|
747
|
-
}>;
|
|
657
|
+
authorize(target: URL, headers: Headers): void;
|
|
748
658
|
}, {
|
|
749
659
|
found: boolean;
|
|
750
660
|
result: {
|
|
@@ -761,8 +671,8 @@ export declare const findChannel: import("frogbot").PieceActionDefinition<z.ZodO
|
|
|
761
671
|
};
|
|
762
672
|
export declare const findTeamMember: import("frogbot").PieceActionDefinition<z.ZodObject<{
|
|
763
673
|
searchBy: z.ZodDefault<z.ZodEnum<{
|
|
764
|
-
name: "name";
|
|
765
674
|
email: "email";
|
|
675
|
+
name: "name";
|
|
766
676
|
}>>;
|
|
767
677
|
searchValue: z.ZodString;
|
|
768
678
|
teamId: z.ZodString;
|
|
@@ -810,16 +720,7 @@ export declare const findTeamMember: import("frogbot").PieceActionDefinition<z.Z
|
|
|
810
720
|
signal?: AbortSignal;
|
|
811
721
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
812
722
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
813
|
-
|
|
814
|
-
method?: string;
|
|
815
|
-
body?: unknown;
|
|
816
|
-
headers?: Record<string, string>;
|
|
817
|
-
query?: Record<string, string | number>;
|
|
818
|
-
signal?: AbortSignal;
|
|
819
|
-
}): Promise<{
|
|
820
|
-
status: number;
|
|
821
|
-
body: T;
|
|
822
|
-
}>;
|
|
723
|
+
authorize(target: URL, headers: Headers): void;
|
|
823
724
|
}, {
|
|
824
725
|
found: boolean;
|
|
825
726
|
result: {
|
|
@@ -886,16 +787,7 @@ export declare const getMeetingTranscript: import("frogbot").PieceActionDefiniti
|
|
|
886
787
|
signal?: AbortSignal;
|
|
887
788
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
888
789
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
889
|
-
|
|
890
|
-
method?: string;
|
|
891
|
-
body?: unknown;
|
|
892
|
-
headers?: Record<string, string>;
|
|
893
|
-
query?: Record<string, string | number>;
|
|
894
|
-
signal?: AbortSignal;
|
|
895
|
-
}): Promise<{
|
|
896
|
-
status: number;
|
|
897
|
-
body: T;
|
|
898
|
-
}>;
|
|
790
|
+
authorize(target: URL, headers: Headers): void;
|
|
899
791
|
}, import("./schemas.js").GraphPage<{
|
|
900
792
|
[x: string]: unknown;
|
|
901
793
|
id: string;
|
|
@@ -960,16 +852,7 @@ export declare const getMeetingRecording: import("frogbot").PieceActionDefinitio
|
|
|
960
852
|
signal?: AbortSignal;
|
|
961
853
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
962
854
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
963
|
-
|
|
964
|
-
method?: string;
|
|
965
|
-
body?: unknown;
|
|
966
|
-
headers?: Record<string, string>;
|
|
967
|
-
query?: Record<string, string | number>;
|
|
968
|
-
signal?: AbortSignal;
|
|
969
|
-
}): Promise<{
|
|
970
|
-
status: number;
|
|
971
|
-
body: T;
|
|
972
|
-
}>;
|
|
855
|
+
authorize(target: URL, headers: Headers): void;
|
|
973
856
|
}, {
|
|
974
857
|
[x: string]: unknown;
|
|
975
858
|
id: string;
|
|
@@ -981,21 +864,7 @@ export declare const getMeetingRecording: import("frogbot").PieceActionDefinitio
|
|
|
981
864
|
}>> & {
|
|
982
865
|
slug: "getMeetingRecording";
|
|
983
866
|
};
|
|
984
|
-
export declare const customApiCall: import("frogbot").
|
|
985
|
-
method: z.ZodEnum<{
|
|
986
|
-
GET: "GET";
|
|
987
|
-
POST: "POST";
|
|
988
|
-
PATCH: "PATCH";
|
|
989
|
-
PUT: "PUT";
|
|
990
|
-
DELETE: "DELETE";
|
|
991
|
-
}>;
|
|
992
|
-
path: z.ZodString;
|
|
993
|
-
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
994
|
-
body: z.ZodOptional<z.ZodJSONSchema>;
|
|
995
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
996
|
-
status: z.ZodNumber;
|
|
997
|
-
body: z.ZodJSONSchema;
|
|
998
|
-
}, z.core.$strip>, {
|
|
867
|
+
export declare const customApiCall: import("frogbot/pieces").CustomApiCallAction<{
|
|
999
868
|
botAppType: "MultiTenant" | "SingleTenant";
|
|
1000
869
|
botUsername: string;
|
|
1001
870
|
botTenantId?: string | undefined;
|
|
@@ -1031,23 +900,46 @@ export declare const customApiCall: import("frogbot").PieceActionDefinition<z.Zo
|
|
|
1031
900
|
signal?: AbortSignal;
|
|
1032
901
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1033
902
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1034
|
-
|
|
903
|
+
authorize(target: URL, headers: Headers): void;
|
|
904
|
+
}>;
|
|
905
|
+
export declare const microsoftTeamsActionDefinitions: (import("frogbot/pieces").CustomApiCallAction<{
|
|
906
|
+
botAppType: "MultiTenant" | "SingleTenant";
|
|
907
|
+
botUsername: string;
|
|
908
|
+
botTenantId?: string | undefined;
|
|
909
|
+
botApiUrl?: string | undefined;
|
|
910
|
+
}, {
|
|
911
|
+
baseUrl: string;
|
|
912
|
+
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
1035
913
|
method?: string;
|
|
1036
914
|
body?: unknown;
|
|
1037
915
|
headers?: Record<string, string>;
|
|
1038
916
|
query?: Record<string, string | number>;
|
|
1039
917
|
signal?: AbortSignal;
|
|
1040
|
-
})
|
|
1041
|
-
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
918
|
+
}) => Promise<T>;
|
|
919
|
+
text(path: string, options?: {
|
|
920
|
+
method?: string;
|
|
921
|
+
body?: unknown;
|
|
922
|
+
headers?: Record<string, string>;
|
|
923
|
+
query?: Record<string, string | number>;
|
|
924
|
+
signal?: AbortSignal;
|
|
925
|
+
}): Promise<string>;
|
|
926
|
+
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
927
|
+
method?: string;
|
|
928
|
+
body?: unknown;
|
|
929
|
+
headers?: Record<string, string>;
|
|
930
|
+
query?: Record<string, string | number>;
|
|
931
|
+
signal?: AbortSignal;
|
|
932
|
+
}) => Promise<T[]>;
|
|
933
|
+
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
934
|
+
method?: string;
|
|
935
|
+
body?: unknown;
|
|
936
|
+
headers?: Record<string, string>;
|
|
937
|
+
query?: Record<string, string | number>;
|
|
938
|
+
signal?: AbortSignal;
|
|
939
|
+
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
940
|
+
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
941
|
+
authorize(target: URL, headers: Headers): void;
|
|
942
|
+
}> | (import("frogbot").PieceActionDefinition<z.ZodObject<{
|
|
1051
943
|
channelDisplayName: z.ZodString;
|
|
1052
944
|
channelDescription: z.ZodOptional<z.ZodString>;
|
|
1053
945
|
teamId: z.ZodString;
|
|
@@ -1094,16 +986,7 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
1094
986
|
signal?: AbortSignal;
|
|
1095
987
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1096
988
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1097
|
-
|
|
1098
|
-
method?: string;
|
|
1099
|
-
body?: unknown;
|
|
1100
|
-
headers?: Record<string, string>;
|
|
1101
|
-
query?: Record<string, string | number>;
|
|
1102
|
-
signal?: AbortSignal;
|
|
1103
|
-
}): Promise<{
|
|
1104
|
-
status: number;
|
|
1105
|
-
body: T;
|
|
1106
|
-
}>;
|
|
989
|
+
authorize(target: URL, headers: Headers): void;
|
|
1107
990
|
}, {
|
|
1108
991
|
[x: string]: unknown;
|
|
1109
992
|
id: string;
|
|
@@ -1161,16 +1044,7 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
1161
1044
|
signal?: AbortSignal;
|
|
1162
1045
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1163
1046
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1164
|
-
|
|
1165
|
-
method?: string;
|
|
1166
|
-
body?: unknown;
|
|
1167
|
-
headers?: Record<string, string>;
|
|
1168
|
-
query?: Record<string, string | number>;
|
|
1169
|
-
signal?: AbortSignal;
|
|
1170
|
-
}): Promise<{
|
|
1171
|
-
status: number;
|
|
1172
|
-
body: T;
|
|
1173
|
-
}>;
|
|
1047
|
+
authorize(target: URL, headers: Headers): void;
|
|
1174
1048
|
}, {
|
|
1175
1049
|
[x: string]: unknown;
|
|
1176
1050
|
id: string;
|
|
@@ -1234,16 +1108,7 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
1234
1108
|
signal?: AbortSignal;
|
|
1235
1109
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1236
1110
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1237
|
-
|
|
1238
|
-
method?: string;
|
|
1239
|
-
body?: unknown;
|
|
1240
|
-
headers?: Record<string, string>;
|
|
1241
|
-
query?: Record<string, string | number>;
|
|
1242
|
-
signal?: AbortSignal;
|
|
1243
|
-
}): Promise<{
|
|
1244
|
-
status: number;
|
|
1245
|
-
body: T;
|
|
1246
|
-
}>;
|
|
1111
|
+
authorize(target: URL, headers: Headers): void;
|
|
1247
1112
|
}, {
|
|
1248
1113
|
[x: string]: unknown;
|
|
1249
1114
|
id: string;
|
|
@@ -1309,16 +1174,7 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
1309
1174
|
signal?: AbortSignal;
|
|
1310
1175
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1311
1176
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1312
|
-
|
|
1313
|
-
method?: string;
|
|
1314
|
-
body?: unknown;
|
|
1315
|
-
headers?: Record<string, string>;
|
|
1316
|
-
query?: Record<string, string | number>;
|
|
1317
|
-
signal?: AbortSignal;
|
|
1318
|
-
}): Promise<{
|
|
1319
|
-
status: number;
|
|
1320
|
-
body: T;
|
|
1321
|
-
}>;
|
|
1177
|
+
authorize(target: URL, headers: Headers): void;
|
|
1322
1178
|
}, {
|
|
1323
1179
|
[x: string]: unknown;
|
|
1324
1180
|
id: string;
|
|
@@ -1386,16 +1242,7 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
1386
1242
|
signal?: AbortSignal;
|
|
1387
1243
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1388
1244
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1389
|
-
|
|
1390
|
-
method?: string;
|
|
1391
|
-
body?: unknown;
|
|
1392
|
-
headers?: Record<string, string>;
|
|
1393
|
-
query?: Record<string, string | number>;
|
|
1394
|
-
signal?: AbortSignal;
|
|
1395
|
-
}): Promise<{
|
|
1396
|
-
status: number;
|
|
1397
|
-
body: T;
|
|
1398
|
-
}>;
|
|
1245
|
+
authorize(target: URL, headers: Headers): void;
|
|
1399
1246
|
}, {
|
|
1400
1247
|
[x: string]: unknown;
|
|
1401
1248
|
id: string;
|
|
@@ -1482,16 +1329,7 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
1482
1329
|
signal?: AbortSignal;
|
|
1483
1330
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1484
1331
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1485
|
-
|
|
1486
|
-
method?: string;
|
|
1487
|
-
body?: unknown;
|
|
1488
|
-
headers?: Record<string, string>;
|
|
1489
|
-
query?: Record<string, string | number>;
|
|
1490
|
-
signal?: AbortSignal;
|
|
1491
|
-
}): Promise<{
|
|
1492
|
-
status: number;
|
|
1493
|
-
body: T;
|
|
1494
|
-
}>;
|
|
1332
|
+
authorize(target: URL, headers: Headers): void;
|
|
1495
1333
|
}, {
|
|
1496
1334
|
chat: {
|
|
1497
1335
|
[x: string]: unknown;
|
|
@@ -1570,16 +1408,7 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
1570
1408
|
signal?: AbortSignal;
|
|
1571
1409
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1572
1410
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1573
|
-
|
|
1574
|
-
method?: string;
|
|
1575
|
-
body?: unknown;
|
|
1576
|
-
headers?: Record<string, string>;
|
|
1577
|
-
query?: Record<string, string | number>;
|
|
1578
|
-
signal?: AbortSignal;
|
|
1579
|
-
}): Promise<{
|
|
1580
|
-
status: number;
|
|
1581
|
-
body: T;
|
|
1582
|
-
}>;
|
|
1411
|
+
authorize(target: URL, headers: Headers): void;
|
|
1583
1412
|
}, {
|
|
1584
1413
|
[x: string]: unknown;
|
|
1585
1414
|
id: string;
|
|
@@ -1636,16 +1465,7 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
1636
1465
|
signal?: AbortSignal;
|
|
1637
1466
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1638
1467
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1639
|
-
|
|
1640
|
-
method?: string;
|
|
1641
|
-
body?: unknown;
|
|
1642
|
-
headers?: Record<string, string>;
|
|
1643
|
-
query?: Record<string, string | number>;
|
|
1644
|
-
signal?: AbortSignal;
|
|
1645
|
-
}): Promise<{
|
|
1646
|
-
status: number;
|
|
1647
|
-
body: T;
|
|
1648
|
-
}>;
|
|
1468
|
+
authorize(target: URL, headers: Headers): void;
|
|
1649
1469
|
}, {
|
|
1650
1470
|
success: true;
|
|
1651
1471
|
messageId: string;
|
|
@@ -1702,16 +1522,7 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
1702
1522
|
signal?: AbortSignal;
|
|
1703
1523
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1704
1524
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1705
|
-
|
|
1706
|
-
method?: string;
|
|
1707
|
-
body?: unknown;
|
|
1708
|
-
headers?: Record<string, string>;
|
|
1709
|
-
query?: Record<string, string | number>;
|
|
1710
|
-
signal?: AbortSignal;
|
|
1711
|
-
}): Promise<{
|
|
1712
|
-
status: number;
|
|
1713
|
-
body: T;
|
|
1714
|
-
}>;
|
|
1525
|
+
authorize(target: URL, headers: Headers): void;
|
|
1715
1526
|
}, {
|
|
1716
1527
|
[x: string]: unknown;
|
|
1717
1528
|
id: string;
|
|
@@ -1774,16 +1585,7 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
1774
1585
|
signal?: AbortSignal;
|
|
1775
1586
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1776
1587
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1777
|
-
|
|
1778
|
-
method?: string;
|
|
1779
|
-
body?: unknown;
|
|
1780
|
-
headers?: Record<string, string>;
|
|
1781
|
-
query?: Record<string, string | number>;
|
|
1782
|
-
signal?: AbortSignal;
|
|
1783
|
-
}): Promise<{
|
|
1784
|
-
status: number;
|
|
1785
|
-
body: T;
|
|
1786
|
-
}>;
|
|
1588
|
+
authorize(target: URL, headers: Headers): void;
|
|
1787
1589
|
}, {
|
|
1788
1590
|
found: boolean;
|
|
1789
1591
|
result: {
|
|
@@ -1799,8 +1601,8 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
1799
1601
|
slug: "findChannel";
|
|
1800
1602
|
}) | (import("frogbot").PieceActionDefinition<z.ZodObject<{
|
|
1801
1603
|
searchBy: z.ZodDefault<z.ZodEnum<{
|
|
1802
|
-
name: "name";
|
|
1803
1604
|
email: "email";
|
|
1605
|
+
name: "name";
|
|
1804
1606
|
}>>;
|
|
1805
1607
|
searchValue: z.ZodString;
|
|
1806
1608
|
teamId: z.ZodString;
|
|
@@ -1848,16 +1650,7 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
1848
1650
|
signal?: AbortSignal;
|
|
1849
1651
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1850
1652
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1851
|
-
|
|
1852
|
-
method?: string;
|
|
1853
|
-
body?: unknown;
|
|
1854
|
-
headers?: Record<string, string>;
|
|
1855
|
-
query?: Record<string, string | number>;
|
|
1856
|
-
signal?: AbortSignal;
|
|
1857
|
-
}): Promise<{
|
|
1858
|
-
status: number;
|
|
1859
|
-
body: T;
|
|
1860
|
-
}>;
|
|
1653
|
+
authorize(target: URL, headers: Headers): void;
|
|
1861
1654
|
}, {
|
|
1862
1655
|
found: boolean;
|
|
1863
1656
|
result: {
|
|
@@ -1923,16 +1716,7 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
1923
1716
|
signal?: AbortSignal;
|
|
1924
1717
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1925
1718
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1926
|
-
|
|
1927
|
-
method?: string;
|
|
1928
|
-
body?: unknown;
|
|
1929
|
-
headers?: Record<string, string>;
|
|
1930
|
-
query?: Record<string, string | number>;
|
|
1931
|
-
signal?: AbortSignal;
|
|
1932
|
-
}): Promise<{
|
|
1933
|
-
status: number;
|
|
1934
|
-
body: T;
|
|
1935
|
-
}>;
|
|
1719
|
+
authorize(target: URL, headers: Headers): void;
|
|
1936
1720
|
}, import("./schemas.js").GraphPage<{
|
|
1937
1721
|
[x: string]: unknown;
|
|
1938
1722
|
id: string;
|
|
@@ -1996,16 +1780,7 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
1996
1780
|
signal?: AbortSignal;
|
|
1997
1781
|
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
1998
1782
|
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
1999
|
-
|
|
2000
|
-
method?: string;
|
|
2001
|
-
body?: unknown;
|
|
2002
|
-
headers?: Record<string, string>;
|
|
2003
|
-
query?: Record<string, string | number>;
|
|
2004
|
-
signal?: AbortSignal;
|
|
2005
|
-
}): Promise<{
|
|
2006
|
-
status: number;
|
|
2007
|
-
body: T;
|
|
2008
|
-
}>;
|
|
1783
|
+
authorize(target: URL, headers: Headers): void;
|
|
2009
1784
|
}, {
|
|
2010
1785
|
[x: string]: unknown;
|
|
2011
1786
|
id: string;
|
|
@@ -2016,70 +1791,5 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
|
|
|
2016
1791
|
createdDateTime?: string | null | undefined;
|
|
2017
1792
|
}>> & {
|
|
2018
1793
|
slug: "getMeetingRecording";
|
|
2019
|
-
}) | (import("frogbot").PieceActionDefinition<z.ZodObject<{
|
|
2020
|
-
method: z.ZodEnum<{
|
|
2021
|
-
GET: "GET";
|
|
2022
|
-
POST: "POST";
|
|
2023
|
-
PATCH: "PATCH";
|
|
2024
|
-
PUT: "PUT";
|
|
2025
|
-
DELETE: "DELETE";
|
|
2026
|
-
}>;
|
|
2027
|
-
path: z.ZodString;
|
|
2028
|
-
query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>>;
|
|
2029
|
-
body: z.ZodOptional<z.ZodJSONSchema>;
|
|
2030
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2031
|
-
status: z.ZodNumber;
|
|
2032
|
-
body: z.ZodJSONSchema;
|
|
2033
|
-
}, z.core.$strip>, {
|
|
2034
|
-
botAppType: "MultiTenant" | "SingleTenant";
|
|
2035
|
-
botUsername: string;
|
|
2036
|
-
botTenantId?: string | undefined;
|
|
2037
|
-
botApiUrl?: string | undefined;
|
|
2038
|
-
}, {
|
|
2039
|
-
baseUrl: string;
|
|
2040
|
-
request: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2041
|
-
method?: string;
|
|
2042
|
-
body?: unknown;
|
|
2043
|
-
headers?: Record<string, string>;
|
|
2044
|
-
query?: Record<string, string | number>;
|
|
2045
|
-
signal?: AbortSignal;
|
|
2046
|
-
}) => Promise<T>;
|
|
2047
|
-
text(path: string, options?: {
|
|
2048
|
-
method?: string;
|
|
2049
|
-
body?: unknown;
|
|
2050
|
-
headers?: Record<string, string>;
|
|
2051
|
-
query?: Record<string, string | number>;
|
|
2052
|
-
signal?: AbortSignal;
|
|
2053
|
-
}): Promise<string>;
|
|
2054
|
-
list: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2055
|
-
method?: string;
|
|
2056
|
-
body?: unknown;
|
|
2057
|
-
headers?: Record<string, string>;
|
|
2058
|
-
query?: Record<string, string | number>;
|
|
2059
|
-
signal?: AbortSignal;
|
|
2060
|
-
}) => Promise<T[]>;
|
|
2061
|
-
page: <T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2062
|
-
method?: string;
|
|
2063
|
-
body?: unknown;
|
|
2064
|
-
headers?: Record<string, string>;
|
|
2065
|
-
query?: Record<string, string | number>;
|
|
2066
|
-
signal?: AbortSignal;
|
|
2067
|
-
}) => Promise<import("./schemas.js").GraphPage<T>>;
|
|
2068
|
-
meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
|
|
2069
|
-
custom<T>(path: string, schema: z.ZodType<T>, options?: {
|
|
2070
|
-
method?: string;
|
|
2071
|
-
body?: unknown;
|
|
2072
|
-
headers?: Record<string, string>;
|
|
2073
|
-
query?: Record<string, string | number>;
|
|
2074
|
-
signal?: AbortSignal;
|
|
2075
|
-
}): Promise<{
|
|
2076
|
-
status: number;
|
|
2077
|
-
body: T;
|
|
2078
|
-
}>;
|
|
2079
|
-
}, {
|
|
2080
|
-
status: number;
|
|
2081
|
-
body: z.core.util.JSONType;
|
|
2082
|
-
}> & {
|
|
2083
|
-
slug: "customApiCall";
|
|
2084
1794
|
}))[];
|
|
2085
1795
|
//# sourceMappingURL=actions.d.ts.map
|