windmill-cli 1.635.0 → 1.636.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/esm/gen/core/OpenAPI.js +1 -1
- package/esm/gen/services.gen.js +100 -7
- package/esm/src/main.js +1 -1
- package/package.json +1 -1
- package/types/gen/services.gen.d.ts +49 -4
- package/types/gen/services.gen.d.ts.map +1 -1
- package/types/gen/types.gen.d.ts +76 -6
- package/types/gen/types.gen.d.ts.map +1 -1
- package/types/src/main.d.ts +1 -1
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts +76 -6
- package/types/windmill-utils-internal/src/gen/types.gen.d.ts.map +1 -1
package/types/src/main.d.ts
CHANGED
|
@@ -23,7 +23,7 @@ import { pull as hubPull } from "./commands/hub/hub.js";
|
|
|
23
23
|
import { pull, push } from "./commands/sync/sync.js";
|
|
24
24
|
import { add as workspaceAdd } from "./commands/workspace/workspace.js";
|
|
25
25
|
export { flow, app, script, workspace, resource, resourceType, user, variable, hub, folder, schedule, trigger, sync, lint, gitsyncSettings, instance, dev, hubPull, pull, push, workspaceAdd, };
|
|
26
|
-
export declare const VERSION = "1.
|
|
26
|
+
export declare const VERSION = "1.636.0";
|
|
27
27
|
export { WM_FORK_PREFIX } from "./core/constants.js";
|
|
28
28
|
declare const command: Command<{
|
|
29
29
|
workspace?: (import("../deps/jsr.io/@windmill-labs/cliffy-command/1.0.0-rc.5/mod.js").StringType & string) | undefined;
|
|
@@ -2244,7 +2244,7 @@ export type EditSchedule = {
|
|
|
2244
2244
|
/**
|
|
2245
2245
|
* job trigger kind (schedule, http, websocket...)
|
|
2246
2246
|
*/
|
|
2247
|
-
export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp';
|
|
2247
|
+
export type JobTriggerKind = 'webhook' | 'default_email' | 'email' | 'schedule' | 'http' | 'websocket' | 'postgres' | 'kafka' | 'nats' | 'mqtt' | 'sqs' | 'gcp' | 'google';
|
|
2248
2248
|
/**
|
|
2249
2249
|
* job trigger mode
|
|
2250
2250
|
*/
|
|
@@ -2604,6 +2604,7 @@ export type TriggersCount = {
|
|
|
2604
2604
|
gcp_count?: number;
|
|
2605
2605
|
sqs_count?: number;
|
|
2606
2606
|
nextcloud_count?: number;
|
|
2607
|
+
google_count?: number;
|
|
2607
2608
|
};
|
|
2608
2609
|
export type WebsocketTrigger = TriggerExtraProperty & {
|
|
2609
2610
|
/**
|
|
@@ -4480,7 +4481,7 @@ export type RuleBypasserGroups = Array<(string)>;
|
|
|
4480
4481
|
* Users that can bypass this ruleset
|
|
4481
4482
|
*/
|
|
4482
4483
|
export type RuleBypasserUsers = Array<(string)>;
|
|
4483
|
-
export type NativeServiceName = 'nextcloud';
|
|
4484
|
+
export type NativeServiceName = 'nextcloud' | 'google';
|
|
4484
4485
|
/**
|
|
4485
4486
|
* A native trigger stored in Windmill
|
|
4486
4487
|
*/
|
|
@@ -4554,6 +4555,10 @@ export type NativeTriggerWithExternal = {
|
|
|
4554
4555
|
export type WorkspaceIntegrations = {
|
|
4555
4556
|
service_name: NativeServiceName;
|
|
4556
4557
|
oauth_data?: (WorkspaceOAuthConfig) | null;
|
|
4558
|
+
/**
|
|
4559
|
+
* Path to the resource storing the OAuth token
|
|
4560
|
+
*/
|
|
4561
|
+
resource_path?: (string) | null;
|
|
4557
4562
|
};
|
|
4558
4563
|
export type WorkspaceOAuthConfig = {
|
|
4559
4564
|
/**
|
|
@@ -4627,6 +4632,25 @@ export type NextCloudEventType = {
|
|
|
4627
4632
|
category?: string;
|
|
4628
4633
|
path: string;
|
|
4629
4634
|
};
|
|
4635
|
+
export type GoogleCalendarEntry = {
|
|
4636
|
+
id: string;
|
|
4637
|
+
summary: string;
|
|
4638
|
+
primary?: boolean;
|
|
4639
|
+
};
|
|
4640
|
+
export type GoogleDriveFile = {
|
|
4641
|
+
id: string;
|
|
4642
|
+
name: string;
|
|
4643
|
+
mime_type: string;
|
|
4644
|
+
is_folder?: boolean;
|
|
4645
|
+
};
|
|
4646
|
+
export type GoogleDriveFilesResponse = {
|
|
4647
|
+
files: Array<GoogleDriveFile>;
|
|
4648
|
+
next_page_token?: string;
|
|
4649
|
+
};
|
|
4650
|
+
export type SharedDriveEntry = {
|
|
4651
|
+
id: string;
|
|
4652
|
+
name: string;
|
|
4653
|
+
};
|
|
4630
4654
|
export type ParameterId = string;
|
|
4631
4655
|
export type ParameterKey = string;
|
|
4632
4656
|
export type ParameterWorkspaceId = string;
|
|
@@ -5984,6 +6008,7 @@ export type GetUsedTriggersResponse = ({
|
|
|
5984
6008
|
sqs_used: boolean;
|
|
5985
6009
|
email_used: boolean;
|
|
5986
6010
|
nextcloud_used: boolean;
|
|
6011
|
+
google_used: boolean;
|
|
5987
6012
|
});
|
|
5988
6013
|
export type ListUsersData = {
|
|
5989
6014
|
workspace: string;
|
|
@@ -10111,19 +10136,36 @@ export type GenerateNativeTriggerServiceConnectUrlData = {
|
|
|
10111
10136
|
workspace: string;
|
|
10112
10137
|
};
|
|
10113
10138
|
export type GenerateNativeTriggerServiceConnectUrlResponse = (string);
|
|
10139
|
+
export type CheckInstanceSharingAvailableData = {
|
|
10140
|
+
serviceName: NativeServiceName;
|
|
10141
|
+
workspace: string;
|
|
10142
|
+
};
|
|
10143
|
+
export type CheckInstanceSharingAvailableResponse = (boolean);
|
|
10144
|
+
export type GenerateInstanceConnectUrlData = {
|
|
10145
|
+
/**
|
|
10146
|
+
* redirect_uri
|
|
10147
|
+
*/
|
|
10148
|
+
requestBody: RedirectUri;
|
|
10149
|
+
serviceName: NativeServiceName;
|
|
10150
|
+
workspace: string;
|
|
10151
|
+
};
|
|
10152
|
+
export type GenerateInstanceConnectUrlResponse = (string);
|
|
10114
10153
|
export type DeleteNativeTriggerServiceData = {
|
|
10115
10154
|
serviceName: NativeServiceName;
|
|
10116
10155
|
workspace: string;
|
|
10117
10156
|
};
|
|
10118
10157
|
export type DeleteNativeTriggerServiceResponse = (string);
|
|
10119
10158
|
export type NativeTriggerServiceCallbackData = {
|
|
10120
|
-
code: string;
|
|
10121
10159
|
/**
|
|
10122
|
-
*
|
|
10160
|
+
* OAuth callback data
|
|
10123
10161
|
*/
|
|
10124
|
-
requestBody:
|
|
10162
|
+
requestBody: {
|
|
10163
|
+
code: string;
|
|
10164
|
+
state: string;
|
|
10165
|
+
redirect_uri: string;
|
|
10166
|
+
resource_path?: string;
|
|
10167
|
+
};
|
|
10125
10168
|
serviceName: NativeServiceName;
|
|
10126
|
-
state: string;
|
|
10127
10169
|
workspace: string;
|
|
10128
10170
|
};
|
|
10129
10171
|
export type NativeTriggerServiceCallbackResponse = (string);
|
|
@@ -10206,6 +10248,34 @@ export type ListNextCloudEventsData = {
|
|
|
10206
10248
|
workspace: string;
|
|
10207
10249
|
};
|
|
10208
10250
|
export type ListNextCloudEventsResponse = (Array<NextCloudEventType>);
|
|
10251
|
+
export type ListGoogleCalendarsData = {
|
|
10252
|
+
workspace: string;
|
|
10253
|
+
};
|
|
10254
|
+
export type ListGoogleCalendarsResponse = (Array<GoogleCalendarEntry>);
|
|
10255
|
+
export type ListGoogleDriveFilesData = {
|
|
10256
|
+
/**
|
|
10257
|
+
* token for next page of results
|
|
10258
|
+
*/
|
|
10259
|
+
pageToken?: string;
|
|
10260
|
+
/**
|
|
10261
|
+
* folder ID to list children of
|
|
10262
|
+
*/
|
|
10263
|
+
parentId?: string;
|
|
10264
|
+
/**
|
|
10265
|
+
* search query to filter files by name
|
|
10266
|
+
*/
|
|
10267
|
+
q?: string;
|
|
10268
|
+
/**
|
|
10269
|
+
* if true, list files shared with the user
|
|
10270
|
+
*/
|
|
10271
|
+
sharedWithMe?: boolean;
|
|
10272
|
+
workspace: string;
|
|
10273
|
+
};
|
|
10274
|
+
export type ListGoogleDriveFilesResponse = (GoogleDriveFilesResponse);
|
|
10275
|
+
export type ListGoogleSharedDrivesData = {
|
|
10276
|
+
workspace: string;
|
|
10277
|
+
};
|
|
10278
|
+
export type ListGoogleSharedDrivesResponse = (Array<SharedDriveEntry>);
|
|
10209
10279
|
export type NativeTriggerWebhookData = {
|
|
10210
10280
|
/**
|
|
10211
10281
|
* The internal database ID of the trigger
|