@frogbotai/piece-microsoft-teams 0.41.0 → 0.43.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 CHANGED
@@ -902,7 +902,44 @@ export declare const customApiCall: import("frogbot/pieces").CustomApiCallAction
902
902
  meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
903
903
  authorize(target: URL, headers: Headers): void;
904
904
  }>;
905
- export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceActionDefinition<z.ZodObject<{
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: "https://graph.microsoft.com" | "https://graph.microsoft.us";
912
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
913
+ method?: string;
914
+ body?: unknown;
915
+ headers?: Record<string, string>;
916
+ query?: Record<string, string | number>;
917
+ signal?: AbortSignal;
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<{
906
943
  channelDisplayName: z.ZodString;
907
944
  channelDescription: z.ZodOptional<z.ZodString>;
908
945
  teamId: z.ZodString;
@@ -1754,42 +1791,5 @@ export declare const microsoftTeamsActionDefinitions: ((import("frogbot").PieceA
1754
1791
  createdDateTime?: string | null | undefined;
1755
1792
  }>> & {
1756
1793
  slug: "getMeetingRecording";
1757
- }) | import("frogbot/pieces").CustomApiCallAction<{
1758
- botAppType: "MultiTenant" | "SingleTenant";
1759
- botUsername: string;
1760
- botTenantId?: string | undefined;
1761
- botApiUrl?: string | undefined;
1762
- }, {
1763
- baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
1764
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
1765
- method?: string;
1766
- body?: unknown;
1767
- headers?: Record<string, string>;
1768
- query?: Record<string, string | number>;
1769
- signal?: AbortSignal;
1770
- }) => Promise<T>;
1771
- text(path: string, options?: {
1772
- method?: string;
1773
- body?: unknown;
1774
- headers?: Record<string, string>;
1775
- query?: Record<string, string | number>;
1776
- signal?: AbortSignal;
1777
- }): Promise<string>;
1778
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
1779
- method?: string;
1780
- body?: unknown;
1781
- headers?: Record<string, string>;
1782
- query?: Record<string, string | number>;
1783
- signal?: AbortSignal;
1784
- }) => Promise<T[]>;
1785
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
1786
- method?: string;
1787
- body?: unknown;
1788
- headers?: Record<string, string>;
1789
- query?: Record<string, string | number>;
1790
- signal?: AbortSignal;
1791
- }) => Promise<import("./schemas.js").GraphPage<T>>;
1792
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1793
- authorize(target: URL, headers: Headers): void;
1794
- }>)[];
1794
+ }))[];
1795
1795
  //# sourceMappingURL=actions.d.ts.map
package/dist/index.d.ts CHANGED
@@ -191,7 +191,44 @@ export declare function defineMicrosoftTeams(environment?: MicrosoftEnvironment)
191
191
  authorize(target: URL, headers: Headers): void;
192
192
  }>;
193
193
  };
194
- readonly actions: ((import("frogbot").PieceActionDefinition<z.ZodObject<{
194
+ readonly actions: (import("frogbot/pieces").CustomApiCallAction<{
195
+ botAppType: "MultiTenant" | "SingleTenant";
196
+ botUsername: string;
197
+ botTenantId?: string | undefined;
198
+ botApiUrl?: string | undefined;
199
+ }, {
200
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
201
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
202
+ method?: string;
203
+ body?: unknown;
204
+ headers?: Record<string, string>;
205
+ query?: Record<string, string | number>;
206
+ signal?: AbortSignal;
207
+ }) => Promise<T>;
208
+ text(path: string, options?: {
209
+ method?: string;
210
+ body?: unknown;
211
+ headers?: Record<string, string>;
212
+ query?: Record<string, string | number>;
213
+ signal?: AbortSignal;
214
+ }): Promise<string>;
215
+ list: <T>(path: string, schema: z.ZodType<T>, options?: {
216
+ method?: string;
217
+ body?: unknown;
218
+ headers?: Record<string, string>;
219
+ query?: Record<string, string | number>;
220
+ signal?: AbortSignal;
221
+ }) => Promise<T[]>;
222
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
223
+ method?: string;
224
+ body?: unknown;
225
+ headers?: Record<string, string>;
226
+ query?: Record<string, string | number>;
227
+ signal?: AbortSignal;
228
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
229
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
230
+ authorize(target: URL, headers: Headers): void;
231
+ }> | (import("frogbot").PieceActionDefinition<z.ZodObject<{
195
232
  channelDisplayName: z.ZodString;
196
233
  channelDescription: z.ZodOptional<z.ZodString>;
197
234
  teamId: z.ZodString;
@@ -1043,44 +1080,7 @@ export declare function defineMicrosoftTeams(environment?: MicrosoftEnvironment)
1043
1080
  createdDateTime?: string | null | undefined;
1044
1081
  }>> & {
1045
1082
  slug: "getMeetingRecording";
1046
- }) | import("frogbot/pieces").CustomApiCallAction<{
1047
- botAppType: "MultiTenant" | "SingleTenant";
1048
- botUsername: string;
1049
- botTenantId?: string | undefined;
1050
- botApiUrl?: string | undefined;
1051
- }, {
1052
- baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
1053
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
1054
- method?: string;
1055
- body?: unknown;
1056
- headers?: Record<string, string>;
1057
- query?: Record<string, string | number>;
1058
- signal?: AbortSignal;
1059
- }) => Promise<T>;
1060
- text(path: string, options?: {
1061
- method?: string;
1062
- body?: unknown;
1063
- headers?: Record<string, string>;
1064
- query?: Record<string, string | number>;
1065
- signal?: AbortSignal;
1066
- }): Promise<string>;
1067
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
1068
- method?: string;
1069
- body?: unknown;
1070
- headers?: Record<string, string>;
1071
- query?: Record<string, string | number>;
1072
- signal?: AbortSignal;
1073
- }) => Promise<T[]>;
1074
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
1075
- method?: string;
1076
- body?: unknown;
1077
- headers?: Record<string, string>;
1078
- query?: Record<string, string | number>;
1079
- signal?: AbortSignal;
1080
- }) => Promise<import("./schemas.js").GraphPage<T>>;
1081
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
1082
- authorize(target: URL, headers: Headers): void;
1083
- }>)[];
1083
+ }))[];
1084
1084
  readonly triggers: (({
1085
1085
  slug: string;
1086
1086
  label?: string;
@@ -2037,7 +2037,44 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
2037
2037
  authorize(target: URL, headers: Headers): void;
2038
2038
  }>;
2039
2039
  };
2040
- readonly actions: ((import("frogbot").PieceActionDefinition<z.ZodObject<{
2040
+ readonly actions: (import("frogbot/pieces").CustomApiCallAction<{
2041
+ botAppType: "MultiTenant" | "SingleTenant";
2042
+ botUsername: string;
2043
+ botTenantId?: string | undefined;
2044
+ botApiUrl?: string | undefined;
2045
+ }, {
2046
+ baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
2047
+ request: <T>(path: string, schema: z.ZodType<T>, options?: {
2048
+ method?: string;
2049
+ body?: unknown;
2050
+ headers?: Record<string, string>;
2051
+ query?: Record<string, string | number>;
2052
+ signal?: AbortSignal;
2053
+ }) => Promise<T>;
2054
+ text(path: string, options?: {
2055
+ method?: string;
2056
+ body?: unknown;
2057
+ headers?: Record<string, string>;
2058
+ query?: Record<string, string | number>;
2059
+ signal?: AbortSignal;
2060
+ }): Promise<string>;
2061
+ list: <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<T[]>;
2068
+ page: <T>(path: string, schema: z.ZodType<T>, options?: {
2069
+ method?: string;
2070
+ body?: unknown;
2071
+ headers?: Record<string, string>;
2072
+ query?: Record<string, string | number>;
2073
+ signal?: AbortSignal;
2074
+ }) => Promise<import("./schemas.js").GraphPage<T>>;
2075
+ meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
2076
+ authorize(target: URL, headers: Headers): void;
2077
+ }> | (import("frogbot").PieceActionDefinition<z.ZodObject<{
2041
2078
  channelDisplayName: z.ZodString;
2042
2079
  channelDescription: z.ZodOptional<z.ZodString>;
2043
2080
  teamId: z.ZodString;
@@ -2889,44 +2926,7 @@ export declare const createMicrosoftTeams: import("frogbot").PieceFactory<{
2889
2926
  createdDateTime?: string | null | undefined;
2890
2927
  }>> & {
2891
2928
  slug: "getMeetingRecording";
2892
- }) | import("frogbot/pieces").CustomApiCallAction<{
2893
- botAppType: "MultiTenant" | "SingleTenant";
2894
- botUsername: string;
2895
- botTenantId?: string | undefined;
2896
- botApiUrl?: string | undefined;
2897
- }, {
2898
- baseUrl: "https://graph.microsoft.com" | "https://graph.microsoft.us";
2899
- request: <T>(path: string, schema: z.ZodType<T>, options?: {
2900
- method?: string;
2901
- body?: unknown;
2902
- headers?: Record<string, string>;
2903
- query?: Record<string, string | number>;
2904
- signal?: AbortSignal;
2905
- }) => Promise<T>;
2906
- text(path: string, options?: {
2907
- method?: string;
2908
- body?: unknown;
2909
- headers?: Record<string, string>;
2910
- query?: Record<string, string | number>;
2911
- signal?: AbortSignal;
2912
- }): Promise<string>;
2913
- list: <T>(path: string, schema: z.ZodType<T>, options?: {
2914
- method?: string;
2915
- body?: unknown;
2916
- headers?: Record<string, string>;
2917
- query?: Record<string, string | number>;
2918
- signal?: AbortSignal;
2919
- }) => Promise<T[]>;
2920
- page: <T>(path: string, schema: z.ZodType<T>, options?: {
2921
- method?: string;
2922
- body?: unknown;
2923
- headers?: Record<string, string>;
2924
- query?: Record<string, string | number>;
2925
- signal?: AbortSignal;
2926
- }) => Promise<import("./schemas.js").GraphPage<T>>;
2927
- meetingId: (type: string, value: string, abortSignal?: AbortSignal) => Promise<string>;
2928
- authorize(target: URL, headers: Headers): void;
2929
- }>)[];
2929
+ }))[];
2930
2930
  readonly triggers: (({
2931
2931
  slug: string;
2932
2932
  label?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frogbotai/piece-microsoft-teams",
3
- "version": "0.41.0",
3
+ "version": "0.43.0",
4
4
  "description": "microsoft-teams tools for FrogBot.",
5
5
  "license": "MIT",
6
6
  "author": "Colby Gilbert",
@@ -21,14 +21,14 @@
21
21
  "dependencies": {
22
22
  "@chat-adapter/teams": "4.40.0",
23
23
  "zod": "^4.3.6",
24
- "@frogbotai/piece-microsoft": "0.41.0"
24
+ "@frogbotai/piece-microsoft": "0.43.0"
25
25
  },
26
26
  "peerDependencies": {
27
- "frogbot": "0.41.0"
27
+ "frogbot": "0.43.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "typescript": "6.0.3",
31
- "frogbot": "0.41.0"
31
+ "frogbot": "0.43.0"
32
32
  },
33
33
  "publishConfig": {
34
34
  "access": "public"