windmill-cli 1.461.1 → 1.462.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.
@@ -2093,6 +2093,9 @@ export type GetSettingsResponse = ({
2093
2093
  slack_name?: string;
2094
2094
  slack_team_id?: string;
2095
2095
  slack_command_script?: string;
2096
+ teams_team_id?: string;
2097
+ teams_command_script?: string;
2098
+ teams_team_name?: string;
2096
2099
  auto_invite_domain?: string;
2097
2100
  auto_invite_operator?: boolean;
2098
2101
  auto_add?: boolean;
@@ -2174,6 +2177,43 @@ export type EditSlackCommandData = {
2174
2177
  workspace: string;
2175
2178
  };
2176
2179
  export type EditSlackCommandResponse = (string);
2180
+ export type EditTeamsCommandData = {
2181
+ /**
2182
+ * WorkspaceInvite
2183
+ */
2184
+ requestBody: {
2185
+ slack_command_script?: string;
2186
+ };
2187
+ workspace: string;
2188
+ };
2189
+ export type EditTeamsCommandResponse = (string);
2190
+ export type ListAvailableTeamsIdsData = {
2191
+ workspace: string;
2192
+ };
2193
+ export type ListAvailableTeamsIdsResponse = (Array<{
2194
+ team_name?: string;
2195
+ team_id?: string;
2196
+ }>);
2197
+ export type ListAvailableTeamsChannelsData = {
2198
+ workspace: string;
2199
+ };
2200
+ export type ListAvailableTeamsChannelsResponse = (Array<{
2201
+ channel_name?: string;
2202
+ channel_id?: string;
2203
+ service_url?: string;
2204
+ tenant_id?: string;
2205
+ }>);
2206
+ export type ConnectTeamsData = {
2207
+ /**
2208
+ * connect teams
2209
+ */
2210
+ requestBody: {
2211
+ team_id?: string;
2212
+ team_name?: string;
2213
+ };
2214
+ workspace: string;
2215
+ };
2216
+ export type ConnectTeamsResponse = (string);
2177
2217
  export type RunSlackMessageTestJobData = {
2178
2218
  /**
2179
2219
  * path to hub script to run and its corresponding args
@@ -2188,6 +2228,20 @@ export type RunSlackMessageTestJobData = {
2188
2228
  export type RunSlackMessageTestJobResponse = ({
2189
2229
  job_uuid?: string;
2190
2230
  });
2231
+ export type RunTeamsMessageTestJobData = {
2232
+ /**
2233
+ * path to hub script to run and its corresponding args
2234
+ */
2235
+ requestBody: {
2236
+ hub_script_path?: string;
2237
+ channel?: string;
2238
+ test_msg?: string;
2239
+ };
2240
+ workspace: string;
2241
+ };
2242
+ export type RunTeamsMessageTestJobResponse = ({
2243
+ job_uuid?: string;
2244
+ });
2191
2245
  export type EditDeployToData = {
2192
2246
  requestBody: {
2193
2247
  deploy_to?: string;
@@ -2598,6 +2652,10 @@ export type DisconnectSlackData = {
2598
2652
  workspace: string;
2599
2653
  };
2600
2654
  export type DisconnectSlackResponse = (string);
2655
+ export type DisconnectTeamsData = {
2656
+ workspace: string;
2657
+ };
2658
+ export type DisconnectTeamsResponse = (string);
2601
2659
  export type ListOauthLoginsResponse = ({
2602
2660
  oauth: Array<{
2603
2661
  type: string;
@@ -2619,6 +2677,29 @@ export type GetOauthConnectResponse = ({
2619
2677
  scopes?: Array<(string)>;
2620
2678
  });
2621
2679
  export type SyncTeamsResponse = (Array<TeamInfo>);
2680
+ export type SendMessageToConversationData = {
2681
+ requestBody: {
2682
+ /**
2683
+ * The ID of the Teams conversation/activity
2684
+ */
2685
+ conversation_id: string;
2686
+ /**
2687
+ * Used for styling the card conditionally
2688
+ */
2689
+ success?: boolean;
2690
+ /**
2691
+ * The message text to be sent in the Teams card
2692
+ */
2693
+ text: string;
2694
+ /**
2695
+ * The card block to be sent in the Teams card
2696
+ */
2697
+ card_block?: {
2698
+ [key: string]: unknown;
2699
+ };
2700
+ };
2701
+ };
2702
+ export type SendMessageToConversationResponse = (unknown);
2622
2703
  export type CreateResourceData = {
2623
2704
  /**
2624
2705
  * new resource